diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go index 344c36019c8d..9a43f07ad039 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go @@ -131,7 +131,6 @@ func (client ActivityRunsClient) QueryByPipelineRunSender(req *http.Request) (*h func (client ActivityRunsClient) QueryByPipelineRunResponder(resp *http.Response) (result ActivityRunsQueryResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go b/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go index 3067c32b68d8..67786e671d94 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go @@ -136,7 +136,6 @@ func (client DataFlowDebugSessionClient) AddDataFlowSender(req *http.Request) (* func (client DataFlowDebugSessionClient) AddDataFlowResponder(resp *http.Response) (result AddDataFlowToDebugSessionResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -230,7 +229,6 @@ func (client DataFlowDebugSessionClient) CreateSender(req *http.Request) (future func (client DataFlowDebugSessionClient) CreateResponder(resp *http.Response) (result CreateDataFlowDebugSessionResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -321,7 +319,6 @@ func (client DataFlowDebugSessionClient) DeleteSender(req *http.Request) (*http. func (client DataFlowDebugSessionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -414,7 +411,6 @@ func (client DataFlowDebugSessionClient) ExecuteCommandSender(req *http.Request) func (client DataFlowDebugSessionClient) ExecuteCommandResponder(resp *http.Response) (result DataFlowDebugCommandResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -503,7 +499,6 @@ func (client DataFlowDebugSessionClient) QueryByFactorySender(req *http.Request) func (client DataFlowDebugSessionClient) QueryByFactoryResponder(resp *http.Response) (result QueryDataFlowDebugSessionsResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go b/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go index 7f4f3a9d48ee..997842ad770a 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go @@ -140,7 +140,6 @@ func (client DataFlowsClient) CreateOrUpdateSender(req *http.Request) (*http.Res func (client DataFlowsClient) CreateOrUpdateResponder(resp *http.Response) (result DataFlowResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -234,7 +233,6 @@ func (client DataFlowsClient) DeleteSender(req *http.Request) (*http.Response, e func (client DataFlowsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -333,7 +331,6 @@ func (client DataFlowsClient) GetSender(req *http.Request) (*http.Response, erro func (client DataFlowsClient) GetResponder(resp *http.Response) (result DataFlowResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -422,7 +419,6 @@ func (client DataFlowsClient) ListByFactorySender(req *http.Request) (*http.Resp func (client DataFlowsClient) ListByFactoryResponder(resp *http.Response) (result DataFlowListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go index cbd1bc0e7764..6808902b8b50 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go @@ -145,7 +145,6 @@ func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Resp func (client DatasetsClient) CreateOrUpdateResponder(resp *http.Response) (result DatasetResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -239,7 +238,6 @@ func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, er func (client DatasetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -338,7 +336,6 @@ func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error func (client DatasetsClient) GetResponder(resp *http.Response) (result DatasetResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -427,7 +424,6 @@ func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Respo func (client DatasetsClient) ListByFactoryResponder(resp *http.Response) (result DatasetListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go index 60a1f57b0b18..43a61f74edad 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go @@ -112,7 +112,6 @@ func (client ExposureControlClient) GetFeatureValueSender(req *http.Request) (*h func (client ExposureControlClient) GetFeatureValueResponder(resp *http.Response) (result ExposureControlResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -203,7 +202,6 @@ func (client ExposureControlClient) GetFeatureValueByFactorySender(req *http.Req func (client ExposureControlClient) GetFeatureValueByFactoryResponder(resp *http.Response) (result ExposureControlResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go index c11a34b374c6..4184150f89cd 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go @@ -123,7 +123,6 @@ func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*ht func (client FactoriesClient) ConfigureFactoryRepoResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -231,7 +230,6 @@ func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Res func (client FactoriesClient) CreateOrUpdateResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -319,7 +317,6 @@ func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, e func (client FactoriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -412,7 +409,6 @@ func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, erro func (client FactoriesClient) GetResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -503,7 +499,6 @@ func (client FactoriesClient) GetDataPlaneAccessSender(req *http.Request) (*http func (client FactoriesClient) GetDataPlaneAccessResponder(resp *http.Response) (result AccessPolicyResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -597,7 +592,6 @@ func (client FactoriesClient) GetGitHubAccessTokenSender(req *http.Request) (*ht func (client FactoriesClient) GetGitHubAccessTokenResponder(resp *http.Response) (result GitHubAccessTokenResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -669,7 +663,6 @@ func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, err func (client FactoriesClient) ListResponder(resp *http.Response) (result FactoryListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -789,7 +782,6 @@ func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*htt func (client FactoriesClient) ListByResourceGroupResponder(resp *http.Response) (result FactoryListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -917,7 +909,6 @@ func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, e func (client FactoriesClient) UpdateResponder(resp *http.Response) (result Factory, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go index 5762a029e13e..e33770d87475 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go @@ -136,7 +136,6 @@ func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*ht func (client IntegrationRuntimeNodesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -235,7 +234,6 @@ func (client IntegrationRuntimeNodesClient) GetSender(req *http.Request) (*http. func (client IntegrationRuntimeNodesClient) GetResponder(resp *http.Response) (result SelfHostedIntegrationRuntimeNode, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -335,7 +333,6 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request func (client IntegrationRuntimeNodesClient) GetIPAddressResponder(resp *http.Response) (result IntegrationRuntimeNodeIPAddress, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -438,7 +435,6 @@ func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*ht func (client IntegrationRuntimeNodesClient) UpdateResponder(resp *http.Response) (result SelfHostedIntegrationRuntimeNode, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go index b133d4e09d2c..91eb4879fe36 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go @@ -136,7 +136,6 @@ func (client IntegrationRuntimeObjectMetadataClient) GetSender(req *http.Request func (client IntegrationRuntimeObjectMetadataClient) GetResponder(resp *http.Response) (result SsisObjectMetadataListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -230,7 +229,6 @@ func (client IntegrationRuntimeObjectMetadataClient) RefreshSender(req *http.Req func (client IntegrationRuntimeObjectMetadataClient) RefreshResponder(resp *http.Response) (result SsisObjectMetadataStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go index 70d87d55e638..38bdd861b08b 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go @@ -133,7 +133,6 @@ func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimeSender(req func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimeResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -238,7 +237,6 @@ func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) func (client IntegrationRuntimesClient) CreateOrUpdateResponder(resp *http.Response) (result IntegrationRuntimeResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -332,7 +330,6 @@ func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.R func (client IntegrationRuntimesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -431,7 +428,6 @@ func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Resp func (client IntegrationRuntimesClient) GetResponder(resp *http.Response) (result IntegrationRuntimeResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -526,7 +522,6 @@ func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Reques func (client IntegrationRuntimesClient) GetConnectionInfoResponder(resp *http.Response) (result IntegrationRuntimeConnectionInfo, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -621,7 +616,6 @@ func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Reques func (client IntegrationRuntimesClient) GetMonitoringDataResponder(resp *http.Response) (result IntegrationRuntimeMonitoringData, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -715,7 +709,6 @@ func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*htt func (client IntegrationRuntimesClient) GetStatusResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -809,7 +802,6 @@ func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (* func (client IntegrationRuntimesClient) ListAuthKeysResponder(resp *http.Response) (result IntegrationRuntimeAuthKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -898,7 +890,6 @@ func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) ( func (client IntegrationRuntimesClient) ListByFactoryResponder(resp *http.Response) (result IntegrationRuntimeListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1032,7 +1023,6 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Reques func (client IntegrationRuntimesClient) RegenerateAuthKeyResponder(resp *http.Response) (result IntegrationRuntimeAuthKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1131,7 +1121,6 @@ func (client IntegrationRuntimesClient) RemoveLinksSender(req *http.Request) (*h func (client IntegrationRuntimesClient) RemoveLinksResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -1224,7 +1213,6 @@ func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future I func (client IntegrationRuntimesClient) StartResponder(resp *http.Response) (result IntegrationRuntimeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1318,7 +1306,6 @@ func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future In func (client IntegrationRuntimesClient) StopResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp @@ -1414,7 +1401,6 @@ func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) func (client IntegrationRuntimesClient) SyncCredentialsResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -1510,7 +1496,6 @@ func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.R func (client IntegrationRuntimesClient) UpdateResponder(resp *http.Response) (result IntegrationRuntimeResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1604,7 +1589,6 @@ func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http. func (client IntegrationRuntimesClient) UpgradeResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go index 0fd456285fca..51fd4fcff580 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go @@ -145,7 +145,6 @@ func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*htt func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedServiceResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -239,7 +238,6 @@ func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Respon func (client LinkedServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -338,7 +336,6 @@ func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, func (client LinkedServicesClient) GetResponder(resp *http.Response) (result LinkedServiceResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -427,7 +424,6 @@ func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http func (client LinkedServicesClient) ListByFactoryResponder(resp *http.Response) (result LinkedServiceListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index afd9c627eb65..3cd4112a3d79 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -359,6 +359,29 @@ func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { return []FtpAuthenticationType{FtpAuthenticationTypeAnonymous, FtpAuthenticationTypeBasic} } +// GlobalParameterType enumerates the values for global parameter type. +type GlobalParameterType string + +const ( + // Array ... + Array GlobalParameterType = "Array" + // Bool ... + Bool GlobalParameterType = "Bool" + // Float ... + Float GlobalParameterType = "Float" + // Int ... + Int GlobalParameterType = "Int" + // Object ... + Object GlobalParameterType = "Object" + // String ... + String GlobalParameterType = "String" +) + +// PossibleGlobalParameterTypeValues returns an array of possible values for the GlobalParameterType const type. +func PossibleGlobalParameterTypeValues() []GlobalParameterType { + return []GlobalParameterType{Array, Bool, Float, Int, Object, String} +} + // GoogleAdWordsAuthenticationType enumerates the values for google ad words authentication type. type GoogleAdWordsAuthenticationType string @@ -1248,6 +1271,23 @@ func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol return []SparkThriftTransportProtocol{SparkThriftTransportProtocolBinary, SparkThriftTransportProtocolHTTP, SparkThriftTransportProtocolSASL} } +// SQLPartitionOption enumerates the values for sql partition option. +type SQLPartitionOption string + +const ( + // SQLPartitionOptionDynamicRange ... + SQLPartitionOptionDynamicRange SQLPartitionOption = "DynamicRange" + // SQLPartitionOptionNone ... + SQLPartitionOptionNone SQLPartitionOption = "None" + // SQLPartitionOptionPhysicalPartitionsOfTable ... + SQLPartitionOptionPhysicalPartitionsOfTable SQLPartitionOption = "PhysicalPartitionsOfTable" +) + +// PossibleSQLPartitionOptionValues returns an array of possible values for the SQLPartitionOption const type. +func PossibleSQLPartitionOptionValues() []SQLPartitionOption { + return []SQLPartitionOption{SQLPartitionOptionDynamicRange, SQLPartitionOptionNone, SQLPartitionOptionPhysicalPartitionsOfTable} +} + // SsisObjectMetadataType enumerates the values for ssis object metadata type. type SsisObjectMetadataType string @@ -1271,42 +1311,44 @@ func PossibleSsisObjectMetadataTypeValues() []SsisObjectMetadataType { type SsisPackageLocationType string const ( - // File ... - File SsisPackageLocationType = "File" - // InlinePackage ... - InlinePackage SsisPackageLocationType = "InlinePackage" - // SSISDB ... - SSISDB SsisPackageLocationType = "SSISDB" + // SsisPackageLocationTypeFile ... + SsisPackageLocationTypeFile SsisPackageLocationType = "File" + // SsisPackageLocationTypeInlinePackage ... + SsisPackageLocationTypeInlinePackage SsisPackageLocationType = "InlinePackage" + // SsisPackageLocationTypePackageStore ... + SsisPackageLocationTypePackageStore SsisPackageLocationType = "PackageStore" + // SsisPackageLocationTypeSSISDB ... + SsisPackageLocationTypeSSISDB SsisPackageLocationType = "SSISDB" ) // PossibleSsisPackageLocationTypeValues returns an array of possible values for the SsisPackageLocationType const type. func PossibleSsisPackageLocationTypeValues() []SsisPackageLocationType { - return []SsisPackageLocationType{File, InlinePackage, SSISDB} + return []SsisPackageLocationType{SsisPackageLocationTypeFile, SsisPackageLocationTypeInlinePackage, SsisPackageLocationTypePackageStore, SsisPackageLocationTypeSSISDB} } // StoredProcedureParameterType enumerates the values for stored procedure parameter type. type StoredProcedureParameterType string const ( - // Boolean ... - Boolean StoredProcedureParameterType = "Boolean" - // Date ... - Date StoredProcedureParameterType = "Date" - // Decimal ... - Decimal StoredProcedureParameterType = "Decimal" - // GUID ... - GUID StoredProcedureParameterType = "Guid" - // Int ... - Int StoredProcedureParameterType = "Int" - // Int64 ... - Int64 StoredProcedureParameterType = "Int64" - // String ... - String StoredProcedureParameterType = "String" + // StoredProcedureParameterTypeBoolean ... + StoredProcedureParameterTypeBoolean StoredProcedureParameterType = "Boolean" + // StoredProcedureParameterTypeDate ... + StoredProcedureParameterTypeDate StoredProcedureParameterType = "Date" + // StoredProcedureParameterTypeDecimal ... + StoredProcedureParameterTypeDecimal StoredProcedureParameterType = "Decimal" + // StoredProcedureParameterTypeGUID ... + StoredProcedureParameterTypeGUID StoredProcedureParameterType = "Guid" + // StoredProcedureParameterTypeInt ... + StoredProcedureParameterTypeInt StoredProcedureParameterType = "Int" + // StoredProcedureParameterTypeInt64 ... + StoredProcedureParameterTypeInt64 StoredProcedureParameterType = "Int64" + // StoredProcedureParameterTypeString ... + StoredProcedureParameterTypeString StoredProcedureParameterType = "String" ) // PossibleStoredProcedureParameterTypeValues returns an array of possible values for the StoredProcedureParameterType const type. func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType { - return []StoredProcedureParameterType{Boolean, Date, Decimal, GUID, Int, Int64, String} + return []StoredProcedureParameterType{StoredProcedureParameterTypeBoolean, StoredProcedureParameterTypeDate, StoredProcedureParameterTypeDecimal, StoredProcedureParameterTypeGUID, StoredProcedureParameterTypeInt, StoredProcedureParameterTypeInt64, StoredProcedureParameterTypeString} } // SybaseAuthenticationType enumerates the values for sybase authentication type. @@ -1507,6 +1549,21 @@ func PossibleTypeBasicActivityValues() []TypeBasicActivity { return []TypeBasicActivity{TypeActivity, TypeAppendVariable, TypeAzureDataExplorerCommand, TypeAzureFunctionActivity, TypeAzureMLBatchExecution, TypeAzureMLExecutePipeline, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDatabricksSparkJar, TypeDatabricksSparkPython, TypeDataLakeAnalyticsUSQL, TypeDelete, TypeExecuteDataFlow, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSetVariable, TypeSQLServerStoredProcedure, TypeSwitch, TypeUntil, TypeValidation, TypeWait, TypeWebActivity, TypeWebHook} } +// TypeBasicCompressionReadSettings enumerates the values for type basic compression read settings. +type TypeBasicCompressionReadSettings string + +const ( + // TypeCompressionReadSettings ... + TypeCompressionReadSettings TypeBasicCompressionReadSettings = "CompressionReadSettings" + // TypeZipDeflateReadSettings ... + TypeZipDeflateReadSettings TypeBasicCompressionReadSettings = "ZipDeflateReadSettings" +) + +// PossibleTypeBasicCompressionReadSettingsValues returns an array of possible values for the TypeBasicCompressionReadSettings const type. +func PossibleTypeBasicCompressionReadSettingsValues() []TypeBasicCompressionReadSettings { + return []TypeBasicCompressionReadSettings{TypeCompressionReadSettings, TypeZipDeflateReadSettings} +} + // TypeBasicCopySink enumerates the values for type basic copy sink. type TypeBasicCopySink string @@ -1567,12 +1624,16 @@ const ( TypeOrcSink TypeBasicCopySink = "OrcSink" // TypeParquetSink ... TypeParquetSink TypeBasicCopySink = "ParquetSink" + // TypeRestSink ... + TypeRestSink TypeBasicCopySink = "RestSink" // TypeSalesforceServiceCloudSink ... TypeSalesforceServiceCloudSink TypeBasicCopySink = "SalesforceServiceCloudSink" // TypeSalesforceSink ... TypeSalesforceSink TypeBasicCopySink = "SalesforceSink" // TypeSapCloudForCustomerSink ... TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink" + // TypeSnowflakeSink ... + TypeSnowflakeSink TypeBasicCopySink = "SnowflakeSink" // TypeSQLDWSink ... TypeSQLDWSink TypeBasicCopySink = "SqlDWSink" // TypeSQLMISink ... @@ -1585,7 +1646,7 @@ const ( // PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type. func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink { - return []TypeBasicCopySink{TypeAvroSink, TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzureMySQLSink, TypeAzurePostgreSQLSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBinarySink, TypeBlobSink, TypeCommonDataServiceForAppsSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeCosmosDbSQLAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsCrmSink, TypeDynamicsSink, TypeFileSystemSink, TypeInformixSink, TypeJSONSink, TypeMicrosoftAccessSink, TypeOdbcSink, TypeOracleSink, TypeOrcSink, TypeParquetSink, TypeSalesforceServiceCloudSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLMISink, TypeSQLServerSink, TypeSQLSink} + return []TypeBasicCopySink{TypeAvroSink, TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzureMySQLSink, TypeAzurePostgreSQLSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBinarySink, TypeBlobSink, TypeCommonDataServiceForAppsSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeCosmosDbSQLAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsCrmSink, TypeDynamicsSink, TypeFileSystemSink, TypeInformixSink, TypeJSONSink, TypeMicrosoftAccessSink, TypeOdbcSink, TypeOracleSink, TypeOrcSink, TypeParquetSink, TypeRestSink, TypeSalesforceServiceCloudSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSnowflakeSink, TypeSQLDWSink, TypeSQLMISink, TypeSQLServerSink, TypeSQLSink} } // TypeBasicCopySource enumerates the values for type basic copy source. @@ -1648,6 +1709,8 @@ const ( TypeDynamicsSource TypeBasicCopySource = "DynamicsSource" // TypeEloquaSource ... TypeEloquaSource TypeBasicCopySource = "EloquaSource" + // TypeExcelSource ... + TypeExcelSource TypeBasicCopySource = "ExcelSource" // TypeFileSystemSource ... TypeFileSystemSource TypeBasicCopySource = "FileSystemSource" // TypeGoogleAdWordsSource ... @@ -1740,8 +1803,12 @@ const ( TypeSapTableSource TypeBasicCopySource = "SapTableSource" // TypeServiceNowSource ... TypeServiceNowSource TypeBasicCopySource = "ServiceNowSource" + // TypeSharePointOnlineListSource ... + TypeSharePointOnlineListSource TypeBasicCopySource = "SharePointOnlineListSource" // TypeShopifySource ... TypeShopifySource TypeBasicCopySource = "ShopifySource" + // TypeSnowflakeSource ... + TypeSnowflakeSource TypeBasicCopySource = "SnowflakeSource" // TypeSparkSource ... TypeSparkSource TypeBasicCopySource = "SparkSource" // TypeSQLDWSource ... @@ -1766,19 +1833,23 @@ const ( TypeWebSource TypeBasicCopySource = "WebSource" // TypeXeroSource ... TypeXeroSource TypeBasicCopySource = "XeroSource" + // TypeXMLSource ... + TypeXMLSource TypeBasicCopySource = "XmlSource" // TypeZohoSource ... TypeZohoSource TypeBasicCopySource = "ZohoSource" ) // PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type. func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource { - return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAvroSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMariaDBSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCosmosDbSQLAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeJSONSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeOrcSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapBwSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTabularSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} + return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAvroSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMariaDBSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureSQLSource, TypeAzureTableSource, TypeBinarySource, TypeBlobSource, TypeCassandraSource, TypeCommonDataServiceForAppsSource, TypeConcurSource, TypeCopySource, TypeCosmosDbMongoDbAPISource, TypeCosmosDbSQLAPISource, TypeCouchbaseSource, TypeDb2Source, TypeDelimitedTextSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsAXSource, TypeDynamicsCrmSource, TypeDynamicsSource, TypeEloquaSource, TypeExcelSource, TypeFileSystemSource, TypeGoogleAdWordsSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeInformixSource, TypeJiraSource, TypeJSONSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMicrosoftAccessSource, TypeMongoDbSource, TypeMongoDbV2Source, TypeMySQLSource, TypeNetezzaSource, TypeODataSource, TypeOdbcSource, TypeOffice365Source, TypeOracleServiceCloudSource, TypeOracleSource, TypeOrcSource, TypeParquetSource, TypePaypalSource, TypePhoenixSource, TypePostgreSQLSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeRestSource, TypeSalesforceMarketingCloudSource, TypeSalesforceServiceCloudSource, TypeSalesforceSource, TypeSapBwSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeSapHanaSource, TypeSapOpenHubSource, TypeSapTableSource, TypeServiceNowSource, TypeSharePointOnlineListSource, TypeShopifySource, TypeSnowflakeSource, TypeSparkSource, TypeSQLDWSource, TypeSQLMISource, TypeSQLServerSource, TypeSQLSource, TypeSquareSource, TypeSybaseSource, TypeTabularSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeXMLSource, TypeZohoSource} } // TypeBasicCustomSetupBase enumerates the values for type basic custom setup base. type TypeBasicCustomSetupBase string const ( + // TypeAzPowerShellSetup ... + TypeAzPowerShellSetup TypeBasicCustomSetupBase = "AzPowerShellSetup" // TypeCmdkeySetup ... TypeCmdkeySetup TypeBasicCustomSetupBase = "CmdkeySetup" // TypeComponentSetup ... @@ -1791,7 +1862,7 @@ const ( // PossibleTypeBasicCustomSetupBaseValues returns an array of possible values for the TypeBasicCustomSetupBase const type. func PossibleTypeBasicCustomSetupBaseValues() []TypeBasicCustomSetupBase { - return []TypeBasicCustomSetupBase{TypeCmdkeySetup, TypeComponentSetup, TypeCustomSetupBase, TypeEnvironmentVariableSetup} + return []TypeBasicCustomSetupBase{TypeAzPowerShellSetup, TypeCmdkeySetup, TypeComponentSetup, TypeCustomSetupBase, TypeEnvironmentVariableSetup} } // TypeBasicDataFlow enumerates the values for type basic data flow. @@ -1879,6 +1950,8 @@ const ( TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity" // TypeEloquaObject ... TypeEloquaObject TypeBasicDataset = "EloquaObject" + // TypeExcel ... + TypeExcel TypeBasicDataset = "Excel" // TypeFileShare ... TypeFileShare TypeBasicDataset = "FileShare" // TypeGoogleAdWordsObject ... @@ -1969,8 +2042,12 @@ const ( TypeSapTableResource TypeBasicDataset = "SapTableResource" // TypeServiceNowObject ... TypeServiceNowObject TypeBasicDataset = "ServiceNowObject" + // TypeSharePointOnlineListResource ... + TypeSharePointOnlineListResource TypeBasicDataset = "SharePointOnlineListResource" // TypeShopifyObject ... TypeShopifyObject TypeBasicDataset = "ShopifyObject" + // TypeSnowflakeTable ... + TypeSnowflakeTable TypeBasicDataset = "SnowflakeTable" // TypeSparkObject ... TypeSparkObject TypeBasicDataset = "SparkObject" // TypeSQLServerTable ... @@ -1987,13 +2064,15 @@ const ( TypeWebTable TypeBasicDataset = "WebTable" // TypeXeroObject ... TypeXeroObject TypeBasicDataset = "XeroObject" + // TypeXML ... + TypeXML TypeBasicDataset = "Xml" // TypeZohoObject ... TypeZohoObject TypeBasicDataset = "ZohoObject" ) // PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type. func PossibleTypeBasicDatasetValues() []TypeBasicDataset { - return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonRedshiftTable, TypeAmazonS3Object, TypeAvro, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMariaDBTable, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCosmosDbSQLAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDb2Table, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeJSON, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeOrc, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapBwCube, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeSybaseTable, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject} + return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonRedshiftTable, TypeAmazonS3Object, TypeAvro, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMariaDBTable, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCosmosDbSQLAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDb2Table, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeExcel, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeJSON, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMicrosoftAccessTable, TypeMongoDbCollection, TypeMongoDbV2Collection, TypeMySQLTable, TypeNetezzaTable, TypeODataResource, TypeOdbcTable, TypeOffice365Table, TypeOracleServiceCloudObject, TypeOracleTable, TypeOrc, TypeParquet, TypePaypalObject, TypePhoenixObject, TypePostgreSQLTable, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeRestResource, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSalesforceServiceCloudObject, TypeSapBwCube, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeSapHanaTable, TypeSapOpenHubTable, TypeSapTableResource, TypeServiceNowObject, TypeSharePointOnlineListResource, TypeShopifyObject, TypeSnowflakeTable, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeSybaseTable, TypeTeradataTable, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeXML, TypeZohoObject} } // TypeBasicDatasetCompression enumerates the values for type basic dataset compression. @@ -2094,6 +2173,21 @@ func PossibleTypeBasicDependencyReferenceValues() []TypeBasicDependencyReference return []TypeBasicDependencyReference{TypeDependencyReference, TypeSelfDependencyTumblingWindowTriggerReference, TypeTriggerDependencyReference, TypeTumblingWindowTriggerDependencyReference} } +// TypeBasicExportSettings enumerates the values for type basic export settings. +type TypeBasicExportSettings string + +const ( + // TypeExportSettings ... + TypeExportSettings TypeBasicExportSettings = "ExportSettings" + // TypeSnowflakeExportCopyCommand ... + TypeSnowflakeExportCopyCommand TypeBasicExportSettings = "SnowflakeExportCopyCommand" +) + +// PossibleTypeBasicExportSettingsValues returns an array of possible values for the TypeBasicExportSettings const type. +func PossibleTypeBasicExportSettingsValues() []TypeBasicExportSettings { + return []TypeBasicExportSettings{TypeExportSettings, TypeSnowflakeExportCopyCommand} +} + // TypeBasicFactoryRepoConfiguration enumerates the values for type basic factory repo configuration. type TypeBasicFactoryRepoConfiguration string @@ -2115,15 +2209,21 @@ func PossibleTypeBasicFactoryRepoConfigurationValues() []TypeBasicFactoryRepoCon type TypeBasicFormatReadSettings string const ( + // TypeBinaryReadSettings ... + TypeBinaryReadSettings TypeBasicFormatReadSettings = "BinaryReadSettings" // TypeDelimitedTextReadSettings ... TypeDelimitedTextReadSettings TypeBasicFormatReadSettings = "DelimitedTextReadSettings" // TypeFormatReadSettings ... TypeFormatReadSettings TypeBasicFormatReadSettings = "FormatReadSettings" + // TypeJSONReadSettings ... + TypeJSONReadSettings TypeBasicFormatReadSettings = "JsonReadSettings" + // TypeXMLReadSettings ... + TypeXMLReadSettings TypeBasicFormatReadSettings = "XmlReadSettings" ) // PossibleTypeBasicFormatReadSettingsValues returns an array of possible values for the TypeBasicFormatReadSettings const type. func PossibleTypeBasicFormatReadSettingsValues() []TypeBasicFormatReadSettings { - return []TypeBasicFormatReadSettings{TypeDelimitedTextReadSettings, TypeFormatReadSettings} + return []TypeBasicFormatReadSettings{TypeBinaryReadSettings, TypeDelimitedTextReadSettings, TypeFormatReadSettings, TypeJSONReadSettings, TypeXMLReadSettings} } // TypeBasicFormatWriteSettings enumerates the values for type basic format write settings. @@ -2145,6 +2245,21 @@ func PossibleTypeBasicFormatWriteSettingsValues() []TypeBasicFormatWriteSettings return []TypeBasicFormatWriteSettings{TypeAvroWriteSettings, TypeDelimitedTextWriteSettings, TypeFormatWriteSettings, TypeJSONWriteSettings} } +// TypeBasicImportSettings enumerates the values for type basic import settings. +type TypeBasicImportSettings string + +const ( + // TypeImportSettings ... + TypeImportSettings TypeBasicImportSettings = "ImportSettings" + // TypeSnowflakeImportCopyCommand ... + TypeSnowflakeImportCopyCommand TypeBasicImportSettings = "SnowflakeImportCopyCommand" +) + +// PossibleTypeBasicImportSettingsValues returns an array of possible values for the TypeBasicImportSettings const type. +func PossibleTypeBasicImportSettingsValues() []TypeBasicImportSettings { + return []TypeBasicImportSettings{TypeImportSettings, TypeSnowflakeImportCopyCommand} +} + // TypeBasicIntegrationRuntime enumerates the values for type basic integration runtime. type TypeBasicIntegrationRuntime string @@ -2353,8 +2468,12 @@ const ( TypeServiceNow TypeBasicLinkedService = "ServiceNow" // TypeSftp ... TypeSftp TypeBasicLinkedService = "Sftp" + // TypeSharePointOnlineList ... + TypeSharePointOnlineList TypeBasicLinkedService = "SharePointOnlineList" // TypeShopify ... TypeShopify TypeBasicLinkedService = "Shopify" + // TypeSnowflake ... + TypeSnowflake TypeBasicLinkedService = "Snowflake" // TypeSpark ... TypeSpark TypeBasicLinkedService = "Spark" // TypeSQLServer ... @@ -2377,7 +2496,7 @@ const ( // PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type. func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { - return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFileStorage, TypeAzureFunction, TypeAzureKeyVault, TypeAzureMariaDB, TypeAzureML, TypeAzureMLService, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureSQLMI, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeCommonDataServiceForApps, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeDynamicsCrm, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGoogleCloudStorage, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeInformix, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMicrosoftAccess, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSalesforceServiceCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} + return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFileStorage, TypeAzureFunction, TypeAzureKeyVault, TypeAzureMariaDB, TypeAzureML, TypeAzureMLService, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureSQLMI, TypeAzureStorage, TypeAzureTableStorage, TypeCassandra, TypeCommonDataServiceForApps, TypeConcur, TypeCosmosDb, TypeCosmosDbMongoDbAPI, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeDynamicsAX, TypeDynamicsCrm, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleAdWords, TypeGoogleBigQuery, TypeGoogleCloudStorage, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeInformix, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMicrosoftAccess, TypeMongoDb, TypeMongoDbV2, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOffice365, TypeOracle, TypeOracleServiceCloud, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeRestService, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSalesforceServiceCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeSapOpenHub, TypeSapTable, TypeServiceNow, TypeSftp, TypeSharePointOnlineList, TypeShopify, TypeSnowflake, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho} } // TypeBasicSsisObjectMetadata enumerates the values for type basic ssis object metadata. @@ -3484,7 +3603,7 @@ type AmazonMWSLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -3516,6 +3635,16 @@ func (amls AmazonMWSLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -4224,7 +4353,7 @@ type AmazonMWSObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -4265,6 +4394,16 @@ func (amod AmazonMWSObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -4675,6 +4814,11 @@ func (amod AmazonMWSObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -4690,6 +4834,11 @@ func (amod AmazonMWSObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -4834,7 +4983,7 @@ type AmazonMWSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -4869,6 +5018,16 @@ func (ams AmazonMWSSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -5289,6 +5448,11 @@ func (ams AmazonMWSSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -5304,6 +5468,11 @@ func (ams AmazonMWSSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -5423,7 +5592,7 @@ type AmazonRedshiftLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -5455,6 +5624,16 @@ func (arls AmazonRedshiftLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -6118,7 +6297,7 @@ type AmazonRedshiftSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -6156,6 +6335,16 @@ func (ars AmazonRedshiftSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -6576,6 +6765,11 @@ func (ars AmazonRedshiftSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -6591,6 +6785,11 @@ func (ars AmazonRedshiftSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -6725,7 +6924,7 @@ type AmazonRedshiftTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -6766,6 +6965,16 @@ func (artd AmazonRedshiftTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. func (artd AmazonRedshiftTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -7176,6 +7385,11 @@ func (artd AmazonRedshiftTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. func (artd AmazonRedshiftTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -7191,6 +7405,11 @@ func (artd AmazonRedshiftTableDataset) AsParquetDataset() (*ParquetDataset, bool return nil, false } +// AsExcelDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. func (artd AmazonRedshiftTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -7349,7 +7568,7 @@ type AmazonS3Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -7390,6 +7609,16 @@ func (asd AmazonS3Dataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -7800,6 +8029,11 @@ func (asd AmazonS3Dataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -7815,6 +8049,11 @@ func (asd AmazonS3Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -8062,7 +8301,7 @@ type AmazonS3LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -8094,6 +8333,16 @@ func (asls AmazonS3LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -8909,6 +9158,10 @@ type AmazonS3ReadSettings struct { FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -8943,6 +9196,12 @@ func (asrs AmazonS3ReadSettings) MarshalJSON() ([]byte, error) { if asrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = asrs.EnablePartitionDiscovery } + if asrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = asrs.PartitionRootPath + } + if asrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = asrs.DeleteFilesAfterCompletion + } if asrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = asrs.ModifiedDatetimeStart } @@ -9089,6 +9348,24 @@ func (asrs *AmazonS3ReadSettings) UnmarshalJSON(body []byte) error { } asrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + asrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + asrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -9498,7 +9775,7 @@ type AvroDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9539,6 +9816,16 @@ func (ad AvroDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AvroDataset. func (ad AvroDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -9949,6 +10236,11 @@ func (ad AvroDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AvroDataset. func (ad AvroDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -9964,6 +10256,11 @@ func (ad AvroDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AvroDataset. func (ad AvroDataset) AsAvroDataset() (*AvroDataset, bool) { return &ad, true @@ -10280,7 +10577,7 @@ type AvroSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -10386,6 +10683,11 @@ func (as AvroSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AvroSink. func (as AvroSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -10471,6 +10773,11 @@ func (as AvroSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AvroSink. func (as AvroSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -10608,7 +10915,7 @@ type AvroSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -10638,6 +10945,16 @@ func (as AvroSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AvroSource. func (as AvroSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -11058,6 +11375,11 @@ func (as AvroSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AvroSource. func (as AvroSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -11073,6 +11395,11 @@ func (as AvroSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AvroSource. func (as AvroSource) AsAvroSource() (*AvroSource, bool) { return &as, true @@ -11278,6 +11605,96 @@ func (aws *AvroWriteSettings) UnmarshalJSON(body []byte) error { return nil } +// AzPowerShellSetup the express custom setup of installing Azure PowerShell. +type AzPowerShellSetup struct { + // AzPowerShellSetupTypeProperties - Install Azure PowerShell type properties. + *AzPowerShellSetupTypeProperties `json:"typeProperties,omitempty"` + // Type - Possible values include: 'TypeCustomSetupBase', 'TypeAzPowerShellSetup', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' + Type TypeBasicCustomSetupBase `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzPowerShellSetup. +func (apss AzPowerShellSetup) MarshalJSON() ([]byte, error) { + apss.Type = TypeAzPowerShellSetup + objectMap := make(map[string]interface{}) + if apss.AzPowerShellSetupTypeProperties != nil { + objectMap["typeProperties"] = apss.AzPowerShellSetupTypeProperties + } + if apss.Type != "" { + objectMap["type"] = apss.Type + } + return json.Marshal(objectMap) +} + +// AsAzPowerShellSetup is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsAzPowerShellSetup() (*AzPowerShellSetup, bool) { + return &apss, true +} + +// AsComponentSetup is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsComponentSetup() (*ComponentSetup, bool) { + return nil, false +} + +// AsEnvironmentVariableSetup is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsEnvironmentVariableSetup() (*EnvironmentVariableSetup, bool) { + return nil, false +} + +// AsCmdkeySetup is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsCmdkeySetup() (*CmdkeySetup, bool) { + return nil, false +} + +// AsCustomSetupBase is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsCustomSetupBase() (*CustomSetupBase, bool) { + return nil, false +} + +// AsBasicCustomSetupBase is the BasicCustomSetupBase implementation for AzPowerShellSetup. +func (apss AzPowerShellSetup) AsBasicCustomSetupBase() (BasicCustomSetupBase, bool) { + return &apss, true +} + +// UnmarshalJSON is the custom unmarshaler for AzPowerShellSetup struct. +func (apss *AzPowerShellSetup) UnmarshalJSON(body []byte) error { + 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 azPowerShellSetupTypeProperties AzPowerShellSetupTypeProperties + err = json.Unmarshal(*v, &azPowerShellSetupTypeProperties) + if err != nil { + return err + } + apss.AzPowerShellSetupTypeProperties = &azPowerShellSetupTypeProperties + } + case "type": + if v != nil { + var typeVar TypeBasicCustomSetupBase + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + apss.Type = typeVar + } + } + } + + return nil +} + +// AzPowerShellSetupTypeProperties installation of Azure PowerShell type properties. +type AzPowerShellSetupTypeProperties struct { + // Version - The required version of Azure PowerShell to install. + Version *string `json:"version,omitempty"` +} + // AzureBatchLinkedService azure Batch linked service. type AzureBatchLinkedService struct { // AzureBatchLinkedServiceTypeProperties - Azure Batch linked service properties. @@ -11292,7 +11709,7 @@ type AzureBatchLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -11324,6 +11741,16 @@ func (abls AzureBatchLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -11989,7 +12416,7 @@ type AzureBlobDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -12030,6 +12457,16 @@ func (abd AzureBlobDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -12440,6 +12877,11 @@ func (abd AzureBlobDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -12455,6 +12897,11 @@ func (abd AzureBlobDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -12697,7 +13144,7 @@ type AzureBlobFSDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -12738,6 +13185,16 @@ func (abfd AzureBlobFSDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -13148,6 +13605,11 @@ func (abfd AzureBlobFSDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -13163,6 +13625,11 @@ func (abfd AzureBlobFSDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -13366,7 +13833,7 @@ type AzureBlobFSLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -13398,6 +13865,16 @@ func (abfls AzureBlobFSLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -14219,6 +14696,10 @@ type AzureBlobFSReadSettings struct { FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -14250,6 +14731,12 @@ func (abfrs AzureBlobFSReadSettings) MarshalJSON() ([]byte, error) { if abfrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = abfrs.EnablePartitionDiscovery } + if abfrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = abfrs.PartitionRootPath + } + if abfrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = abfrs.DeleteFilesAfterCompletion + } if abfrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = abfrs.ModifiedDatetimeStart } @@ -14387,6 +14874,24 @@ func (abfrs *AzureBlobFSReadSettings) UnmarshalJSON(body []byte) error { } abfrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + abfrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + abfrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -14457,7 +14962,7 @@ type AzureBlobFSSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -14562,6 +15067,11 @@ func (abfs AzureBlobFSSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -14647,6 +15157,11 @@ func (abfs AzureBlobFSSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -14778,7 +15293,7 @@ type AzureBlobFSSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -14813,6 +15328,16 @@ func (abfs AzureBlobFSSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -15233,6 +15758,11 @@ func (abfs AzureBlobFSSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -15248,6 +15778,11 @@ func (abfs AzureBlobFSSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -15501,7 +16036,7 @@ type AzureBlobStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -15533,6 +16068,16 @@ func (absls AzureBlobStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -16389,6 +16934,10 @@ type AzureBlobStorageReadSettings struct { FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -16423,6 +16972,12 @@ func (absrs AzureBlobStorageReadSettings) MarshalJSON() ([]byte, error) { if absrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = absrs.EnablePartitionDiscovery } + if absrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = absrs.PartitionRootPath + } + if absrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = absrs.DeleteFilesAfterCompletion + } if absrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = absrs.ModifiedDatetimeStart } @@ -16569,6 +17124,24 @@ func (absrs *AzureBlobStorageReadSettings) UnmarshalJSON(body []byte) error { } absrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + absrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + absrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -16771,7 +17344,7 @@ type AzureDatabricksLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -16803,6 +17376,16 @@ func (adls AzureDatabricksLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -17386,6 +17969,8 @@ type AzureDatabricksLinkedServiceTypeProperties struct { NewClusterSparkEnvVars map[string]interface{} `json:"newClusterSparkEnvVars"` // NewClusterCustomTags - Additional tags for cluster resources. This property is ignored in instance pool configurations. NewClusterCustomTags map[string]interface{} `json:"newClusterCustomTags"` + // NewClusterLogDestination - Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). + NewClusterLogDestination interface{} `json:"newClusterLogDestination,omitempty"` // NewClusterDriverNodeType - The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). NewClusterDriverNodeType interface{} `json:"newClusterDriverNodeType,omitempty"` // NewClusterInitScripts - User-defined initialization scripts for the new cluster. Type: array of strings (or Expression with resultType array of strings). @@ -17427,6 +18012,9 @@ func (adlstp AzureDatabricksLinkedServiceTypeProperties) MarshalJSON() ([]byte, if adlstp.NewClusterCustomTags != nil { objectMap["newClusterCustomTags"] = adlstp.NewClusterCustomTags } + if adlstp.NewClusterLogDestination != nil { + objectMap["newClusterLogDestination"] = adlstp.NewClusterLogDestination + } if adlstp.NewClusterDriverNodeType != nil { objectMap["newClusterDriverNodeType"] = adlstp.NewClusterDriverNodeType } @@ -17540,6 +18128,15 @@ func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []b } adlstp.NewClusterCustomTags = newClusterCustomTags } + case "newClusterLogDestination": + if v != nil { + var newClusterLogDestination interface{} + err = json.Unmarshal(*v, &newClusterLogDestination) + if err != nil { + return err + } + adlstp.NewClusterLogDestination = newClusterLogDestination + } case "newClusterDriverNodeType": if v != nil { var newClusterDriverNodeType interface{} @@ -17965,7 +18562,7 @@ type AzureDataExplorerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -17997,6 +18594,16 @@ func (adels AzureDataExplorerLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -18651,7 +19258,7 @@ type AzureDataExplorerSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -18762,6 +19369,11 @@ func (ades AzureDataExplorerSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -18847,6 +19459,11 @@ func (ades AzureDataExplorerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -18998,7 +19615,7 @@ type AzureDataExplorerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -19036,6 +19653,16 @@ func (ades AzureDataExplorerSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -19456,6 +20083,11 @@ func (ades AzureDataExplorerSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -19471,6 +20103,11 @@ func (ades AzureDataExplorerSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -19605,7 +20242,7 @@ type AzureDataExplorerTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -19646,6 +20283,16 @@ func (adetd AzureDataExplorerTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -20056,6 +20703,11 @@ func (adetd AzureDataExplorerTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -20071,6 +20723,11 @@ func (adetd AzureDataExplorerTableDataset) AsParquetDataset() (*ParquetDataset, return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -20213,7 +20870,7 @@ type AzureDataLakeAnalyticsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -20245,6 +20902,16 @@ func (adlals AzureDataLakeAnalyticsLinkedService) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -20932,7 +21599,7 @@ type AzureDataLakeStoreDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -20973,6 +21640,16 @@ func (adlsd AzureDataLakeStoreDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -21383,6 +22060,11 @@ func (adlsd AzureDataLakeStoreDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -21398,6 +22080,11 @@ func (adlsd AzureDataLakeStoreDataset) AsParquetDataset() (*ParquetDataset, bool return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -21601,7 +22288,7 @@ type AzureDataLakeStoreLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -21633,6 +22320,16 @@ func (adlsls AzureDataLakeStoreLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -22460,8 +23157,16 @@ type AzureDataLakeStoreReadSettings struct { WildcardFileName interface{} `json:"wildcardFileName,omitempty"` // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). FileListPath interface{} `json:"fileListPath,omitempty"` + // ListAfter - Lists files after the value (exclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). + ListAfter interface{} `json:"listAfter,omitempty"` + // ListBefore - Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). + ListBefore interface{} `json:"listBefore,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -22490,9 +23195,21 @@ func (adlsrs AzureDataLakeStoreReadSettings) MarshalJSON() ([]byte, error) { if adlsrs.FileListPath != nil { objectMap["fileListPath"] = adlsrs.FileListPath } + if adlsrs.ListAfter != nil { + objectMap["listAfter"] = adlsrs.ListAfter + } + if adlsrs.ListBefore != nil { + objectMap["listBefore"] = adlsrs.ListBefore + } if adlsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = adlsrs.EnablePartitionDiscovery } + if adlsrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = adlsrs.PartitionRootPath + } + if adlsrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = adlsrs.DeleteFilesAfterCompletion + } if adlsrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = adlsrs.ModifiedDatetimeStart } @@ -22621,6 +23338,24 @@ func (adlsrs *AzureDataLakeStoreReadSettings) UnmarshalJSON(body []byte) error { } adlsrs.FileListPath = fileListPath } + case "listAfter": + if v != nil { + var listAfter interface{} + err = json.Unmarshal(*v, &listAfter) + if err != nil { + return err + } + adlsrs.ListAfter = listAfter + } + case "listBefore": + if v != nil { + var listBefore interface{} + err = json.Unmarshal(*v, &listBefore) + if err != nil { + return err + } + adlsrs.ListBefore = listBefore + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -22630,6 +23365,24 @@ func (adlsrs *AzureDataLakeStoreReadSettings) UnmarshalJSON(body []byte) error { } adlsrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + adlsrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + adlsrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -22702,7 +23455,7 @@ type AzureDataLakeStoreSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -22810,6 +23563,11 @@ func (adlss AzureDataLakeStoreSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -22895,6 +23653,11 @@ func (adlss AzureDataLakeStoreSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSin return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -23031,7 +23794,7 @@ type AzureDataLakeStoreSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -23060,6 +23823,16 @@ func (adlss AzureDataLakeStoreSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -23480,6 +24253,11 @@ func (adlss AzureDataLakeStoreSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -23495,6 +24273,11 @@ func (adlss AzureDataLakeStoreSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -23730,7 +24513,7 @@ type AzureFileStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -23762,6 +24545,16 @@ func (afsls AzureFileStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureFileStorageLinkedService. +func (afsls AzureFileStorageLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureFileStorageLinkedService. +func (afsls AzureFileStorageLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureFileStorageLinkedService. func (afsls AzureFileStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -24331,6 +25124,16 @@ type AzureFileStorageLinkedServiceTypeProperties struct { UserID interface{} `json:"userId,omitempty"` // Password - Password to logon the server. Password BasicSecretBase `json:"password,omitempty"` + // ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // AccountKey - The Azure key vault secret reference of accountKey in connection string. + AccountKey *AzureKeyVaultSecretReference `json:"accountKey,omitempty"` + // SasURI - SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + SasURI interface{} `json:"sasUri,omitempty"` + // SasToken - The Azure key vault secret reference of sasToken in sas uri. + SasToken *AzureKeyVaultSecretReference `json:"sasToken,omitempty"` + // FileShare - The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). + FileShare interface{} `json:"fileShare,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"` } @@ -24370,6 +25173,51 @@ func (afslstp *AzureFileStorageLinkedServiceTypeProperties) UnmarshalJSON(body [ } afslstp.Password = password } + case "connectionString": + if v != nil { + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + afslstp.ConnectionString = connectionString + } + case "accountKey": + if v != nil { + var accountKey AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &accountKey) + if err != nil { + return err + } + afslstp.AccountKey = &accountKey + } + case "sasUri": + if v != nil { + var sasURI interface{} + err = json.Unmarshal(*v, &sasURI) + if err != nil { + return err + } + afslstp.SasURI = sasURI + } + case "sasToken": + if v != nil { + var sasToken AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &sasToken) + if err != nil { + return err + } + afslstp.SasToken = &sasToken + } + case "fileShare": + if v != nil { + var fileShare interface{} + err = json.Unmarshal(*v, &fileShare) + if err != nil { + return err + } + afslstp.FileShare = fileShare + } case "encryptedCredential": if v != nil { var encryptedCredential interface{} @@ -24543,10 +25391,16 @@ type AzureFileStorageReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // Prefix - The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). + Prefix interface{} `json:"prefix,omitempty"` // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -24572,12 +25426,21 @@ func (afsrs AzureFileStorageReadSettings) MarshalJSON() ([]byte, error) { if afsrs.WildcardFileName != nil { objectMap["wildcardFileName"] = afsrs.WildcardFileName } + if afsrs.Prefix != nil { + objectMap["prefix"] = afsrs.Prefix + } if afsrs.FileListPath != nil { objectMap["fileListPath"] = afsrs.FileListPath } if afsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = afsrs.EnablePartitionDiscovery } + if afsrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = afsrs.PartitionRootPath + } + if afsrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = afsrs.DeleteFilesAfterCompletion + } if afsrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = afsrs.ModifiedDatetimeStart } @@ -24697,6 +25560,15 @@ func (afsrs *AzureFileStorageReadSettings) UnmarshalJSON(body []byte) error { } afsrs.WildcardFileName = wildcardFileName } + case "prefix": + if v != nil { + var prefix interface{} + err = json.Unmarshal(*v, &prefix) + if err != nil { + return err + } + afsrs.Prefix = prefix + } case "fileListPath": if v != nil { var fileListPath interface{} @@ -24715,6 +25587,24 @@ func (afsrs *AzureFileStorageReadSettings) UnmarshalJSON(body []byte) error { } afsrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + afsrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + afsrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -25150,7 +26040,7 @@ type AzureFunctionLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -25182,6 +26072,16 @@ func (afls AzureFunctionLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return &afls, true @@ -25808,7 +26708,7 @@ type AzureKeyVaultLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -25840,6 +26740,16 @@ func (akvls AzureKeyVaultLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -26472,7 +27382,7 @@ type AzureMariaDBLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -26504,6 +27414,16 @@ func (amdls AzureMariaDBLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. func (amdls AzureMariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -27091,7 +28011,7 @@ type AzureMariaDBSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -27126,6 +28046,16 @@ func (amds AzureMariaDBSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureMariaDBSource. func (amds AzureMariaDBSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -27546,6 +28476,11 @@ func (amds AzureMariaDBSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureMariaDBSource. func (amds AzureMariaDBSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -27561,6 +28496,11 @@ func (amds AzureMariaDBSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureMariaDBSource. func (amds AzureMariaDBSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -27686,7 +28626,7 @@ type AzureMariaDBTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -27727,6 +28667,16 @@ func (amdtd AzureMariaDBTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. func (amdtd AzureMariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -28137,6 +29087,11 @@ func (amdtd AzureMariaDBTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureMariaDBTableDataset. func (amdtd AzureMariaDBTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -28152,6 +29107,11 @@ func (amdtd AzureMariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureMariaDBTableDataset. func (amdtd AzureMariaDBTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -29043,7 +30003,7 @@ type AzureMLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -29075,6 +30035,16 @@ func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -29744,7 +30714,7 @@ type AzureMLServiceLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -29776,6 +30746,16 @@ func (amsls AzureMLServiceLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureMLServiceLinkedService. +func (amsls AzureMLServiceLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureMLServiceLinkedService. +func (amsls AzureMLServiceLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMLServiceLinkedService. func (amsls AzureMLServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -30819,7 +31799,7 @@ type AzureMySQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -30851,6 +31831,16 @@ func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -31438,7 +32428,7 @@ type AzureMySQLSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -31543,6 +32533,11 @@ func (amss AzureMySQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureMySQLSink. func (amss AzureMySQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -31628,6 +32623,11 @@ func (amss AzureMySQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureMySQLSink. func (amss AzureMySQLSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -31759,7 +32759,7 @@ type AzureMySQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -31794,6 +32794,16 @@ func (amss AzureMySQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -32214,6 +33224,11 @@ func (amss AzureMySQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -32229,6 +33244,11 @@ func (amss AzureMySQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -32354,7 +33374,7 @@ type AzureMySQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -32395,6 +33415,16 @@ func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -32805,6 +33835,11 @@ func (amstd AzureMySQLTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -32820,6 +33855,11 @@ func (amstd AzureMySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureMySQLTableDataset. func (amstd AzureMySQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -32970,7 +34010,7 @@ type AzurePostgreSQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -33002,6 +34042,16 @@ func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -33589,7 +34639,7 @@ type AzurePostgreSQLSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -33694,6 +34744,11 @@ func (apss AzurePostgreSQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzurePostgreSQLSink. func (apss AzurePostgreSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -33779,6 +34834,11 @@ func (apss AzurePostgreSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, b return &apss, true } +// AsRestSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzurePostgreSQLSink. func (apss AzurePostgreSQLSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -33910,7 +34970,7 @@ type AzurePostgreSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -33945,6 +35005,16 @@ func (apss AzurePostgreSQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -34365,6 +35435,11 @@ func (apss AzurePostgreSQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -34380,6 +35455,11 @@ func (apss AzurePostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -34505,7 +35585,7 @@ type AzurePostgreSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -34546,6 +35626,16 @@ func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -34956,6 +36046,11 @@ func (apstd AzurePostgreSQLTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -34971,6 +36066,11 @@ func (apstd AzurePostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bo return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -35123,7 +36223,7 @@ type AzureQueueSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -35225,6 +36325,11 @@ func (aqs AzureQueueSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -35310,6 +36415,11 @@ func (aqs AzureQueueSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureQueueSink. func (aqs AzureQueueSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -35436,7 +36546,7 @@ type AzureSearchIndexDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -35477,6 +36587,16 @@ func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -35887,6 +37007,11 @@ func (asid AzureSearchIndexDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -35902,6 +37027,11 @@ func (asid AzureSearchIndexDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -36052,7 +37182,7 @@ type AzureSearchIndexSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -36157,6 +37287,11 @@ func (asis AzureSearchIndexSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -36242,6 +37377,11 @@ func (asis AzureSearchIndexSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureSearchIndexSink. func (asis AzureSearchIndexSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -36371,7 +37511,7 @@ type AzureSearchLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -36403,6 +37543,16 @@ func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -37029,7 +38179,7 @@ type AzureSQLDatabaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -37061,6 +38211,16 @@ func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -37720,7 +38880,7 @@ type AzureSQLDWLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -37752,6 +38912,16 @@ func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -38417,7 +39587,7 @@ type AzureSQLDWTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -38458,6 +39628,16 @@ func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -38868,6 +40048,11 @@ func (asdtd AzureSQLDWTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -38883,6 +40068,11 @@ func (asdtd AzureSQLDWTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureSQLDWTableDataset. func (asdtd AzureSQLDWTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -39035,7 +40225,7 @@ type AzureSQLMILinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -39067,6 +40257,16 @@ func (asmls AzureSQLMILinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. func (asmls AzureSQLMILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -39732,7 +40932,7 @@ type AzureSQLMITableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -39773,6 +40973,16 @@ func (asmtd AzureSQLMITableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. func (asmtd AzureSQLMITableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -40183,6 +41393,11 @@ func (asmtd AzureSQLMITableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureSQLMITableDataset. func (asmtd AzureSQLMITableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -40198,6 +41413,11 @@ func (asmtd AzureSQLMITableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureSQLMITableDataset. func (asmtd AzureSQLMITableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -40362,7 +41582,7 @@ type AzureSQLSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -40482,6 +41702,11 @@ func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink. func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -40567,6 +41792,11 @@ func (ass AzureSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureSQLSink. func (ass AzureSQLSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -40737,6 +41967,10 @@ type AzureSQLSource struct { StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` // ProduceAdditionalTypes - Which additional types to produce. ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` + // PartitionOption - The partition mechanism that will be used for Sql read in parallel. Possible values include: 'SQLPartitionOptionNone', 'SQLPartitionOptionPhysicalPartitionsOfTable', 'SQLPartitionOptionDynamicRange' + PartitionOption SQLPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Sql source partitioning. + PartitionSettings *SQLPartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -40749,7 +41983,7 @@ type AzureSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -40769,6 +42003,12 @@ func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { if ass.ProduceAdditionalTypes != nil { objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes } + if ass.PartitionOption != "" { + objectMap["partitionOption"] = ass.PartitionOption + } + if ass.PartitionSettings != nil { + objectMap["partitionSettings"] = ass.PartitionSettings + } if ass.QueryTimeout != nil { objectMap["queryTimeout"] = ass.QueryTimeout } @@ -40793,6 +42033,16 @@ func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureSQLSource. func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -41213,6 +42463,11 @@ func (ass AzureSQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureSQLSource. func (ass AzureSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -41228,6 +42483,11 @@ func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureSQLSource. func (ass AzureSQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -41288,6 +42548,24 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { } ass.ProduceAdditionalTypes = produceAdditionalTypes } + case "partitionOption": + if v != nil { + var partitionOption SQLPartitionOption + err = json.Unmarshal(*v, &partitionOption) + if err != nil { + return err + } + ass.PartitionOption = partitionOption + } + case "partitionSettings": + if v != nil { + var partitionSettings SQLPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) + if err != nil { + return err + } + ass.PartitionSettings = &partitionSettings + } case "queryTimeout": if v != nil { var queryTimeout interface{} @@ -41380,7 +42658,7 @@ type AzureSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -41421,6 +42699,16 @@ func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -41831,6 +43119,11 @@ func (astd AzureSQLTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureSQLTableDataset. func (astd AzureSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -41846,6 +43139,11 @@ func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureSQLTableDataset. func (astd AzureSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -41998,7 +43296,7 @@ type AzureStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -42030,6 +43328,16 @@ func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -42625,7 +43933,7 @@ type AzureTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -42666,6 +43974,16 @@ func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset. func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -43076,6 +44394,11 @@ func (atd AzureTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for AzureTableDataset. func (atd AzureTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -43091,6 +44414,11 @@ func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for AzureTableDataset. func (atd AzureTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -43247,7 +44575,7 @@ type AzureTableSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -43361,6 +44689,11 @@ func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for AzureTableSink. func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -43446,6 +44779,11 @@ func (ats AzureTableSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for AzureTableSink. func (ats AzureTableSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -43606,7 +44944,7 @@ type AzureTableSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -43644,6 +44982,16 @@ func (ats AzureTableSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for AzureTableSource. func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -44064,6 +45412,11 @@ func (ats AzureTableSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for AzureTableSource. func (ats AzureTableSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -44079,6 +45432,11 @@ func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for AzureTableSource. func (ats AzureTableSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -44207,7 +45565,7 @@ type AzureTableStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -44239,6 +45597,16 @@ func (atsls AzureTableStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -44820,7 +46188,7 @@ type BinaryDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -44861,6 +46229,16 @@ func (bd BinaryDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for BinaryDataset. func (bd BinaryDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -45271,6 +46649,11 @@ func (bd BinaryDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for BinaryDataset. func (bd BinaryDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -45286,6 +46669,11 @@ func (bd BinaryDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for BinaryDataset. func (bd BinaryDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -45453,6 +46841,104 @@ func (bdtp *BinaryDatasetTypeProperties) UnmarshalJSON(body []byte) error { return nil } +// BinaryReadSettings binary read settings. +type BinaryReadSettings struct { + // CompressionProperties - Compression settings. + CompressionProperties BasicCompressionReadSettings `json:"compressionProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeFormatReadSettings', 'TypeBinaryReadSettings', 'TypeXMLReadSettings', 'TypeJSONReadSettings', 'TypeDelimitedTextReadSettings' + Type TypeBasicFormatReadSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for BinaryReadSettings. +func (brs BinaryReadSettings) MarshalJSON() ([]byte, error) { + brs.Type = TypeBinaryReadSettings + objectMap := make(map[string]interface{}) + objectMap["compressionProperties"] = brs.CompressionProperties + if brs.Type != "" { + objectMap["type"] = brs.Type + } + for k, v := range brs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsBinaryReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsBinaryReadSettings() (*BinaryReadSettings, bool) { + return &brs, true +} + +// AsXMLReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsXMLReadSettings() (*XMLReadSettings, bool) { + return nil, false +} + +// AsJSONReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsJSONReadSettings() (*JSONReadSettings, bool) { + return nil, false +} + +// AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { + return nil, false +} + +// AsFormatReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsFormatReadSettings() (*FormatReadSettings, bool) { + return nil, false +} + +// AsBasicFormatReadSettings is the BasicFormatReadSettings implementation for BinaryReadSettings. +func (brs BinaryReadSettings) AsBasicFormatReadSettings() (BasicFormatReadSettings, bool) { + return &brs, true +} + +// UnmarshalJSON is the custom unmarshaler for BinaryReadSettings struct. +func (brs *BinaryReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "compressionProperties": + if v != nil { + compressionProperties, err := unmarshalBasicCompressionReadSettings(*v) + if err != nil { + return err + } + brs.CompressionProperties = compressionProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if brs.AdditionalProperties == nil { + brs.AdditionalProperties = make(map[string]interface{}) + } + brs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicFormatReadSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + brs.Type = typeVar + } + } + } + + return nil +} + // BinarySink a copy activity Binary sink. type BinarySink struct { // StoreSettings - Binary store settings. @@ -45469,7 +46955,7 @@ type BinarySink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -45572,6 +47058,11 @@ func (bs BinarySink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for BinarySink. func (bs BinarySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -45657,6 +47148,11 @@ func (bs BinarySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for BinarySink. func (bs BinarySink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -45775,6 +47271,8 @@ func (bs *BinarySink) UnmarshalJSON(body []byte) error { type BinarySource struct { // StoreSettings - Binary store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // FormatSettings - Binary format settings. + FormatSettings *BinaryReadSettings `json:"formatSettings,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -45783,7 +47281,7 @@ type BinarySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -45792,6 +47290,9 @@ func (bs BinarySource) MarshalJSON() ([]byte, error) { bs.Type = TypeBinarySource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = bs.StoreSettings + if bs.FormatSettings != nil { + objectMap["formatSettings"] = bs.FormatSettings + } if bs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = bs.SourceRetryCount } @@ -45810,6 +47311,16 @@ func (bs BinarySource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for BinarySource. func (bs BinarySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -46230,6 +47741,11 @@ func (bs BinarySource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for BinarySource. func (bs BinarySource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -46245,6 +47761,11 @@ func (bs BinarySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for BinarySource. func (bs BinarySource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -46277,6 +47798,15 @@ func (bs *BinarySource) UnmarshalJSON(body []byte) error { } bs.StoreSettings = storeSettings } + case "formatSettings": + if v != nil { + var formatSettings BinaryReadSettings + err = json.Unmarshal(*v, &formatSettings) + if err != nil { + return err + } + bs.FormatSettings = &formatSettings + } default: if v != nil { var additionalProperties interface{} @@ -46541,7 +48071,7 @@ type BlobSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -46655,6 +48185,11 @@ func (bs BlobSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for BlobSink. func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -46740,6 +48275,11 @@ func (bs BlobSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for BlobSink. func (bs BlobSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -46898,7 +48438,7 @@ type BlobSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -46933,6 +48473,16 @@ func (bs BlobSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for BlobSource. func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -47353,6 +48903,11 @@ func (bs BlobSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for BlobSource. func (bs BlobSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -47368,6 +48923,11 @@ func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for BlobSource. func (bs BlobSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -47671,7 +49231,7 @@ type CassandraLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -47703,6 +49263,16 @@ func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService. func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -48366,7 +49936,7 @@ type CassandraSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -48404,6 +49974,16 @@ func (cs CassandraSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CassandraSource. func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -48824,6 +50404,11 @@ func (cs CassandraSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CassandraSource. func (cs CassandraSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -48839,6 +50424,11 @@ func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CassandraSource. func (cs CassandraSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -48973,7 +50563,7 @@ type CassandraTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -49014,6 +50604,16 @@ func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset. func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -49424,6 +51024,11 @@ func (ctd CassandraTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CassandraTableDataset. func (ctd CassandraTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -49439,6 +51044,11 @@ func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CassandraTableDataset. func (ctd CassandraTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -49815,7 +51425,7 @@ type CloudErrorBody struct { type CmdkeySetup struct { // CmdkeySetupTypeProperties - Cmdkey command custom setup type properties. *CmdkeySetupTypeProperties `json:"typeProperties,omitempty"` - // Type - Possible values include: 'TypeCustomSetupBase', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' + // Type - Possible values include: 'TypeCustomSetupBase', 'TypeAzPowerShellSetup', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' Type TypeBasicCustomSetupBase `json:"type,omitempty"` } @@ -49832,6 +51442,11 @@ func (cs CmdkeySetup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzPowerShellSetup is the BasicCustomSetupBase implementation for CmdkeySetup. +func (cs CmdkeySetup) AsAzPowerShellSetup() (*AzPowerShellSetup, bool) { + return nil, false +} + // AsComponentSetup is the BasicCustomSetupBase implementation for CmdkeySetup. func (cs CmdkeySetup) AsComponentSetup() (*ComponentSetup, bool) { return nil, false @@ -49961,7 +51576,7 @@ type CommonDataServiceForAppsEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -50002,6 +51617,16 @@ func (cdsfaed CommonDataServiceForAppsEntityDataset) MarshalJSON() ([]byte, erro return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -50412,6 +52037,11 @@ func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOrcDataset() (*OrcDataset return nil, false } +// AsXMLDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -50427,6 +52057,11 @@ func (cdsfaed CommonDataServiceForAppsEntityDataset) AsParquetDataset() (*Parque return nil, false } +// AsExcelDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -50576,7 +52211,7 @@ type CommonDataServiceForAppsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -50608,6 +52243,16 @@ func (cdsfals CommonDataServiceForAppsLinkedService) MarshalJSON() ([]byte, erro return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -51339,7 +52984,7 @@ type CommonDataServiceForAppsSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -51450,6 +53095,11 @@ func (cdsfas CommonDataServiceForAppsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. func (cdsfas CommonDataServiceForAppsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -51535,6 +53185,11 @@ func (cdsfas CommonDataServiceForAppsSink) AsAzurePostgreSQLSink() (*AzurePostgr return nil, false } +// AsRestSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. func (cdsfas CommonDataServiceForAppsSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -51682,7 +53337,7 @@ type CommonDataServiceForAppsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -51714,6 +53369,16 @@ func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. func (cdsfas CommonDataServiceForAppsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -52134,6 +53799,11 @@ func (cdsfas CommonDataServiceForAppsSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. func (cdsfas CommonDataServiceForAppsSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -52149,6 +53819,11 @@ func (cdsfas CommonDataServiceForAppsSource) AsParquetSource() (*ParquetSource, return nil, false } +// AsExcelSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. func (cdsfas CommonDataServiceForAppsSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -52249,7 +53924,7 @@ func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { type ComponentSetup struct { // LicensedComponentSetupTypeProperties - Install 3rd party component type properties. *LicensedComponentSetupTypeProperties `json:"typeProperties,omitempty"` - // Type - Possible values include: 'TypeCustomSetupBase', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' + // Type - Possible values include: 'TypeCustomSetupBase', 'TypeAzPowerShellSetup', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' Type TypeBasicCustomSetupBase `json:"type,omitempty"` } @@ -52266,6 +53941,11 @@ func (cs ComponentSetup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzPowerShellSetup is the BasicCustomSetupBase implementation for ComponentSetup. +func (cs ComponentSetup) AsAzPowerShellSetup() (*AzPowerShellSetup, bool) { + return nil, false +} + // AsComponentSetup is the BasicCustomSetupBase implementation for ComponentSetup. func (cs ComponentSetup) AsComponentSetup() (*ComponentSetup, bool) { return &cs, true @@ -52324,6 +54004,121 @@ func (cs *ComponentSetup) UnmarshalJSON(body []byte) error { return nil } +// BasicCompressionReadSettings compression read settings. +type BasicCompressionReadSettings interface { + AsZipDeflateReadSettings() (*ZipDeflateReadSettings, bool) + AsCompressionReadSettings() (*CompressionReadSettings, bool) +} + +// CompressionReadSettings compression read settings. +type CompressionReadSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeCompressionReadSettings', 'TypeZipDeflateReadSettings' + Type TypeBasicCompressionReadSettings `json:"type,omitempty"` +} + +func unmarshalBasicCompressionReadSettings(body []byte) (BasicCompressionReadSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeZipDeflateReadSettings): + var zdrs ZipDeflateReadSettings + err := json.Unmarshal(body, &zdrs) + return zdrs, err + default: + var crs CompressionReadSettings + err := json.Unmarshal(body, &crs) + return crs, err + } +} +func unmarshalBasicCompressionReadSettingsArray(body []byte) ([]BasicCompressionReadSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + crsArray := make([]BasicCompressionReadSettings, len(rawMessages)) + + for index, rawMessage := range rawMessages { + crs, err := unmarshalBasicCompressionReadSettings(*rawMessage) + if err != nil { + return nil, err + } + crsArray[index] = crs + } + return crsArray, nil +} + +// MarshalJSON is the custom marshaler for CompressionReadSettings. +func (crs CompressionReadSettings) MarshalJSON() ([]byte, error) { + crs.Type = TypeCompressionReadSettings + objectMap := make(map[string]interface{}) + if crs.Type != "" { + objectMap["type"] = crs.Type + } + for k, v := range crs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsZipDeflateReadSettings is the BasicCompressionReadSettings implementation for CompressionReadSettings. +func (crs CompressionReadSettings) AsZipDeflateReadSettings() (*ZipDeflateReadSettings, bool) { + return nil, false +} + +// AsCompressionReadSettings is the BasicCompressionReadSettings implementation for CompressionReadSettings. +func (crs CompressionReadSettings) AsCompressionReadSettings() (*CompressionReadSettings, bool) { + return &crs, true +} + +// AsBasicCompressionReadSettings is the BasicCompressionReadSettings implementation for CompressionReadSettings. +func (crs CompressionReadSettings) AsBasicCompressionReadSettings() (BasicCompressionReadSettings, bool) { + return &crs, true +} + +// UnmarshalJSON is the custom unmarshaler for CompressionReadSettings struct. +func (crs *CompressionReadSettings) UnmarshalJSON(body []byte) 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 crs.AdditionalProperties == nil { + crs.AdditionalProperties = make(map[string]interface{}) + } + crs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicCompressionReadSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + crs.Type = typeVar + } + } + } + + return nil +} + // ConcurLinkedService concur Service linked service. type ConcurLinkedService struct { // ConcurLinkedServiceTypeProperties - Concur Service linked service properties. @@ -52338,7 +54133,7 @@ type ConcurLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -52370,6 +54165,16 @@ func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ConcurLinkedService. func (cls ConcurLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -53046,7 +54851,7 @@ type ConcurObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -53087,6 +54892,16 @@ func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset. func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -53497,6 +55312,11 @@ func (cod ConcurObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ConcurObjectDataset. func (cod ConcurObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -53512,6 +55332,11 @@ func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ConcurObjectDataset. func (cod ConcurObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -53656,7 +55481,7 @@ type ConcurSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -53691,6 +55516,16 @@ func (cs ConcurSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ConcurSource. func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -54111,6 +55946,11 @@ func (cs ConcurSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ConcurSource. func (cs ConcurSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -54126,6 +55966,11 @@ func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ConcurSource. func (cs ConcurSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -55207,6 +57052,7 @@ type BasicCopySink interface { AsAzureBlobFSSink() (*AzureBlobFSSink, bool) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) AsOracleSink() (*OracleSink, bool) + AsSnowflakeSink() (*SnowflakeSink, bool) AsSQLDWSink() (*SQLDWSink, bool) AsSQLMISink() (*SQLMISink, bool) AsAzureSQLSink() (*AzureSQLSink, bool) @@ -55224,6 +57070,7 @@ type BasicCopySink interface { AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) AsAzureMySQLSink() (*AzureMySQLSink, bool) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) + AsRestSink() (*RestSink, bool) AsOrcSink() (*OrcSink, bool) AsJSONSink() (*JSONSink, bool) AsDelimitedTextSink() (*DelimitedTextSink, bool) @@ -55244,7 +57091,7 @@ type CopySink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -55312,6 +57159,10 @@ func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) { var osVar OracleSink err := json.Unmarshal(body, &osVar) return osVar, err + case string(TypeSnowflakeSink): + var ss SnowflakeSink + err := json.Unmarshal(body, &ss) + return ss, err case string(TypeSQLDWSink): var sds SQLDWSink err := json.Unmarshal(body, &sds) @@ -55380,6 +57231,10 @@ func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) { var apss AzurePostgreSQLSink err := json.Unmarshal(body, &apss) return apss, err + case string(TypeRestSink): + var rs RestSink + err := json.Unmarshal(body, &rs) + return rs, err case string(TypeOrcSink): var osVar OrcSink err := json.Unmarshal(body, &osVar) @@ -55515,6 +57370,11 @@ func (cs CopySink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for CopySink. func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -55600,6 +57460,11 @@ func (cs CopySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for CopySink. func (cs CopySink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -55708,6 +57573,8 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { // BasicCopySource a copy activity source. type BasicCopySource interface { + AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) + AsSnowflakeSource() (*SnowflakeSource, bool) AsHTTPSource() (*HTTPSource, bool) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) @@ -55792,9 +57659,11 @@ type BasicCopySource interface { AsBasicTabularSource() (BasicTabularSource, bool) AsBinarySource() (*BinarySource, bool) AsOrcSource() (*OrcSource, bool) + AsXMLSource() (*XMLSource, bool) AsJSONSource() (*JSONSource, bool) AsDelimitedTextSource() (*DelimitedTextSource, bool) AsParquetSource() (*ParquetSource, bool) + AsExcelSource() (*ExcelSource, bool) AsAvroSource() (*AvroSource, bool) AsCopySource() (*CopySource, bool) } @@ -55809,7 +57678,7 @@ type CopySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -55821,6 +57690,14 @@ func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { } switch m["type"] { + case string(TypeSharePointOnlineListSource): + var spols SharePointOnlineListSource + err := json.Unmarshal(body, &spols) + return spols, err + case string(TypeSnowflakeSource): + var ss SnowflakeSource + err := json.Unmarshal(body, &ss) + return ss, err case string(TypeHTTPSource): var hs HTTPSource err := json.Unmarshal(body, &hs) @@ -56153,6 +58030,10 @@ func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { var osVar OrcSource err := json.Unmarshal(body, &osVar) return osVar, err + case string(TypeXMLSource): + var xs XMLSource + err := json.Unmarshal(body, &xs) + return xs, err case string(TypeJSONSource): var js JSONSource err := json.Unmarshal(body, &js) @@ -56165,6 +58046,10 @@ func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { var ps ParquetSource err := json.Unmarshal(body, &ps) return ps, err + case string(TypeExcelSource): + var es ExcelSource + err := json.Unmarshal(body, &es) + return es, err case string(TypeAvroSource): var as AvroSource err := json.Unmarshal(body, &as) @@ -56216,6 +58101,16 @@ func (cs CopySource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CopySource. func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -56636,6 +58531,11 @@ func (cs CopySource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CopySource. func (cs CopySource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -56651,6 +58551,11 @@ func (cs CopySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CopySource. func (cs CopySource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -56743,7 +58648,7 @@ type CosmosDbLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -56775,6 +58680,16 @@ func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -57429,7 +59344,7 @@ type CosmosDbMongoDbAPICollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -57470,6 +59385,16 @@ func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -57880,6 +59805,11 @@ func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOrcDataset() (*OrcDataset, return nil, false } +// AsXMLDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -57895,6 +59825,11 @@ func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetD return nil, false } +// AsExcelDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -58043,7 +59978,7 @@ type CosmosDbMongoDbAPILinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -58075,6 +60010,16 @@ func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -58660,7 +60605,7 @@ type CosmosDbMongoDbAPISink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -58765,6 +60710,11 @@ func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -58850,6 +60800,11 @@ func (cdmdas CosmosDbMongoDbAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSi return nil, false } +// AsRestSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. func (cdmdas CosmosDbMongoDbAPISink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -58985,7 +60940,7 @@ type CosmosDbMongoDbAPISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -59026,6 +60981,16 @@ func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -59446,6 +61411,11 @@ func (cdmdas CosmosDbMongoDbAPISource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. func (cdmdas CosmosDbMongoDbAPISource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -59461,6 +61431,11 @@ func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) return nil, false } +// AsExcelSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. func (cdmdas CosmosDbMongoDbAPISource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -59604,7 +61579,7 @@ type CosmosDbSQLAPICollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -59645,6 +61620,16 @@ func (cdsacd CosmosDbSQLAPICollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. +func (cdsacd CosmosDbSQLAPICollectionDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. +func (cdsacd CosmosDbSQLAPICollectionDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. func (cdsacd CosmosDbSQLAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -60055,6 +62040,11 @@ func (cdsacd CosmosDbSQLAPICollectionDataset) AsOrcDataset() (*OrcDataset, bool) return nil, false } +// AsXMLDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. +func (cdsacd CosmosDbSQLAPICollectionDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. func (cdsacd CosmosDbSQLAPICollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -60070,6 +62060,11 @@ func (cdsacd CosmosDbSQLAPICollectionDataset) AsParquetDataset() (*ParquetDatase return nil, false } +// AsExcelDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. +func (cdsacd CosmosDbSQLAPICollectionDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CosmosDbSQLAPICollectionDataset. func (cdsacd CosmosDbSQLAPICollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -60220,7 +62215,7 @@ type CosmosDbSQLAPISink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -60325,6 +62320,11 @@ func (cdsas CosmosDbSQLAPISink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for CosmosDbSQLAPISink. +func (cdsas CosmosDbSQLAPISink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for CosmosDbSQLAPISink. func (cdsas CosmosDbSQLAPISink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -60410,6 +62410,11 @@ func (cdsas CosmosDbSQLAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, b return nil, false } +// AsRestSink is the BasicCopySink implementation for CosmosDbSQLAPISink. +func (cdsas CosmosDbSQLAPISink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for CosmosDbSQLAPISink. func (cdsas CosmosDbSQLAPISink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -60543,7 +62548,7 @@ type CosmosDbSQLAPISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -60581,6 +62586,16 @@ func (cdsas CosmosDbSQLAPISource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CosmosDbSQLAPISource. +func (cdsas CosmosDbSQLAPISource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CosmosDbSQLAPISource. +func (cdsas CosmosDbSQLAPISource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CosmosDbSQLAPISource. func (cdsas CosmosDbSQLAPISource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -61001,6 +63016,11 @@ func (cdsas CosmosDbSQLAPISource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CosmosDbSQLAPISource. +func (cdsas CosmosDbSQLAPISource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CosmosDbSQLAPISource. func (cdsas CosmosDbSQLAPISource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -61016,6 +63036,11 @@ func (cdsas CosmosDbSQLAPISource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for CosmosDbSQLAPISource. +func (cdsas CosmosDbSQLAPISource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CosmosDbSQLAPISource. func (cdsas CosmosDbSQLAPISource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -61144,7 +63169,7 @@ type CouchbaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -61176,6 +63201,16 @@ func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -61763,7 +63798,7 @@ type CouchbaseSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -61798,6 +63833,16 @@ func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for CouchbaseSource. func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -62218,6 +64263,11 @@ func (cs CouchbaseSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for CouchbaseSource. func (cs CouchbaseSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -62233,6 +64283,11 @@ func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for CouchbaseSource. func (cs CouchbaseSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -62358,7 +64413,7 @@ type CouchbaseTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -62399,6 +64454,16 @@ func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -62809,6 +64874,11 @@ func (ctd CouchbaseTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CouchbaseTableDataset. func (ctd CouchbaseTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -62824,6 +64894,11 @@ func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CouchbaseTableDataset. func (ctd CouchbaseTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -63415,7 +65490,7 @@ type CustomDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -63456,6 +65531,16 @@ func (cd CustomDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset. func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -63866,6 +65951,11 @@ func (cd CustomDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for CustomDataset. func (cd CustomDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -63881,6 +65971,11 @@ func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for CustomDataset. func (cd CustomDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -64023,7 +66118,7 @@ type CustomDataSourceLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -64055,6 +66150,16 @@ func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -64618,6 +66723,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { // BasicCustomSetupBase the base definition of the custom setup. type BasicCustomSetupBase interface { + AsAzPowerShellSetup() (*AzPowerShellSetup, bool) AsComponentSetup() (*ComponentSetup, bool) AsEnvironmentVariableSetup() (*EnvironmentVariableSetup, bool) AsCmdkeySetup() (*CmdkeySetup, bool) @@ -64626,7 +66732,7 @@ type BasicCustomSetupBase interface { // CustomSetupBase the base definition of the custom setup. type CustomSetupBase struct { - // Type - Possible values include: 'TypeCustomSetupBase', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' + // Type - Possible values include: 'TypeCustomSetupBase', 'TypeAzPowerShellSetup', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' Type TypeBasicCustomSetupBase `json:"type,omitempty"` } @@ -64638,6 +66744,10 @@ func unmarshalBasicCustomSetupBase(body []byte) (BasicCustomSetupBase, error) { } switch m["type"] { + case string(TypeAzPowerShellSetup): + var apss AzPowerShellSetup + err := json.Unmarshal(body, &apss) + return apss, err case string(TypeComponentSetup): var cs ComponentSetup err := json.Unmarshal(body, &cs) @@ -64685,6 +66795,11 @@ func (csb CustomSetupBase) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzPowerShellSetup is the BasicCustomSetupBase implementation for CustomSetupBase. +func (csb CustomSetupBase) AsAzPowerShellSetup() (*AzPowerShellSetup, bool) { + return nil, false +} + // AsComponentSetup is the BasicCustomSetupBase implementation for CustomSetupBase. func (csb CustomSetupBase) AsComponentSetup() (*ComponentSetup, bool) { return nil, false @@ -66599,6 +68714,10 @@ func (dfr *DataFlowResource) UnmarshalJSON(body []byte) error { type DataFlowSink struct { // Dataset - Dataset reference. Dataset *DatasetReference `json:"dataset,omitempty"` + // LinkedService - Linked service reference. + LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` + // SchemaLinkedService - Schema linked service reference. + SchemaLinkedService *LinkedServiceReference `json:"schemaLinkedService,omitempty"` // Name - Transformation name. Name *string `json:"name,omitempty"` // Description - Transformation description. @@ -66609,6 +68728,10 @@ type DataFlowSink struct { type DataFlowSource struct { // Dataset - Dataset reference. Dataset *DatasetReference `json:"dataset,omitempty"` + // LinkedService - Linked service reference. + LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` + // SchemaLinkedService - Schema linked service reference. + SchemaLinkedService *LinkedServiceReference `json:"schemaLinkedService,omitempty"` // Name - Transformation name. Name *string `json:"name,omitempty"` // Description - Transformation description. @@ -66689,8 +68812,8 @@ func (dfss *DataFlowSourceSetting) UnmarshalJSON(body []byte) error { type DataFlowStagingInfo struct { // LinkedService - Staging linked service reference. LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` - // FolderPath - Folder path for staging blob. - FolderPath *string `json:"folderPath,omitempty"` + // FolderPath - Folder path for staging blob. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` } // DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity. @@ -67096,6 +69219,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 { + AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) + AsSnowflakeDataset() (*SnowflakeDataset, bool) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) @@ -67178,9 +69303,11 @@ type BasicDataset interface { AsAzureBlobDataset() (*AzureBlobDataset, bool) AsBinaryDataset() (*BinaryDataset, bool) AsOrcDataset() (*OrcDataset, bool) + AsXMLDataset() (*XMLDataset, bool) AsJSONDataset() (*JSONDataset, bool) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) AsParquetDataset() (*ParquetDataset, bool) + AsExcelDataset() (*ExcelDataset, bool) AsAvroDataset() (*AvroDataset, bool) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) AsDataset() (*Dataset, bool) @@ -67205,7 +69332,7 @@ type Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -67217,6 +69344,14 @@ func unmarshalBasicDataset(body []byte) (BasicDataset, error) { } switch m["type"] { + case string(TypeSharePointOnlineListResource): + var spolrd SharePointOnlineListResourceDataset + err := json.Unmarshal(body, &spolrd) + return spolrd, err + case string(TypeSnowflakeTable): + var sd SnowflakeDataset + err := json.Unmarshal(body, &sd) + return sd, err case string(TypeGoogleAdWordsObject): var gawod GoogleAdWordsObjectDataset err := json.Unmarshal(body, &gawod) @@ -67545,6 +69680,10 @@ func unmarshalBasicDataset(body []byte) (BasicDataset, error) { var od OrcDataset err := json.Unmarshal(body, &od) return od, err + case string(TypeXML): + var xd XMLDataset + err := json.Unmarshal(body, &xd) + return xd, err case string(TypeJSON): var jd JSONDataset err := json.Unmarshal(body, &jd) @@ -67557,6 +69696,10 @@ func unmarshalBasicDataset(body []byte) (BasicDataset, error) { var pd ParquetDataset err := json.Unmarshal(body, &pd) return pd, err + case string(TypeExcel): + var ed ExcelDataset + err := json.Unmarshal(body, &ed) + return ed, err case string(TypeAvro): var ad AvroDataset err := json.Unmarshal(body, &ad) @@ -67624,6 +69767,16 @@ func (d Dataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset. func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -68034,6 +70187,11 @@ func (d Dataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for Dataset. func (d Dataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -68049,6 +70207,11 @@ func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for Dataset. func (d Dataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -69435,7 +71598,7 @@ type Db2LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -69467,6 +71630,16 @@ func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService. func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -70161,7 +72334,7 @@ type Db2Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -70196,6 +72369,16 @@ func (d2s Db2Source) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for Db2Source. func (d2s Db2Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -70616,6 +72799,11 @@ func (d2s Db2Source) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for Db2Source. func (d2s Db2Source) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -70631,6 +72819,11 @@ func (d2s Db2Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for Db2Source. func (d2s Db2Source) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -70756,7 +72949,7 @@ type Db2TableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -70797,6 +72990,16 @@ func (d2td Db2TableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Db2TableDataset. func (d2td Db2TableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -71207,6 +73410,11 @@ func (d2td Db2TableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for Db2TableDataset. func (d2td Db2TableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -71222,6 +73430,11 @@ func (d2td Db2TableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for Db2TableDataset. func (d2td Db2TableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -71727,6 +73940,76 @@ type DeleteActivityTypeProperties struct { LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"` // Dataset - Delete activity dataset reference. Dataset *DatasetReference `json:"dataset,omitempty"` + // StoreSettings - Delete activity store settings. + StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for DeleteActivityTypeProperties struct. +func (datp *DeleteActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "recursive": + if v != nil { + var recursive interface{} + err = json.Unmarshal(*v, &recursive) + if err != nil { + return err + } + datp.Recursive = recursive + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections int32 + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + datp.MaxConcurrentConnections = &maxConcurrentConnections + } + case "enableLogging": + if v != nil { + var enableLogging interface{} + err = json.Unmarshal(*v, &enableLogging) + if err != nil { + return err + } + datp.EnableLogging = enableLogging + } + case "logStorageSettings": + if v != nil { + var logStorageSettings LogStorageSettings + err = json.Unmarshal(*v, &logStorageSettings) + if err != nil { + return err + } + datp.LogStorageSettings = &logStorageSettings + } + case "dataset": + if v != nil { + var dataset DatasetReference + err = json.Unmarshal(*v, &dataset) + if err != nil { + return err + } + datp.Dataset = &dataset + } + case "storeSettings": + if v != nil { + storeSettings, err := unmarshalBasicStoreReadSettings(*v) + if err != nil { + return err + } + datp.StoreSettings = storeSettings + } + } + } + + return nil } // DeleteDataFlowDebugSessionRequest request body structure for deleting data flow debug session. @@ -71755,7 +74038,7 @@ type DelimitedTextDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -71796,6 +74079,16 @@ func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset. func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -72206,6 +74499,11 @@ func (dtd DelimitedTextDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DelimitedTextDataset. func (dtd DelimitedTextDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -72221,6 +74519,11 @@ func (dtd DelimitedTextDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DelimitedTextDataset. func (dtd DelimitedTextDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -72480,9 +74783,11 @@ func (dtdtp *DelimitedTextDatasetTypeProperties) UnmarshalJSON(body []byte) erro type DelimitedTextReadSettings struct { // SkipLineCount - Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). SkipLineCount interface{} `json:"skipLineCount,omitempty"` + // CompressionProperties - Compression settings. + CompressionProperties BasicCompressionReadSettings `json:"compressionProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeFormatReadSettings', 'TypeDelimitedTextReadSettings' + // Type - Possible values include: 'TypeFormatReadSettings', 'TypeBinaryReadSettings', 'TypeXMLReadSettings', 'TypeJSONReadSettings', 'TypeDelimitedTextReadSettings' Type TypeBasicFormatReadSettings `json:"type,omitempty"` } @@ -72493,6 +74798,7 @@ func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) { if dtrs.SkipLineCount != nil { objectMap["skipLineCount"] = dtrs.SkipLineCount } + objectMap["compressionProperties"] = dtrs.CompressionProperties if dtrs.Type != "" { objectMap["type"] = dtrs.Type } @@ -72502,6 +74808,21 @@ func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsBinaryReadSettings is the BasicFormatReadSettings implementation for DelimitedTextReadSettings. +func (dtrs DelimitedTextReadSettings) AsBinaryReadSettings() (*BinaryReadSettings, bool) { + return nil, false +} + +// AsXMLReadSettings is the BasicFormatReadSettings implementation for DelimitedTextReadSettings. +func (dtrs DelimitedTextReadSettings) AsXMLReadSettings() (*XMLReadSettings, bool) { + return nil, false +} + +// AsJSONReadSettings is the BasicFormatReadSettings implementation for DelimitedTextReadSettings. +func (dtrs DelimitedTextReadSettings) AsJSONReadSettings() (*JSONReadSettings, bool) { + return nil, false +} + // AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for DelimitedTextReadSettings. func (dtrs DelimitedTextReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { return &dtrs, true @@ -72535,6 +74856,14 @@ func (dtrs *DelimitedTextReadSettings) UnmarshalJSON(body []byte) error { } dtrs.SkipLineCount = skipLineCount } + case "compressionProperties": + if v != nil { + compressionProperties, err := unmarshalBasicCompressionReadSettings(*v) + if err != nil { + return err + } + dtrs.CompressionProperties = compressionProperties + } default: if v != nil { var additionalProperties interface{} @@ -72580,7 +74909,7 @@ type DelimitedTextSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -72686,6 +75015,11 @@ func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink. func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -72771,6 +75105,11 @@ func (dts DelimitedTextSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool return nil, false } +// AsRestSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for DelimitedTextSink. func (dts DelimitedTextSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -72910,7 +75249,7 @@ type DelimitedTextSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -72943,6 +75282,16 @@ func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource. func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -73363,6 +75712,11 @@ func (dts DelimitedTextSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DelimitedTextSource. func (dts DelimitedTextSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -73378,6 +75732,11 @@ func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DelimitedTextSource. func (dts DelimitedTextSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -73722,7 +76081,7 @@ type DocumentDbCollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -73763,6 +76122,16 @@ func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -74173,6 +76542,11 @@ func (ddcd DocumentDbCollectionDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DocumentDbCollectionDataset. func (ddcd DocumentDbCollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -74188,6 +76562,11 @@ func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, boo return nil, false } +// AsExcelDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DocumentDbCollectionDataset. func (ddcd DocumentDbCollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -74340,7 +76719,7 @@ type DocumentDbCollectionSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -74448,6 +76827,11 @@ func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink. func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -74533,6 +76917,11 @@ func (ddcs DocumentDbCollectionSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSi return nil, false } +// AsRestSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for DocumentDbCollectionSink. func (ddcs DocumentDbCollectionSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -74675,7 +77064,7 @@ type DocumentDbCollectionSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -74713,6 +77102,16 @@ func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource. func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -75133,6 +77532,11 @@ func (ddcs DocumentDbCollectionSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DocumentDbCollectionSource. func (ddcs DocumentDbCollectionSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -75148,6 +77552,11 @@ func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) return nil, false } +// AsExcelSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DocumentDbCollectionSource. func (ddcs DocumentDbCollectionSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -75286,7 +77695,7 @@ type DrillLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -75318,6 +77727,16 @@ func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService. func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -75905,7 +78324,7 @@ type DrillSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -75940,6 +78359,16 @@ func (ds DrillSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DrillSource. func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -76360,6 +78789,11 @@ func (ds DrillSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DrillSource. func (ds DrillSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -76375,6 +78809,11 @@ func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DrillSource. func (ds DrillSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -76500,7 +78939,7 @@ type DrillTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -76541,6 +78980,16 @@ func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset. func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -76951,6 +79400,11 @@ func (dtd DrillTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DrillTableDataset. func (dtd DrillTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -76966,6 +79420,11 @@ func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DrillTableDataset. func (dtd DrillTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -77136,7 +79595,7 @@ type DynamicsAXLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -77168,6 +79627,16 @@ func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -77833,7 +80302,7 @@ type DynamicsAXResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -77874,6 +80343,16 @@ func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -78284,6 +80763,11 @@ func (dard DynamicsAXResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DynamicsAXResourceDataset. func (dard DynamicsAXResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -78299,6 +80783,11 @@ func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) return nil, false } +// AsExcelDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DynamicsAXResourceDataset. func (dard DynamicsAXResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -78437,6 +80926,8 @@ type DynamicsAXResourceDatasetTypeProperties struct { type DynamicsAXSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // 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"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -78449,7 +80940,7 @@ type DynamicsAXSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -78460,6 +80951,9 @@ func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { if das.Query != nil { objectMap["query"] = das.Query } + if das.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = das.HTTPRequestTimeout + } if das.QueryTimeout != nil { objectMap["queryTimeout"] = das.QueryTimeout } @@ -78484,6 +80978,16 @@ func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource. func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -78904,6 +81408,11 @@ func (das DynamicsAXSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DynamicsAXSource. func (das DynamicsAXSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -78919,6 +81428,11 @@ func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DynamicsAXSource. func (das DynamicsAXSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -78952,6 +81466,15 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { } das.Query = query } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + das.HTTPRequestTimeout = HTTPRequestTimeout + } case "queryTimeout": if v != nil { var queryTimeout interface{} @@ -79044,7 +81567,7 @@ type DynamicsCrmEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -79085,6 +81608,16 @@ func (dced DynamicsCrmEntityDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. func (dced DynamicsCrmEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -79495,6 +82028,11 @@ func (dced DynamicsCrmEntityDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. func (dced DynamicsCrmEntityDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -79510,6 +82048,11 @@ func (dced DynamicsCrmEntityDataset) AsParquetDataset() (*ParquetDataset, bool) return nil, false } +// AsExcelDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. func (dced DynamicsCrmEntityDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -79658,7 +82201,7 @@ type DynamicsCrmLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -79690,6 +82233,16 @@ func (dcls DynamicsCrmLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. func (dcls DynamicsCrmLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -80420,7 +82973,7 @@ type DynamicsCrmSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -80531,6 +83084,11 @@ func (dcs DynamicsCrmSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for DynamicsCrmSink. func (dcs DynamicsCrmSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -80616,6 +83174,11 @@ func (dcs DynamicsCrmSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) return nil, false } +// AsRestSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for DynamicsCrmSink. func (dcs DynamicsCrmSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -80763,7 +83326,7 @@ type DynamicsCrmSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -80795,6 +83358,16 @@ func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DynamicsCrmSource. func (dcs DynamicsCrmSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -81215,6 +83788,11 @@ func (dcs DynamicsCrmSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DynamicsCrmSource. func (dcs DynamicsCrmSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -81230,6 +83808,11 @@ func (dcs DynamicsCrmSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DynamicsCrmSource. func (dcs DynamicsCrmSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -81346,7 +83929,7 @@ type DynamicsEntityDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -81387,6 +83970,16 @@ func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -81797,6 +84390,11 @@ func (ded DynamicsEntityDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for DynamicsEntityDataset. func (ded DynamicsEntityDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -81812,6 +84410,11 @@ func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for DynamicsEntityDataset. func (ded DynamicsEntityDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -81960,7 +84563,7 @@ type DynamicsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -81992,6 +84595,16 @@ func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -82722,7 +85335,7 @@ type DynamicsSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -82833,6 +85446,11 @@ func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for DynamicsSink. func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -82918,6 +85536,11 @@ func (ds DynamicsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for DynamicsSink. func (ds DynamicsSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -83065,7 +85688,7 @@ type DynamicsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -83097,6 +85720,16 @@ func (ds DynamicsSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for DynamicsSource. func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -83517,6 +86150,11 @@ func (ds DynamicsSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for DynamicsSource. func (ds DynamicsSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -83532,6 +86170,11 @@ func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for DynamicsSource. func (ds DynamicsSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -83642,7 +86285,7 @@ type EloquaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -83674,6 +86317,16 @@ func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService. func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -84350,7 +87003,7 @@ type EloquaObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -84391,6 +87044,16 @@ func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset. func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -84801,6 +87464,11 @@ func (eod EloquaObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for EloquaObjectDataset. func (eod EloquaObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -84816,6 +87484,11 @@ func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for EloquaObjectDataset. func (eod EloquaObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -84960,7 +87633,7 @@ type EloquaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -84995,6 +87668,16 @@ func (es EloquaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for EloquaSource. func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -85415,6 +88098,11 @@ func (es EloquaSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for EloquaSource. func (es EloquaSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -85430,6 +88118,11 @@ func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for EloquaSource. func (es EloquaSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -85547,7 +88240,7 @@ type EntityReference struct { type EnvironmentVariableSetup struct { // EnvironmentVariableSetupTypeProperties - Add environment variable type properties. *EnvironmentVariableSetupTypeProperties `json:"typeProperties,omitempty"` - // Type - Possible values include: 'TypeCustomSetupBase', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' + // Type - Possible values include: 'TypeCustomSetupBase', 'TypeAzPowerShellSetup', 'TypeComponentSetup', 'TypeEnvironmentVariableSetup', 'TypeCmdkeySetup' Type TypeBasicCustomSetupBase `json:"type,omitempty"` } @@ -85564,6 +88257,11 @@ func (evs EnvironmentVariableSetup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzPowerShellSetup is the BasicCustomSetupBase implementation for EnvironmentVariableSetup. +func (evs EnvironmentVariableSetup) AsAzPowerShellSetup() (*AzPowerShellSetup, bool) { + return nil, false +} + // AsComponentSetup is the BasicCustomSetupBase implementation for EnvironmentVariableSetup. func (evs EnvironmentVariableSetup) AsComponentSetup() (*ComponentSetup, bool) { return nil, false @@ -85630,629 +88328,534 @@ type EnvironmentVariableSetupTypeProperties struct { VariableValue *string `json:"variableValue,omitempty"` } -// ExecuteDataFlowActivity execute data flow activity. -type ExecuteDataFlowActivity struct { - // ExecuteDataFlowActivityTypeProperties - Execute data flow activity properties. - *ExecuteDataFlowActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// ExcelDataset excel dataset. +type ExcelDataset struct { + // ExcelDatasetTypeProperties - Excel dataset properties. + *ExcelDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) MarshalJSON() ([]byte, error) { - edfa.Type = TypeExecuteDataFlow +// MarshalJSON is the custom marshaler for ExcelDataset. +func (ed ExcelDataset) MarshalJSON() ([]byte, error) { + ed.Type = TypeExcel objectMap := make(map[string]interface{}) - if edfa.ExecuteDataFlowActivityTypeProperties != nil { - objectMap["typeProperties"] = edfa.ExecuteDataFlowActivityTypeProperties + if ed.ExcelDatasetTypeProperties != nil { + objectMap["typeProperties"] = ed.ExcelDatasetTypeProperties } - if edfa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = edfa.LinkedServiceName + if ed.Description != nil { + objectMap["description"] = ed.Description } - if edfa.Policy != nil { - objectMap["policy"] = edfa.Policy + if ed.Structure != nil { + objectMap["structure"] = ed.Structure } - if edfa.Name != nil { - objectMap["name"] = edfa.Name + if ed.Schema != nil { + objectMap["schema"] = ed.Schema } - if edfa.Description != nil { - objectMap["description"] = edfa.Description + if ed.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ed.LinkedServiceName } - if edfa.DependsOn != nil { - objectMap["dependsOn"] = edfa.DependsOn + if ed.Parameters != nil { + objectMap["parameters"] = ed.Parameters } - if edfa.UserProperties != nil { - objectMap["userProperties"] = edfa.UserProperties + if ed.Annotations != nil { + objectMap["annotations"] = ed.Annotations } - if edfa.Type != "" { - objectMap["type"] = edfa.Type + if ed.Folder != nil { + objectMap["folder"] = ed.Folder } - for k, v := range edfa.AdditionalProperties { + if ed.Type != "" { + objectMap["type"] = ed.Type + } + for k, v := range ed.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { - return &edfa, true +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsWebActivity() (*WebActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &edfa, true +// AsJiraObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsHTTPDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsActivity() (*Activity, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecuteDataFlowActivity. -func (edfa ExecuteDataFlowActivity) AsBasicActivity() (BasicActivity, bool) { - return &edfa, true +// AsWebTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecuteDataFlowActivity struct. -func (edfa *ExecuteDataFlowActivity) UnmarshalJSON(body []byte) error { - 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 executeDataFlowActivityTypeProperties ExecuteDataFlowActivityTypeProperties - err = json.Unmarshal(*v, &executeDataFlowActivityTypeProperties) - if err != nil { - return err - } - edfa.ExecuteDataFlowActivityTypeProperties = &executeDataFlowActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - edfa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - edfa.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if edfa.AdditionalProperties == nil { - edfa.AdditionalProperties = make(map[string]interface{}) - } - edfa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - edfa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - edfa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - edfa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - edfa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - edfa.Type = typeVar - } - } - } +// AsSapTableResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} - return nil +// AsRestResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// ExecuteDataFlowActivityTypeProperties execute data flow activity properties. -type ExecuteDataFlowActivityTypeProperties struct { - // DataFlow - Data flow reference. - DataFlow *DataFlowReference `json:"dataFlow,omitempty"` - // Staging - Staging info for execute data flow activity. - Staging *DataFlowStagingInfo `json:"staging,omitempty"` - // IntegrationRuntime - The integration runtime reference. - IntegrationRuntime *IntegrationRuntimeReference `json:"integrationRuntime,omitempty"` - // Compute - Compute properties for data flow activity. - Compute *ExecuteDataFlowActivityTypePropertiesCompute `json:"compute,omitempty"` +// AsSQLServerTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// ExecuteDataFlowActivityTypePropertiesCompute compute properties for data flow activity. -type ExecuteDataFlowActivityTypePropertiesCompute struct { - // ComputeType - Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' - ComputeType DataFlowComputeType `json:"computeType,omitempty"` - // CoreCount - Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. - CoreCount *int32 `json:"coreCount,omitempty"` +// AsSapOpenHubTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false } -// ExecutePipelineActivity execute pipeline activity. -type ExecutePipelineActivity struct { - // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties. - *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSapHanaTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { - epa.Type = TypeExecutePipeline - objectMap := make(map[string]interface{}) - if epa.ExecutePipelineActivityTypeProperties != nil { - objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties - } - if epa.Name != nil { - objectMap["name"] = epa.Name - } - if epa.Description != nil { - objectMap["description"] = epa.Description - } - if epa.DependsOn != nil { - objectMap["dependsOn"] = epa.DependsOn - } - if epa.UserProperties != nil { - objectMap["userProperties"] = epa.UserProperties - } - if epa.Type != "" { - objectMap["type"] = epa.Type - } - for k, v := range epa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSapEccResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsDb2TableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsFileShareDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsCustomDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { - return &epa, true +// AsAzureBlobDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { +// AsBinaryDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &epa, true +// AsOrcDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsOrcDataset() (*OrcDataset, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { +// AsXMLDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { - return &epa, true +// AsJSONDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct. -func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { +// AsDelimitedTextDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsExcelDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsExcelDataset() (*ExcelDataset, bool) { + return &ed, true +} + +// AsAvroDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ExcelDataset. +func (ed ExcelDataset) AsBasicDataset() (BasicDataset, bool) { + return &ed, true +} + +// UnmarshalJSON is the custom unmarshaler for ExcelDataset struct. +func (ed *ExcelDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -86262,12 +88865,12 @@ func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties - err = json.Unmarshal(*v, &executePipelineActivityTypeProperties) + var excelDatasetTypeProperties ExcelDatasetTypeProperties + err = json.Unmarshal(*v, &excelDatasetTypeProperties) if err != nil { return err } - epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties + ed.ExcelDatasetTypeProperties = &excelDatasetTypeProperties } default: if v != nil { @@ -86276,55 +88879,82 @@ func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if epa.AdditionalProperties == nil { - epa.AdditionalProperties = make(map[string]interface{}) + if ed.AdditionalProperties == nil { + ed.AdditionalProperties = make(map[string]interface{}) } - epa.AdditionalProperties[k] = additionalProperties + ed.AdditionalProperties[k] = additionalProperties } - case "name": + case "description": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - epa.Name = &name + ed.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 } - epa.Description = &description + ed.Structure = structure } - case "dependsOn": + case "schema": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - epa.DependsOn = &dependsOn + ed.Schema = schema } - case "userProperties": + case "linkedServiceName": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - epa.UserProperties = &userProperties + ed.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ed.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ed.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + ed.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - epa.Type = typeVar + ed.Type = typeVar } } } @@ -86332,862 +88962,605 @@ func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { return nil } -// ExecutePipelineActivityTypeProperties execute pipeline activity properties. -type ExecutePipelineActivityTypeProperties struct { - // Pipeline - Pipeline reference. - Pipeline *PipelineReference `json:"pipeline,omitempty"` - // Parameters - Pipeline parameters. - Parameters map[string]interface{} `json:"parameters"` - // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. - WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"` +// ExcelDatasetTypeProperties excel dataset properties. +type ExcelDatasetTypeProperties struct { + // Location - The location of the excel storage. + Location BasicDatasetLocation `json:"location,omitempty"` + // SheetName - The sheet of excel file. Type: string (or Expression with resultType string). + SheetName interface{} `json:"sheetName,omitempty"` + // Range - The partial data of one sheet. Type: string (or Expression with resultType string). + Range interface{} `json:"range,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"` + // Compression - The data compression method used for the json dataset. + Compression BasicDatasetCompression `json:"compression,omitempty"` + // NullValue - The null value string. Type: string (or Expression with resultType string). + NullValue interface{} `json:"nullValue,omitempty"` } -// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties. -func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if epatp.Pipeline != nil { - objectMap["pipeline"] = epatp.Pipeline - } - if epatp.Parameters != nil { - objectMap["parameters"] = epatp.Parameters +// UnmarshalJSON is the custom unmarshaler for ExcelDatasetTypeProperties struct. +func (edtp *ExcelDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if epatp.WaitOnCompletion != nil { - objectMap["waitOnCompletion"] = epatp.WaitOnCompletion + for k, v := range m { + switch k { + case "location": + if v != nil { + location, err := unmarshalBasicDatasetLocation(*v) + if err != nil { + return err + } + edtp.Location = location + } + case "sheetName": + if v != nil { + var sheetName interface{} + err = json.Unmarshal(*v, &sheetName) + if err != nil { + return err + } + edtp.SheetName = sheetName + } + case "range": + if v != nil { + var rangeVar interface{} + err = json.Unmarshal(*v, &rangeVar) + if err != nil { + return err + } + edtp.Range = rangeVar + } + case "firstRowAsHeader": + if v != nil { + var firstRowAsHeader interface{} + err = json.Unmarshal(*v, &firstRowAsHeader) + if err != nil { + return err + } + edtp.FirstRowAsHeader = firstRowAsHeader + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + edtp.Compression = compression + } + case "nullValue": + if v != nil { + var nullValue interface{} + err = json.Unmarshal(*v, &nullValue) + if err != nil { + return err + } + edtp.NullValue = nullValue + } + } } - return json.Marshal(objectMap) + + return nil } -// ExecuteSSISPackageActivity execute SSIS package activity. -type ExecuteSSISPackageActivity struct { - // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties. - *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// ExcelSource a copy activity excel source. +type ExcelSource struct { + // StoreSettings - Excel store settings. + StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) { - espa.Type = TypeExecuteSSISPackage +// MarshalJSON is the custom marshaler for ExcelSource. +func (es ExcelSource) MarshalJSON() ([]byte, error) { + es.Type = TypeExcelSource objectMap := make(map[string]interface{}) - if espa.ExecuteSSISPackageActivityTypeProperties != nil { - objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties - } - if espa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = espa.LinkedServiceName - } - if espa.Policy != nil { - objectMap["policy"] = espa.Policy - } - if espa.Name != nil { - objectMap["name"] = espa.Name + objectMap["storeSettings"] = es.StoreSettings + if es.AdditionalColumns != nil { + objectMap["additionalColumns"] = es.AdditionalColumns } - if espa.Description != nil { - objectMap["description"] = espa.Description + if es.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = es.SourceRetryCount } - if espa.DependsOn != nil { - objectMap["dependsOn"] = espa.DependsOn + if es.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = es.SourceRetryWait } - if espa.UserProperties != nil { - objectMap["userProperties"] = espa.UserProperties + if es.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections } - if espa.Type != "" { - objectMap["type"] = espa.Type + if es.Type != "" { + objectMap["type"] = es.Type } - for k, v := range espa.AdditionalProperties { + for k, v := range es.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsRestSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return &espa, true +// AsODataSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &espa, true +// AsBlobSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { - return &espa, true +// AsQuickBooksSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct. -func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties - err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) - if err != nil { - return err - } - espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - espa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - espa.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if espa.AdditionalProperties == nil { - espa.AdditionalProperties = make(map[string]interface{}) - } - espa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - espa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - espa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - espa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - espa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - espa.Type = typeVar - } - } - } +// AsPrestoSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} - return nil +// AsPhoenixSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties. -type ExecuteSSISPackageActivityTypeProperties struct { - // PackageLocation - SSIS package location. - PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"` - // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). - Runtime interface{} `json:"runtime,omitempty"` - // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string). - LoggingLevel interface{} `json:"loggingLevel,omitempty"` - // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string). - EnvironmentPath interface{} `json:"environmentPath,omitempty"` - // ExecutionCredential - The package execution credential. - ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // ProjectParameters - The project level parameters to execute the SSIS package. - ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"` - // PackageParameters - The package level parameters to execute the SSIS package. - PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"` - // ProjectConnectionManagers - The project level connection managers to execute the SSIS package. - ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"` - // PackageConnectionManagers - The package level connection managers to execute the SSIS package. - PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"` - // PropertyOverrides - The property overrides to execute the SSIS package. - PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"` - // LogLocation - SSIS package execution log location. - LogLocation *SSISLogLocation `json:"logLocation,omitempty"` +// AsPaypalSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. -func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if espatp.PackageLocation != nil { - objectMap["packageLocation"] = espatp.PackageLocation - } - if espatp.Runtime != nil { - objectMap["runtime"] = espatp.Runtime - } - if espatp.LoggingLevel != nil { - objectMap["loggingLevel"] = espatp.LoggingLevel - } - if espatp.EnvironmentPath != nil { - objectMap["environmentPath"] = espatp.EnvironmentPath - } - if espatp.ExecutionCredential != nil { - objectMap["executionCredential"] = espatp.ExecutionCredential - } - if espatp.ConnectVia != nil { - objectMap["connectVia"] = espatp.ConnectVia - } - if espatp.ProjectParameters != nil { - objectMap["projectParameters"] = espatp.ProjectParameters - } - if espatp.PackageParameters != nil { - objectMap["packageParameters"] = espatp.PackageParameters - } - if espatp.ProjectConnectionManagers != nil { - objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers - } - if espatp.PackageConnectionManagers != nil { - objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers - } - if espatp.PropertyOverrides != nil { - objectMap["propertyOverrides"] = espatp.PropertyOverrides - } - if espatp.LogLocation != nil { - objectMap["logLocation"] = espatp.LogLocation - } - return json.Marshal(objectMap) +// AsMarketoSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// BasicExecutionActivity base class for all execution activities. -type BasicExecutionActivity interface { - AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) - AsAzureFunctionActivity() (*AzureFunctionActivity, bool) - AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) - AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) - AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) - AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) - AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) - AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) - AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) - AsGetMetadataActivity() (*GetMetadataActivity, bool) - AsWebActivity() (*WebActivity, bool) - AsLookupActivity() (*LookupActivity, bool) - AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) - AsDeleteActivity() (*DeleteActivity, bool) - AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) - AsCustomActivity() (*CustomActivity, bool) - AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) - AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) - AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) - AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) - AsHDInsightPigActivity() (*HDInsightPigActivity, bool) - AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) - AsCopyActivity() (*CopyActivity, bool) - AsExecutionActivity() (*ExecutionActivity, bool) +// AsAzureMariaDBSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false } -// ExecutionActivity base class for all execution activities. -type ExecutionActivity struct { - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsMariaDBSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsMagentoSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeExecuteDataFlow): - var edfa ExecuteDataFlowActivity - err := json.Unmarshal(body, &edfa) - return edfa, err - case string(TypeAzureFunctionActivity): - var afa AzureFunctionActivity - err := json.Unmarshal(body, &afa) - return afa, err - case string(TypeDatabricksSparkPython): - var dspa DatabricksSparkPythonActivity - err := json.Unmarshal(body, &dspa) - return dspa, err - case string(TypeDatabricksSparkJar): - var dsja DatabricksSparkJarActivity - err := json.Unmarshal(body, &dsja) - return dsja, err - case string(TypeDatabricksNotebook): - var dna DatabricksNotebookActivity - err := json.Unmarshal(body, &dna) - return dna, err - case string(TypeDataLakeAnalyticsUSQL): - var dlaua DataLakeAnalyticsUSQLActivity - err := json.Unmarshal(body, &dlaua) - return dlaua, err - case string(TypeAzureMLExecutePipeline): - var amepa AzureMLExecutePipelineActivity - err := json.Unmarshal(body, &amepa) - return amepa, err - case string(TypeAzureMLUpdateResource): - var amura AzureMLUpdateResourceActivity - err := json.Unmarshal(body, &amura) - return amura, err - case string(TypeAzureMLBatchExecution): - var ambea AzureMLBatchExecutionActivity - err := json.Unmarshal(body, &ambea) - return ambea, err - case string(TypeGetMetadata): - var gma GetMetadataActivity - err := json.Unmarshal(body, &gma) - return gma, err - case string(TypeWebActivity): - var wa WebActivity - err := json.Unmarshal(body, &wa) - return wa, err - case string(TypeLookup): - var la LookupActivity - err := json.Unmarshal(body, &la) - return la, err - case string(TypeAzureDataExplorerCommand): - var adeca AzureDataExplorerCommandActivity - err := json.Unmarshal(body, &adeca) - return adeca, err - case string(TypeDelete): - var da DeleteActivity - err := json.Unmarshal(body, &da) - return da, err - case string(TypeSQLServerStoredProcedure): - var ssspa SQLServerStoredProcedureActivity - err := json.Unmarshal(body, &ssspa) - return ssspa, err - case string(TypeCustom): - var ca CustomActivity - err := json.Unmarshal(body, &ca) - return ca, err - case string(TypeExecuteSSISPackage): - var espa ExecuteSSISPackageActivity - err := json.Unmarshal(body, &espa) - return espa, err - case string(TypeHDInsightSpark): - var hisa HDInsightSparkActivity - err := json.Unmarshal(body, &hisa) - return hisa, err - case string(TypeHDInsightStreaming): - var hisa HDInsightStreamingActivity - err := json.Unmarshal(body, &hisa) - return hisa, err - case string(TypeHDInsightMapReduce): - var himra HDInsightMapReduceActivity - err := json.Unmarshal(body, &himra) - return himra, err - case string(TypeHDInsightPig): - var hipa HDInsightPigActivity - err := json.Unmarshal(body, &hipa) - return hipa, err - case string(TypeHDInsightHive): - var hiha HDInsightHiveActivity - err := json.Unmarshal(body, &hiha) - return hiha, err - case string(TypeCopy): - var ca CopyActivity - err := json.Unmarshal(body, &ca) - return ca, err - default: - var ea ExecutionActivity - err := json.Unmarshal(body, &ea) - return ea, err - } +// AsJiraSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - eaArray := make([]BasicExecutionActivity, len(rawMessages)) +// AsImpalaSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - ea, err := unmarshalBasicExecutionActivity(*rawMessage) - if err != nil { - return nil, err - } - eaArray[index] = ea - } - return eaArray, nil +// AsHubspotSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ExecutionActivity. -func (ea ExecutionActivity) MarshalJSON() ([]byte, error) { - ea.Type = TypeExecution - objectMap := make(map[string]interface{}) - if ea.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ea.LinkedServiceName - } - if ea.Policy != nil { - objectMap["policy"] = ea.Policy - } - if ea.Name != nil { - objectMap["name"] = ea.Name - } - if ea.Description != nil { - objectMap["description"] = ea.Description - } - if ea.DependsOn != nil { - objectMap["dependsOn"] = ea.DependsOn - } - if ea.UserProperties != nil { - objectMap["userProperties"] = ea.UserProperties - } - if ea.Type != "" { - objectMap["type"] = ea.Type - } - for k, v := range ea.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsHiveSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsHBaseSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsEloquaSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return &ea, true +// AsSapBwSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ea, true +// AsSybaseSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsTabularSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsOrcSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsXMLSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { +// AsJSONSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsActivity() (*Activity, bool) { +// AsParquetSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { - return &ea, true +// AsExcelSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsExcelSource() (*ExcelSource, bool) { + return &es, true } -// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct. -func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { +// AsAvroSource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for ExcelSource. +func (es ExcelSource) AsBasicCopySource() (BasicCopySource, bool) { + return &es, true +} + +// UnmarshalJSON is the custom unmarshaler for ExcelSource struct. +func (es *ExcelSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87195,23 +89568,22 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "linkedServiceName": + case "storeSettings": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + storeSettings, err := unmarshalBasicStoreReadSettings(*v) if err != nil { return err } - ea.LinkedServiceName = &linkedServiceName + es.StoreSettings = storeSettings } - case "policy": + case "additionalColumns": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - ea.Policy = &policy + es.AdditionalColumns = &additionalColumns } default: if v != nil { @@ -87220,55 +89592,46 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ea.AdditionalProperties == nil { - ea.AdditionalProperties = make(map[string]interface{}) - } - ea.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err + if es.AdditionalProperties == nil { + es.AdditionalProperties = make(map[string]interface{}) } - ea.Name = &name + es.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - ea.Description = &description + es.SourceRetryCount = sourceRetryCount } - case "dependsOn": + case "sourceRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - ea.DependsOn = &dependsOn + es.SourceRetryWait = sourceRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - ea.UserProperties = &userProperties + es.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ea.Type = typeVar + es.Type = typeVar } } } @@ -87276,77 +89639,264 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { return nil } -// ExposureControlRequest the exposure control request. -type ExposureControlRequest struct { - // FeatureName - The feature name. - FeatureName *string `json:"featureName,omitempty"` - // FeatureType - The feature type. - FeatureType *string `json:"featureType,omitempty"` -} - -// ExposureControlResponse the exposure control response. -type ExposureControlResponse struct { - autorest.Response `json:"-"` - // FeatureName - READ-ONLY; The feature name. - FeatureName *string `json:"featureName,omitempty"` - // Value - READ-ONLY; The feature value. - Value *string `json:"value,omitempty"` -} - -// Expression azure Data Factory expression definition. -type Expression struct { - // Type - Expression type. - Type *string `json:"type,omitempty"` - // Value - Expression value. - Value *string `json:"value,omitempty"` -} - -// Factory factory resource type. -type Factory struct { - autorest.Response `json:"-"` +// ExecuteDataFlowActivity execute data flow activity. +type ExecuteDataFlowActivity struct { + // ExecuteDataFlowActivityTypeProperties - Execute data flow activity properties. + *ExecuteDataFlowActivityTypeProperties `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:""` - // Identity - Managed service identity of the factory. - Identity *FactoryIdentity `json:"identity,omitempty"` - // FactoryProperties - Properties of the factory. - *FactoryProperties `json:"properties,omitempty"` - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. + // Name - Activity name. Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Location - The resource location. - Location *string `json:"location,omitempty"` - // Tags - The resource tags. - Tags map[string]*string `json:"tags"` - // ETag - READ-ONLY; Etag identifies change in the resource. - ETag *string `json:"eTag,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for Factory. -func (f Factory) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) MarshalJSON() ([]byte, error) { + edfa.Type = TypeExecuteDataFlow objectMap := make(map[string]interface{}) - if f.Identity != nil { - objectMap["identity"] = f.Identity + if edfa.ExecuteDataFlowActivityTypeProperties != nil { + objectMap["typeProperties"] = edfa.ExecuteDataFlowActivityTypeProperties } - if f.FactoryProperties != nil { - objectMap["properties"] = f.FactoryProperties + if edfa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = edfa.LinkedServiceName } - if f.Location != nil { - objectMap["location"] = f.Location + if edfa.Policy != nil { + objectMap["policy"] = edfa.Policy } - if f.Tags != nil { - objectMap["tags"] = f.Tags + if edfa.Name != nil { + objectMap["name"] = edfa.Name } - for k, v := range f.AdditionalProperties { + if edfa.Description != nil { + objectMap["description"] = edfa.Description + } + if edfa.DependsOn != nil { + objectMap["dependsOn"] = edfa.DependsOn + } + if edfa.UserProperties != nil { + objectMap["userProperties"] = edfa.UserProperties + } + if edfa.Type != "" { + objectMap["type"] = edfa.Type + } + for k, v := range edfa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for Factory struct. -func (f *Factory) UnmarshalJSON(body []byte) error { +// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { + return &edfa, true +} + +// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &edfa, true +} + +// AsWebHookActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsSwitchActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsSwitchActivity() (*SwitchActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for ExecuteDataFlowActivity. +func (edfa ExecuteDataFlowActivity) AsBasicActivity() (BasicActivity, bool) { + return &edfa, true +} + +// UnmarshalJSON is the custom unmarshaler for ExecuteDataFlowActivity struct. +func (edfa *ExecuteDataFlowActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87354,44 +89904,44 @@ func (f *Factory) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "typeProperties": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var executeDataFlowActivityTypeProperties ExecuteDataFlowActivityTypeProperties + err = json.Unmarshal(*v, &executeDataFlowActivityTypeProperties) if err != nil { return err } - if f.AdditionalProperties == nil { - f.AdditionalProperties = make(map[string]interface{}) - } - f.AdditionalProperties[k] = additionalProperties + edfa.ExecuteDataFlowActivityTypeProperties = &executeDataFlowActivityTypeProperties } - case "identity": + case "linkedServiceName": if v != nil { - var identity FactoryIdentity - err = json.Unmarshal(*v, &identity) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - f.Identity = &identity + edfa.LinkedServiceName = &linkedServiceName } - case "properties": + case "policy": if v != nil { - var factoryProperties FactoryProperties - err = json.Unmarshal(*v, &factoryProperties) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - f.FactoryProperties = &factoryProperties + edfa.Policy = &policy } - 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 } - f.ID = &ID + if edfa.AdditionalProperties == nil { + edfa.AdditionalProperties = make(map[string]interface{}) + } + edfa.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -87400,43 +89950,43 @@ func (f *Factory) UnmarshalJSON(body []byte) error { if err != nil { return err } - f.Name = &name + edfa.Name = &name } - case "type": + case "description": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - f.Type = &typeVar + edfa.Description = &description } - case "location": + case "dependsOn": if v != nil { - var location string - err = json.Unmarshal(*v, &location) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - f.Location = &location + edfa.DependsOn = &dependsOn } - case "tags": + case "userProperties": if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - f.Tags = tags + edfa.UserProperties = &userProperties } - case "eTag": + case "type": if v != nil { - var eTag string - err = json.Unmarshal(*v, &eTag) + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - f.ETag = &eTag + edfa.Type = typeVar } } } @@ -87444,409 +89994,274 @@ func (f *Factory) UnmarshalJSON(body []byte) error { return nil } -// FactoryGitHubConfiguration factory's GitHub repo information. -type FactoryGitHubConfiguration struct { - // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com - HostName *string `json:"hostName,omitempty"` - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// ExecuteDataFlowActivityTypeProperties execute data flow activity properties. +type ExecuteDataFlowActivityTypeProperties struct { + // DataFlow - Data flow reference. + DataFlow *DataFlowReference `json:"dataFlow,omitempty"` + // Staging - Staging info for execute data flow activity. + Staging *DataFlowStagingInfo `json:"staging,omitempty"` + // IntegrationRuntime - The integration runtime reference. + IntegrationRuntime *IntegrationRuntimeReference `json:"integrationRuntime,omitempty"` + // Compute - Compute properties for data flow activity. + Compute *ExecuteDataFlowActivityTypePropertiesCompute `json:"compute,omitempty"` } -// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { - fghc.Type = TypeFactoryGitHubConfiguration +// ExecuteDataFlowActivityTypePropertiesCompute compute properties for data flow activity. +type ExecuteDataFlowActivityTypePropertiesCompute struct { + // ComputeType - Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' + ComputeType DataFlowComputeType `json:"computeType,omitempty"` + // CoreCount - Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. + CoreCount *int32 `json:"coreCount,omitempty"` +} + +// ExecutePipelineActivity execute pipeline activity. +type ExecutePipelineActivity struct { + // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties. + *ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { + epa.Type = TypeExecutePipeline objectMap := make(map[string]interface{}) - if fghc.HostName != nil { - objectMap["hostName"] = fghc.HostName + if epa.ExecutePipelineActivityTypeProperties != nil { + objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties } - if fghc.AccountName != nil { - objectMap["accountName"] = fghc.AccountName + if epa.Name != nil { + objectMap["name"] = epa.Name } - if fghc.RepositoryName != nil { - objectMap["repositoryName"] = fghc.RepositoryName + if epa.Description != nil { + objectMap["description"] = epa.Description } - if fghc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fghc.CollaborationBranch + if epa.DependsOn != nil { + objectMap["dependsOn"] = epa.DependsOn } - if fghc.RootFolder != nil { - objectMap["rootFolder"] = fghc.RootFolder + if epa.UserProperties != nil { + objectMap["userProperties"] = epa.UserProperties } - if fghc.LastCommitID != nil { - objectMap["lastCommitId"] = fghc.LastCommitID + if epa.Type != "" { + objectMap["type"] = epa.Type } - if fghc.Type != "" { - objectMap["type"] = fghc.Type + for k, v := range epa.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { - return &fghc, true +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fghc, true +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false } -// FactoryIdentity identity properties of the factory resource. -type FactoryIdentity struct { - // Type - The identity type. Currently the only supported type is 'SystemAssigned'. - Type *string `json:"type,omitempty"` - // PrincipalID - READ-ONLY; The principal id of the identity. - PrincipalID *uuid.UUID `json:"principalId,omitempty"` - // TenantID - READ-ONLY; The client tenant id of the identity. - TenantID *uuid.UUID `json:"tenantId,omitempty"` +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false } -// FactoryListResponse a list of factory resources. -type FactoryListResponse struct { - autorest.Response `json:"-"` - // Value - List of factories. - Value *[]Factory `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false } -// FactoryListResponseIterator provides access to a complete listing of Factory values. -type FactoryListResponseIterator struct { - i int - page FactoryListResponsePage +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *FactoryListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter FactoryListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter FactoryListResponseIterator) Response() FactoryListResponse { - return iter.page.Response() +// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false } -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter FactoryListResponseIterator) Value() Factory { - if !iter.page.NotDone() { - return Factory{} - } - return iter.page.Values()[iter.i] +// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false } -// Creates a new instance of the FactoryListResponseIterator type. -func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { - return FactoryListResponseIterator{page: page} +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (flr FactoryListResponse) IsEmpty() bool { - return flr.Value == nil || len(*flr.Value) == 0 +// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false } -// factoryListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (flr FactoryListResponse) factoryListResponsePreparer(ctx context.Context) (*http.Request, error) { - if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(flr.NextLink))) +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false } -// FactoryListResponsePage contains a page of Factory values. -type FactoryListResponsePage struct { - fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) - flr FactoryListResponse +// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.flr) - if err != nil { - return err - } - page.flr = next - return nil +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *FactoryListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page FactoryListResponsePage) NotDone() bool { - return !page.flr.IsEmpty() +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page FactoryListResponsePage) Response() FactoryListResponse { - return page.flr +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page FactoryListResponsePage) Values() []Factory { - if page.flr.IsEmpty() { - return nil - } - return *page.flr.Value +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false } -// Creates a new instance of the FactoryListResponsePage type. -func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage { - return FactoryListResponsePage{fn: getNextPage} +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false } -// FactoryProperties factory resource properties. -type FactoryProperties struct { - // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded. - ProvisioningState *string `json:"provisioningState,omitempty"` - // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format. - CreateTime *date.Time `json:"createTime,omitempty"` - // Version - READ-ONLY; Version of the factory. - Version *string `json:"version,omitempty"` - // RepoConfiguration - Git repo information of the factory. - RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct. -func (fp *FactoryProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "provisioningState": - if v != nil { - var provisioningState string - err = json.Unmarshal(*v, &provisioningState) - if err != nil { - return err - } - fp.ProvisioningState = &provisioningState - } - case "createTime": - if v != nil { - var createTime date.Time - err = json.Unmarshal(*v, &createTime) - if err != nil { - return err - } - fp.CreateTime = &createTime - } - case "version": - if v != nil { - var version string - err = json.Unmarshal(*v, &version) - if err != nil { - return err - } - fp.Version = &version - } - case "repoConfiguration": - if v != nil { - repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) - if err != nil { - return err - } - fp.RepoConfiguration = repoConfiguration - } - } - } +// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} - return nil +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false } -// BasicFactoryRepoConfiguration factory's git repo information. -type BasicFactoryRepoConfiguration interface { - AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) - AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) - AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) +// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false } -// FactoryRepoConfiguration factory's git repo information. -type FactoryRepoConfiguration struct { - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false } -func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} - switch m["type"] { - case string(TypeFactoryVSTSConfiguration): - var fvc FactoryVSTSConfiguration - err := json.Unmarshal(body, &fvc) - return fvc, err - case string(TypeFactoryGitHubConfiguration): - var fghc FactoryGitHubConfiguration - err := json.Unmarshal(body, &fghc) - return fghc, err - default: - var frc FactoryRepoConfiguration - err := json.Unmarshal(body, &frc) - return frc, err - } +// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false } -func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages)) +// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage) - if err != nil { - return nil, err - } - frcArray[index] = frc - } - return frcArray, nil +// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) { - frc.Type = TypeFactoryRepoConfiguration - objectMap := make(map[string]interface{}) - if frc.AccountName != nil { - objectMap["accountName"] = frc.AccountName - } - if frc.RepositoryName != nil { - objectMap["repositoryName"] = frc.RepositoryName - } - if frc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = frc.CollaborationBranch - } - if frc.RootFolder != nil { - objectMap["rootFolder"] = frc.RootFolder - } - if frc.LastCommitID != nil { - objectMap["lastCommitId"] = frc.LastCommitID - } - if frc.Type != "" { - objectMap["type"] = frc.Type - } - return json.Marshal(objectMap) +// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { +// AsSwitchActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { - return &frc, true +// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &frc, true +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return &epa, true } -// FactoryRepoUpdate factory's git repo information. -type FactoryRepoUpdate struct { - // FactoryResourceID - The factory resource id. - FactoryResourceID *string `json:"factoryResourceId,omitempty"` - // RepoConfiguration - Git repo information of the factory. - RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct. -func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { +// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &epa, true +} + +// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { + return &epa, true +} + +// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct. +func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87854,22 +90269,71 @@ func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "factoryResourceId": + case "typeProperties": if v != nil { - var factoryResourceID string - err = json.Unmarshal(*v, &factoryResourceID) + var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties + err = json.Unmarshal(*v, &executePipelineActivityTypeProperties) if err != nil { return err } - fru.FactoryResourceID = &factoryResourceID + epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties } - case "repoConfiguration": + default: if v != nil { - repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - fru.RepoConfiguration = repoConfiguration + if epa.AdditionalProperties == nil { + epa.AdditionalProperties = make(map[string]interface{}) + } + epa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + epa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + epa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + epa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + epa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + epa.Type = typeVar } } } @@ -87877,625 +90341,289 @@ func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { return nil } -// FactoryUpdateParameters parameters for updating a factory resource. -type FactoryUpdateParameters struct { - // Tags - The resource tags. - Tags map[string]*string `json:"tags"` - // Identity - Managed service identity of the factory. - Identity *FactoryIdentity `json:"identity,omitempty"` -} - -// MarshalJSON is the custom marshaler for FactoryUpdateParameters. -func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if fup.Tags != nil { - objectMap["tags"] = fup.Tags - } - if fup.Identity != nil { - objectMap["identity"] = fup.Identity - } - return json.Marshal(objectMap) -} - -// FactoryVSTSConfiguration factory's VSTS repo information. -type FactoryVSTSConfiguration struct { - // ProjectName - VSTS project name. - ProjectName *string `json:"projectName,omitempty"` - // TenantID - VSTS tenant id. - TenantID *string `json:"tenantId,omitempty"` - // AccountName - Account name. - AccountName *string `json:"accountName,omitempty"` - // RepositoryName - Repository name. - RepositoryName *string `json:"repositoryName,omitempty"` - // CollaborationBranch - Collaboration branch. - CollaborationBranch *string `json:"collaborationBranch,omitempty"` - // RootFolder - Root folder. - RootFolder *string `json:"rootFolder,omitempty"` - // LastCommitID - Last commit id. - LastCommitID *string `json:"lastCommitId,omitempty"` - // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' - Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +// ExecutePipelineActivityTypeProperties execute pipeline activity properties. +type ExecutePipelineActivityTypeProperties struct { + // Pipeline - Pipeline reference. + Pipeline *PipelineReference `json:"pipeline,omitempty"` + // Parameters - Pipeline parameters. + Parameters map[string]interface{} `json:"parameters"` + // WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. + WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"` } -// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) { - fvc.Type = TypeFactoryVSTSConfiguration +// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties. +func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if fvc.ProjectName != nil { - objectMap["projectName"] = fvc.ProjectName - } - if fvc.TenantID != nil { - objectMap["tenantId"] = fvc.TenantID - } - if fvc.AccountName != nil { - objectMap["accountName"] = fvc.AccountName - } - if fvc.RepositoryName != nil { - objectMap["repositoryName"] = fvc.RepositoryName - } - if fvc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fvc.CollaborationBranch - } - if fvc.RootFolder != nil { - objectMap["rootFolder"] = fvc.RootFolder + if epatp.Pipeline != nil { + objectMap["pipeline"] = epatp.Pipeline } - if fvc.LastCommitID != nil { - objectMap["lastCommitId"] = fvc.LastCommitID + if epatp.Parameters != nil { + objectMap["parameters"] = epatp.Parameters } - if fvc.Type != "" { - objectMap["type"] = fvc.Type + if epatp.WaitOnCompletion != nil { + objectMap["waitOnCompletion"] = epatp.WaitOnCompletion } return json.Marshal(objectMap) } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { - return &fvc, true -} - -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { - return nil, false -} - -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { - return nil, false -} - -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fvc, true -} - -// FileServerLinkedService file system linked service. -type FileServerLinkedService struct { - // FileServerLinkedServiceTypeProperties - File system linked service properties. - *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ExecuteSSISPackageActivity execute SSIS package activity. +type ExecuteSSISPackageActivity struct { + // ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties. + *ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileServerLinkedService. -func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { - fsls.Type = TypeFileServer +// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) { + espa.Type = TypeExecuteSSISPackage objectMap := make(map[string]interface{}) - if fsls.FileServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties + if espa.ExecuteSSISPackageActivityTypeProperties != nil { + objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties } - if fsls.ConnectVia != nil { - objectMap["connectVia"] = fsls.ConnectVia + if espa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = espa.LinkedServiceName } - if fsls.Description != nil { - objectMap["description"] = fsls.Description + if espa.Policy != nil { + objectMap["policy"] = espa.Policy } - if fsls.Parameters != nil { - objectMap["parameters"] = fsls.Parameters + if espa.Name != nil { + objectMap["name"] = espa.Name } - if fsls.Annotations != nil { - objectMap["annotations"] = fsls.Annotations + if espa.Description != nil { + objectMap["description"] = espa.Description } - if fsls.Type != "" { - objectMap["type"] = fsls.Type + if espa.DependsOn != nil { + objectMap["dependsOn"] = espa.DependsOn } - for k, v := range fsls.AdditionalProperties { + if espa.UserProperties != nil { + objectMap["userProperties"] = espa.UserProperties + } + if espa.Type != "" { + objectMap["type"] = espa.Type + } + for k, v := range espa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// 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 -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - 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 -} - -// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false -} - -// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} - -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { - return nil, false -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false -} - -// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false -} - -// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false -} - -// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false -} - -// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false -} - -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false -} - -// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return &espa, true } -// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return &fsls, true -} - -// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &espa, true } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &fsls, true +// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { + return &espa, true } -// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct. -func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct. +func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -88505,12 +90633,30 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties) + var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties + err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) if err != nil { return err } - fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties + espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + espa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + espa.Policy = &policy } default: if v != nil { @@ -88519,19 +90665,19 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsls.AdditionalProperties == nil { - fsls.AdditionalProperties = make(map[string]interface{}) + if espa.AdditionalProperties == nil { + espa.AdditionalProperties = make(map[string]interface{}) } - fsls.AdditionalProperties[k] = additionalProperties + espa.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 } - fsls.ConnectVia = &connectVia + espa.Name = &name } case "description": if v != nil { @@ -88540,34 +90686,34 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Description = &description + espa.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - fsls.Parameters = parameters + espa.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - fsls.Annotations = &annotations + espa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsls.Type = typeVar + espa.Type = typeVar } } } @@ -88575,346 +90721,482 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { return nil } -// FileServerLinkedServiceTypeProperties file system linked service properties. -type FileServerLinkedServiceTypeProperties struct { - // Host - Host name of the server. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // UserID - User ID to logon the server. Type: string (or Expression with resultType string). - UserID interface{} `json:"userId,omitempty"` - // Password - Password to logon the server. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties. +type ExecuteSSISPackageActivityTypeProperties struct { + // PackageLocation - SSIS package location. + PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"` + // Runtime - Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). + Runtime interface{} `json:"runtime,omitempty"` + // LoggingLevel - The logging level of SSIS package execution. Type: string (or Expression with resultType string). + LoggingLevel interface{} `json:"loggingLevel,omitempty"` + // EnvironmentPath - The environment path to execute the SSIS package. Type: string (or Expression with resultType string). + EnvironmentPath interface{} `json:"environmentPath,omitempty"` + // ExecutionCredential - The package execution credential. + ExecutionCredential *SSISExecutionCredential `json:"executionCredential,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // ProjectParameters - The project level parameters to execute the SSIS package. + ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"` + // PackageParameters - The package level parameters to execute the SSIS package. + PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"` + // ProjectConnectionManagers - The project level connection managers to execute the SSIS package. + ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"` + // PackageConnectionManagers - The package level connection managers to execute the SSIS package. + PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"` + // PropertyOverrides - The property overrides to execute the SSIS package. + PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"` + // LogLocation - SSIS package execution log location. + LogLocation *SSISLogLocation `json:"logLocation,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct. -func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err +// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. +func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if espatp.PackageLocation != nil { + objectMap["packageLocation"] = espatp.PackageLocation } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - fslstp.Host = host - } - case "userId": - if v != nil { - var userID interface{} - err = json.Unmarshal(*v, &userID) - if err != nil { - return err - } - fslstp.UserID = userID - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - fslstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - fslstp.EncryptedCredential = encryptedCredential - } - } + if espatp.Runtime != nil { + objectMap["runtime"] = espatp.Runtime + } + if espatp.LoggingLevel != nil { + objectMap["loggingLevel"] = espatp.LoggingLevel + } + if espatp.EnvironmentPath != nil { + objectMap["environmentPath"] = espatp.EnvironmentPath + } + if espatp.ExecutionCredential != nil { + objectMap["executionCredential"] = espatp.ExecutionCredential + } + if espatp.ConnectVia != nil { + objectMap["connectVia"] = espatp.ConnectVia + } + if espatp.ProjectParameters != nil { + objectMap["projectParameters"] = espatp.ProjectParameters + } + if espatp.PackageParameters != nil { + objectMap["packageParameters"] = espatp.PackageParameters + } + if espatp.ProjectConnectionManagers != nil { + objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers + } + if espatp.PackageConnectionManagers != nil { + objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers } + if espatp.PropertyOverrides != nil { + objectMap["propertyOverrides"] = espatp.PropertyOverrides + } + if espatp.LogLocation != nil { + objectMap["logLocation"] = espatp.LogLocation + } + return json.Marshal(objectMap) +} - return nil +// BasicExecutionActivity base class for all execution activities. +type BasicExecutionActivity interface { + AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) + AsAzureFunctionActivity() (*AzureFunctionActivity, bool) + AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) + AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) + AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) + AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) + AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) + AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) + AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) + AsGetMetadataActivity() (*GetMetadataActivity, bool) + AsWebActivity() (*WebActivity, bool) + AsLookupActivity() (*LookupActivity, bool) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) + AsDeleteActivity() (*DeleteActivity, bool) + AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) + AsCustomActivity() (*CustomActivity, bool) + AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) + AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) + AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) + AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) + AsHDInsightPigActivity() (*HDInsightPigActivity, bool) + AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) + AsCopyActivity() (*CopyActivity, bool) + AsExecutionActivity() (*ExecutionActivity, bool) } -// FileServerLocation the location of file server dataset. -type FileServerLocation struct { +// ExecutionActivity base class for all execution activities. +type ExecutionActivity struct { + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` - // Type - Possible values include: 'TypeDatasetLocation', 'TypeHdfsLocation', 'TypeHTTPServerLocation', 'TypeSftpLocation', 'TypeFtpServerLocation', 'TypeGoogleCloudStorageLocation', 'TypeAzureFileStorageLocation', 'TypeFileServerLocation', 'TypeAmazonS3Location', 'TypeAzureDataLakeStoreLocation', 'TypeAzureBlobFSLocation', 'TypeAzureBlobStorageLocation' - Type TypeBasicDatasetLocation `json:"type,omitempty"` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileServerLocation. -func (fsl FileServerLocation) MarshalJSON() ([]byte, error) { - fsl.Type = TypeFileServerLocation +func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeExecuteDataFlow): + var edfa ExecuteDataFlowActivity + err := json.Unmarshal(body, &edfa) + return edfa, err + case string(TypeAzureFunctionActivity): + var afa AzureFunctionActivity + err := json.Unmarshal(body, &afa) + return afa, err + case string(TypeDatabricksSparkPython): + var dspa DatabricksSparkPythonActivity + err := json.Unmarshal(body, &dspa) + return dspa, err + case string(TypeDatabricksSparkJar): + var dsja DatabricksSparkJarActivity + err := json.Unmarshal(body, &dsja) + return dsja, err + case string(TypeDatabricksNotebook): + var dna DatabricksNotebookActivity + err := json.Unmarshal(body, &dna) + return dna, err + case string(TypeDataLakeAnalyticsUSQL): + var dlaua DataLakeAnalyticsUSQLActivity + err := json.Unmarshal(body, &dlaua) + return dlaua, err + case string(TypeAzureMLExecutePipeline): + var amepa AzureMLExecutePipelineActivity + err := json.Unmarshal(body, &amepa) + return amepa, err + case string(TypeAzureMLUpdateResource): + var amura AzureMLUpdateResourceActivity + err := json.Unmarshal(body, &amura) + return amura, err + case string(TypeAzureMLBatchExecution): + var ambea AzureMLBatchExecutionActivity + err := json.Unmarshal(body, &ambea) + return ambea, err + case string(TypeGetMetadata): + var gma GetMetadataActivity + err := json.Unmarshal(body, &gma) + return gma, err + case string(TypeWebActivity): + var wa WebActivity + err := json.Unmarshal(body, &wa) + return wa, err + case string(TypeLookup): + var la LookupActivity + err := json.Unmarshal(body, &la) + return la, err + case string(TypeAzureDataExplorerCommand): + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, err + case string(TypeDelete): + var da DeleteActivity + err := json.Unmarshal(body, &da) + return da, err + case string(TypeSQLServerStoredProcedure): + var ssspa SQLServerStoredProcedureActivity + err := json.Unmarshal(body, &ssspa) + return ssspa, err + case string(TypeCustom): + var ca CustomActivity + err := json.Unmarshal(body, &ca) + return ca, err + case string(TypeExecuteSSISPackage): + var espa ExecuteSSISPackageActivity + err := json.Unmarshal(body, &espa) + return espa, err + case string(TypeHDInsightSpark): + var hisa HDInsightSparkActivity + err := json.Unmarshal(body, &hisa) + return hisa, err + case string(TypeHDInsightStreaming): + var hisa HDInsightStreamingActivity + err := json.Unmarshal(body, &hisa) + return hisa, err + case string(TypeHDInsightMapReduce): + var himra HDInsightMapReduceActivity + err := json.Unmarshal(body, &himra) + return himra, err + case string(TypeHDInsightPig): + var hipa HDInsightPigActivity + err := json.Unmarshal(body, &hipa) + return hipa, err + case string(TypeHDInsightHive): + var hiha HDInsightHiveActivity + err := json.Unmarshal(body, &hiha) + return hiha, err + case string(TypeCopy): + var ca CopyActivity + err := json.Unmarshal(body, &ca) + return ca, err + default: + var ea ExecutionActivity + err := json.Unmarshal(body, &ea) + return ea, err + } +} +func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + eaArray := make([]BasicExecutionActivity, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ea, err := unmarshalBasicExecutionActivity(*rawMessage) + if err != nil { + return nil, err + } + eaArray[index] = ea + } + return eaArray, nil +} + +// MarshalJSON is the custom marshaler for ExecutionActivity. +func (ea ExecutionActivity) MarshalJSON() ([]byte, error) { + ea.Type = TypeExecution objectMap := make(map[string]interface{}) - if fsl.FolderPath != nil { - objectMap["folderPath"] = fsl.FolderPath + if ea.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ea.LinkedServiceName } - if fsl.FileName != nil { - objectMap["fileName"] = fsl.FileName + if ea.Policy != nil { + objectMap["policy"] = ea.Policy } - if fsl.Type != "" { - objectMap["type"] = fsl.Type + if ea.Name != nil { + objectMap["name"] = ea.Name } - for k, v := range fsl.AdditionalProperties { + if ea.Description != nil { + objectMap["description"] = ea.Description + } + if ea.DependsOn != nil { + objectMap["dependsOn"] = ea.DependsOn + } + if ea.UserProperties != nil { + objectMap["userProperties"] = ea.UserProperties + } + if ea.Type != "" { + objectMap["type"] = ea.Type + } + for k, v := range ea.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHdfsLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsHdfsLocation() (*HdfsLocation, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsHTTPServerLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsHTTPServerLocation() (*HTTPServerLocation, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSftpLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsSftpLocation() (*SftpLocation, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsFtpServerLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsFtpServerLocation() (*FtpServerLocation, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsGoogleCloudStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsGoogleCloudStorageLocation() (*GoogleCloudStorageLocation, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsAzureFileStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsAzureFileStorageLocation() (*AzureFileStorageLocation, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsFileServerLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsFileServerLocation() (*FileServerLocation, bool) { - return &fsl, true +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false } -// AsAmazonS3Location is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsAmazonS3Location() (*AmazonS3Location, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsAzureDataLakeStoreLocation() (*AzureDataLakeStoreLocation, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureBlobFSLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsAzureBlobFSLocation() (*AzureBlobFSLocation, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsAzureBlobStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsAzureBlobStorageLocation() (*AzureBlobStorageLocation, bool) { +// AsWebActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsDatasetLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsDatasetLocation() (*DatasetLocation, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsBasicDatasetLocation is the BasicDatasetLocation implementation for FileServerLocation. -func (fsl FileServerLocation) AsBasicDatasetLocation() (BasicDatasetLocation, bool) { - return &fsl, true +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct. -func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fsl.AdditionalProperties == nil { - fsl.AdditionalProperties = make(map[string]interface{}) - } - fsl.AdditionalProperties[k] = additionalProperties - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - fsl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - fsl.FileName = fileName - } - case "type": - if v != nil { - var typeVar TypeBasicDatasetLocation - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fsl.Type = typeVar - } - } - } +// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} - return nil +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false } -// FileServerReadSettings file server read settings. -type FileServerReadSettings struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string). - WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` - // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string). - WildcardFileName interface{} `json:"wildcardFileName,omitempty"` - // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - FileListPath interface{} `json:"fileListPath,omitempty"` - // EnablePartitionDiscovery - Indicates whether to enable partition discovery. - EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` - // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` - // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' - Type TypeBasicStoreReadSettings `json:"type,omitempty"` +// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FileServerReadSettings. -func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) { - fsrs.Type = TypeFileServerReadSettings - objectMap := make(map[string]interface{}) - if fsrs.Recursive != nil { - objectMap["recursive"] = fsrs.Recursive - } - if fsrs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath - } - if fsrs.WildcardFileName != nil { - objectMap["wildcardFileName"] = fsrs.WildcardFileName - } - if fsrs.FileListPath != nil { - objectMap["fileListPath"] = fsrs.FileListPath - } - if fsrs.EnablePartitionDiscovery != nil { - objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery - } - if fsrs.ModifiedDatetimeStart != nil { - objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart - } - if fsrs.ModifiedDatetimeEnd != nil { - objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd - } - if fsrs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections - } - if fsrs.Type != "" { - objectMap["type"] = fsrs.Type - } - for k, v := range fsrs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false } -// AsHdfsReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHTTPReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsSftpReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsFtpReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsFileServerReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { - return &fsrs, true +// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return &ea, true } -// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ea, true +} + +// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. -func (fsrs FileServerReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { - return &fsrs, true +// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileServerReadSettings struct. -func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { +// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsSwitchActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSwitchActivity() (*SwitchActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { + return &ea, true +} + +// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct. +func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -88922,98 +91204,80 @@ func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "recursive": - if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) - if err != nil { - return err - } - fsrs.Recursive = recursive - } - case "wildcardFolderPath": + case "linkedServiceName": if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - fsrs.WildcardFolderPath = wildcardFolderPath + ea.LinkedServiceName = &linkedServiceName } - case "wildcardFileName": + case "policy": if v != nil { - var wildcardFileName interface{} - err = json.Unmarshal(*v, &wildcardFileName) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - fsrs.WildcardFileName = wildcardFileName + ea.Policy = &policy } - case "fileListPath": + default: if v != nil { - var fileListPath interface{} - err = json.Unmarshal(*v, &fileListPath) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - fsrs.FileListPath = fileListPath - } - case "enablePartitionDiscovery": - if v != nil { - var enablePartitionDiscovery bool - err = json.Unmarshal(*v, &enablePartitionDiscovery) - if err != nil { - return err + if ea.AdditionalProperties == nil { + ea.AdditionalProperties = make(map[string]interface{}) } - fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery + ea.AdditionalProperties[k] = additionalProperties } - case "modifiedDatetimeStart": + case "name": if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - fsrs.ModifiedDatetimeStart = modifiedDatetimeStart + ea.Name = &name } - case "modifiedDatetimeEnd": + case "description": if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + ea.Description = &description } - default: + case "dependsOn": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - if fsrs.AdditionalProperties == nil { - fsrs.AdditionalProperties = make(map[string]interface{}) - } - fsrs.AdditionalProperties[k] = additionalProperties + ea.DependsOn = &dependsOn } - case "maxConcurrentConnections": + case "userProperties": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - fsrs.MaxConcurrentConnections = maxConcurrentConnections + ea.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicStoreReadSettings + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsrs.Type = typeVar + ea.Type = typeVar } } } @@ -89021,74 +91285,192 @@ func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { return nil } -// FileServerWriteSettings file server write settings. -type FileServerWriteSettings struct { +// BasicExportSettings export command settings. +type BasicExportSettings interface { + AsSnowflakeExportCopyCommand() (*SnowflakeExportCopyCommand, bool) + AsExportSettings() (*ExportSettings, bool) +} + +// ExportSettings export command settings. +type ExportSettings struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` - // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings', 'TypeSftpWriteSettings' - Type TypeBasicStoreWriteSettings `json:"type,omitempty"` + // Type - Possible values include: 'TypeExportSettings', 'TypeSnowflakeExportCopyCommand' + Type TypeBasicExportSettings `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileServerWriteSettings. -func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) { - fsws.Type = TypeFileServerWriteSettings - objectMap := make(map[string]interface{}) - if fsws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections +func unmarshalBasicExportSettings(body []byte) (BasicExportSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if fsws.CopyBehavior != nil { - objectMap["copyBehavior"] = fsws.CopyBehavior + + switch m["type"] { + case string(TypeSnowflakeExportCopyCommand): + var secc SnowflakeExportCopyCommand + err := json.Unmarshal(body, &secc) + return secc, err + default: + var es ExportSettings + err := json.Unmarshal(body, &es) + return es, err } - if fsws.Type != "" { - objectMap["type"] = fsws.Type +} +func unmarshalBasicExportSettingsArray(body []byte) ([]BasicExportSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err } - for k, v := range fsws.AdditionalProperties { + + esArray := make([]BasicExportSettings, len(rawMessages)) + + for index, rawMessage := range rawMessages { + es, err := unmarshalBasicExportSettings(*rawMessage) + if err != nil { + return nil, err + } + esArray[index] = es + } + return esArray, nil +} + +// MarshalJSON is the custom marshaler for ExportSettings. +func (es ExportSettings) MarshalJSON() ([]byte, error) { + es.Type = TypeExportSettings + objectMap := make(map[string]interface{}) + if es.Type != "" { + objectMap["type"] = es.Type + } + for k, v := range es.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { - return &fsws, true +// AsSnowflakeExportCopyCommand is the BasicExportSettings implementation for ExportSettings. +func (es ExportSettings) AsSnowflakeExportCopyCommand() (*SnowflakeExportCopyCommand, bool) { + return nil, false } -// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { - return nil, false +// AsExportSettings is the BasicExportSettings implementation for ExportSettings. +func (es ExportSettings) AsExportSettings() (*ExportSettings, bool) { + return &es, true } -// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { - return nil, false +// AsBasicExportSettings is the BasicExportSettings implementation for ExportSettings. +func (es ExportSettings) AsBasicExportSettings() (BasicExportSettings, bool) { + return &es, true } -// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for ExportSettings struct. +func (es *ExportSettings) UnmarshalJSON(body []byte) 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 es.AdditionalProperties == nil { + es.AdditionalProperties = make(map[string]interface{}) + } + es.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicExportSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + es.Type = typeVar + } + } + } + + return nil } -// AsSftpWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsSftpWriteSettings() (*SftpWriteSettings, bool) { - return nil, false +// ExposureControlRequest the exposure control request. +type ExposureControlRequest struct { + // FeatureName - The feature name. + FeatureName *string `json:"featureName,omitempty"` + // FeatureType - The feature type. + FeatureType *string `json:"featureType,omitempty"` } -// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { - return nil, false +// ExposureControlResponse the exposure control response. +type ExposureControlResponse struct { + autorest.Response `json:"-"` + // FeatureName - READ-ONLY; The feature name. + FeatureName *string `json:"featureName,omitempty"` + // Value - READ-ONLY; The feature value. + Value *string `json:"value,omitempty"` } -// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. -func (fsws FileServerWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { - return &fsws, true +// Expression azure Data Factory expression definition. +type Expression struct { + // Type - Expression type. + Type *string `json:"type,omitempty"` + // Value - Expression value. + Value *string `json:"value,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for FileServerWriteSettings struct. -func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { +// Factory factory resource type. +type Factory struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Identity - Managed service identity of the factory. + Identity *FactoryIdentity `json:"identity,omitempty"` + // FactoryProperties - Properties of the factory. + *FactoryProperties `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Location - The resource location. + Location *string `json:"location,omitempty"` + // Tags - The resource tags. + Tags map[string]*string `json:"tags"` + // ETag - READ-ONLY; Etag identifies change in the resource. + ETag *string `json:"eTag,omitempty"` +} + +// MarshalJSON is the custom marshaler for Factory. +func (f Factory) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if f.Identity != nil { + objectMap["identity"] = f.Identity + } + if f.FactoryProperties != nil { + objectMap["properties"] = f.FactoryProperties + } + if f.Location != nil { + objectMap["location"] = f.Location + } + if f.Tags != nil { + objectMap["tags"] = f.Tags + } + for k, v := range f.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Factory struct. +func (f *Factory) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89103,37 +91485,82 @@ func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsws.AdditionalProperties == nil { - fsws.AdditionalProperties = make(map[string]interface{}) + if f.AdditionalProperties == nil { + f.AdditionalProperties = make(map[string]interface{}) } - fsws.AdditionalProperties[k] = additionalProperties + f.AdditionalProperties[k] = additionalProperties } - case "maxConcurrentConnections": + case "identity": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var identity FactoryIdentity + err = json.Unmarshal(*v, &identity) if err != nil { return err } - fsws.MaxConcurrentConnections = maxConcurrentConnections + f.Identity = &identity } - case "copyBehavior": + case "properties": if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) + var factoryProperties FactoryProperties + err = json.Unmarshal(*v, &factoryProperties) if err != nil { return err } - fsws.CopyBehavior = copyBehavior + f.FactoryProperties = &factoryProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + f.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + f.Name = &name } case "type": if v != nil { - var typeVar TypeBasicStoreWriteSettings + var typeVar string err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsws.Type = typeVar + f.Type = &typeVar + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + f.Location = &location + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + f.Tags = tags + } + case "eTag": + if v != nil { + var eTag string + err = json.Unmarshal(*v, &eTag) + if err != nil { + return err + } + f.ETag = &eTag } } } @@ -89141,514 +91568,1089 @@ func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { return nil } -// FileShareDataset an on-premises file system dataset. -type FileShareDataset struct { - // FileShareDatasetTypeProperties - On-premises file system dataset properties. - *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// FactoryGitHubConfiguration factory's GitHub repo information. +type FactoryGitHubConfiguration struct { + // HostName - GitHub Enterprise host name. For example: https://github.mydomain.com + HostName *string `json:"hostName,omitempty"` + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileShareDataset. -func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { - fsd.Type = TypeFileShare +// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { + fghc.Type = TypeFactoryGitHubConfiguration objectMap := make(map[string]interface{}) - if fsd.FileShareDatasetTypeProperties != nil { - objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties - } - if fsd.Description != nil { - objectMap["description"] = fsd.Description - } - if fsd.Structure != nil { - objectMap["structure"] = fsd.Structure - } - if fsd.Schema != nil { - objectMap["schema"] = fsd.Schema + if fghc.HostName != nil { + objectMap["hostName"] = fghc.HostName } - if fsd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = fsd.LinkedServiceName + if fghc.AccountName != nil { + objectMap["accountName"] = fghc.AccountName } - if fsd.Parameters != nil { - objectMap["parameters"] = fsd.Parameters + if fghc.RepositoryName != nil { + objectMap["repositoryName"] = fghc.RepositoryName } - if fsd.Annotations != nil { - objectMap["annotations"] = fsd.Annotations + if fghc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = fghc.CollaborationBranch } - if fsd.Folder != nil { - objectMap["folder"] = fsd.Folder + if fghc.RootFolder != nil { + objectMap["rootFolder"] = fghc.RootFolder } - if fsd.Type != "" { - objectMap["type"] = fsd.Type + if fghc.LastCommitID != nil { + objectMap["lastCommitId"] = fghc.LastCommitID } - for k, v := range fsd.AdditionalProperties { - objectMap[k] = v + if fghc.Type != "" { + objectMap["type"] = fghc.Type } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { + return &fghc, true +} + +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fghc, true +} + +// FactoryIdentity identity properties of the factory resource. +type FactoryIdentity struct { + // Type - The identity type. Currently the only supported type is 'SystemAssigned'. + Type *string `json:"type,omitempty"` + // PrincipalID - READ-ONLY; The principal id of the identity. + PrincipalID *uuid.UUID `json:"principalId,omitempty"` + // TenantID - READ-ONLY; The client tenant id of the identity. + TenantID *uuid.UUID `json:"tenantId,omitempty"` +} + +// FactoryListResponse a list of factory resources. +type FactoryListResponse struct { + autorest.Response `json:"-"` + // Value - List of factories. + Value *[]Factory `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// FactoryListResponseIterator provides access to a complete listing of Factory values. +type FactoryListResponseIterator struct { + i int + page FactoryListResponsePage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *FactoryListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *FactoryListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter FactoryListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter FactoryListResponseIterator) Response() FactoryListResponse { + 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 FactoryListResponseIterator) Value() Factory { + if !iter.page.NotDone() { + return Factory{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the FactoryListResponseIterator type. +func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { + return FactoryListResponseIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (flr FactoryListResponse) IsEmpty() bool { + return flr.Value == nil || len(*flr.Value) == 0 +} + +// factoryListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (flr FactoryListResponse) factoryListResponsePreparer(ctx context.Context) (*http.Request, error) { + if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(flr.NextLink))) +} + +// FactoryListResponsePage contains a page of Factory values. +type FactoryListResponsePage struct { + fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) + flr FactoryListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *FactoryListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/FactoryListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.flr) + if err != nil { + return err + } + page.flr = next + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *FactoryListResponsePage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page FactoryListResponsePage) NotDone() bool { + return !page.flr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page FactoryListResponsePage) Response() FactoryListResponse { + return page.flr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page FactoryListResponsePage) Values() []Factory { + if page.flr.IsEmpty() { + return nil + } + return *page.flr.Value +} + +// Creates a new instance of the FactoryListResponsePage type. +func NewFactoryListResponsePage(getNextPage func(context.Context, FactoryListResponse) (FactoryListResponse, error)) FactoryListResponsePage { + return FactoryListResponsePage{fn: getNextPage} +} + +// FactoryProperties factory resource properties. +type FactoryProperties struct { + // ProvisioningState - READ-ONLY; Factory provisioning state, example Succeeded. + ProvisioningState *string `json:"provisioningState,omitempty"` + // CreateTime - READ-ONLY; Time the factory was created in ISO8601 format. + CreateTime *date.Time `json:"createTime,omitempty"` + // Version - READ-ONLY; Version of the factory. + Version *string `json:"version,omitempty"` + // RepoConfiguration - Git repo information of the factory. + RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` + // GlobalParameters - List of parameters for factory. + GlobalParameters map[string]*GlobalParameterSpecification `json:"globalParameters"` +} + +// MarshalJSON is the custom marshaler for FactoryProperties. +func (fp FactoryProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["repoConfiguration"] = fp.RepoConfiguration + if fp.GlobalParameters != nil { + objectMap["globalParameters"] = fp.GlobalParameters + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for FactoryProperties struct. +func (fp *FactoryProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "provisioningState": + if v != nil { + var provisioningState string + err = json.Unmarshal(*v, &provisioningState) + if err != nil { + return err + } + fp.ProvisioningState = &provisioningState + } + case "createTime": + if v != nil { + var createTime date.Time + err = json.Unmarshal(*v, &createTime) + if err != nil { + return err + } + fp.CreateTime = &createTime + } + case "version": + if v != nil { + var version string + err = json.Unmarshal(*v, &version) + if err != nil { + return err + } + fp.Version = &version + } + case "repoConfiguration": + if v != nil { + repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + if err != nil { + return err + } + fp.RepoConfiguration = repoConfiguration + } + case "globalParameters": + if v != nil { + var globalParameters map[string]*GlobalParameterSpecification + err = json.Unmarshal(*v, &globalParameters) + if err != nil { + return err + } + fp.GlobalParameters = globalParameters + } + } + } + + return nil +} + +// BasicFactoryRepoConfiguration factory's git repo information. +type BasicFactoryRepoConfiguration interface { + AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) + AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) + AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) +} + +// FactoryRepoConfiguration factory's git repo information. +type FactoryRepoConfiguration struct { + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +} + +func unmarshalBasicFactoryRepoConfiguration(body []byte) (BasicFactoryRepoConfiguration, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeFactoryVSTSConfiguration): + var fvc FactoryVSTSConfiguration + err := json.Unmarshal(body, &fvc) + return fvc, err + case string(TypeFactoryGitHubConfiguration): + var fghc FactoryGitHubConfiguration + err := json.Unmarshal(body, &fghc) + return fghc, err + default: + var frc FactoryRepoConfiguration + err := json.Unmarshal(body, &frc) + return frc, err + } +} +func unmarshalBasicFactoryRepoConfigurationArray(body []byte) ([]BasicFactoryRepoConfiguration, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages)) + + for index, rawMessage := range rawMessages { + frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage) + if err != nil { + return nil, err + } + frcArray[index] = frc + } + return frcArray, nil +} + +// MarshalJSON is the custom marshaler for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) MarshalJSON() ([]byte, error) { + frc.Type = TypeFactoryRepoConfiguration + objectMap := make(map[string]interface{}) + if frc.AccountName != nil { + objectMap["accountName"] = frc.AccountName + } + if frc.RepositoryName != nil { + objectMap["repositoryName"] = frc.RepositoryName + } + if frc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = frc.CollaborationBranch + } + if frc.RootFolder != nil { + objectMap["rootFolder"] = frc.RootFolder + } + if frc.LastCommitID != nil { + objectMap["lastCommitId"] = frc.LastCommitID + } + if frc.Type != "" { + objectMap["type"] = frc.Type + } + return json.Marshal(objectMap) +} + +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { + return &frc, true +} + +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &frc, true +} + +// FactoryRepoUpdate factory's git repo information. +type FactoryRepoUpdate struct { + // FactoryResourceID - The factory resource id. + FactoryResourceID *string `json:"factoryResourceId,omitempty"` + // RepoConfiguration - Git repo information of the factory. + RepoConfiguration BasicFactoryRepoConfiguration `json:"repoConfiguration,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct. +func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "factoryResourceId": + if v != nil { + var factoryResourceID string + err = json.Unmarshal(*v, &factoryResourceID) + if err != nil { + return err + } + fru.FactoryResourceID = &factoryResourceID + } + case "repoConfiguration": + if v != nil { + repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + if err != nil { + return err + } + fru.RepoConfiguration = repoConfiguration + } + } + } + + return nil +} + +// FactoryUpdateParameters parameters for updating a factory resource. +type FactoryUpdateParameters struct { + // Tags - The resource tags. + Tags map[string]*string `json:"tags"` + // Identity - Managed service identity of the factory. + Identity *FactoryIdentity `json:"identity,omitempty"` +} + +// MarshalJSON is the custom marshaler for FactoryUpdateParameters. +func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if fup.Tags != nil { + objectMap["tags"] = fup.Tags + } + if fup.Identity != nil { + objectMap["identity"] = fup.Identity + } + return json.Marshal(objectMap) +} + +// FactoryVSTSConfiguration factory's VSTS repo information. +type FactoryVSTSConfiguration struct { + // ProjectName - VSTS project name. + ProjectName *string `json:"projectName,omitempty"` + // TenantID - VSTS tenant id. + TenantID *string `json:"tenantId,omitempty"` + // AccountName - Account name. + AccountName *string `json:"accountName,omitempty"` + // RepositoryName - Repository name. + RepositoryName *string `json:"repositoryName,omitempty"` + // CollaborationBranch - Collaboration branch. + CollaborationBranch *string `json:"collaborationBranch,omitempty"` + // RootFolder - Root folder. + RootFolder *string `json:"rootFolder,omitempty"` + // LastCommitID - Last commit id. + LastCommitID *string `json:"lastCommitId,omitempty"` + // Type - Possible values include: 'TypeFactoryRepoConfiguration', 'TypeFactoryVSTSConfiguration', 'TypeFactoryGitHubConfiguration' + Type TypeBasicFactoryRepoConfiguration `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) { + fvc.Type = TypeFactoryVSTSConfiguration + objectMap := make(map[string]interface{}) + if fvc.ProjectName != nil { + objectMap["projectName"] = fvc.ProjectName + } + if fvc.TenantID != nil { + objectMap["tenantId"] = fvc.TenantID + } + if fvc.AccountName != nil { + objectMap["accountName"] = fvc.AccountName + } + if fvc.RepositoryName != nil { + objectMap["repositoryName"] = fvc.RepositoryName + } + if fvc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = fvc.CollaborationBranch + } + if fvc.RootFolder != nil { + objectMap["rootFolder"] = fvc.RootFolder + } + if fvc.LastCommitID != nil { + objectMap["lastCommitId"] = fvc.LastCommitID + } + if fvc.Type != "" { + objectMap["type"] = fvc.Type + } + return json.Marshal(objectMap) +} + +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { + return &fvc, true +} + +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fvc, true +} + +// FileServerLinkedService file system linked service. +type FileServerLinkedService struct { + // FileServerLinkedServiceTypeProperties - File system linked service properties. + *FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileServerLinkedService. +func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { + fsls.Type = TypeFileServer + objectMap := make(map[string]interface{}) + if fsls.FileServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties + } + if fsls.ConnectVia != nil { + objectMap["connectVia"] = fsls.ConnectVia + } + if fsls.Description != nil { + objectMap["description"] = fsls.Description + } + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters + } + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations + } + if fsls.Type != "" { + objectMap["type"] = fsls.Type + } + for k, v := range fsls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return &fsd, true +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDataset() (*Dataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return &fsls, true +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) { - return &fsd, true +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct. -func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &fsls, true +} + +// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct. +func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89658,12 +92660,12 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var fileShareDatasetTypeProperties FileShareDatasetTypeProperties - err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) + var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties) if err != nil { return err } - fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties + fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties } default: if v != nil { @@ -89672,46 +92674,28 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsd.AdditionalProperties == nil { - fsd.AdditionalProperties = make(map[string]interface{}) - } - fsd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fsd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - fsd.Structure = structure + fsls.AdditionalProperties[k] = additionalProperties } - case "schema": + case "connectVia": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - fsd.Schema = schema + fsls.ConnectVia = &connectVia } - case "linkedServiceName": + case "description": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - fsd.LinkedServiceName = &linkedServiceName + fsls.Description = &description } case "parameters": if v != nil { @@ -89720,7 +92704,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Parameters = parameters + fsls.Parameters = parameters } case "annotations": if v != nil { @@ -89729,25 +92713,16 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - fsd.Folder = &folder + fsls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsd.Type = typeVar + fsls.Type = typeVar } } } @@ -89755,26 +92730,20 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { return nil } -// FileShareDatasetTypeProperties on-premises file system dataset properties. -type FileShareDatasetTypeProperties struct { - // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string). - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` - // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` - // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). - ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` - // Format - The format of the files. - Format BasicDatasetStorageFormat `json:"format,omitempty"` - // FileFilter - Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). - FileFilter interface{} `json:"fileFilter,omitempty"` - // Compression - The data compression method used for the file system. - Compression BasicDatasetCompression `json:"compression,omitempty"` +// FileServerLinkedServiceTypeProperties file system linked service properties. +type FileServerLinkedServiceTypeProperties struct { + // Host - Host name of the server. Type: string (or Expression with resultType string). + Host interface{} `json:"host,omitempty"` + // UserID - User ID to logon the server. Type: string (or Expression with resultType string). + UserID interface{} `json:"userId,omitempty"` + // Password - Password to logon the server. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct. -func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct. +func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89782,66 +92751,40 @@ func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "folderPath": + case "host": if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - fsdtp.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err - } - fsdtp.FileName = fileName - } - case "modifiedDatetimeStart": - if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) - if err != nil { - return err - } - fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart - } - case "modifiedDatetimeEnd": - if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) - if err != nil { - return err - } - fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd + fslstp.Host = host } - case "format": + case "userId": if v != nil { - formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + var userID interface{} + err = json.Unmarshal(*v, &userID) if err != nil { return err } - fsdtp.Format = formatVar + fslstp.UserID = userID } - case "fileFilter": + case "password": if v != nil { - var fileFilter interface{} - err = json.Unmarshal(*v, &fileFilter) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - fsdtp.FileFilter = fileFilter + fslstp.Password = password } - case "compression": + case "encryptedCredential": if v != nil { - compression, err := unmarshalBasicDatasetCompression(*v) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - fsdtp.Compression = compression + fslstp.EncryptedCredential = encryptedCredential } } } @@ -89849,239 +92792,299 @@ func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// FileSystemSink a copy activity file system sink. -type FileSystemSink struct { - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` +// FileServerLocation the location of file server dataset. +type FileServerLocation struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` + // Type - Possible values include: 'TypeDatasetLocation', 'TypeHdfsLocation', 'TypeHTTPServerLocation', 'TypeSftpLocation', 'TypeFtpServerLocation', 'TypeGoogleCloudStorageLocation', 'TypeAzureFileStorageLocation', 'TypeFileServerLocation', 'TypeAmazonS3Location', 'TypeAzureDataLakeStoreLocation', 'TypeAzureBlobFSLocation', 'TypeAzureBlobStorageLocation' + Type TypeBasicDatasetLocation `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileSystemSink. -func (fss FileSystemSink) MarshalJSON() ([]byte, error) { - fss.Type = TypeFileSystemSink +// MarshalJSON is the custom marshaler for FileServerLocation. +func (fsl FileServerLocation) MarshalJSON() ([]byte, error) { + fsl.Type = TypeFileServerLocation objectMap := make(map[string]interface{}) - if fss.CopyBehavior != nil { - objectMap["copyBehavior"] = fss.CopyBehavior - } - if fss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = fss.WriteBatchSize - } - if fss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout - } - if fss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = fss.SinkRetryCount - } - if fss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = fss.SinkRetryWait + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath } - if fss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName } - if fss.Type != "" { - objectMap["type"] = fss.Type + if fsl.Type != "" { + objectMap["type"] = fsl.Type } - for k, v := range fss.AdditionalProperties { + for k, v := range fsl.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { - return nil, false -} - -// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsHdfsLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsHdfsLocation() (*HdfsLocation, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsHTTPServerLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsHTTPServerLocation() (*HTTPServerLocation, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsInformixSink() (*InformixSink, bool) { +// AsSftpLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsSftpLocation() (*SftpLocation, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) { +// AsFtpServerLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsFtpServerLocation() (*FtpServerLocation, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsGoogleCloudStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsGoogleCloudStorageLocation() (*GoogleCloudStorageLocation, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureFileStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsAzureFileStorageLocation() (*AzureFileStorageLocation, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false +// AsFileServerLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsFileServerLocation() (*FileServerLocation, bool) { + return &fsl, true } -// AsOracleSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) { +// AsAmazonS3Location is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsAmazonS3Location() (*AmazonS3Location, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsAzureDataLakeStoreLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsAzureDataLakeStoreLocation() (*AzureDataLakeStoreLocation, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) { +// AsAzureBlobFSLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsAzureBlobFSLocation() (*AzureBlobFSLocation, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureBlobStorageLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsAzureBlobStorageLocation() (*AzureBlobStorageLocation, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsDatasetLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsDatasetLocation() (*DatasetLocation, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { - return nil, false +// AsBasicDatasetLocation is the BasicDatasetLocation implementation for FileServerLocation. +func (fsl FileServerLocation) AsBasicDatasetLocation() (BasicDatasetLocation, bool) { + return &fsl, true } -// AsCosmosDbSQLAPISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for FileServerLocation struct. +func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fsl.AdditionalProperties == nil { + fsl.AdditionalProperties = make(map[string]interface{}) + } + fsl.AdditionalProperties[k] = additionalProperties + } + case "folderPath": + if v != nil { + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) + if err != nil { + return err + } + fsl.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + fsl.FileName = fileName + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetLocation + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fsl.Type = typeVar + } + } + } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { - return nil, false + return nil } -// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) { - return &fss, true +// FileServerReadSettings file server read settings. +type FileServerReadSettings struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // WildcardFolderPath - FileServer wildcardFolderPath. Type: string (or Expression with resultType string). + WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` + // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string). + WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` + // EnablePartitionDiscovery - Indicates whether to enable partition discovery. + EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` + // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` + // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` + // FileFilter - Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + FileFilter interface{} `json:"fileFilter,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' + Type TypeBasicStoreReadSettings `json:"type,omitempty"` } -// AsBlobSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) { - return nil, false +// MarshalJSON is the custom marshaler for FileServerReadSettings. +func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) { + fsrs.Type = TypeFileServerReadSettings + objectMap := make(map[string]interface{}) + if fsrs.Recursive != nil { + objectMap["recursive"] = fsrs.Recursive + } + if fsrs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = fsrs.WildcardFolderPath + } + if fsrs.WildcardFileName != nil { + objectMap["wildcardFileName"] = fsrs.WildcardFileName + } + if fsrs.FileListPath != nil { + objectMap["fileListPath"] = fsrs.FileListPath + } + if fsrs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery + } + if fsrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = fsrs.PartitionRootPath + } + if fsrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = fsrs.DeleteFilesAfterCompletion + } + if fsrs.ModifiedDatetimeStart != nil { + objectMap["modifiedDatetimeStart"] = fsrs.ModifiedDatetimeStart + } + if fsrs.ModifiedDatetimeEnd != nil { + objectMap["modifiedDatetimeEnd"] = fsrs.ModifiedDatetimeEnd + } + if fsrs.FileFilter != nil { + objectMap["fileFilter"] = fsrs.FileFilter + } + if fsrs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fsrs.MaxConcurrentConnections + } + if fsrs.Type != "" { + objectMap["type"] = fsrs.Type + } + for k, v := range fsrs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsBinarySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) { +// AsHdfsReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { +// AsHTTPReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { return nil, false } -// AsAvroSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAvroSink() (*AvroSink, bool) { +// AsSftpReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsFtpReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { return nil, false } -// AsAzureMySQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { - return nil, false +// AsFileServerReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { + return &fsrs, true } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { return nil, false } -// AsOrcSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsOrcSink() (*OrcSink, bool) { +// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { return nil, false } -// AsJSONSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsJSONSink() (*JSONSink, bool) { +// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { +// AsStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) { - return &fss, true +// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for FileServerReadSettings. +func (fsrs FileServerReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { + return &fsrs, true } -// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct. -func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileServerReadSettings struct. +func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -90089,62 +93092,107 @@ func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "copyBehavior": + case "recursive": if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - fss.CopyBehavior = copyBehavior + fsrs.Recursive = recursive } - default: + case "wildcardFolderPath": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) if err != nil { return err } - if fss.AdditionalProperties == nil { - fss.AdditionalProperties = make(map[string]interface{}) + fsrs.WildcardFolderPath = wildcardFolderPath + } + case "wildcardFileName": + if v != nil { + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) + if err != nil { + return err } - fss.AdditionalProperties[k] = additionalProperties + fsrs.WildcardFileName = wildcardFileName } - case "writeBatchSize": + case "fileListPath": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) if err != nil { return err } - fss.WriteBatchSize = writeBatchSize + fsrs.FileListPath = fileListPath } - case "writeBatchTimeout": + case "enablePartitionDiscovery": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) if err != nil { return err } - fss.WriteBatchTimeout = writeBatchTimeout + fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery } - case "sinkRetryCount": + case "partitionRootPath": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) if err != nil { return err } - fss.SinkRetryCount = sinkRetryCount + fsrs.PartitionRootPath = partitionRootPath } - case "sinkRetryWait": + case "deleteFilesAfterCompletion": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) if err != nil { return err } - fss.SinkRetryWait = sinkRetryWait + fsrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } + case "modifiedDatetimeStart": + if v != nil { + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) + if err != nil { + return err + } + fsrs.ModifiedDatetimeStart = modifiedDatetimeStart + } + case "modifiedDatetimeEnd": + if v != nil { + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) + if err != nil { + return err + } + fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + } + case "fileFilter": + if v != nil { + var fileFilter interface{} + err = json.Unmarshal(*v, &fileFilter) + if err != nil { + return err + } + fsrs.FileFilter = fileFilter + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fsrs.AdditionalProperties == nil { + fsrs.AdditionalProperties = make(map[string]interface{}) + } + fsrs.AdditionalProperties[k] = additionalProperties } case "maxConcurrentConnections": if v != nil { @@ -90153,16 +93201,16 @@ func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - fss.MaxConcurrentConnections = maxConcurrentConnections + fsrs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicStoreReadSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fss.Type = typeVar + fsrs.Type = typeVar } } } @@ -90170,576 +93218,753 @@ func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { return nil } -// FileSystemSource a copy activity file system source. -type FileSystemSource struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// FileServerWriteSettings file server write settings. +type FileServerWriteSettings struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings', 'TypeSftpWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FileSystemSource. -func (fss FileSystemSource) MarshalJSON() ([]byte, error) { - fss.Type = TypeFileSystemSource +// MarshalJSON is the custom marshaler for FileServerWriteSettings. +func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) { + fsws.Type = TypeFileServerWriteSettings objectMap := make(map[string]interface{}) - if fss.Recursive != nil { - objectMap["recursive"] = fss.Recursive + if fsws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections } - if fss.AdditionalColumns != nil { - objectMap["additionalColumns"] = fss.AdditionalColumns + if fsws.CopyBehavior != nil { + objectMap["copyBehavior"] = fsws.CopyBehavior } - if fss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = fss.SourceRetryCount + if fsws.Type != "" { + objectMap["type"] = fsws.Type } - if fss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = fss.SourceRetryWait + for k, v := range fsws.AdditionalProperties { + objectMap[k] = v } - if fss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections + return json.Marshal(objectMap) +} + +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { + return &fsws, true +} + +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { + return nil, false +} + +// AsSftpWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsSftpWriteSettings() (*SftpWriteSettings, bool) { + return nil, false +} + +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return nil, false +} + +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &fsws, true +} + +// UnmarshalJSON is the custom unmarshaler for FileServerWriteSettings struct. +func (fsws *FileServerWriteSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if fss.Type != "" { - objectMap["type"] = fss.Type + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fsws.AdditionalProperties == nil { + fsws.AdditionalProperties = make(map[string]interface{}) + } + fsws.AdditionalProperties[k] = additionalProperties + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + fsws.MaxConcurrentConnections = maxConcurrentConnections + } + case "copyBehavior": + if v != nil { + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) + if err != nil { + return err + } + fsws.CopyBehavior = copyBehavior + } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fsws.Type = typeVar + } + } } - for k, v := range fss.AdditionalProperties { + + return nil +} + +// FileShareDataset an on-premises file system dataset. +type FileShareDataset struct { + // FileShareDatasetTypeProperties - On-premises file system dataset properties. + *FileShareDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileShareDataset. +func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { + fsd.Type = TypeFileShare + objectMap := make(map[string]interface{}) + if fsd.FileShareDatasetTypeProperties != nil { + objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties + } + if fsd.Description != nil { + objectMap["description"] = fsd.Description + } + if fsd.Structure != nil { + objectMap["structure"] = fsd.Structure + } + if fsd.Schema != nil { + objectMap["schema"] = fsd.Schema + } + if fsd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = fsd.LinkedServiceName + } + if fsd.Parameters != nil { + objectMap["parameters"] = fsd.Parameters + } + if fsd.Annotations != nil { + objectMap["annotations"] = fsd.Annotations + } + if fsd.Folder != nil { + objectMap["folder"] = fsd.Folder + } + if fsd.Type != "" { + objectMap["type"] = fsd.Type + } + for k, v := range fsd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) { - return &fss, true +// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false } -// AsRestSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return &fsd, true +} + +// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapBwSource() (*SapBwSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsCustomDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBasicTabularSource() (BasicTabularSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) { +// AsOrcDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOrcSource() (*OrcSource, bool) { +// AsXMLDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsJSONSource() (*JSONSource, bool) { +// AsJSONDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { +// AsParquetDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAvroSource() (*AvroSource, bool) { +// AsExcelDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { +// AsAvroDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { - return &fss, true +// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct. -func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage +// AsDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) { + return &fsd, true +} + +// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct. +func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { return err } for k, v := range m { switch k { - case "recursive": + case "typeProperties": if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) + var fileShareDatasetTypeProperties FileShareDatasetTypeProperties + err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) if err != nil { return err } - fss.Recursive = recursive + fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties } - case "additionalColumns": + default: if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - fss.AdditionalColumns = &additionalColumns + if fsd.AdditionalProperties == nil { + fsd.AdditionalProperties = make(map[string]interface{}) + } + fsd.AdditionalProperties[k] = additionalProperties } - default: + case "description": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - if fss.AdditionalProperties == nil { - fss.AdditionalProperties = make(map[string]interface{}) + fsd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err } - fss.AdditionalProperties[k] = additionalProperties + fsd.Structure = structure } - case "sourceRetryCount": + case "schema": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - fss.SourceRetryCount = sourceRetryCount + fsd.Schema = schema } - case "sourceRetryWait": + case "linkedServiceName": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - fss.SourceRetryWait = sourceRetryWait + fsd.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - fss.MaxConcurrentConnections = maxConcurrentConnections + fsd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + fsd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + fsd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fss.Type = typeVar + fsd.Type = typeVar } } } @@ -90747,254 +93972,343 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { return nil } -// FilterActivity filter and return results from input array based on the conditions. -type FilterActivity struct { - // FilterActivityTypeProperties - Filter activity properties. - *FilterActivityTypeProperties `json:"typeProperties,omitempty"` +// FileShareDatasetTypeProperties on-premises file system dataset properties. +type FileShareDatasetTypeProperties struct { + // FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string). + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - The name of the on-premises file system. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` + // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` + // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). + ModifiedDatetimeEnd interface{} `json:"modifiedDatetimeEnd,omitempty"` + // Format - The format of the files. + Format BasicDatasetStorageFormat `json:"format,omitempty"` + // FileFilter - Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + FileFilter interface{} `json:"fileFilter,omitempty"` + // Compression - The data compression method used for the file system. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct. +func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "folderPath": + if v != nil { + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) + if err != nil { + return err + } + fsdtp.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + fsdtp.FileName = fileName + } + case "modifiedDatetimeStart": + if v != nil { + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) + if err != nil { + return err + } + fsdtp.ModifiedDatetimeStart = modifiedDatetimeStart + } + case "modifiedDatetimeEnd": + if v != nil { + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) + if err != nil { + return err + } + fsdtp.ModifiedDatetimeEnd = modifiedDatetimeEnd + } + case "format": + if v != nil { + formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + if err != nil { + return err + } + fsdtp.Format = formatVar + } + case "fileFilter": + if v != nil { + var fileFilter interface{} + err = json.Unmarshal(*v, &fileFilter) + if err != nil { + return err + } + fsdtp.FileFilter = fileFilter + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + fsdtp.Compression = compression + } + } + } + + return nil +} + +// FileSystemSink a copy activity file system sink. +type FileSystemSink struct { + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FilterActivity. -func (fa FilterActivity) MarshalJSON() ([]byte, error) { - fa.Type = TypeFilter +// MarshalJSON is the custom marshaler for FileSystemSink. +func (fss FileSystemSink) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSink objectMap := make(map[string]interface{}) - if fa.FilterActivityTypeProperties != nil { - objectMap["typeProperties"] = fa.FilterActivityTypeProperties + if fss.CopyBehavior != nil { + objectMap["copyBehavior"] = fss.CopyBehavior } - if fa.Name != nil { - objectMap["name"] = fa.Name + if fss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = fss.WriteBatchSize } - if fa.Description != nil { - objectMap["description"] = fa.Description + if fss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout } - if fa.DependsOn != nil { - objectMap["dependsOn"] = fa.DependsOn + if fss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = fss.SinkRetryCount } - if fa.UserProperties != nil { - objectMap["userProperties"] = fa.UserProperties + if fss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = fss.SinkRetryWait } - if fa.Type != "" { - objectMap["type"] = fa.Type + if fss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections } - for k, v := range fa.AdditionalProperties { + if fss.Type != "" { + objectMap["type"] = fss.Type + } + for k, v := range fss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsInformixSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsOdbcSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsOracleSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSnowflakeSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSnowflakeSink() (*SnowflakeSink, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSQLMISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false +// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) { + return &fss, true } -// AsExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsBinarySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsParquetSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAvroSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { - return &fa, true -} - -// AsValidationActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsRestSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsOrcSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsJSONSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &fa, true -} - -// AsActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsActivity() (*Activity, bool) { +// AsCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { - return &fa, true +// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) { + return &fss, true } -// UnmarshalJSON is the custom unmarshaler for FilterActivity struct. -func (fa *FilterActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FileSystemSink struct. +func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -91002,14 +94316,14 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "copyBehavior": if v != nil { - var filterActivityTypeProperties FilterActivityTypeProperties - err = json.Unmarshal(*v, &filterActivityTypeProperties) + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) if err != nil { return err } - fa.FilterActivityTypeProperties = &filterActivityTypeProperties + fss.CopyBehavior = copyBehavior } default: if v != nil { @@ -91018,55 +94332,64 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fa.AdditionalProperties == nil { - fa.AdditionalProperties = make(map[string]interface{}) + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - fa.AdditionalProperties[k] = additionalProperties + fss.AdditionalProperties[k] = additionalProperties } - case "name": + case "writeBatchSize": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - fa.Name = &name + fss.WriteBatchSize = writeBatchSize } - case "description": + case "writeBatchTimeout": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - fa.Description = &description + fss.WriteBatchTimeout = writeBatchTimeout } - case "dependsOn": + case "sinkRetryCount": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - fa.DependsOn = &dependsOn + fss.SinkRetryCount = sinkRetryCount } - case "userProperties": + case "sinkRetryWait": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - fa.UserProperties = &userProperties + fss.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fa.Type = typeVar + fss.Type = typeVar } } } @@ -91074,771 +94397,524 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { return nil } -// FilterActivityTypeProperties filter activity properties. -type FilterActivityTypeProperties struct { - // Items - Input array on which filter should be applied. - Items *Expression `json:"items,omitempty"` - // Condition - Condition to be used for filtering the input. - Condition *Expression `json:"condition,omitempty"` -} - -// ForEachActivity this activity is used for iterating over a collection and execute given activities. -type ForEachActivity struct { - // ForEachActivityTypeProperties - ForEach activity properties. - *ForEachActivityTypeProperties `json:"typeProperties,omitempty"` +// FileSystemSource a copy activity file system source. +type FileSystemSource struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ForEachActivity. -func (fea ForEachActivity) MarshalJSON() ([]byte, error) { - fea.Type = TypeForEach +// MarshalJSON is the custom marshaler for FileSystemSource. +func (fss FileSystemSource) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSource objectMap := make(map[string]interface{}) - if fea.ForEachActivityTypeProperties != nil { - objectMap["typeProperties"] = fea.ForEachActivityTypeProperties + if fss.Recursive != nil { + objectMap["recursive"] = fss.Recursive } - if fea.Name != nil { - objectMap["name"] = fea.Name + if fss.AdditionalColumns != nil { + objectMap["additionalColumns"] = fss.AdditionalColumns } - if fea.Description != nil { - objectMap["description"] = fea.Description + if fss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = fss.SourceRetryCount } - if fea.DependsOn != nil { - objectMap["dependsOn"] = fea.DependsOn + if fss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = fss.SourceRetryWait } - if fea.UserProperties != nil { - objectMap["userProperties"] = fea.UserProperties + if fss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections } - if fea.Type != "" { - objectMap["type"] = fea.Type + if fss.Type != "" { + objectMap["type"] = fss.Type } - for k, v := range fea.AdditionalProperties { + for k, v := range fss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) { + return &fss, true +} + +// AsRestSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsODataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { - return &fea, true +// AsZohoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &fea, true +// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsActivity() (*Activity, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { - return &fea, true +// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct. -func (fea *ForEachActivity) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var forEachActivityTypeProperties ForEachActivityTypeProperties - err = json.Unmarshal(*v, &forEachActivityTypeProperties) - if err != nil { - return err - } - fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fea.AdditionalProperties == nil { - fea.AdditionalProperties = make(map[string]interface{}) - } - fea.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - fea.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - fea.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - fea.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - fea.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fea.Type = typeVar - } - } - } +// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} - return nil +// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// ForEachActivityTypeProperties forEach activity properties. -type ForEachActivityTypeProperties struct { - // IsSequential - Should the loop be executed in sequence or in parallel (max 50) - IsSequential *bool `json:"isSequential,omitempty"` - // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). - BatchCount *int32 `json:"batchCount,omitempty"` - // Items - Collection to iterate. - Items *Expression `json:"items,omitempty"` - // Activities - List of activities to execute . - Activities *[]BasicActivity `json:"activities,omitempty"` +// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct. -func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "isSequential": - if v != nil { - var isSequential bool - err = json.Unmarshal(*v, &isSequential) - if err != nil { - return err - } - featp.IsSequential = &isSequential - } - case "batchCount": - if v != nil { - var batchCount int32 - err = json.Unmarshal(*v, &batchCount) - if err != nil { - return err - } - featp.BatchCount = &batchCount - } - case "items": - if v != nil { - var items Expression - err = json.Unmarshal(*v, &items) - if err != nil { - return err - } - featp.Items = &items - } - case "activities": - if v != nil { - activities, err := unmarshalBasicActivityArray(*v) - if err != nil { - return err - } - featp.Activities = &activities - } - } - } +// AsAzureMariaDBSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} - return nil +// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// BasicFormatReadSettings format read settings. -type BasicFormatReadSettings interface { - AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) - AsFormatReadSettings() (*FormatReadSettings, bool) +// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// FormatReadSettings format read settings. -type FormatReadSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeFormatReadSettings', 'TypeDelimitedTextReadSettings' - Type TypeBasicFormatReadSettings `json:"type,omitempty"` +// AsJiraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -func unmarshalBasicFormatReadSettings(body []byte) (BasicFormatReadSettings, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeDelimitedTextReadSettings): - var dtrs DelimitedTextReadSettings - err := json.Unmarshal(body, &dtrs) - return dtrs, err - default: - var frs FormatReadSettings - err := json.Unmarshal(body, &frs) - return frs, err - } +// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -func unmarshalBasicFormatReadSettingsArray(body []byte) ([]BasicFormatReadSettings, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - frsArray := make([]BasicFormatReadSettings, len(rawMessages)) +// AsHiveSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - frs, err := unmarshalBasicFormatReadSettings(*rawMessage) - if err != nil { - return nil, err - } - frsArray[index] = frs - } - return frsArray, nil +// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FormatReadSettings. -func (frs FormatReadSettings) MarshalJSON() ([]byte, error) { - frs.Type = TypeFormatReadSettings - objectMap := make(map[string]interface{}) - if frs.Type != "" { - objectMap["type"] = frs.Type - } - for k, v := range frs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. -func (frs FormatReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsFormatReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. -func (frs FormatReadSettings) AsFormatReadSettings() (*FormatReadSettings, bool) { - return &frs, true +// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// AsBasicFormatReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. -func (frs FormatReadSettings) AsBasicFormatReadSettings() (BasicFormatReadSettings, bool) { - return &frs, true +// AsDrillSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FormatReadSettings struct. -func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if frs.AdditionalProperties == nil { - frs.AdditionalProperties = make(map[string]interface{}) - } - frs.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicFormatReadSettings - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - frs.Type = typeVar - } - } - } +// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} - return nil +// AsConcurSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false } -// BasicFormatWriteSettings format write settings. -type BasicFormatWriteSettings interface { - AsJSONWriteSettings() (*JSONWriteSettings, bool) - AsDelimitedTextWriteSettings() (*DelimitedTextWriteSettings, bool) - AsAvroWriteSettings() (*AvroWriteSettings, bool) - AsFormatWriteSettings() (*FormatWriteSettings, bool) +// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false } -// FormatWriteSettings format write settings. -type FormatWriteSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeFormatWriteSettings', 'TypeJSONWriteSettings', 'TypeDelimitedTextWriteSettings', 'TypeAvroWriteSettings' - Type TypeBasicFormatWriteSettings `json:"type,omitempty"` +// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false } -func unmarshalBasicFormatWriteSettings(body []byte) (BasicFormatWriteSettings, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeJSONWriteSettings): - var jws JSONWriteSettings - err := json.Unmarshal(body, &jws) - return jws, err - case string(TypeDelimitedTextWriteSettings): - var dtws DelimitedTextWriteSettings - err := json.Unmarshal(body, &dtws) - return dtws, err - case string(TypeAvroWriteSettings): - var aws AvroWriteSettings - err := json.Unmarshal(body, &aws) - return aws, err - default: - var fws FormatWriteSettings - err := json.Unmarshal(body, &fws) - return fws, err - } +// AsTeradataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false } -func unmarshalBasicFormatWriteSettingsArray(body []byte) ([]BasicFormatWriteSettings, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - fwsArray := make([]BasicFormatWriteSettings, len(rawMessages)) +// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - fws, err := unmarshalBasicFormatWriteSettings(*rawMessage) - if err != nil { - return nil, err - } - fwsArray[index] = fws - } - return fwsArray, nil +// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FormatWriteSettings. -func (fws FormatWriteSettings) MarshalJSON() ([]byte, error) { - fws.Type = TypeFormatWriteSettings - objectMap := make(map[string]interface{}) - if fws.Type != "" { - objectMap["type"] = fws.Type - } - for k, v := range fws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSQLMISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false } -// AsJSONWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. -func (fws FormatWriteSettings) AsJSONWriteSettings() (*JSONWriteSettings, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsDelimitedTextWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. -func (fws FormatWriteSettings) AsDelimitedTextWriteSettings() (*DelimitedTextWriteSettings, bool) { +// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAvroWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. -func (fws FormatWriteSettings) AsAvroWriteSettings() (*AvroWriteSettings, bool) { +// AsSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsFormatWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. -func (fws FormatWriteSettings) AsFormatWriteSettings() (*FormatWriteSettings, bool) { - return &fws, true +// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false } -// AsBasicFormatWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. -func (fws FormatWriteSettings) AsBasicFormatWriteSettings() (BasicFormatWriteSettings, bool) { - return &fws, true +// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FormatWriteSettings struct. -func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fws.AdditionalProperties == nil { - fws.AdditionalProperties = make(map[string]interface{}) - } - fws.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar TypeBasicFormatWriteSettings - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - fws.Type = typeVar - } - } - } +// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} - return nil +// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false } -// FtpReadSettings ftp read settings. -type FtpReadSettings struct { - // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). - Recursive interface{} `json:"recursive,omitempty"` - // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string). - WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` - // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string). - WildcardFileName interface{} `json:"wildcardFileName,omitempty"` - // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). - FileListPath interface{} `json:"fileListPath,omitempty"` - // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores. - UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' - Type TypeBasicStoreReadSettings `json:"type,omitempty"` +// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for FtpReadSettings. -func (frs FtpReadSettings) MarshalJSON() ([]byte, error) { - frs.Type = TypeFtpReadSettings - objectMap := make(map[string]interface{}) - if frs.Recursive != nil { - objectMap["recursive"] = frs.Recursive - } - if frs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = frs.WildcardFolderPath - } - if frs.WildcardFileName != nil { - objectMap["wildcardFileName"] = frs.WildcardFileName - } - if frs.FileListPath != nil { - objectMap["fileListPath"] = frs.FileListPath - } - if frs.UseBinaryTransfer != nil { - objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer - } - if frs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections - } - if frs.Type != "" { - objectMap["type"] = frs.Type - } - for k, v := range frs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false } -// AsHdfsReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { +// AsSapBwSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHTTPReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { +// AsSybaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsSftpReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsFtpReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { - return &frs, true +// AsMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false } -// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { +// AsOdbcSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { +// AsDb2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsFileServerReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { +// AsInformixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { +// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { +// AsTabularSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { +// AsBinarySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { +// AsOrcSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. -func (frs FtpReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { - return &frs, true +// AsXMLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsXMLSource() (*XMLSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct. -func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { +// AsJSONSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsExcelSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { + return &fss, true +} + +// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct. +func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -91853,55 +94929,46 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - frs.Recursive = recursive + fss.Recursive = recursive } - case "wildcardFolderPath": + case "additionalColumns": if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - frs.WildcardFolderPath = wildcardFolderPath + fss.AdditionalColumns = &additionalColumns } - case "wildcardFileName": + default: if v != nil { - var wildcardFileName interface{} - err = json.Unmarshal(*v, &wildcardFileName) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - frs.WildcardFileName = wildcardFileName - } - case "fileListPath": - if v != nil { - var fileListPath interface{} - err = json.Unmarshal(*v, &fileListPath) - if err != nil { - return err + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - frs.FileListPath = fileListPath + fss.AdditionalProperties[k] = additionalProperties } - case "useBinaryTransfer": + case "sourceRetryCount": if v != nil { - var useBinaryTransfer bool - err = json.Unmarshal(*v, &useBinaryTransfer) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - frs.UseBinaryTransfer = &useBinaryTransfer + fss.SourceRetryCount = sourceRetryCount } - default: + case "sourceRetryWait": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - if frs.AdditionalProperties == nil { - frs.AdditionalProperties = make(map[string]interface{}) - } - frs.AdditionalProperties[k] = additionalProperties + fss.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -91910,16 +94977,16 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - frs.MaxConcurrentConnections = maxConcurrentConnections + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicStoreReadSettings + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - frs.Type = typeVar + fss.Type = typeVar } } } @@ -91927,534 +94994,589 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { return nil } -// FtpServerLinkedService a FTP server Linked Service. -type FtpServerLinkedService struct { - // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type. - *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// FilterActivity filter and return results from input array based on the conditions. +type FilterActivity struct { + // FilterActivityTypeProperties - Filter activity properties. + *FilterActivityTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FtpServerLinkedService. -func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { - fsls.Type = TypeFtpServer +// MarshalJSON is the custom marshaler for FilterActivity. +func (fa FilterActivity) MarshalJSON() ([]byte, error) { + fa.Type = TypeFilter objectMap := make(map[string]interface{}) - if fsls.FtpServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties + if fa.FilterActivityTypeProperties != nil { + objectMap["typeProperties"] = fa.FilterActivityTypeProperties } - if fsls.ConnectVia != nil { - objectMap["connectVia"] = fsls.ConnectVia + if fa.Name != nil { + objectMap["name"] = fa.Name } - if fsls.Description != nil { - objectMap["description"] = fsls.Description + if fa.Description != nil { + objectMap["description"] = fa.Description } - if fsls.Parameters != nil { - objectMap["parameters"] = fsls.Parameters + if fa.DependsOn != nil { + objectMap["dependsOn"] = fa.DependsOn } - if fsls.Annotations != nil { - objectMap["annotations"] = fsls.Annotations + if fa.UserProperties != nil { + objectMap["userProperties"] = fa.UserProperties } - if fsls.Type != "" { - objectMap["type"] = fsls.Type + if fa.Type != "" { + objectMap["type"] = fa.Type } - for k, v := range fsls.AdditionalProperties { + for k, v := range fa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// 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 -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsFilterActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { + return &fa, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return &fsls, true -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fa, true } -// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { + return &fa, true } -// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for FilterActivity struct. +func (fa *FilterActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var filterActivityTypeProperties FilterActivityTypeProperties + err = json.Unmarshal(*v, &filterActivityTypeProperties) + if err != nil { + return err + } + fa.FilterActivityTypeProperties = &filterActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fa.AdditionalProperties == nil { + fa.AdditionalProperties = make(map[string]interface{}) + } + fa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + fa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + fa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + fa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + fa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fa.Type = typeVar + } + } + } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false + return nil } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false +// FilterActivityTypeProperties filter activity properties. +type FilterActivityTypeProperties struct { + // Items - Input array on which filter should be applied. + Items *Expression `json:"items,omitempty"` + // Condition - Condition to be used for filtering the input. + Condition *Expression `json:"condition,omitempty"` } -// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// ForEachActivity this activity is used for iterating over a collection and execute given activities. +type ForEachActivity struct { + // ForEachActivityTypeProperties - ForEach activity properties. + *ForEachActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for ForEachActivity. +func (fea ForEachActivity) MarshalJSON() ([]byte, error) { + fea.Type = TypeForEach + objectMap := make(map[string]interface{}) + if fea.ForEachActivityTypeProperties != nil { + objectMap["typeProperties"] = fea.ForEachActivityTypeProperties + } + if fea.Name != nil { + objectMap["name"] = fea.Name + } + if fea.Description != nil { + objectMap["description"] = fea.Description + } + if fea.DependsOn != nil { + objectMap["dependsOn"] = fea.DependsOn + } + if fea.UserProperties != nil { + objectMap["userProperties"] = fea.UserProperties + } + if fea.Type != "" { + objectMap["type"] = fea.Type + } + for k, v := range fea.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsForEachActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { + return &fea, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fea, true } -// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &fsls, true +// AsBasicActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { + return &fea, true } -// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct. -func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct. +func (fea *ForEachActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92464,12 +95586,12 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) + var forEachActivityTypeProperties ForEachActivityTypeProperties + err = json.Unmarshal(*v, &forEachActivityTypeProperties) if err != nil { return err } - fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties + fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties } default: if v != nil { @@ -92478,19 +95600,19 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsls.AdditionalProperties == nil { - fsls.AdditionalProperties = make(map[string]interface{}) + if fea.AdditionalProperties == nil { + fea.AdditionalProperties = make(map[string]interface{}) } - fsls.AdditionalProperties[k] = additionalProperties + fea.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "name": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - fsls.ConnectVia = &connectVia + fea.Name = &name } case "description": if v != nil { @@ -92499,34 +95621,34 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Description = &description + fea.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - fsls.Parameters = parameters + fea.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - fsls.Annotations = &annotations + fea.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsls.Type = typeVar + fea.Type = typeVar } } } @@ -92534,28 +95656,20 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { return nil } -// FtpServerLinkedServiceTypeProperties properties specific to this linked service type. -type FtpServerLinkedServiceTypeProperties struct { - // Host - Host name of the FTP server. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. - Port interface{} `json:"port,omitempty"` - // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous' - AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"` - // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password to logon the FTP server. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` - // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). - EnableSsl interface{} `json:"enableSsl,omitempty"` - // EnableServerCertificateValidation - If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). - EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` +// ForEachActivityTypeProperties forEach activity properties. +type ForEachActivityTypeProperties struct { + // IsSequential - Should the loop be executed in sequence or in parallel (max 50) + IsSequential *bool `json:"isSequential,omitempty"` + // BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). + BatchCount *int32 `json:"batchCount,omitempty"` + // Items - Collection to iterate. + Items *Expression `json:"items,omitempty"` + // Activities - List of activities to execute . + Activities *[]BasicActivity `json:"activities,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct. -func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct. +func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92563,76 +95677,40 @@ func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } for k, v := range m { switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - fslstp.Host = host - } - case "port": + case "isSequential": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var isSequential bool + err = json.Unmarshal(*v, &isSequential) if err != nil { return err } - fslstp.Port = port + featp.IsSequential = &isSequential } - case "authenticationType": + case "batchCount": if v != nil { - var authenticationType FtpAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var batchCount int32 + err = json.Unmarshal(*v, &batchCount) if err != nil { return err } - fslstp.AuthenticationType = authenticationType + featp.BatchCount = &batchCount } - case "userName": + case "items": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var items Expression + err = json.Unmarshal(*v, &items) if err != nil { return err } - fslstp.UserName = userName + featp.Items = &items } - case "password": + case "activities": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + activities, err := unmarshalBasicActivityArray(*v) if err != nil { return err } - fslstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - fslstp.EncryptedCredential = encryptedCredential - } - case "enableSsl": - if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) - if err != nil { - return err - } - fslstp.EnableSsl = enableSsl - } - case "enableServerCertificateValidation": - if v != nil { - var enableServerCertificateValidation interface{} - err = json.Unmarshal(*v, &enableServerCertificateValidation) - if err != nil { - return err - } - fslstp.EnableServerCertificateValidation = enableServerCertificateValidation + featp.Activities = &activities } } } @@ -92640,104 +95718,117 @@ func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e return nil } -// FtpServerLocation the location of ftp server dataset. -type FtpServerLocation struct { +// BasicFormatReadSettings format read settings. +type BasicFormatReadSettings interface { + AsBinaryReadSettings() (*BinaryReadSettings, bool) + AsXMLReadSettings() (*XMLReadSettings, bool) + AsJSONReadSettings() (*JSONReadSettings, bool) + AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) + AsFormatReadSettings() (*FormatReadSettings, bool) +} + +// FormatReadSettings format read settings. +type FormatReadSettings struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` - // Type - Possible values include: 'TypeDatasetLocation', 'TypeHdfsLocation', 'TypeHTTPServerLocation', 'TypeSftpLocation', 'TypeFtpServerLocation', 'TypeGoogleCloudStorageLocation', 'TypeAzureFileStorageLocation', 'TypeFileServerLocation', 'TypeAmazonS3Location', 'TypeAzureDataLakeStoreLocation', 'TypeAzureBlobFSLocation', 'TypeAzureBlobStorageLocation' - Type TypeBasicDatasetLocation `json:"type,omitempty"` + // Type - Possible values include: 'TypeFormatReadSettings', 'TypeBinaryReadSettings', 'TypeXMLReadSettings', 'TypeJSONReadSettings', 'TypeDelimitedTextReadSettings' + Type TypeBasicFormatReadSettings `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FtpServerLocation. -func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) { - fsl.Type = TypeFtpServerLocation - objectMap := make(map[string]interface{}) - if fsl.FolderPath != nil { - objectMap["folderPath"] = fsl.FolderPath - } - if fsl.FileName != nil { - objectMap["fileName"] = fsl.FileName - } - if fsl.Type != "" { - objectMap["type"] = fsl.Type - } - for k, v := range fsl.AdditionalProperties { - objectMap[k] = v +func unmarshalBasicFormatReadSettings(body []byte) (BasicFormatReadSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - return json.Marshal(objectMap) -} - -// AsHdfsLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsHdfsLocation() (*HdfsLocation, bool) { - return nil, false -} - -// AsHTTPServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsHTTPServerLocation() (*HTTPServerLocation, bool) { - return nil, false -} -// AsSftpLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsSftpLocation() (*SftpLocation, bool) { - return nil, false -} - -// AsFtpServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsFtpServerLocation() (*FtpServerLocation, bool) { - return &fsl, true + switch m["type"] { + case string(TypeBinaryReadSettings): + var brs BinaryReadSettings + err := json.Unmarshal(body, &brs) + return brs, err + case string(TypeXMLReadSettings): + var xrs XMLReadSettings + err := json.Unmarshal(body, &xrs) + return xrs, err + case string(TypeJSONReadSettings): + var jrs JSONReadSettings + err := json.Unmarshal(body, &jrs) + return jrs, err + case string(TypeDelimitedTextReadSettings): + var dtrs DelimitedTextReadSettings + err := json.Unmarshal(body, &dtrs) + return dtrs, err + default: + var frs FormatReadSettings + err := json.Unmarshal(body, &frs) + return frs, err + } } +func unmarshalBasicFormatReadSettingsArray(body []byte) ([]BasicFormatReadSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsGoogleCloudStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsGoogleCloudStorageLocation() (*GoogleCloudStorageLocation, bool) { - return nil, false -} + frsArray := make([]BasicFormatReadSettings, len(rawMessages)) -// AsAzureFileStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsAzureFileStorageLocation() (*AzureFileStorageLocation, bool) { - return nil, false + for index, rawMessage := range rawMessages { + frs, err := unmarshalBasicFormatReadSettings(*rawMessage) + if err != nil { + return nil, err + } + frsArray[index] = frs + } + return frsArray, nil } -// AsFileServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsFileServerLocation() (*FileServerLocation, bool) { - return nil, false +// MarshalJSON is the custom marshaler for FormatReadSettings. +func (frs FormatReadSettings) MarshalJSON() ([]byte, error) { + frs.Type = TypeFormatReadSettings + objectMap := make(map[string]interface{}) + if frs.Type != "" { + objectMap["type"] = frs.Type + } + for k, v := range frs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAmazonS3Location is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsAmazonS3Location() (*AmazonS3Location, bool) { +// AsBinaryReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsBinaryReadSettings() (*BinaryReadSettings, bool) { return nil, false } -// AsAzureDataLakeStoreLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsAzureDataLakeStoreLocation() (*AzureDataLakeStoreLocation, bool) { +// AsXMLReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsXMLReadSettings() (*XMLReadSettings, bool) { return nil, false } -// AsAzureBlobFSLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsAzureBlobFSLocation() (*AzureBlobFSLocation, bool) { +// AsJSONReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsJSONReadSettings() (*JSONReadSettings, bool) { return nil, false } -// AsAzureBlobStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsAzureBlobStorageLocation() (*AzureBlobStorageLocation, bool) { +// AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { return nil, false } -// AsDatasetLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsDatasetLocation() (*DatasetLocation, bool) { - return nil, false +// AsFormatReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsFormatReadSettings() (*FormatReadSettings, bool) { + return &frs, true } -// AsBasicDatasetLocation is the BasicDatasetLocation implementation for FtpServerLocation. -func (fsl FtpServerLocation) AsBasicDatasetLocation() (BasicDatasetLocation, bool) { - return &fsl, true +// AsBasicFormatReadSettings is the BasicFormatReadSettings implementation for FormatReadSettings. +func (frs FormatReadSettings) AsBasicFormatReadSettings() (BasicFormatReadSettings, bool) { + return &frs, true } -// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct. -func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FormatReadSettings struct. +func (frs *FormatReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92752,37 +95843,19 @@ func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsl.AdditionalProperties == nil { - fsl.AdditionalProperties = make(map[string]interface{}) - } - fsl.AdditionalProperties[k] = additionalProperties - } - case "folderPath": - if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) - if err != nil { - return err - } - fsl.FolderPath = folderPath - } - case "fileName": - if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) - if err != nil { - return err + if frs.AdditionalProperties == nil { + frs.AdditionalProperties = make(map[string]interface{}) } - fsl.FileName = fileName + frs.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicDatasetLocation + var typeVar TypeBasicFormatReadSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fsl.Type = typeVar + frs.Type = typeVar } } } @@ -92790,34 +95863,107 @@ func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { return nil } -// GenericDatasetTypeProperties properties specific to this dataset type. -type GenericDatasetTypeProperties struct { - // TableName - The table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` +// BasicFormatWriteSettings format write settings. +type BasicFormatWriteSettings interface { + AsJSONWriteSettings() (*JSONWriteSettings, bool) + AsDelimitedTextWriteSettings() (*DelimitedTextWriteSettings, bool) + AsAvroWriteSettings() (*AvroWriteSettings, bool) + AsFormatWriteSettings() (*FormatWriteSettings, bool) } -// GetDataFactoryOperationStatusResponse response body structure for get data factory operation status. -type GetDataFactoryOperationStatusResponse struct { +// FormatWriteSettings format write settings. +type FormatWriteSettings struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Status - Status of the operation. - Status *string `json:"status,omitempty"` + // Type - Possible values include: 'TypeFormatWriteSettings', 'TypeJSONWriteSettings', 'TypeDelimitedTextWriteSettings', 'TypeAvroWriteSettings' + Type TypeBasicFormatWriteSettings `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GetDataFactoryOperationStatusResponse. -func (gdfosr GetDataFactoryOperationStatusResponse) MarshalJSON() ([]byte, error) { +func unmarshalBasicFormatWriteSettings(body []byte) (BasicFormatWriteSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeJSONWriteSettings): + var jws JSONWriteSettings + err := json.Unmarshal(body, &jws) + return jws, err + case string(TypeDelimitedTextWriteSettings): + var dtws DelimitedTextWriteSettings + err := json.Unmarshal(body, &dtws) + return dtws, err + case string(TypeAvroWriteSettings): + var aws AvroWriteSettings + err := json.Unmarshal(body, &aws) + return aws, err + default: + var fws FormatWriteSettings + err := json.Unmarshal(body, &fws) + return fws, err + } +} +func unmarshalBasicFormatWriteSettingsArray(body []byte) ([]BasicFormatWriteSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + fwsArray := make([]BasicFormatWriteSettings, len(rawMessages)) + + for index, rawMessage := range rawMessages { + fws, err := unmarshalBasicFormatWriteSettings(*rawMessage) + if err != nil { + return nil, err + } + fwsArray[index] = fws + } + return fwsArray, nil +} + +// MarshalJSON is the custom marshaler for FormatWriteSettings. +func (fws FormatWriteSettings) MarshalJSON() ([]byte, error) { + fws.Type = TypeFormatWriteSettings objectMap := make(map[string]interface{}) - if gdfosr.Status != nil { - objectMap["status"] = gdfosr.Status + if fws.Type != "" { + objectMap["type"] = fws.Type } - for k, v := range gdfosr.AdditionalProperties { + for k, v := range fws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for GetDataFactoryOperationStatusResponse struct. -func (gdfosr *GetDataFactoryOperationStatusResponse) UnmarshalJSON(body []byte) error { +// AsJSONWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. +func (fws FormatWriteSettings) AsJSONWriteSettings() (*JSONWriteSettings, bool) { + return nil, false +} + +// AsDelimitedTextWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. +func (fws FormatWriteSettings) AsDelimitedTextWriteSettings() (*DelimitedTextWriteSettings, bool) { + return nil, false +} + +// AsAvroWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. +func (fws FormatWriteSettings) AsAvroWriteSettings() (*AvroWriteSettings, bool) { + return nil, false +} + +// AsFormatWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. +func (fws FormatWriteSettings) AsFormatWriteSettings() (*FormatWriteSettings, bool) { + return &fws, true +} + +// AsBasicFormatWriteSettings is the BasicFormatWriteSettings implementation for FormatWriteSettings. +func (fws FormatWriteSettings) AsBasicFormatWriteSettings() (BasicFormatWriteSettings, bool) { + return &fws, true +} + +// UnmarshalJSON is the custom unmarshaler for FormatWriteSettings struct. +func (fws *FormatWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -92832,19 +95978,19 @@ func (gdfosr *GetDataFactoryOperationStatusResponse) UnmarshalJSON(body []byte) if err != nil { return err } - if gdfosr.AdditionalProperties == nil { - gdfosr.AdditionalProperties = make(map[string]interface{}) + if fws.AdditionalProperties == nil { + fws.AdditionalProperties = make(map[string]interface{}) } - gdfosr.AdditionalProperties[k] = additionalProperties + fws.AdditionalProperties[k] = additionalProperties } - case "status": + case "type": if v != nil { - var status string - err = json.Unmarshal(*v, &status) + var typeVar TypeBasicFormatWriteSettings + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gdfosr.Status = &status + fws.Type = typeVar } } } @@ -92852,264 +95998,139 @@ func (gdfosr *GetDataFactoryOperationStatusResponse) UnmarshalJSON(body []byte) return nil } -// GetMetadataActivity activity to get metadata of dataset -type GetMetadataActivity struct { - // GetMetadataActivityTypeProperties - GetMetadata activity properties. - *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// FtpReadSettings ftp read settings. +type FtpReadSettings struct { + // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + Recursive interface{} `json:"recursive,omitempty"` + // WildcardFolderPath - Ftp wildcardFolderPath. Type: string (or Expression with resultType string). + WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` + // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string). + WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // EnablePartitionDiscovery - Indicates whether to enable partition discovery. + EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` + // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores. + UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' + Type TypeBasicStoreReadSettings `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GetMetadataActivity. -func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { - gma.Type = TypeGetMetadata +// MarshalJSON is the custom marshaler for FtpReadSettings. +func (frs FtpReadSettings) MarshalJSON() ([]byte, error) { + frs.Type = TypeFtpReadSettings objectMap := make(map[string]interface{}) - if gma.GetMetadataActivityTypeProperties != nil { - objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties + if frs.Recursive != nil { + objectMap["recursive"] = frs.Recursive } - if gma.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gma.LinkedServiceName + if frs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = frs.WildcardFolderPath } - if gma.Policy != nil { - objectMap["policy"] = gma.Policy + if frs.WildcardFileName != nil { + objectMap["wildcardFileName"] = frs.WildcardFileName } - if gma.Name != nil { - objectMap["name"] = gma.Name + if frs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = frs.EnablePartitionDiscovery } - if gma.Description != nil { - objectMap["description"] = gma.Description + if frs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = frs.PartitionRootPath } - if gma.DependsOn != nil { - objectMap["dependsOn"] = gma.DependsOn + if frs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = frs.DeleteFilesAfterCompletion } - if gma.UserProperties != nil { - objectMap["userProperties"] = gma.UserProperties + if frs.FileListPath != nil { + objectMap["fileListPath"] = frs.FileListPath } - if gma.Type != "" { - objectMap["type"] = gma.Type + if frs.UseBinaryTransfer != nil { + objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer } - for k, v := range gma.AdditionalProperties { + if frs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = frs.MaxConcurrentConnections + } + if frs.Type != "" { + objectMap["type"] = frs.Type + } + for k, v := range frs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { - return nil, false -} - -// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { - return nil, false -} - -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return nil, false -} - -// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return nil, false -} - -// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false -} - -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false -} - -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { - return nil, false -} - -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { - return nil, false -} - -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return nil, false -} - -// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { - return &gma, true -} - -// AsWebActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) { - return nil, false -} - -// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { - return nil, false -} - -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { - return nil, false -} - -// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { - return nil, false -} - -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { - return nil, false -} - -// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { - return nil, false -} - -// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return nil, false -} - -// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return nil, false -} - -// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return nil, false -} - -// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { - return nil, false -} - -// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return nil, false -} - -// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return nil, false -} - -// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false -} - -// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return nil, false -} - -// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &gma, true -} - -// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { - return nil, false -} - -// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { - return nil, false -} - -// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHdfsReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsHTTPReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSftpReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { - return nil, false +// AsFtpReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { + return &frs, true } -// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsFileServerReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { +// AsStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { - return &gma, true +// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for FtpReadSettings. +func (frs FtpReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { + return &frs, true } -// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct. -func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct. +func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -93117,89 +96138,107 @@ func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "recursive": if v != nil { - var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties - err = json.Unmarshal(*v, &getMetadataActivityTypeProperties) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties + frs.Recursive = recursive } - case "linkedServiceName": + case "wildcardFolderPath": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) if err != nil { return err } - gma.LinkedServiceName = &linkedServiceName + frs.WildcardFolderPath = wildcardFolderPath } - case "policy": + case "wildcardFileName": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) if err != nil { return err } - gma.Policy = &policy + frs.WildcardFileName = wildcardFileName } - default: + case "enablePartitionDiscovery": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) if err != nil { return err } - if gma.AdditionalProperties == nil { - gma.AdditionalProperties = make(map[string]interface{}) + frs.EnablePartitionDiscovery = &enablePartitionDiscovery + } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err } - gma.AdditionalProperties[k] = additionalProperties + frs.PartitionRootPath = partitionRootPath } - case "name": + case "deleteFilesAfterCompletion": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) if err != nil { return err } - gma.Name = &name + frs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion } - case "description": + case "fileListPath": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) if err != nil { return err } - gma.Description = &description + frs.FileListPath = fileListPath } - case "dependsOn": + case "useBinaryTransfer": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var useBinaryTransfer bool + err = json.Unmarshal(*v, &useBinaryTransfer) if err != nil { return err } - gma.DependsOn = &dependsOn + frs.UseBinaryTransfer = &useBinaryTransfer } - case "userProperties": + default: if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - gma.UserProperties = &userProperties + if frs.AdditionalProperties == nil { + frs.AdditionalProperties = make(map[string]interface{}) + } + frs.AdditionalProperties[k] = additionalProperties + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + frs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicStoreReadSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gma.Type = typeVar + frs.Type = typeVar } } } @@ -93207,41 +96246,10 @@ func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { return nil } -// GetMetadataActivityTypeProperties getMetadata activity properties. -type GetMetadataActivityTypeProperties struct { - // Dataset - GetMetadata activity dataset reference. - Dataset *DatasetReference `json:"dataset,omitempty"` - // FieldList - Fields of metadata to get from dataset. - FieldList *[]interface{} `json:"fieldList,omitempty"` -} - -// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata. -type GetSsisObjectMetadataRequest struct { - // MetadataPath - Metadata path. - MetadataPath *string `json:"metadataPath,omitempty"` -} - -// GitHubAccessTokenRequest get GitHub access token request definition. -type GitHubAccessTokenRequest struct { - // GitHubAccessCode - GitHub access code. - GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"` - // GitHubClientID - GitHub application client ID. - GitHubClientID *string `json:"gitHubClientId,omitempty"` - // GitHubAccessTokenBaseURL - GitHub access token base URL. - GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"` -} - -// GitHubAccessTokenResponse get GitHub access token response definition. -type GitHubAccessTokenResponse struct { - autorest.Response `json:"-"` - // GitHubAccessToken - GitHub access token. - GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"` -} - -// GoogleAdWordsLinkedService google AdWords service linked service. -type GoogleAdWordsLinkedService struct { - // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties. - *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// FtpServerLinkedService a FTP server Linked Service. +type FtpServerLinkedService struct { + // FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type. + *FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -93252,520 +96260,530 @@ type GoogleAdWordsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) { - gawls.Type = TypeGoogleAdWords +// MarshalJSON is the custom marshaler for FtpServerLinkedService. +func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { + fsls.Type = TypeFtpServer objectMap := make(map[string]interface{}) - if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties + if fsls.FtpServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties } - if gawls.ConnectVia != nil { - objectMap["connectVia"] = gawls.ConnectVia + if fsls.ConnectVia != nil { + objectMap["connectVia"] = fsls.ConnectVia } - if gawls.Description != nil { - objectMap["description"] = gawls.Description + if fsls.Description != nil { + objectMap["description"] = fsls.Description } - if gawls.Parameters != nil { - objectMap["parameters"] = gawls.Parameters + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters } - if gawls.Annotations != nil { - objectMap["annotations"] = gawls.Annotations + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations } - if gawls.Type != "" { - objectMap["type"] = gawls.Type + if fsls.Type != "" { + objectMap["type"] = fsls.Type } - for k, v := range gawls.AdditionalProperties { + for k, v := range fsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return &gawls, true +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false +// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return &fsls, true } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gawls, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct. -func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &fsls, true +} + +// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct. +func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -93775,12 +96793,12 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) + var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) if err != nil { return err } - gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties + fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties } default: if v != nil { @@ -93789,10 +96807,10 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gawls.AdditionalProperties == nil { - gawls.AdditionalProperties = make(map[string]interface{}) + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - gawls.AdditionalProperties[k] = additionalProperties + fsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -93801,7 +96819,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.ConnectVia = &connectVia + fsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -93810,7 +96828,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Description = &description + fsls.Description = &description } case "parameters": if v != nil { @@ -93819,7 +96837,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Parameters = parameters + fsls.Parameters = parameters } case "annotations": if v != nil { @@ -93828,7 +96846,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Annotations = &annotations + fsls.Annotations = &annotations } case "type": if v != nil { @@ -93837,7 +96855,7 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Type = typeVar + fsls.Type = typeVar } } } @@ -93845,34 +96863,28 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { return nil } -// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties. -type GoogleAdWordsLinkedServiceTypeProperties struct { - // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for. - ClientCustomerID interface{} `json:"clientCustomerID,omitempty"` - // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API. - DeveloperToken BasicSecretBase `json:"developerToken,omitempty"` - // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication' - AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"` - // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. - RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` - // ClientID - The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret of the google application used to acquire the refresh token. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. - Email interface{} `json:"email,omitempty"` - // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. - KeyFilePath interface{} `json:"keyFilePath,omitempty"` - // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` +// FtpServerLinkedServiceTypeProperties properties specific to this linked service type. +type FtpServerLinkedServiceTypeProperties struct { + // Host - Host name of the FTP server. Type: string (or Expression with resultType string). + Host interface{} `json:"host,omitempty"` + // Port - The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. + Port interface{} `json:"port,omitempty"` + // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous' + AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"` + // UserName - Username to logon the FTP server. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password to logon the FTP server. + Password BasicSecretBase `json:"password,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` + // EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + EnableSsl interface{} `json:"enableSsl,omitempty"` + // EnableServerCertificateValidation - If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). + EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct. -func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct. +func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -93880,101 +96892,226 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by } for k, v := range m { switch k { - case "clientCustomerID": + case "host": if v != nil { - var clientCustomerID interface{} - err = json.Unmarshal(*v, &clientCustomerID) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - gawlstp.ClientCustomerID = clientCustomerID + fslstp.Host = host } - case "developerToken": + case "port": if v != nil { - developerToken, err := unmarshalBasicSecretBase(*v) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - gawlstp.DeveloperToken = developerToken + fslstp.Port = port } case "authenticationType": if v != nil { - var authenticationType GoogleAdWordsAuthenticationType + var authenticationType FtpAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - gawlstp.AuthenticationType = authenticationType + fslstp.AuthenticationType = authenticationType } - case "refreshToken": + case "userName": if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - gawlstp.RefreshToken = refreshToken + fslstp.UserName = userName } - case "clientId": + case "password": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - gawlstp.ClientID = clientID + fslstp.Password = password } - case "clientSecret": + case "encryptedCredential": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - gawlstp.ClientSecret = clientSecret + fslstp.EncryptedCredential = encryptedCredential } - case "email": + case "enableSsl": if v != nil { - var email interface{} - err = json.Unmarshal(*v, &email) + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) if err != nil { return err } - gawlstp.Email = email + fslstp.EnableSsl = enableSsl } - case "keyFilePath": + case "enableServerCertificateValidation": if v != nil { - var keyFilePath interface{} - err = json.Unmarshal(*v, &keyFilePath) + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) if err != nil { return err } - gawlstp.KeyFilePath = keyFilePath + fslstp.EnableServerCertificateValidation = enableServerCertificateValidation } - case "trustedCertPath": + } + } + + return nil +} + +// FtpServerLocation the location of ftp server dataset. +type FtpServerLocation struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // FolderPath - Specify the folder path of dataset. Type: string (or Expression with resultType string) + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - Specify the file name of dataset. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` + // Type - Possible values include: 'TypeDatasetLocation', 'TypeHdfsLocation', 'TypeHTTPServerLocation', 'TypeSftpLocation', 'TypeFtpServerLocation', 'TypeGoogleCloudStorageLocation', 'TypeAzureFileStorageLocation', 'TypeFileServerLocation', 'TypeAmazonS3Location', 'TypeAzureDataLakeStoreLocation', 'TypeAzureBlobFSLocation', 'TypeAzureBlobStorageLocation' + Type TypeBasicDatasetLocation `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FtpServerLocation. +func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) { + fsl.Type = TypeFtpServerLocation + objectMap := make(map[string]interface{}) + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath + } + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName + } + if fsl.Type != "" { + objectMap["type"] = fsl.Type + } + for k, v := range fsl.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsHdfsLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsHdfsLocation() (*HdfsLocation, bool) { + return nil, false +} + +// AsHTTPServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsHTTPServerLocation() (*HTTPServerLocation, bool) { + return nil, false +} + +// AsSftpLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsSftpLocation() (*SftpLocation, bool) { + return nil, false +} + +// AsFtpServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsFtpServerLocation() (*FtpServerLocation, bool) { + return &fsl, true +} + +// AsGoogleCloudStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsGoogleCloudStorageLocation() (*GoogleCloudStorageLocation, bool) { + return nil, false +} + +// AsAzureFileStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsAzureFileStorageLocation() (*AzureFileStorageLocation, bool) { + return nil, false +} + +// AsFileServerLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsFileServerLocation() (*FileServerLocation, bool) { + return nil, false +} + +// AsAmazonS3Location is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsAmazonS3Location() (*AmazonS3Location, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsAzureDataLakeStoreLocation() (*AzureDataLakeStoreLocation, bool) { + return nil, false +} + +// AsAzureBlobFSLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsAzureBlobFSLocation() (*AzureBlobFSLocation, bool) { + return nil, false +} + +// AsAzureBlobStorageLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsAzureBlobStorageLocation() (*AzureBlobStorageLocation, bool) { + return nil, false +} + +// AsDatasetLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsDatasetLocation() (*DatasetLocation, bool) { + return nil, false +} + +// AsBasicDatasetLocation is the BasicDatasetLocation implementation for FtpServerLocation. +func (fsl FtpServerLocation) AsBasicDatasetLocation() (BasicDatasetLocation, bool) { + return &fsl, true +} + +// UnmarshalJSON is the custom unmarshaler for FtpServerLocation struct. +func (fsl *FtpServerLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - gawlstp.TrustedCertPath = trustedCertPath + if fsl.AdditionalProperties == nil { + fsl.AdditionalProperties = make(map[string]interface{}) + } + fsl.AdditionalProperties[k] = additionalProperties } - case "useSystemTrustStore": + case "folderPath": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) if err != nil { return err } - gawlstp.UseSystemTrustStore = useSystemTrustStore + fsl.FolderPath = folderPath } - case "encryptedCredential": + case "fileName": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var fileName interface{} + err = json.Unmarshal(*v, &fileName) if err != nil { return err } - gawlstp.EncryptedCredential = encryptedCredential + fsl.FileName = fileName + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetLocation + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fsl.Type = typeVar } } } @@ -93982,514 +97119,1053 @@ func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []by return nil } -// GoogleAdWordsObjectDataset google AdWords service dataset. -type GoogleAdWordsObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// GenericDatasetTypeProperties properties specific to this dataset type. +type GenericDatasetTypeProperties struct { + // TableName - The table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// GetDataFactoryOperationStatusResponse response body structure for get data factory operation status. +type GetDataFactoryOperationStatusResponse struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` + // Status - Status of the operation. + Status *string `json:"status,omitempty"` +} + +// MarshalJSON is the custom marshaler for GetDataFactoryOperationStatusResponse. +func (gdfosr GetDataFactoryOperationStatusResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if gdfosr.Status != nil { + objectMap["status"] = gdfosr.Status + } + for k, v := range gdfosr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for GetDataFactoryOperationStatusResponse struct. +func (gdfosr *GetDataFactoryOperationStatusResponse) UnmarshalJSON(body []byte) 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 gdfosr.AdditionalProperties == nil { + gdfosr.AdditionalProperties = make(map[string]interface{}) + } + gdfosr.AdditionalProperties[k] = additionalProperties + } + case "status": + if v != nil { + var status string + err = json.Unmarshal(*v, &status) + if err != nil { + return err + } + gdfosr.Status = &status + } + } + } + + return nil +} + +// GetMetadataActivity activity to get metadata of dataset +type GetMetadataActivity struct { + // GetMetadataActivityTypeProperties - GetMetadata activity properties. + *GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"` // LinkedServiceName - Linked service reference. LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) { - gawod.Type = TypeGoogleAdWordsObject +// MarshalJSON is the custom marshaler for GetMetadataActivity. +func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { + gma.Type = TypeGetMetadata objectMap := make(map[string]interface{}) - if gawod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties - } - if gawod.Description != nil { - objectMap["description"] = gawod.Description + if gma.GetMetadataActivityTypeProperties != nil { + objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties } - if gawod.Structure != nil { - objectMap["structure"] = gawod.Structure + if gma.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gma.LinkedServiceName } - if gawod.Schema != nil { - objectMap["schema"] = gawod.Schema + if gma.Policy != nil { + objectMap["policy"] = gma.Policy } - if gawod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gawod.LinkedServiceName + if gma.Name != nil { + objectMap["name"] = gma.Name } - if gawod.Parameters != nil { - objectMap["parameters"] = gawod.Parameters + if gma.Description != nil { + objectMap["description"] = gma.Description } - if gawod.Annotations != nil { - objectMap["annotations"] = gawod.Annotations + if gma.DependsOn != nil { + objectMap["dependsOn"] = gma.DependsOn } - if gawod.Folder != nil { - objectMap["folder"] = gawod.Folder + if gma.UserProperties != nil { + objectMap["userProperties"] = gma.UserProperties } - if gawod.Type != "" { - objectMap["type"] = gawod.Type + if gma.Type != "" { + objectMap["type"] = gma.Type } - for k, v := range gawod.AdditionalProperties { + for k, v := range gma.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return &gawod, true +// AsExecuteDataFlowActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { + return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false +// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return &gma, true } -// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsWebActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &gma, true } -// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSwitchActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { + return &gma, true } -// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct. +func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties + err = json.Unmarshal(*v, &getMetadataActivityTypeProperties) + if err != nil { + return err + } + gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + gma.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + gma.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if gma.AdditionalProperties == nil { + gma.AdditionalProperties = make(map[string]interface{}) + } + gma.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + gma.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + gma.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + gma.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + gma.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + gma.Type = typeVar + } + } + } + + return nil } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false +// GetMetadataActivityTypeProperties getMetadata activity properties. +type GetMetadataActivityTypeProperties struct { + // Dataset - GetMetadata activity dataset reference. + Dataset *DatasetReference `json:"dataset,omitempty"` + // FieldList - Fields of metadata to get from dataset. + FieldList *[]interface{} `json:"fieldList,omitempty"` + // StoreSettings - GetMetadata activity store settings. + StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // FormatSettings - GetMetadata activity format settings. + FormatSettings BasicFormatReadSettings `json:"formatSettings,omitempty"` } -// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for GetMetadataActivityTypeProperties struct. +func (gmatp *GetMetadataActivityTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "dataset": + if v != nil { + var dataset DatasetReference + err = json.Unmarshal(*v, &dataset) + if err != nil { + return err + } + gmatp.Dataset = &dataset + } + case "fieldList": + if v != nil { + var fieldList []interface{} + err = json.Unmarshal(*v, &fieldList) + if err != nil { + return err + } + gmatp.FieldList = &fieldList + } + case "storeSettings": + if v != nil { + storeSettings, err := unmarshalBasicStoreReadSettings(*v) + if err != nil { + return err + } + gmatp.StoreSettings = storeSettings + } + case "formatSettings": + if v != nil { + formatSettings, err := unmarshalBasicFormatReadSettings(*v) + if err != nil { + return err + } + gmatp.FormatSettings = formatSettings + } + } + } + + return nil } -// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false +// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata. +type GetSsisObjectMetadataRequest struct { + // MetadataPath - Metadata path. + MetadataPath *string `json:"metadataPath,omitempty"` } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false +// GitHubAccessTokenRequest get GitHub access token request definition. +type GitHubAccessTokenRequest struct { + // GitHubAccessCode - GitHub access code. + GitHubAccessCode *string `json:"gitHubAccessCode,omitempty"` + // GitHubClientID - GitHub application client ID. + GitHubClientID *string `json:"gitHubClientId,omitempty"` + // GitHubAccessTokenBaseURL - GitHub access token base URL. + GitHubAccessTokenBaseURL *string `json:"gitHubAccessTokenBaseUrl,omitempty"` } -// AsSapBwCubeDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { - return nil, false +// GitHubAccessTokenResponse get GitHub access token response definition. +type GitHubAccessTokenResponse struct { + autorest.Response `json:"-"` + // GitHubAccessToken - GitHub access token. + GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"` } -// AsSybaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { - return nil, false +// GlobalParameterSpecification definition of a single parameter for an entity. +type GlobalParameterSpecification struct { + // Type - Global Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' + Type GlobalParameterType `json:"type,omitempty"` + // Value - Value of parameter. + Value interface{} `json:"value,omitempty"` } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false +// GoogleAdWordsLinkedService google AdWords service linked service. +type GoogleAdWordsLinkedService struct { + // GoogleAdWordsLinkedServiceTypeProperties - Google AdWords service linked service properties. + *GoogleAdWordsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) { + gawls.Type = TypeGoogleAdWords + objectMap := make(map[string]interface{}) + if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties + } + if gawls.ConnectVia != nil { + objectMap["connectVia"] = gawls.ConnectVia + } + if gawls.Description != nil { + objectMap["description"] = gawls.Description + } + if gawls.Parameters != nil { + objectMap["parameters"] = gawls.Parameters + } + if gawls.Annotations != nil { + objectMap["annotations"] = gawls.Annotations + } + if gawls.Type != "" { + objectMap["type"] = gawls.Type + } + for k, v := range gawls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return &gawls, true } -// AsDb2TableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &gawod, true +// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct. -func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { + return nil, false +} + +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &gawls, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct. +func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -94499,12 +98175,12 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) if err != nil { return err } - gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties } default: if v != nil { @@ -94513,10 +98189,19 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gawod.AdditionalProperties == nil { - gawod.AdditionalProperties = make(map[string]interface{}) + if gawls.AdditionalProperties == nil { + gawls.AdditionalProperties = make(map[string]interface{}) } - gawod.AdditionalProperties[k] = additionalProperties + gawls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + gawls.ConnectVia = &connectVia } case "description": if v != nil { @@ -94525,70 +98210,171 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawod.Description = &description + gawls.Description = &description } - case "structure": + case "parameters": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - gawod.Structure = structure + gawls.Parameters = parameters } - case "schema": + case "annotations": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - gawod.Schema = schema + gawls.Annotations = &annotations } - case "linkedServiceName": + case "type": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gawod.LinkedServiceName = &linkedServiceName + gawls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// GoogleAdWordsLinkedServiceTypeProperties google AdWords service linked service properties. +type GoogleAdWordsLinkedServiceTypeProperties struct { + // ClientCustomerID - The Client customer ID of the AdWords account that you want to fetch report data for. + ClientCustomerID interface{} `json:"clientCustomerID,omitempty"` + // DeveloperToken - The developer token associated with the manager account that you use to grant access to the AdWords API. + DeveloperToken BasicSecretBase `json:"developerToken,omitempty"` + // AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication' + AuthenticationType GoogleAdWordsAuthenticationType `json:"authenticationType,omitempty"` + // RefreshToken - The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. + RefreshToken BasicSecretBase `json:"refreshToken,omitempty"` + // ClientID - The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret of the google application used to acquire the refresh token. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. + Email interface{} `json:"email,omitempty"` + // KeyFilePath - The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. + KeyFilePath interface{} `json:"keyFilePath,omitempty"` + // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedServiceTypeProperties struct. +func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "clientCustomerID": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var clientCustomerID interface{} + err = json.Unmarshal(*v, &clientCustomerID) if err != nil { return err } - gawod.Parameters = parameters + gawlstp.ClientCustomerID = clientCustomerID } - case "annotations": + case "developerToken": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + developerToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - gawod.Annotations = &annotations + gawlstp.DeveloperToken = developerToken } - case "folder": + case "authenticationType": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var authenticationType GoogleAdWordsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - gawod.Folder = &folder + gawlstp.AuthenticationType = authenticationType } - case "type": + case "refreshToken": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + refreshToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - gawod.Type = typeVar + gawlstp.RefreshToken = refreshToken + } + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err + } + gawlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gawlstp.ClientSecret = clientSecret + } + case "email": + if v != nil { + var email interface{} + err = json.Unmarshal(*v, &email) + if err != nil { + return err + } + gawlstp.Email = email + } + case "keyFilePath": + if v != nil { + var keyFilePath interface{} + err = json.Unmarshal(*v, &keyFilePath) + if err != nil { + return err + } + gawlstp.KeyFilePath = keyFilePath + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + gawlstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + gawlstp.UseSystemTrustStore = useSystemTrustStore + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + gawlstp.EncryptedCredential = encryptedCredential } } } @@ -94596,509 +98382,534 @@ func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// GoogleAdWordsSource a copy activity Google AdWords service source. -type GoogleAdWordsSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // 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"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// GoogleAdWordsObjectDataset google AdWords service dataset. +type GoogleAdWordsObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { - gaws.Type = TypeGoogleAdWordsSource +// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) { + gawod.Type = TypeGoogleAdWordsObject objectMap := make(map[string]interface{}) - if gaws.Query != nil { - objectMap["query"] = gaws.Query + if gawod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties } - if gaws.QueryTimeout != nil { - objectMap["queryTimeout"] = gaws.QueryTimeout + if gawod.Description != nil { + objectMap["description"] = gawod.Description } - if gaws.AdditionalColumns != nil { - objectMap["additionalColumns"] = gaws.AdditionalColumns + if gawod.Structure != nil { + objectMap["structure"] = gawod.Structure } - if gaws.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gaws.SourceRetryCount + if gawod.Schema != nil { + objectMap["schema"] = gawod.Schema } - if gaws.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gaws.SourceRetryWait + if gawod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gawod.LinkedServiceName } - if gaws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections + if gawod.Parameters != nil { + objectMap["parameters"] = gawod.Parameters } - if gaws.Type != "" { - objectMap["type"] = gaws.Type + if gawod.Annotations != nil { + objectMap["annotations"] = gawod.Annotations } - for k, v := range gaws.AdditionalProperties { + if gawod.Folder != nil { + objectMap["folder"] = gawod.Folder + } + if gawod.Type != "" { + objectMap["type"] = gawod.Type + } + for k, v := range gawod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return &gawod, true +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return &gaws, true +// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapBwSource() (*SapBwSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &gaws, true +// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) { +// AsOrcDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOrcSource() (*OrcSource, bool) { +// AsXMLDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsJSONSource() (*JSONSource, bool) { +// AsJSONDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) { +// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAvroSource() (*AvroSource, bool) { +// AsExcelDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) { +// AsAvroDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &gaws, true +// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct. -func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { +// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &gawod, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct. +func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -95106,75 +98917,704 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - gaws.Query = query + gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } - case "queryTimeout": + default: if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - gaws.QueryTimeout = queryTimeout + if gawod.AdditionalProperties == nil { + gawod.AdditionalProperties = make(map[string]interface{}) + } + gawod.AdditionalProperties[k] = additionalProperties } - case "additionalColumns": + case "description": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - gaws.AdditionalColumns = &additionalColumns + gawod.Description = &description } - default: + case "structure": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - if gaws.AdditionalProperties == nil { - gaws.AdditionalProperties = make(map[string]interface{}) - } - gaws.AdditionalProperties[k] = additionalProperties + gawod.Structure = structure } - case "sourceRetryCount": + case "schema": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - gaws.SourceRetryCount = sourceRetryCount + gawod.Schema = schema } - case "sourceRetryWait": + case "linkedServiceName": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - gaws.SourceRetryWait = sourceRetryWait + gawod.LinkedServiceName = &linkedServiceName } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - gaws.MaxConcurrentConnections = maxConcurrentConnections + gawod.Parameters = parameters } - case "type": + case "annotations": if v != nil { - var typeVar TypeBasicCopySource + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + gawod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + gawod.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + gawod.Type = typeVar + } + } + } + + return nil +} + +// GoogleAdWordsSource a copy activity Google AdWords service source. +type GoogleAdWordsSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // 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"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { + gaws.Type = TypeGoogleAdWordsSource + objectMap := make(map[string]interface{}) + if gaws.Query != nil { + objectMap["query"] = gaws.Query + } + if gaws.QueryTimeout != nil { + objectMap["queryTimeout"] = gaws.QueryTimeout + } + if gaws.AdditionalColumns != nil { + objectMap["additionalColumns"] = gaws.AdditionalColumns + } + if gaws.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gaws.SourceRetryCount + } + if gaws.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gaws.SourceRetryWait + } + if gaws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections + } + if gaws.Type != "" { + objectMap["type"] = gaws.Type + } + for k, v := range gaws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return &gaws, true +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &gaws, true +} + +// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsOrcSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOrcSource() (*OrcSource, bool) { + return nil, false +} + +// AsXMLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsExcelSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &gaws, true +} + +// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct. +func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + gaws.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + gaws.QueryTimeout = queryTimeout + } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + gaws.AdditionalColumns = &additionalColumns + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if gaws.AdditionalProperties == nil { + gaws.AdditionalProperties = make(map[string]interface{}) + } + gaws.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + gaws.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + gaws.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + gaws.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err @@ -95211,7 +99651,7 @@ type GoogleBigQueryLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -95243,6 +99683,16 @@ func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -95973,7 +100423,7 @@ type GoogleBigQueryObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -96014,6 +100464,16 @@ func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -96424,6 +100884,11 @@ func (gbqod GoogleBigQueryObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. func (gbqod GoogleBigQueryObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -96439,6 +100904,11 @@ func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bo return nil, false } +// AsExcelDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. func (gbqod GoogleBigQueryObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -96583,7 +101053,7 @@ type GoogleBigQuerySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -96618,6 +101088,16 @@ func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource. func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -97038,6 +101518,11 @@ func (gbqs GoogleBigQuerySource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for GoogleBigQuerySource. func (gbqs GoogleBigQuerySource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -97053,6 +101538,11 @@ func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for GoogleBigQuerySource. func (gbqs GoogleBigQuerySource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -97172,7 +101662,7 @@ type GoogleCloudStorageLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -97204,6 +101694,16 @@ func (gcsls GoogleCloudStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for GoogleCloudStorageLinkedService. +func (gcsls GoogleCloudStorageLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for GoogleCloudStorageLinkedService. +func (gcsls GoogleCloudStorageLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleCloudStorageLinkedService. func (gcsls GoogleCloudStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -98019,6 +102519,10 @@ type GoogleCloudStorageReadSettings struct { FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -98053,6 +102557,12 @@ func (gcsrs GoogleCloudStorageReadSettings) MarshalJSON() ([]byte, error) { if gcsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = gcsrs.EnablePartitionDiscovery } + if gcsrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = gcsrs.PartitionRootPath + } + if gcsrs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = gcsrs.DeleteFilesAfterCompletion + } if gcsrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = gcsrs.ModifiedDatetimeStart } @@ -98199,6 +102709,24 @@ func (gcsrs *GoogleCloudStorageReadSettings) UnmarshalJSON(body []byte) error { } gcsrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + gcsrs.PartitionRootPath = partitionRootPath + } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + gcsrs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -98277,7 +102805,7 @@ type GreenplumLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -98309,6 +102837,16 @@ func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -98896,7 +103434,7 @@ type GreenplumSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -98931,6 +103469,16 @@ func (gs GreenplumSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for GreenplumSource. func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -99351,6 +103899,11 @@ func (gs GreenplumSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for GreenplumSource. func (gs GreenplumSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -99366,6 +103919,11 @@ func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for GreenplumSource. func (gs GreenplumSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -99491,7 +104049,7 @@ type GreenplumTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -99532,6 +104090,16 @@ func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset. func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -99942,6 +104510,11 @@ func (gtd GreenplumTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for GreenplumTableDataset. func (gtd GreenplumTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -99957,6 +104530,11 @@ func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for GreenplumTableDataset. func (gtd GreenplumTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -100099,7 +104677,7 @@ type HBaseLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -100131,6 +104709,16 @@ func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService. func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -100851,7 +105439,7 @@ type HBaseObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -100892,6 +105480,16 @@ func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset. func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -101302,6 +105900,11 @@ func (hbod HBaseObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for HBaseObjectDataset. func (hbod HBaseObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -101317,6 +105920,11 @@ func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for HBaseObjectDataset. func (hbod HBaseObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -101461,7 +106069,7 @@ type HBaseSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -101496,6 +106104,16 @@ func (hbs HBaseSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for HBaseSource. func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -101916,6 +106534,11 @@ func (hbs HBaseSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for HBaseSource. func (hbs HBaseSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -101931,6 +106554,11 @@ func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for HBaseSource. func (hbs HBaseSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -102050,7 +106678,7 @@ type HdfsLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -102082,6 +106710,16 @@ func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService. func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -102878,6 +107516,8 @@ type HdfsReadSettings struct { FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -102911,6 +107551,9 @@ func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { if hrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery } + if hrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = hrs.PartitionRootPath + } if hrs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart } @@ -103051,6 +107694,15 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { } hrs.EnablePartitionDiscovery = &enablePartitionDiscovery } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + hrs.PartitionRootPath = partitionRootPath + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -103128,7 +107780,7 @@ type HdfsSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -103160,6 +107812,16 @@ func (hs HdfsSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for HdfsSource. func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -103580,6 +108242,11 @@ func (hs HdfsSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for HdfsSource. func (hs HdfsSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -103595,6 +108262,11 @@ func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for HdfsSource. func (hs HdfsSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -104110,7 +108782,7 @@ type HDInsightLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -104142,6 +108814,16 @@ func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -105228,7 +109910,7 @@ type HDInsightOnDemandLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -105260,6 +109942,16 @@ func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -107449,7 +112141,7 @@ type HiveLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -107481,6 +112173,16 @@ func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService. func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -108267,7 +112969,7 @@ type HiveObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -108308,6 +113010,16 @@ func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset. func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -108718,6 +113430,11 @@ func (hod HiveObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for HiveObjectDataset. func (hod HiveObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -108733,6 +113450,11 @@ func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for HiveObjectDataset. func (hod HiveObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -108877,7 +113599,7 @@ type HiveSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -108912,6 +113634,16 @@ func (hs HiveSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for HiveSource. func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -109332,6 +114064,11 @@ func (hs HiveSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for HiveSource. func (hs HiveSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -109347,6 +114084,11 @@ func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for HiveSource. func (hs HiveSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -109472,7 +114214,7 @@ type HTTPDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -109513,6 +114255,16 @@ func (hd HTTPDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset. func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -109923,6 +114675,11 @@ func (hd HTTPDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for HTTPDataset. func (hd HTTPDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -109938,6 +114695,11 @@ func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for HTTPDataset. func (hd HTTPDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -110165,7 +114927,7 @@ type HTTPLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -110197,6 +114959,16 @@ func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService. func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -110874,6 +115646,10 @@ type HTTPReadSettings struct { AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` // RequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. RequestTimeout interface{} `json:"requestTimeout,omitempty"` + // EnablePartitionDiscovery - Indicates whether to enable partition discovery. + EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). @@ -110898,6 +115674,12 @@ func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) { if hrs.RequestTimeout != nil { objectMap["requestTimeout"] = hrs.RequestTimeout } + if hrs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery + } + if hrs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = hrs.PartitionRootPath + } if hrs.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections } @@ -111020,6 +115802,24 @@ func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { } hrs.RequestTimeout = requestTimeout } + case "enablePartitionDiscovery": + if v != nil { + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) + if err != nil { + return err + } + hrs.EnablePartitionDiscovery = &enablePartitionDiscovery + } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + hrs.PartitionRootPath = partitionRootPath + } default: if v != nil { var additionalProperties interface{} @@ -111232,7 +116032,7 @@ type HTTPSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -111261,6 +116061,16 @@ func (hs HTTPSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for HTTPSource. func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) { return &hs, true @@ -111681,6 +116491,11 @@ func (hs HTTPSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for HTTPSource. func (hs HTTPSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -111696,6 +116511,11 @@ func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for HTTPSource. func (hs HTTPSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -111797,7 +116617,7 @@ type HubspotLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -111829,6 +116649,16 @@ func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService. func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -112514,7 +117344,7 @@ type HubspotObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -112555,6 +117385,16 @@ func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset. func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -112965,6 +117805,11 @@ func (hod HubspotObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for HubspotObjectDataset. func (hod HubspotObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -112980,6 +117825,11 @@ func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for HubspotObjectDataset. func (hod HubspotObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -113124,7 +117974,7 @@ type HubspotSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -113159,6 +118009,16 @@ func (hs HubspotSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for HubspotSource. func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -113579,6 +118439,11 @@ func (hs HubspotSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for HubspotSource. func (hs HubspotSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -113594,6 +118459,11 @@ func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for HubspotSource. func (hs HubspotSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -114102,7 +118972,7 @@ type ImpalaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -114134,6 +119004,16 @@ func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. func (ils ImpalaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -114854,7 +119734,7 @@ type ImpalaObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -114895,6 +119775,16 @@ func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. func (iod ImpalaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -115305,6 +120195,11 @@ func (iod ImpalaObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ImpalaObjectDataset. func (iod ImpalaObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -115320,6 +120215,11 @@ func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ImpalaObjectDataset. func (iod ImpalaObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -115464,7 +120364,7 @@ type ImpalaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -115499,6 +120399,16 @@ func (is ImpalaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ImpalaSource. func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -115919,6 +120829,11 @@ func (is ImpalaSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ImpalaSource. func (is ImpalaSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -115934,6 +120849,11 @@ func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ImpalaSource. func (is ImpalaSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -116039,6 +120959,121 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { return nil } +// BasicImportSettings import command settings. +type BasicImportSettings interface { + AsSnowflakeImportCopyCommand() (*SnowflakeImportCopyCommand, bool) + AsImportSettings() (*ImportSettings, bool) +} + +// ImportSettings import command settings. +type ImportSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeImportSettings', 'TypeSnowflakeImportCopyCommand' + Type TypeBasicImportSettings `json:"type,omitempty"` +} + +func unmarshalBasicImportSettings(body []byte) (BasicImportSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeSnowflakeImportCopyCommand): + var sicc SnowflakeImportCopyCommand + err := json.Unmarshal(body, &sicc) + return sicc, err + default: + var is ImportSettings + err := json.Unmarshal(body, &is) + return is, err + } +} +func unmarshalBasicImportSettingsArray(body []byte) ([]BasicImportSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + isArray := make([]BasicImportSettings, len(rawMessages)) + + for index, rawMessage := range rawMessages { + is, err := unmarshalBasicImportSettings(*rawMessage) + if err != nil { + return nil, err + } + isArray[index] = is + } + return isArray, nil +} + +// MarshalJSON is the custom marshaler for ImportSettings. +func (is ImportSettings) MarshalJSON() ([]byte, error) { + is.Type = TypeImportSettings + objectMap := make(map[string]interface{}) + if is.Type != "" { + objectMap["type"] = is.Type + } + for k, v := range is.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSnowflakeImportCopyCommand is the BasicImportSettings implementation for ImportSettings. +func (is ImportSettings) AsSnowflakeImportCopyCommand() (*SnowflakeImportCopyCommand, bool) { + return nil, false +} + +// AsImportSettings is the BasicImportSettings implementation for ImportSettings. +func (is ImportSettings) AsImportSettings() (*ImportSettings, bool) { + return &is, true +} + +// AsBasicImportSettings is the BasicImportSettings implementation for ImportSettings. +func (is ImportSettings) AsBasicImportSettings() (BasicImportSettings, bool) { + return &is, true +} + +// UnmarshalJSON is the custom unmarshaler for ImportSettings struct. +func (is *ImportSettings) UnmarshalJSON(body []byte) 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 is.AdditionalProperties == nil { + is.AdditionalProperties = make(map[string]interface{}) + } + is.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicImportSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + is.Type = typeVar + } + } + } + + return nil +} + // InformixLinkedService informix linked service. type InformixLinkedService struct { // InformixLinkedServiceTypeProperties - Informix linked service properties. @@ -116053,7 +121088,7 @@ type InformixLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -116085,6 +121120,16 @@ func (ils InformixLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for InformixLinkedService. func (ils InformixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -116745,7 +121790,7 @@ type InformixSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -116850,6 +121895,11 @@ func (is InformixSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for InformixSink. func (is InformixSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -116935,6 +121985,11 @@ func (is InformixSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for InformixSink. func (is InformixSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -117066,7 +122121,7 @@ type InformixSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -117101,6 +122156,16 @@ func (is InformixSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for InformixSource. func (is InformixSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -117521,6 +122586,11 @@ func (is InformixSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for InformixSource. func (is InformixSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -117536,6 +122606,11 @@ func (is InformixSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for InformixSource. func (is InformixSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -117661,7 +122736,7 @@ type InformixTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -117702,6 +122777,16 @@ func (itd InformixTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for InformixTableDataset. func (itd InformixTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -118112,6 +123197,11 @@ func (itd InformixTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for InformixTableDataset. func (itd InformixTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -118127,6 +123217,11 @@ func (itd InformixTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for InformixTableDataset. func (itd InformixTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -119329,6 +124424,8 @@ type IntegrationRuntimeSsisProperties struct { Edition IntegrationRuntimeEdition `json:"edition,omitempty"` // ExpressCustomSetupProperties - Custom setup without script properties for a SSIS integration runtime. ExpressCustomSetupProperties *[]BasicCustomSetupBase `json:"expressCustomSetupProperties,omitempty"` + // PackageStores - Package stores for the SSIS Integration Runtime. + PackageStores *[]PackageStore `json:"packageStores,omitempty"` } // MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties. @@ -119352,6 +124449,9 @@ func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) { if irsp.ExpressCustomSetupProperties != nil { objectMap["expressCustomSetupProperties"] = irsp.ExpressCustomSetupProperties } + if irsp.PackageStores != nil { + objectMap["packageStores"] = irsp.PackageStores + } for k, v := range irsp.AdditionalProperties { objectMap[k] = v } @@ -119432,6 +124532,15 @@ func (irsp *IntegrationRuntimeSsisProperties) UnmarshalJSON(body []byte) error { } irsp.ExpressCustomSetupProperties = &expressCustomSetupProperties } + case "packageStores": + if v != nil { + var packageStores []PackageStore + err = json.Unmarshal(*v, &packageStores) + if err != nil { + return err + } + irsp.PackageStores = &packageStores + } } } @@ -119784,7 +124893,7 @@ type JiraLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -119816,6 +124925,16 @@ func (jls JiraLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for JiraLinkedService. func (jls JiraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -120503,7 +125622,7 @@ type JiraObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -120544,6 +125663,16 @@ func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JiraObjectDataset. func (jod JiraObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -120954,6 +126083,11 @@ func (jod JiraObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for JiraObjectDataset. func (jod JiraObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -120969,6 +126103,11 @@ func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for JiraObjectDataset. func (jod JiraObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -121113,7 +126252,7 @@ type JiraSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -121148,6 +126287,16 @@ func (js JiraSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for JiraSource. func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -121568,6 +126717,11 @@ func (js JiraSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for JiraSource. func (js JiraSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -121583,6 +126737,11 @@ func (js JiraSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for JiraSource. func (js JiraSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -121708,7 +126867,7 @@ type JSONDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -121749,6 +126908,16 @@ func (jd JSONDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JSONDataset. func (jd JSONDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -122159,6 +127328,11 @@ func (jd JSONDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for JSONDataset. func (jd JSONDataset) AsJSONDataset() (*JSONDataset, bool) { return &jd, true @@ -122174,6 +127348,11 @@ func (jd JSONDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for JSONDataset. func (jd JSONDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -122542,6 +127721,104 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error { return nil } +// JSONReadSettings json read settings. +type JSONReadSettings struct { + // CompressionProperties - Compression settings. + CompressionProperties BasicCompressionReadSettings `json:"compressionProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeFormatReadSettings', 'TypeBinaryReadSettings', 'TypeXMLReadSettings', 'TypeJSONReadSettings', 'TypeDelimitedTextReadSettings' + Type TypeBasicFormatReadSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for JSONReadSettings. +func (jrs JSONReadSettings) MarshalJSON() ([]byte, error) { + jrs.Type = TypeJSONReadSettings + objectMap := make(map[string]interface{}) + objectMap["compressionProperties"] = jrs.CompressionProperties + if jrs.Type != "" { + objectMap["type"] = jrs.Type + } + for k, v := range jrs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsBinaryReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsBinaryReadSettings() (*BinaryReadSettings, bool) { + return nil, false +} + +// AsXMLReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsXMLReadSettings() (*XMLReadSettings, bool) { + return nil, false +} + +// AsJSONReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsJSONReadSettings() (*JSONReadSettings, bool) { + return &jrs, true +} + +// AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { + return nil, false +} + +// AsFormatReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsFormatReadSettings() (*FormatReadSettings, bool) { + return nil, false +} + +// AsBasicFormatReadSettings is the BasicFormatReadSettings implementation for JSONReadSettings. +func (jrs JSONReadSettings) AsBasicFormatReadSettings() (BasicFormatReadSettings, bool) { + return &jrs, true +} + +// UnmarshalJSON is the custom unmarshaler for JSONReadSettings struct. +func (jrs *JSONReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "compressionProperties": + if v != nil { + compressionProperties, err := unmarshalBasicCompressionReadSettings(*v) + if err != nil { + return err + } + jrs.CompressionProperties = compressionProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if jrs.AdditionalProperties == nil { + jrs.AdditionalProperties = make(map[string]interface{}) + } + jrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicFormatReadSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + jrs.Type = typeVar + } + } + } + + return nil +} + // JSONSink a copy activity Json sink. type JSONSink struct { // StoreSettings - Json store settings. @@ -122560,7 +127837,7 @@ type JSONSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -122666,6 +127943,11 @@ func (js JSONSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for JSONSink. func (js JSONSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -122751,6 +128033,11 @@ func (js JSONSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for JSONSink. func (js JSONSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -122878,6 +128165,8 @@ func (js *JSONSink) UnmarshalJSON(body []byte) error { type JSONSource struct { // StoreSettings - Json store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // FormatSettings - Json format settings. + FormatSettings *JSONReadSettings `json:"formatSettings,omitempty"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -122888,7 +128177,7 @@ type JSONSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -122897,6 +128186,9 @@ func (js JSONSource) MarshalJSON() ([]byte, error) { js.Type = TypeJSONSource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = js.StoreSettings + if js.FormatSettings != nil { + objectMap["formatSettings"] = js.FormatSettings + } if js.AdditionalColumns != nil { objectMap["additionalColumns"] = js.AdditionalColumns } @@ -122918,6 +128210,16 @@ func (js JSONSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for JSONSource. func (js JSONSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -123338,6 +128640,11 @@ func (js JSONSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for JSONSource. func (js JSONSource) AsJSONSource() (*JSONSource, bool) { return &js, true @@ -123353,6 +128660,11 @@ func (js JSONSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for JSONSource. func (js JSONSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -123385,6 +128697,15 @@ func (js *JSONSource) UnmarshalJSON(body []byte) error { } js.StoreSettings = storeSettings } + case "formatSettings": + if v != nil { + var formatSettings JSONReadSettings + err = json.Unmarshal(*v, &formatSettings) + if err != nil { + return err + } + js.FormatSettings = &formatSettings + } case "additionalColumns": if v != nil { var additionalColumns []AdditionalColumns @@ -123774,6 +129095,8 @@ func (lirt LinkedIntegrationRuntimeType) AsBasicLinkedIntegrationRuntimeType() ( // 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 { + AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) + AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) AsSapTableLinkedService() (*SapTableLinkedService, bool) @@ -123884,7 +129207,7 @@ type LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -123896,6 +129219,14 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { } switch m["type"] { + case string(TypeSharePointOnlineList): + var spolls SharePointOnlineListLinkedService + err := json.Unmarshal(body, &spolls) + return spolls, err + case string(TypeSnowflake): + var sls SnowflakeLinkedService + err := json.Unmarshal(body, &sls) + return sls, err case string(TypeAzureFunction): var afls AzureFunctionLinkedService err := json.Unmarshal(body, &afls) @@ -124322,6 +129653,16 @@ func (ls LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for LinkedService. func (ls LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -125649,7 +130990,7 @@ type MagentoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -125681,6 +131022,16 @@ func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MagentoLinkedService. func (mls MagentoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -126346,7 +131697,7 @@ type MagentoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -126387,6 +131738,16 @@ func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -126797,6 +132158,11 @@ func (mod MagentoObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -126812,6 +132178,11 @@ func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -126956,7 +132327,7 @@ type MagentoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -126991,6 +132362,16 @@ func (ms MagentoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -127411,6 +132792,11 @@ func (ms MagentoSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -127426,6 +132812,11 @@ func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -127956,7 +133347,7 @@ type MariaDBLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -127988,6 +133379,16 @@ func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. func (mdls MariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -128575,7 +133976,7 @@ type MariaDBSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -128610,6 +134011,16 @@ func (mds MariaDBSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -129030,6 +134441,11 @@ func (mds MariaDBSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -129045,6 +134461,11 @@ func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -129170,7 +134591,7 @@ type MariaDBTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -129211,6 +134632,16 @@ func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -129621,6 +135052,11 @@ func (mdtd MariaDBTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -129636,6 +135072,11 @@ func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -129778,7 +135219,7 @@ type MarketoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -129810,6 +135251,16 @@ func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MarketoLinkedService. func (mls MarketoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -130486,7 +135937,7 @@ type MarketoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -130527,6 +135978,16 @@ func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -130937,6 +136398,11 @@ func (mod MarketoObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -130952,6 +136418,11 @@ func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -131096,7 +136567,7 @@ type MarketoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -131131,6 +136602,16 @@ func (ms MarketoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -131551,6 +137032,11 @@ func (ms MarketoSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -131566,6 +137052,11 @@ func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -131685,7 +137176,7 @@ type MicrosoftAccessLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -131717,6 +137208,16 @@ func (mals MicrosoftAccessLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. func (mals MicrosoftAccessLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -132377,7 +137878,7 @@ type MicrosoftAccessSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -132482,6 +137983,11 @@ func (mas MicrosoftAccessSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for MicrosoftAccessSink. func (mas MicrosoftAccessSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -132567,6 +138073,11 @@ func (mas MicrosoftAccessSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bo return nil, false } +// AsRestSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for MicrosoftAccessSink. func (mas MicrosoftAccessSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -132696,7 +138207,7 @@ type MicrosoftAccessSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -132728,6 +138239,16 @@ func (mas MicrosoftAccessSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -133148,6 +138669,11 @@ func (mas MicrosoftAccessSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -133163,6 +138689,11 @@ func (mas MicrosoftAccessSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -133279,7 +138810,7 @@ type MicrosoftAccessTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -133320,6 +138851,16 @@ func (matd MicrosoftAccessTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -133730,6 +139271,11 @@ func (matd MicrosoftAccessTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -133745,6 +139291,11 @@ func (matd MicrosoftAccessTableDataset) AsParquetDataset() (*ParquetDataset, boo return nil, false } +// AsExcelDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -133899,7 +139450,7 @@ type MongoDbCollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -133940,6 +139491,16 @@ func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -134350,6 +139911,11 @@ func (mdcd MongoDbCollectionDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -134365,6 +139931,11 @@ func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) return nil, false } +// AsExcelDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -134611,7 +140182,7 @@ type MongoDbLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -134643,6 +140214,16 @@ func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. func (mdls MongoDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -135346,7 +140927,7 @@ type MongoDbSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -135378,6 +140959,16 @@ func (mds MongoDbSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -135798,6 +141389,11 @@ func (mds MongoDbSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -135813,6 +141409,11 @@ func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -135929,7 +141530,7 @@ type MongoDbV2CollectionDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -135970,6 +141571,16 @@ func (mdvcd MongoDbV2CollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -136380,6 +141991,11 @@ func (mdvcd MongoDbV2CollectionDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -136395,6 +142011,11 @@ func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, boo return nil, false } +// AsExcelDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -136543,7 +142164,7 @@ type MongoDbV2LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -136575,6 +142196,16 @@ func (mdvls MongoDbV2LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. func (mdvls MongoDbV2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -137164,7 +142795,7 @@ type MongoDbV2Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -137205,6 +142836,16 @@ func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -137625,6 +143266,11 @@ func (mdvs MongoDbV2Source) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -137640,6 +143286,11 @@ func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -137990,7 +143641,7 @@ type MySQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -138022,6 +143673,16 @@ func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for MySQLLinkedService. func (msls MySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -138609,7 +144270,7 @@ type MySQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -138644,6 +144305,16 @@ func (mss MySQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -139064,6 +144735,11 @@ func (mss MySQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -139079,6 +144755,11 @@ func (mss MySQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -139204,7 +144885,7 @@ type MySQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -139245,6 +144926,16 @@ func (mstd MySQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -139655,6 +145346,11 @@ func (mstd MySQLTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -139670,6 +145366,11 @@ func (mstd MySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -139818,7 +145519,7 @@ type NetezzaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -139850,6 +145551,16 @@ func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. func (nls NetezzaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -140451,7 +146162,7 @@ type NetezzaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -140492,6 +146203,16 @@ func (ns NetezzaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -140912,6 +146633,11 @@ func (ns NetezzaSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -140927,6 +146653,11 @@ func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -141070,7 +146801,7 @@ type NetezzaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -141111,6 +146842,16 @@ func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -141521,6 +147262,11 @@ func (ntd NetezzaTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -141536,6 +147282,11 @@ func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -141688,7 +147439,7 @@ type ODataLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -141720,6 +147471,16 @@ func (odls ODataLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ODataLinkedService. func (odls ODataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -142448,7 +148209,7 @@ type ODataResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -142489,6 +148250,16 @@ func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -142899,6 +148670,11 @@ func (odrd ODataResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -142914,6 +148690,11 @@ func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -143052,6 +148833,8 @@ type ODataResourceDatasetTypeProperties struct { type ODataSource struct { // Query - OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -143062,7 +148845,7 @@ type ODataSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -143073,6 +148856,9 @@ func (ods ODataSource) MarshalJSON() ([]byte, error) { if ods.Query != nil { objectMap["query"] = ods.Query } + if ods.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = ods.HTTPRequestTimeout + } if ods.AdditionalColumns != nil { objectMap["additionalColumns"] = ods.AdditionalColumns } @@ -143094,6 +148880,16 @@ func (ods ODataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -143514,6 +149310,11 @@ func (ods ODataSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -143529,6 +149330,11 @@ func (ods ODataSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -143562,6 +149368,15 @@ func (ods *ODataSource) UnmarshalJSON(body []byte) error { } ods.Query = query } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + ods.HTTPRequestTimeout = HTTPRequestTimeout + } case "additionalColumns": if v != nil { var additionalColumns []AdditionalColumns @@ -143639,7 +149454,7 @@ type OdbcLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -143671,6 +149486,16 @@ func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for OdbcLinkedService. func (ols OdbcLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -144331,7 +150156,7 @@ type OdbcSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -144436,6 +150261,11 @@ func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for OdbcSink. func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -144521,6 +150351,11 @@ func (osVar OdbcSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for OdbcSink. func (osVar OdbcSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -144652,7 +150487,7 @@ type OdbcSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -144687,6 +150522,16 @@ func (osVar OdbcSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -145107,6 +150952,11 @@ func (osVar OdbcSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -145122,6 +150972,11 @@ func (osVar OdbcSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -145247,7 +151102,7 @@ type OdbcTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -145288,6 +151143,16 @@ func (otd OdbcTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -145698,6 +151563,11 @@ func (otd OdbcTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -145713,6 +151583,11 @@ func (otd OdbcTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -145867,7 +151742,7 @@ type Office365Dataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -145908,6 +151783,16 @@ func (o3d Office365Dataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -146318,6 +152203,11 @@ func (o3d Office365Dataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -146333,6 +152223,11 @@ func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -146483,7 +152378,7 @@ type Office365LinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -146515,6 +152410,16 @@ func (o3ls Office365LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for Office365LinkedService. func (o3ls Office365LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -147171,7 +153076,7 @@ type Office365Source struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -147215,6 +153120,16 @@ func (o3s Office365Source) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -147635,6 +153550,11 @@ func (o3s Office365Source) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -147650,6 +153570,11 @@ func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -148101,7 +154026,7 @@ type OracleLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -148133,6 +154058,16 @@ func (ols OracleLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleLinkedService. func (ols OracleLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -148730,7 +154665,7 @@ type OracleServiceCloudLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -148762,6 +154697,16 @@ func (oscls OracleServiceCloudLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. func (oscls OracleServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -149438,7 +155383,7 @@ type OracleServiceCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -149479,6 +155424,16 @@ func (oscod OracleServiceCloudObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -149889,6 +155844,11 @@ func (oscod OracleServiceCloudObjectDataset) AsOrcDataset() (*OrcDataset, bool) return nil, false } +// AsXMLDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -149904,6 +155864,11 @@ func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset return nil, false } +// AsExcelDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -150048,7 +156013,7 @@ type OracleServiceCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -150083,6 +156048,16 @@ func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -150503,6 +156478,11 @@ func (oscs OracleServiceCloudSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -150518,6 +156498,11 @@ func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -150639,7 +156624,7 @@ type OracleSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -150744,6 +156729,11 @@ func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) { return &osVar, true } +// AsSnowflakeSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for OracleSink. func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -150829,6 +156819,11 @@ func (osVar OracleSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for OracleSink. func (osVar OracleSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -150964,7 +156959,7 @@ type OracleSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -151005,6 +157000,16 @@ func (osVar OracleSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -151425,6 +157430,11 @@ func (osVar OracleSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -151440,6 +157450,11 @@ func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -151583,7 +157598,7 @@ type OracleTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -151624,6 +157639,16 @@ func (otd OracleTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -152034,6 +158059,11 @@ func (otd OracleTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -152049,6 +158079,11 @@ func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -152207,7 +158242,7 @@ type OrcDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -152248,6 +158283,16 @@ func (od OrcDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for OrcDataset. +func (od OrcDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for OrcDataset. +func (od OrcDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for OrcDataset. func (od OrcDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -152658,6 +158703,11 @@ func (od OrcDataset) AsOrcDataset() (*OrcDataset, bool) { return &od, true } +// AsXMLDataset is the BasicDataset implementation for OrcDataset. +func (od OrcDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for OrcDataset. func (od OrcDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -152673,6 +158723,11 @@ func (od OrcDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for OrcDataset. +func (od OrcDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for OrcDataset. func (od OrcDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -152977,7 +159032,7 @@ type OrcSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -153080,6 +159135,11 @@ func (osVar OrcSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for OrcSink. +func (osVar OrcSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for OrcSink. func (osVar OrcSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -153165,6 +159225,11 @@ func (osVar OrcSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for OrcSink. +func (osVar OrcSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for OrcSink. func (osVar OrcSink) AsOrcSink() (*OrcSink, bool) { return &osVar, true @@ -153293,7 +159358,7 @@ type OrcSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -153323,6 +159388,16 @@ func (osVar OrcSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for OrcSource. +func (osVar OrcSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for OrcSource. +func (osVar OrcSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for OrcSource. func (osVar OrcSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -153743,6 +159818,11 @@ func (osVar OrcSource) AsOrcSource() (*OrcSource, bool) { return &osVar, true } +// AsXMLSource is the BasicCopySource implementation for OrcSource. +func (osVar OrcSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for OrcSource. func (osVar OrcSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -153758,6 +159838,11 @@ func (osVar OrcSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for OrcSource. +func (osVar OrcSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for OrcSource. func (osVar OrcSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -153853,6 +159938,14 @@ func (osVar *OrcSource) UnmarshalJSON(body []byte) error { return nil } +// PackageStore package store for the SSIS integration runtime. +type PackageStore struct { + // Name - The name of the package store + Name *string `json:"name,omitempty"` + // PackageStoreLinkedService - The package store linked service reference. + PackageStoreLinkedService *EntityReference `json:"packageStoreLinkedService,omitempty"` +} + // ParameterSpecification definition of a single parameter for an entity. type ParameterSpecification struct { // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString' @@ -153881,7 +159974,7 @@ type ParquetDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -153922,6 +160015,16 @@ func (pd ParquetDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -154332,6 +160435,11 @@ func (pd ParquetDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -154347,6 +160455,11 @@ func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) { return &pd, true } +// AsExcelDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -154650,7 +160763,7 @@ type ParquetSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -154753,6 +160866,11 @@ func (ps ParquetSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for ParquetSink. func (ps ParquetSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -154838,6 +160956,11 @@ func (ps ParquetSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for ParquetSink. func (ps ParquetSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -154966,7 +161089,7 @@ type ParquetSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -154996,6 +161119,16 @@ func (ps ParquetSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -155416,6 +161549,11 @@ func (ps ParquetSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -155431,6 +161569,11 @@ func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) { return &ps, true } +// AsExcelSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -155540,7 +161683,7 @@ type PaypalLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -155572,6 +161715,16 @@ func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for PaypalLinkedService. func (pls PaypalLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -156248,7 +162401,7 @@ type PaypalObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -156289,6 +162442,16 @@ func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -156699,6 +162862,11 @@ func (pod PaypalObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -156714,6 +162882,11 @@ func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -156858,7 +163031,7 @@ type PaypalSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -156893,6 +163066,16 @@ func (ps PaypalSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -157313,6 +163496,11 @@ func (ps PaypalSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -157328,6 +163516,11 @@ func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -157457,7 +163650,7 @@ type PhoenixLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -157489,6 +163682,16 @@ func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. func (pls PhoenixLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -158220,7 +164423,7 @@ type PhoenixObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -158261,6 +164464,16 @@ func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -158671,6 +164884,11 @@ func (pod PhoenixObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -158686,6 +164904,11 @@ func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -158830,7 +165053,7 @@ type PhoenixSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -158865,6 +165088,16 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -159285,6 +165518,11 @@ func (ps PhoenixSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -159300,6 +165538,11 @@ func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -160122,7 +166365,7 @@ type PostgreSQLLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -160154,6 +166397,16 @@ func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. func (psls PostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -160741,7 +166994,7 @@ type PostgreSQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -160776,6 +167029,16 @@ func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -161196,6 +167459,11 @@ func (pss PostgreSQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -161211,6 +167479,11 @@ func (pss PostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -161336,7 +167609,7 @@ type PostgreSQLTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -161377,6 +167650,16 @@ func (pstd PostgreSQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -161787,6 +168070,11 @@ func (pstd PostgreSQLTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -161802,6 +168090,11 @@ func (pstd PostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -161964,7 +168257,7 @@ type PrestoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -161996,6 +168289,16 @@ func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for PrestoLinkedService. func (pls PrestoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -162749,7 +169052,7 @@ type PrestoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -162790,6 +169093,16 @@ func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -163200,6 +169513,11 @@ func (pod PrestoObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -163215,6 +169533,11 @@ func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -163359,7 +169682,7 @@ type PrestoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -163394,6 +169717,16 @@ func (ps PrestoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -163814,6 +170147,11 @@ func (ps PrestoSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -163829,6 +170167,11 @@ func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -164095,7 +170438,7 @@ type QuickBooksLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -164127,6 +170470,16 @@ func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. func (qbls QuickBooksLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -164690,6 +171043,8 @@ func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { // QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties. type QuickBooksLinkedServiceTypeProperties struct { + // ConnectionProperties - Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object. + ConnectionProperties interface{} `json:"connectionProperties,omitempty"` // 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. @@ -164717,6 +171072,15 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } for k, v := range m { switch k { + case "connectionProperties": + if v != nil { + var connectionProperties interface{} + err = json.Unmarshal(*v, &connectionProperties) + if err != nil { + return err + } + qblstp.ConnectionProperties = connectionProperties + } case "endpoint": if v != nil { var endpoint interface{} @@ -164812,7 +171176,7 @@ type QuickBooksObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -164853,6 +171217,16 @@ func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -165263,6 +171637,11 @@ func (qbod QuickBooksObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -165278,6 +171657,11 @@ func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -165422,7 +171806,7 @@ type QuickBooksSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -165457,6 +171841,16 @@ func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -165877,6 +172271,11 @@ func (qbs QuickBooksSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -165892,6 +172291,11 @@ func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -166273,7 +172677,7 @@ type RelationalSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -166305,6 +172709,16 @@ func (rs RelationalSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -166725,6 +173139,11 @@ func (rs RelationalSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -166740,6 +173159,11 @@ func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -166856,7 +173280,7 @@ type RelationalTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -166897,6 +173321,16 @@ func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -167307,6 +173741,11 @@ func (rtd RelationalTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -167322,6 +173761,11 @@ func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -167671,7 +174115,7 @@ type ResponsysLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -167703,6 +174147,16 @@ func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. func (rls ResponsysLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -168379,7 +174833,7 @@ type ResponsysObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -168420,6 +174874,16 @@ func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -168830,6 +175294,11 @@ func (rod ResponsysObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -168845,6 +175314,11 @@ func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -168989,7 +175463,7 @@ type ResponsysSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -169024,6 +175498,16 @@ func (rs ResponsysSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -169444,6 +175928,11 @@ func (rs ResponsysSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -169459,6 +175948,11 @@ func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -169584,7 +176078,7 @@ type RestResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -169625,6 +176119,16 @@ func (rrd RestResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -170035,6 +176539,11 @@ func (rrd RestResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -170050,6 +176559,11 @@ func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -170206,7 +176720,7 @@ type RestServiceLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -170238,6 +176752,16 @@ func (rsls RestServiceLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. func (rsls RestServiceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -170926,6 +177450,407 @@ func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } +// RestSink a copy activity Rest service Sink. +type RestSink struct { + // RequestMethod - The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). + RequestMethod interface{} `json:"requestMethod,omitempty"` + // AdditionalHeaders - The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` + // RequestInterval - The time to await before sending next request, in milliseconds + RequestInterval interface{} `json:"requestInterval,omitempty"` + // CompressionType - Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. + CompressionType interface{} `json:"compressionType,omitempty"` + // WrapRequestJSONInAnObject - Wraps Request Array Json into an Object before calling the rest endpoint , Default is false. ex: if true request content sample format is { rows:[]} else the format is [] + WrapRequestJSONInAnObject interface{} `json:"wrapRequestJsonInAnObject,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for RestSink. +func (rs RestSink) MarshalJSON() ([]byte, error) { + rs.Type = TypeRestSink + objectMap := make(map[string]interface{}) + if rs.RequestMethod != nil { + objectMap["requestMethod"] = rs.RequestMethod + } + if rs.AdditionalHeaders != nil { + objectMap["additionalHeaders"] = rs.AdditionalHeaders + } + if rs.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout + } + if rs.RequestInterval != nil { + objectMap["requestInterval"] = rs.RequestInterval + } + if rs.CompressionType != nil { + objectMap["compressionType"] = rs.CompressionType + } + if rs.WrapRequestJSONInAnObject != nil { + objectMap["wrapRequestJsonInAnObject"] = rs.WrapRequestJSONInAnObject + } + if rs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = rs.WriteBatchSize + } + if rs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = rs.WriteBatchTimeout + } + if rs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = rs.SinkRetryCount + } + if rs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = rs.SinkRetryWait + } + if rs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = rs.MaxConcurrentConnections + } + if rs.Type != "" { + objectMap["type"] = rs.Type + } + for k, v := range rs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSnowflakeSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAvroSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzureMySQLSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsRestSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsRestSink() (*RestSink, bool) { + return &rs, true +} + +// AsOrcSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsOrcSink() (*OrcSink, bool) { + return nil, false +} + +// AsJSONSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for RestSink. +func (rs RestSink) AsBasicCopySink() (BasicCopySink, bool) { + return &rs, true +} + +// UnmarshalJSON is the custom unmarshaler for RestSink struct. +func (rs *RestSink) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "requestMethod": + if v != nil { + var requestMethod interface{} + err = json.Unmarshal(*v, &requestMethod) + if err != nil { + return err + } + rs.RequestMethod = requestMethod + } + case "additionalHeaders": + if v != nil { + var additionalHeaders interface{} + err = json.Unmarshal(*v, &additionalHeaders) + if err != nil { + return err + } + rs.AdditionalHeaders = additionalHeaders + } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + rs.HTTPRequestTimeout = HTTPRequestTimeout + } + case "requestInterval": + if v != nil { + var requestInterval interface{} + err = json.Unmarshal(*v, &requestInterval) + if err != nil { + return err + } + rs.RequestInterval = requestInterval + } + case "compressionType": + if v != nil { + var compressionType interface{} + err = json.Unmarshal(*v, &compressionType) + if err != nil { + return err + } + rs.CompressionType = compressionType + } + case "wrapRequestJsonInAnObject": + if v != nil { + var wrapRequestJSONInAnObject interface{} + err = json.Unmarshal(*v, &wrapRequestJSONInAnObject) + if err != nil { + return err + } + rs.WrapRequestJSONInAnObject = wrapRequestJSONInAnObject + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if rs.AdditionalProperties == nil { + rs.AdditionalProperties = make(map[string]interface{}) + } + rs.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + rs.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + rs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + rs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + rs.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + rs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + rs.Type = typeVar + } + } + } + + return nil +} + // RestSource a copy activity Rest service source. type RestSource struct { // RequestMethod - The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). @@ -170950,7 +177875,7 @@ type RestSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -170997,6 +177922,16 @@ func (rs RestSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -171417,6 +178352,11 @@ func (rs RestSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -171432,6 +178372,11 @@ func (rs RestSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -171627,7 +178572,7 @@ type SalesforceLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -171659,6 +178604,16 @@ func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. func (sls SalesforceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -172317,7 +179272,7 @@ type SalesforceMarketingCloudLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -172349,6 +179304,16 @@ func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. func (smcls SalesforceMarketingCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -172913,6 +179878,8 @@ func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) e // SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service // properties. type SalesforceMarketingCloudLinkedServiceTypeProperties struct { + // ConnectionProperties - Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object. + ConnectionProperties interface{} `json:"connectionProperties,omitempty"` // ClientID - The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). ClientID interface{} `json:"clientId,omitempty"` // ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). @@ -172936,6 +179903,15 @@ func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSO } for k, v := range m { switch k { + case "connectionProperties": + if v != nil { + var connectionProperties interface{} + err = json.Unmarshal(*v, &connectionProperties) + if err != nil { + return err + } + smclstp.ConnectionProperties = connectionProperties + } case "clientId": if v != nil { var clientID interface{} @@ -173015,7 +179991,7 @@ type SalesforceMarketingCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -173056,6 +180032,16 @@ func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -173466,6 +180452,11 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsOrcDataset() (*OrcDataset, return nil, false } +// AsXMLDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -173481,6 +180472,11 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetD return nil, false } +// AsExcelDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -173625,7 +180621,7 @@ type SalesforceMarketingCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -173660,6 +180656,16 @@ func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -174080,6 +181086,11 @@ func (smcs SalesforceMarketingCloudSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -174095,6 +181106,11 @@ func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bo return nil, false } +// AsExcelSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -174220,7 +181236,7 @@ type SalesforceObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -174261,6 +181277,16 @@ func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -174671,6 +181697,11 @@ func (sod SalesforceObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -174686,6 +181717,11 @@ func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -174834,7 +181870,7 @@ type SalesforceServiceCloudLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -174866,6 +181902,16 @@ func (sscls SalesforceServiceCloudLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. func (sscls SalesforceServiceCloudLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -175541,7 +182587,7 @@ type SalesforceServiceCloudObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -175582,6 +182628,16 @@ func (sscod SalesforceServiceCloudObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -175992,6 +183048,11 @@ func (sscod SalesforceServiceCloudObjectDataset) AsOrcDataset() (*OrcDataset, bo return nil, false } +// AsXMLDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -176007,6 +183068,11 @@ func (sscod SalesforceServiceCloudObjectDataset) AsParquetDataset() (*ParquetDat return nil, false } +// AsExcelDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -176161,7 +183227,7 @@ type SalesforceServiceCloudSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -176272,6 +183338,11 @@ func (sscs SalesforceServiceCloudSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for SalesforceServiceCloudSink. func (sscs SalesforceServiceCloudSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -176357,6 +183428,11 @@ func (sscs SalesforceServiceCloudSink) AsAzurePostgreSQLSink() (*AzurePostgreSQL return nil, false } +// AsRestSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for SalesforceServiceCloudSink. func (sscs SalesforceServiceCloudSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -176506,7 +183582,7 @@ type SalesforceServiceCloudSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -176541,6 +183617,16 @@ func (sscs SalesforceServiceCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -176961,6 +184047,11 @@ func (sscs SalesforceServiceCloudSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -176976,6 +184067,11 @@ func (sscs SalesforceServiceCloudSource) AsParquetSource() (*ParquetSource, bool return nil, false } +// AsExcelSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -177101,7 +184197,7 @@ type SalesforceSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -177212,6 +184308,11 @@ func (ss SalesforceSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -177297,6 +184398,11 @@ func (ss SalesforceSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsRestSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -177448,7 +184554,7 @@ type SalesforceSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -177486,6 +184592,16 @@ func (ss SalesforceSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -177906,6 +185022,11 @@ func (ss SalesforceSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -177921,6 +185042,11 @@ func (ss SalesforceSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -178053,7 +185179,7 @@ type SapBwCubeDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -178091,6 +185217,16 @@ func (sbcd SapBwCubeDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapBwCubeDataset. func (sbcd SapBwCubeDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -178501,6 +185637,11 @@ func (sbcd SapBwCubeDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapBwCubeDataset. func (sbcd SapBwCubeDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -178516,6 +185657,11 @@ func (sbcd SapBwCubeDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapBwCubeDataset. func (sbcd SapBwCubeDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -178649,7 +185795,7 @@ type SapBWLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -178681,6 +185827,16 @@ func (sbls SapBWLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -179342,7 +186498,7 @@ type SapBwSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -179377,6 +186533,16 @@ func (sbs SapBwSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapBwSource. func (sbs SapBwSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -179797,6 +186963,11 @@ func (sbs SapBwSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapBwSource. func (sbs SapBwSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -179812,6 +186983,11 @@ func (sbs SapBwSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapBwSource. func (sbs SapBwSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -179931,7 +187107,7 @@ type SapCloudForCustomerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -179963,6 +187139,16 @@ func (scfcls SapCloudForCustomerLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -180606,7 +187792,7 @@ type SapCloudForCustomerResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -180647,6 +187833,16 @@ func (scfcrd SapCloudForCustomerResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -181057,6 +188253,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsOrcDataset() (*OrcDataset, bo return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -181072,6 +188273,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsParquetDataset() (*ParquetDat return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -181211,6 +188417,8 @@ type SapCloudForCustomerResourceDatasetTypeProperties struct { type SapCloudForCustomerSink struct { // WriteBehavior - The write behavior for the operation. Default is 'Insert'. Possible values include: 'SapCloudForCustomerSinkWriteBehaviorInsert', 'SapCloudForCustomerSinkWriteBehaviorUpdate' WriteBehavior SapCloudForCustomerSinkWriteBehavior `json:"writeBehavior,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -181223,7 +188431,7 @@ type SapCloudForCustomerSink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -181234,6 +188442,9 @@ func (scfcs SapCloudForCustomerSink) MarshalJSON() ([]byte, error) { if scfcs.WriteBehavior != "" { objectMap["writeBehavior"] = scfcs.WriteBehavior } + if scfcs.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = scfcs.HTTPRequestTimeout + } if scfcs.WriteBatchSize != nil { objectMap["writeBatchSize"] = scfcs.WriteBatchSize } @@ -181328,6 +188539,11 @@ func (scfcs SapCloudForCustomerSink) AsOracleSink() (*OracleSink, bool) { return nil, false } +// AsSnowflakeSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false +} + // AsSQLDWSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false @@ -181413,6 +188629,11 @@ func (scfcs SapCloudForCustomerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSi return nil, false } +// AsRestSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsRestSink() (*RestSink, bool) { + return nil, false +} + // AsOrcSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsOrcSink() (*OrcSink, bool) { return nil, false @@ -181456,6 +188677,15 @@ func (scfcs *SapCloudForCustomerSink) UnmarshalJSON(body []byte) error { } scfcs.WriteBehavior = writeBehavior } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + scfcs.HTTPRequestTimeout = HTTPRequestTimeout + } default: if v != nil { var additionalProperties interface{} @@ -181532,6 +188762,8 @@ func (scfcs *SapCloudForCustomerSink) UnmarshalJSON(body []byte) error { type SapCloudForCustomerSource struct { // Query - SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // 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"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -181544,7 +188776,7 @@ type SapCloudForCustomerSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -181555,6 +188787,9 @@ func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { if scfcs.Query != nil { objectMap["query"] = scfcs.Query } + if scfcs.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = scfcs.HTTPRequestTimeout + } if scfcs.QueryTimeout != nil { objectMap["queryTimeout"] = scfcs.QueryTimeout } @@ -181579,6 +188814,16 @@ func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -181999,6 +189244,11 @@ func (scfcs SapCloudForCustomerSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -182014,6 +189264,11 @@ func (scfcs SapCloudForCustomerSource) AsParquetSource() (*ParquetSource, bool) return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -182047,6 +189302,15 @@ func (scfcs *SapCloudForCustomerSource) UnmarshalJSON(body []byte) error { } scfcs.Query = query } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + scfcs.HTTPRequestTimeout = HTTPRequestTimeout + } case "queryTimeout": if v != nil { var queryTimeout interface{} @@ -182133,7 +189397,7 @@ type SapEccLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -182165,6 +189429,16 @@ func (sels SapEccLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -182808,7 +190082,7 @@ type SapEccResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -182849,6 +190123,16 @@ func (serd SapEccResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -183259,6 +190543,11 @@ func (serd SapEccResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -183274,6 +190563,11 @@ func (serd SapEccResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -183412,6 +190706,8 @@ type SapEccResourceDatasetTypeProperties struct { type SapEccSource struct { // Query - SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // HTTPRequestTimeout - The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // 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"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -183424,7 +190720,7 @@ type SapEccSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -183435,6 +190731,9 @@ func (ses SapEccSource) MarshalJSON() ([]byte, error) { if ses.Query != nil { objectMap["query"] = ses.Query } + if ses.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = ses.HTTPRequestTimeout + } if ses.QueryTimeout != nil { objectMap["queryTimeout"] = ses.QueryTimeout } @@ -183459,6 +190758,16 @@ func (ses SapEccSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -183879,6 +191188,11 @@ func (ses SapEccSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -183894,6 +191208,11 @@ func (ses SapEccSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -183927,6 +191246,15 @@ func (ses *SapEccSource) UnmarshalJSON(body []byte) error { } ses.Query = query } + case "httpRequestTimeout": + if v != nil { + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) + if err != nil { + return err + } + ses.HTTPRequestTimeout = HTTPRequestTimeout + } case "queryTimeout": if v != nil { var queryTimeout interface{} @@ -184013,7 +191341,7 @@ type SapHanaLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -184045,6 +191373,16 @@ func (shls SapHanaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -184718,7 +192056,7 @@ type SapHanaSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -184762,6 +192100,16 @@ func (shs SapHanaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -185182,6 +192530,11 @@ func (shs SapHanaSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -185197,6 +192550,11 @@ func (shs SapHanaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -185349,7 +192707,7 @@ type SapHanaTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -185390,6 +192748,16 @@ func (shtd SapHanaTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -185800,6 +193168,11 @@ func (shtd SapHanaTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -185815,6 +193188,11 @@ func (shtd SapHanaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -185965,7 +193343,7 @@ type SapOpenHubLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -185997,6 +193375,16 @@ func (sohls SapOpenHubLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -186569,10 +193957,18 @@ type SapOpenHubLinkedServiceTypeProperties struct { ClientID interface{} `json:"clientId,omitempty"` // Language - Language of the BW system where the open hub destination is located. The default value is EN. Type: string (or Expression with resultType string). Language interface{} `json:"language,omitempty"` + // SystemID - SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + SystemID interface{} `json:"systemId,omitempty"` // UserName - Username to access the SAP BW server where the open hub destination is located. Type: string (or Expression with resultType string). UserName interface{} `json:"userName,omitempty"` // Password - Password to access the SAP BW server where the open hub destination is located. Password BasicSecretBase `json:"password,omitempty"` + // MessageServer - The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + MessageServer interface{} `json:"messageServer,omitempty"` + // MessageServerService - The service name or port number of the Message Server. Type: string (or Expression with resultType string). + MessageServerService interface{} `json:"messageServerService,omitempty"` + // LogonGroup - The Logon Group for the SAP System. Type: string (or Expression with resultType string). + LogonGroup interface{} `json:"logonGroup,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"` } @@ -186622,6 +194018,15 @@ func (sohlstp *SapOpenHubLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } sohlstp.Language = language } + case "systemId": + if v != nil { + var systemID interface{} + err = json.Unmarshal(*v, &systemID) + if err != nil { + return err + } + sohlstp.SystemID = systemID + } case "userName": if v != nil { var userName interface{} @@ -186639,6 +194044,33 @@ func (sohlstp *SapOpenHubLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } sohlstp.Password = password } + case "messageServer": + if v != nil { + var messageServer interface{} + err = json.Unmarshal(*v, &messageServer) + if err != nil { + return err + } + sohlstp.MessageServer = messageServer + } + case "messageServerService": + if v != nil { + var messageServerService interface{} + err = json.Unmarshal(*v, &messageServerService) + if err != nil { + return err + } + sohlstp.MessageServerService = messageServerService + } + case "logonGroup": + if v != nil { + var logonGroup interface{} + err = json.Unmarshal(*v, &logonGroup) + if err != nil { + return err + } + sohlstp.LogonGroup = logonGroup + } case "encryptedCredential": if v != nil { var encryptedCredential interface{} @@ -186672,7 +194104,7 @@ type SapOpenHubSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -186710,6 +194142,16 @@ func (sohs SapOpenHubSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -187130,6 +194572,11 @@ func (sohs SapOpenHubSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -187145,6 +194592,11 @@ func (sohs SapOpenHubSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -187279,7 +194731,7 @@ type SapOpenHubTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -187320,6 +194772,16 @@ func (sohtd SapOpenHubTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -187730,6 +195192,11 @@ func (sohtd SapOpenHubTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -187745,6 +195212,11 @@ func (sohtd SapOpenHubTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -187897,7 +195369,7 @@ type SapTableLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -187929,6 +195401,16 @@ func (stls SapTableLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -188716,7 +196198,7 @@ type SapTableResourceDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -188757,6 +196239,16 @@ func (strd SapTableResourceDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -189167,6 +196659,11 @@ func (strd SapTableResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -189182,6 +196679,11 @@ func (strd SapTableResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -189346,7 +196848,7 @@ type SapTableSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -189402,6 +196904,16 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -189822,6 +197334,11 @@ func (sts SapTableSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -189837,6 +197354,11 @@ func (sts SapTableSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -190860,7 +198382,7 @@ type ServiceNowLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -190892,6 +198414,16 @@ func (snls ServiceNowLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -191600,7 +199132,7 @@ type ServiceNowObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -191641,6 +199173,16 @@ func (snod ServiceNowObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -192051,6 +199593,11 @@ func (snod ServiceNowObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -192066,6 +199613,11 @@ func (snod ServiceNowObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -192210,7 +199762,7 @@ type ServiceNowSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -192245,6 +199797,16 @@ func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -192665,6 +200227,11 @@ func (sns ServiceNowSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -192680,6 +200247,11 @@ func (sns ServiceNowSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsAvroSource() (*AvroSource, bool) { return nil, false @@ -193278,8 +200850,14 @@ type SftpReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Sftp wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // EnablePartitionDiscovery - Indicates whether to enable partition discovery. + EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` + // PartitionRootPath - Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + PartitionRootPath interface{} `json:"partitionRootPath,omitempty"` // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). FileListPath interface{} `json:"fileListPath,omitempty"` + // DeleteFilesAfterCompletion - Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). + DeleteFilesAfterCompletion interface{} `json:"deleteFilesAfterCompletion,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -193305,9 +200883,18 @@ func (srs SftpReadSettings) MarshalJSON() ([]byte, error) { if srs.WildcardFileName != nil { objectMap["wildcardFileName"] = srs.WildcardFileName } + if srs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = srs.EnablePartitionDiscovery + } + if srs.PartitionRootPath != nil { + objectMap["partitionRootPath"] = srs.PartitionRootPath + } if srs.FileListPath != nil { objectMap["fileListPath"] = srs.FileListPath } + if srs.DeleteFilesAfterCompletion != nil { + objectMap["deleteFilesAfterCompletion"] = srs.DeleteFilesAfterCompletion + } if srs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = srs.ModifiedDatetimeStart } @@ -193427,6 +201014,24 @@ func (srs *SftpReadSettings) UnmarshalJSON(body []byte) error { } srs.WildcardFileName = wildcardFileName } + case "enablePartitionDiscovery": + if v != nil { + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) + if err != nil { + return err + } + srs.EnablePartitionDiscovery = &enablePartitionDiscovery + } + case "partitionRootPath": + if v != nil { + var partitionRootPath interface{} + err = json.Unmarshal(*v, &partitionRootPath) + if err != nil { + return err + } + srs.PartitionRootPath = partitionRootPath + } case "fileListPath": if v != nil { var fileListPath interface{} @@ -193436,6 +201041,15 @@ func (srs *SftpReadSettings) UnmarshalJSON(body []byte) error { } srs.FileListPath = fileListPath } + case "deleteFilesAfterCompletion": + if v != nil { + var deleteFilesAfterCompletion interface{} + err = json.Unmarshal(*v, &deleteFilesAfterCompletion) + if err != nil { + return err + } + srs.DeleteFilesAfterCompletion = deleteFilesAfterCompletion + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -193504,7 +201118,7 @@ type SftpServerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -193536,6 +201150,16 @@ func (ssls SftpServerLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -194382,10 +202006,16 @@ func (sws *SftpWriteSettings) UnmarshalJSON(body []byte) error { return nil } -// ShopifyLinkedService shopify Service linked service. -type ShopifyLinkedService struct { - // ShopifyLinkedServiceTypeProperties - Shopify Service linked service properties. - *ShopifyLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SharePointOnlineListDatasetTypeProperties sharepoint online list dataset properties. +type SharePointOnlineListDatasetTypeProperties struct { + // ListName - The name of the SharePoint Online list. Type: string (or Expression with resultType string). + ListName interface{} `json:"listName,omitempty"` +} + +// SharePointOnlineListLinkedService sharePoint Online List linked service. +type SharePointOnlineListLinkedService struct { + // SharePointOnlineListLinkedServiceTypeProperties - SharePoint Online List linked service properties. + *SharePointOnlineListLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -194396,520 +202026,530 @@ type ShopifyLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ShopifyLinkedService. -func (sls ShopifyLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeShopify +// MarshalJSON is the custom marshaler for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) MarshalJSON() ([]byte, error) { + spolls.Type = TypeSharePointOnlineList objectMap := make(map[string]interface{}) - if sls.ShopifyLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.ShopifyLinkedServiceTypeProperties + if spolls.SharePointOnlineListLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = spolls.SharePointOnlineListLinkedServiceTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if spolls.ConnectVia != nil { + objectMap["connectVia"] = spolls.ConnectVia } - if sls.Description != nil { - objectMap["description"] = sls.Description + if spolls.Description != nil { + objectMap["description"] = spolls.Description } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if spolls.Parameters != nil { + objectMap["parameters"] = spolls.Parameters } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if spolls.Annotations != nil { + objectMap["annotations"] = spolls.Annotations } - if sls.Type != "" { - objectMap["type"] = sls.Type + if spolls.Type != "" { + objectMap["type"] = spolls.Type } - for k, v := range sls.AdditionalProperties { + for k, v := range spolls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return &spolls, true +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return &sls, true +// AsSparkLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedService struct. -func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { +// AsBasicLinkedService is the BasicLinkedService implementation for SharePointOnlineListLinkedService. +func (spolls SharePointOnlineListLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &spolls, true +} + +// UnmarshalJSON is the custom unmarshaler for SharePointOnlineListLinkedService struct. +func (spolls *SharePointOnlineListLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -194919,12 +202559,12 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var shopifyLinkedServiceTypeProperties ShopifyLinkedServiceTypeProperties - err = json.Unmarshal(*v, &shopifyLinkedServiceTypeProperties) + var sharePointOnlineListLinkedServiceTypeProperties SharePointOnlineListLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sharePointOnlineListLinkedServiceTypeProperties) if err != nil { return err } - sls.ShopifyLinkedServiceTypeProperties = &shopifyLinkedServiceTypeProperties + spolls.SharePointOnlineListLinkedServiceTypeProperties = &sharePointOnlineListLinkedServiceTypeProperties } default: if v != nil { @@ -194933,10 +202573,10 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) + if spolls.AdditionalProperties == nil { + spolls.AdditionalProperties = make(map[string]interface{}) } - sls.AdditionalProperties[k] = additionalProperties + spolls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -194945,7 +202585,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.ConnectVia = &connectVia + spolls.ConnectVia = &connectVia } case "description": if v != nil { @@ -194954,7 +202594,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Description = &description + spolls.Description = &description } case "parameters": if v != nil { @@ -194963,7 +202603,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Parameters = parameters + spolls.Parameters = parameters } case "annotations": if v != nil { @@ -194972,7 +202612,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Annotations = &annotations + spolls.Annotations = &annotations } case "type": if v != nil { @@ -194981,7 +202621,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Type = typeVar + spolls.Type = typeVar } } } @@ -194989,24 +202629,22 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ShopifyLinkedServiceTypeProperties shopify Service 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"` +// SharePointOnlineListLinkedServiceTypeProperties sharePoint Online List linked service properties. +type SharePointOnlineListLinkedServiceTypeProperties struct { + // SiteURL - The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). + SiteURL interface{} `json:"siteUrl,omitempty"` + // TenantID - The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). + TenantID interface{} `json:"tenantId,omitempty"` + // ServicePrincipalID - The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedServiceTypeProperties struct. -func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SharePointOnlineListLinkedServiceTypeProperties struct. +func (spollstp *SharePointOnlineListLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -195014,49 +202652,40 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } 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": + case "siteUrl": if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) + var siteURL interface{} + err = json.Unmarshal(*v, &siteURL) if err != nil { return err } - slstp.AccessToken = accessToken + spollstp.SiteURL = siteURL } - case "useEncryptedEndpoints": + case "tenantId": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var tenantID interface{} + err = json.Unmarshal(*v, &tenantID) if err != nil { return err } - slstp.UseEncryptedEndpoints = useEncryptedEndpoints + spollstp.TenantID = tenantID } - case "useHostVerification": + case "servicePrincipalId": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - slstp.UseHostVerification = useHostVerification + spollstp.ServicePrincipalID = servicePrincipalID } - case "usePeerVerification": + case "servicePrincipalKey": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - slstp.UsePeerVerification = usePeerVerification + spollstp.ServicePrincipalKey = servicePrincipalKey } case "encryptedCredential": if v != nil { @@ -195065,7 +202694,7 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + spollstp.EncryptedCredential = encryptedCredential } } } @@ -195073,10 +202702,10 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// ShopifyObjectDataset shopify Service dataset. -type ShopifyObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// SharePointOnlineListResourceDataset the sharepoint online list resource dataset. +type SharePointOnlineListResourceDataset struct { + // SharePointOnlineListDatasetTypeProperties - Sharepoint online list dataset properties. + *SharePointOnlineListDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -195093,494 +202722,514 @@ type ShopifyObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', '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 SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) MarshalJSON() ([]byte, error) { + spolrd.Type = TypeSharePointOnlineListResource objectMap := make(map[string]interface{}) - if sod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.GenericDatasetTypeProperties + if spolrd.SharePointOnlineListDatasetTypeProperties != nil { + objectMap["typeProperties"] = spolrd.SharePointOnlineListDatasetTypeProperties } - if sod.Description != nil { - objectMap["description"] = sod.Description + if spolrd.Description != nil { + objectMap["description"] = spolrd.Description } - if sod.Structure != nil { - objectMap["structure"] = sod.Structure + if spolrd.Structure != nil { + objectMap["structure"] = spolrd.Structure } - if sod.Schema != nil { - objectMap["schema"] = sod.Schema + if spolrd.Schema != nil { + objectMap["schema"] = spolrd.Schema } - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + if spolrd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = spolrd.LinkedServiceName } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if spolrd.Parameters != nil { + objectMap["parameters"] = spolrd.Parameters } - if sod.Annotations != nil { - objectMap["annotations"] = sod.Annotations + if spolrd.Annotations != nil { + objectMap["annotations"] = spolrd.Annotations } - if sod.Folder != nil { - objectMap["folder"] = sod.Folder + if spolrd.Folder != nil { + objectMap["folder"] = spolrd.Folder } - if sod.Type != "" { - objectMap["type"] = sod.Type + if spolrd.Type != "" { + objectMap["type"] = spolrd.Type } - for k, v := range sod.AdditionalProperties { + for k, v := range spolrd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return &spolrd, true +} + +// AsSnowflakeDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return &sod, true +// AsSparkObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsOrcDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsXMLDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsJSONDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsParquetDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDataset() (*Dataset, bool) { +// AsExcelDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsAvroDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ShopifyObjectDataset struct. -func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { +// AsAmazonS3Dataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SharePointOnlineListResourceDataset. +func (spolrd SharePointOnlineListResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &spolrd, true +} + +// UnmarshalJSON is the custom unmarshaler for SharePointOnlineListResourceDataset struct. +func (spolrd *SharePointOnlineListResourceDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -195590,12 +203239,12 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var sharePointOnlineListDatasetTypeProperties SharePointOnlineListDatasetTypeProperties + err = json.Unmarshal(*v, &sharePointOnlineListDatasetTypeProperties) if err != nil { return err } - sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + spolrd.SharePointOnlineListDatasetTypeProperties = &sharePointOnlineListDatasetTypeProperties } default: if v != nil { @@ -195604,10 +203253,10 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sod.AdditionalProperties == nil { - sod.AdditionalProperties = make(map[string]interface{}) + if spolrd.AdditionalProperties == nil { + spolrd.AdditionalProperties = make(map[string]interface{}) } - sod.AdditionalProperties[k] = additionalProperties + spolrd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -195616,7 +203265,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Description = &description + spolrd.Description = &description } case "structure": if v != nil { @@ -195625,7 +203274,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Structure = structure + spolrd.Structure = structure } case "schema": if v != nil { @@ -195634,7 +203283,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Schema = schema + spolrd.Schema = schema } case "linkedServiceName": if v != nil { @@ -195643,7 +203292,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.LinkedServiceName = &linkedServiceName + spolrd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -195652,7 +203301,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Parameters = parameters + spolrd.Parameters = parameters } case "annotations": if v != nil { @@ -195661,7 +203310,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Annotations = &annotations + spolrd.Annotations = &annotations } case "folder": if v != nil { @@ -195670,7 +203319,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Folder = &folder + spolrd.Folder = &folder } case "type": if v != nil { @@ -195679,7 +203328,7 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - sod.Type = typeVar + spolrd.Type = typeVar } } } @@ -195687,14 +203336,12 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// ShopifySource a copy activity Shopify Service source. -type ShopifySource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). +// SharePointOnlineListSource a copy activity source for sharePoint online list source. +type SharePointOnlineListSource struct { + // Query - The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // HTTPRequestTimeout - The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -195703,493 +203350,510 @@ type ShopifySource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) MarshalJSON() ([]byte, error) { + spols.Type = TypeSharePointOnlineListSource objectMap := make(map[string]interface{}) - if ss.Query != nil { - objectMap["query"] = ss.Query + if spols.Query != nil { + objectMap["query"] = spols.Query } - if ss.QueryTimeout != nil { - objectMap["queryTimeout"] = ss.QueryTimeout + if spols.HTTPRequestTimeout != nil { + objectMap["httpRequestTimeout"] = spols.HTTPRequestTimeout } - if ss.AdditionalColumns != nil { - objectMap["additionalColumns"] = ss.AdditionalColumns + if spols.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = spols.SourceRetryCount } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if spols.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = spols.SourceRetryWait } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if spols.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = spols.MaxConcurrentConnections } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections - } - if ss.Type != "" { - objectMap["type"] = ss.Type + if spols.Type != "" { + objectMap["type"] = spols.Type } - for k, v := range ss.AdditionalProperties { + for k, v := range spols.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return &spols, true +} + +// AsSnowflakeSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsOffice365Source is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsWebSource() (*WebSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsRestSource() (*RestSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsRestSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsODataSource() (*ODataSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsODataSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsVerticaSource() (*VerticaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsZohoSource() (*ZohoSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsXeroSource() (*XeroSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSquareSource() (*SquareSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSparkSource() (*SparkSource, bool) { +// AsSquareSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsShopifySource() (*ShopifySource, bool) { - return &ss, true +// AsSparkSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsTeradataSource() (*TeradataSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLMISource() (*SQLMISource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) 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 SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapBwSource() (*SapBwSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSybaseSource() (*SybaseSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsInformixSource() (*InformixSource, bool) { +// AsDb2Source is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsTabularSource() (*TabularSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ss, true +// AsTabularSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsTabularSource() (*TabularSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOrcSource() (*OrcSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsJSONSource() (*JSONSource, bool) { +// AsOrcSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsXMLSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAvroSource() (*AvroSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCopySource() (*CopySource, bool) { +// AsParquetSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsExcelSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ShopifySource struct. -func (ss *ShopifySource) UnmarshalJSON(body []byte) error { +// AsAvroSource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SharePointOnlineListSource. +func (spols SharePointOnlineListSource) AsBasicCopySource() (BasicCopySource, bool) { + return &spols, true +} + +// UnmarshalJSON is the custom unmarshaler for SharePointOnlineListSource struct. +func (spols *SharePointOnlineListSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -196204,25 +203868,16 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.Query = query - } - case "queryTimeout": - if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) - if err != nil { - return err - } - ss.QueryTimeout = queryTimeout + spols.Query = query } - case "additionalColumns": + case "httpRequestTimeout": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var HTTPRequestTimeout interface{} + err = json.Unmarshal(*v, &HTTPRequestTimeout) if err != nil { return err } - ss.AdditionalColumns = &additionalColumns + spols.HTTPRequestTimeout = HTTPRequestTimeout } default: if v != nil { @@ -196231,10 +203886,10 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + if spols.AdditionalProperties == nil { + spols.AdditionalProperties = make(map[string]interface{}) } - ss.AdditionalProperties[k] = additionalProperties + spols.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -196243,7 +203898,7 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + spols.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -196252,7 +203907,7 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + spols.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -196261,7 +203916,7 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + spols.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -196270,7 +203925,7 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.Type = typeVar + spols.Type = typeVar } } } @@ -196278,28 +203933,10 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { return nil } -// SkipErrorFile skip error file. -type SkipErrorFile struct { - // FileMissing - Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). - FileMissing interface{} `json:"fileMissing,omitempty"` - // DataInconsistency - Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). - DataInconsistency interface{} `json:"dataInconsistency,omitempty"` -} - -// SparkDatasetTypeProperties spark Properties -type SparkDatasetTypeProperties struct { - // TableName - This property will be retired. Please consider using schema + table properties instead. - TableName interface{} `json:"tableName,omitempty"` - // Table - The table name of the Spark. Type: string (or Expression with resultType string). - Table interface{} `json:"table,omitempty"` - // Schema - The schema name of the Spark. Type: string (or Expression with resultType string). - Schema interface{} `json:"schema,omitempty"` -} - -// SparkLinkedService spark Server linked service. -type SparkLinkedService struct { - // SparkLinkedServiceTypeProperties - Spark Server linked service properties. - *SparkLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ShopifyLinkedService shopify Service linked service. +type ShopifyLinkedService struct { + // ShopifyLinkedServiceTypeProperties - Shopify Service linked service properties. + *ShopifyLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -196310,16 +203947,16 @@ type SparkLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SparkLinkedService. -func (sls SparkLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSpark +// MarshalJSON is the custom marshaler for ShopifyLinkedService. +func (sls ShopifyLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeShopify objectMap := make(map[string]interface{}) - if sls.SparkLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SparkLinkedServiceTypeProperties + if sls.ShopifyLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.ShopifyLinkedServiceTypeProperties } if sls.ConnectVia != nil { objectMap["connectVia"] = sls.ConnectVia @@ -196342,488 +203979,498 @@ func (sls SparkLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return &sls, true +// AsXeroLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return &sls, true +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { return &sls, true } -// UnmarshalJSON is the custom unmarshaler for SparkLinkedService struct. -func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -196833,12 +204480,12 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sparkLinkedServiceTypeProperties SparkLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sparkLinkedServiceTypeProperties) + var shopifyLinkedServiceTypeProperties ShopifyLinkedServiceTypeProperties + err = json.Unmarshal(*v, &shopifyLinkedServiceTypeProperties) if err != nil { return err } - sls.SparkLinkedServiceTypeProperties = &sparkLinkedServiceTypeProperties + sls.ShopifyLinkedServiceTypeProperties = &shopifyLinkedServiceTypeProperties } default: if v != nil { @@ -196903,40 +204550,24 @@ 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 +// ShopifyLinkedServiceTypeProperties shopify Service linked service properties. +type ShopifyLinkedServiceTypeProperties struct { + // Host - The endpoint of the Shopify server. (i.e. mystore.myshopify.com) 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"` + // 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 SparkLinkedServiceTypeProperties struct. -func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -196953,112 +204584,40 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } slstp.Host = host } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - 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 - } - case "authenticationType": - if v != nil { - var authenticationType SparkAuthenticationType - 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 "httpPath": - if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) - if err != nil { - return err - } - slstp.HTTPPath = HTTPPath - } - case "enableSsl": - if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) - if err != nil { - return err - } - slstp.EnableSsl = enableSsl - } - case "trustedCertPath": + case "accessToken": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + accessToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - slstp.TrustedCertPath = trustedCertPath + slstp.AccessToken = accessToken } - case "useSystemTrustStore": + case "useEncryptedEndpoints": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - slstp.UseSystemTrustStore = useSystemTrustStore + slstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "allowHostNameCNMismatch": + case "useHostVerification": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - slstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + slstp.UseHostVerification = useHostVerification } - case "allowSelfSignedServerCert": + case "usePeerVerification": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - slstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + slstp.UsePeerVerification = usePeerVerification } case "encryptedCredential": if v != nil { @@ -197075,10 +204634,10 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// SparkObjectDataset spark Server dataset. -type SparkObjectDataset struct { - // SparkDatasetTypeProperties - Properties specific to this dataset type. - *SparkDatasetTypeProperties `json:"typeProperties,omitempty"` +// ShopifyObjectDataset shopify Service dataset. +type ShopifyObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -197095,16 +204654,16 @@ type SparkObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `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 ShopifyObjectDataset. +func (sod ShopifyObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeShopifyObject objectMap := make(map[string]interface{}) - if sod.SparkDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.SparkDatasetTypeProperties + if sod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.GenericDatasetTypeProperties } if sod.Description != nil { objectMap["description"] = sod.Description @@ -197136,453 +204695,473 @@ func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return &sod, true } -// AsShopifyObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOrcDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsXMLDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsJSONDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsExcelDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAvroDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDataset() (*Dataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsBasicDataset() (BasicDataset, bool) { +// 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 } -// UnmarshalJSON is the custom unmarshaler for SparkObjectDataset struct. -func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ShopifyObjectDataset struct. +func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -197592,12 +205171,12 @@ func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sparkDatasetTypeProperties SparkDatasetTypeProperties - err = json.Unmarshal(*v, &sparkDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - sod.SparkDatasetTypeProperties = &sparkDatasetTypeProperties + sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -197689,8 +205268,8 @@ func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// SparkSource a copy activity Spark Server source. -type SparkSource struct { +// ShopifySource a copy activity Shopify Service source. +type ShopifySource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). @@ -197705,13 +205284,13 @@ type SparkSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SparkSource. -func (ss SparkSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSparkSource +// MarshalJSON is the custom marshaler for ShopifySource. +func (ss ShopifySource) MarshalJSON() ([]byte, error) { + ss.Type = TypeShopifySource objectMap := make(map[string]interface{}) if ss.Query != nil { objectMap["query"] = ss.Query @@ -197740,458 +205319,478 @@ func (ss SparkSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsWebSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsRestSource() (*RestSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsODataSource() (*ODataSource, bool) { +// AsRestSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) { +// AsODataSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsBlobSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) AsSparkSource() (*SparkSource, bool) { - return &ss, true +// AsXeroSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// AsShopifySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsTeradataSource() (*TeradataSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) 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 SparkSource. -func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapBwSource() (*SapBwSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBasicTabularSource() (BasicTabularSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBasicTabularSource() (BasicTabularSource, bool) { return &ss, true } -// AsBinarySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBinarySource() (*BinarySource, bool) { +// AsBinarySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOrcSource() (*OrcSource, bool) { +// AsOrcSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsJSONSource() (*JSONSource, bool) { +// AsXMLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsJSONSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsParquetSource() (*ParquetSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAvroSource() (*AvroSource, bool) { +// AsParquetSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCopySource() (*CopySource, bool) { +// AsExcelSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsAvroSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBasicCopySource() (BasicCopySource, bool) { return &ss, true } -// UnmarshalJSON is the custom unmarshaler for SparkSource struct. -func (ss *SparkSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ShopifySource struct. +func (ss *ShopifySource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -198280,264 +205879,542 @@ func (ss *SparkSource) UnmarshalJSON(body []byte) error { return nil } -// 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"` - // AllowCopyCommand - Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). - AllowCopyCommand interface{} `json:"allowCopyCommand,omitempty"` - // CopyCommandSettings - Specifies Copy Command related settings when allowCopyCommand is true. - CopyCommandSettings *DWCopyCommandSettings `json:"copyCommandSettings,omitempty"` - // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). - TableOption interface{} `json:"tableOption,omitempty"` +// SkipErrorFile skip error file. +type SkipErrorFile struct { + // FileMissing - Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). + FileMissing interface{} `json:"fileMissing,omitempty"` + // DataInconsistency - Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). + DataInconsistency interface{} `json:"dataInconsistency,omitempty"` +} + +// SnowflakeDataset the snowflake dataset. +type SnowflakeDataset struct { + // SnowflakeDatasetTypeProperties - Snowflake dataset properties. + *SnowflakeDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLDWSink. -func (sds SQLDWSink) MarshalJSON() ([]byte, error) { - sds.Type = TypeSQLDWSink +// MarshalJSON is the custom marshaler for SnowflakeDataset. +func (sd SnowflakeDataset) MarshalJSON() ([]byte, error) { + sd.Type = TypeSnowflakeTable objectMap := make(map[string]interface{}) - if sds.PreCopyScript != nil { - objectMap["preCopyScript"] = sds.PreCopyScript - } - if sds.AllowPolyBase != nil { - objectMap["allowPolyBase"] = sds.AllowPolyBase - } - if sds.PolyBaseSettings != nil { - objectMap["polyBaseSettings"] = sds.PolyBaseSettings - } - if sds.AllowCopyCommand != nil { - objectMap["allowCopyCommand"] = sds.AllowCopyCommand + if sd.SnowflakeDatasetTypeProperties != nil { + objectMap["typeProperties"] = sd.SnowflakeDatasetTypeProperties } - if sds.CopyCommandSettings != nil { - objectMap["copyCommandSettings"] = sds.CopyCommandSettings + if sd.Description != nil { + objectMap["description"] = sd.Description } - if sds.TableOption != nil { - objectMap["tableOption"] = sds.TableOption + if sd.Structure != nil { + objectMap["structure"] = sd.Structure } - if sds.WriteBatchSize != nil { - objectMap["writeBatchSize"] = sds.WriteBatchSize + if sd.Schema != nil { + objectMap["schema"] = sd.Schema } - if sds.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = sds.WriteBatchTimeout + if sd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sd.LinkedServiceName } - if sds.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = sds.SinkRetryCount + if sd.Parameters != nil { + objectMap["parameters"] = sd.Parameters } - if sds.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = sds.SinkRetryWait + if sd.Annotations != nil { + objectMap["annotations"] = sd.Annotations } - if sds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sds.MaxConcurrentConnections + if sd.Folder != nil { + objectMap["folder"] = sd.Folder } - if sds.Type != "" { - objectMap["type"] = sds.Type + if sd.Type != "" { + objectMap["type"] = sd.Type } - for k, v := range sds.AdditionalProperties { + for k, v := range sd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return &sd, true +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsInformixSink() (*InformixSink, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsOracleSink() (*OracleSink, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) { - return &sds, true +// AsServiceNowObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false } -// AsSQLMISink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLMISink() (*SQLMISink, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLSink() (*SQLSink, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsBinarySink() (*BinarySink, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsParquetSink() (*ParquetSink, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAvroSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAvroSink() (*AvroSink, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsAzureMySQLSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsOrcSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsOrcSink() (*OrcSink, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsJSONSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsJSONSink() (*JSONSink, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsCopySink() (*CopySink, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsBasicCopySink() (BasicCopySink, bool) { - return &sds, true +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLDWSink struct. -func (sds *SQLDWSink) UnmarshalJSON(body []byte) error { +// AsHTTPDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsDb2TableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsOrcDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsOrcDataset() (*OrcDataset, bool) { + return nil, false +} + +// AsXMLDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsExcelDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SnowflakeDataset. +func (sd SnowflakeDataset) AsBasicDataset() (BasicDataset, bool) { + return &sd, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeDataset struct. +func (sd *SnowflakeDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -198545,125 +206422,206 @@ func (sds *SQLDWSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "preCopyScript": + case "typeProperties": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var snowflakeDatasetTypeProperties SnowflakeDatasetTypeProperties + err = json.Unmarshal(*v, &snowflakeDatasetTypeProperties) if err != nil { return err } - sds.PreCopyScript = preCopyScript + sd.SnowflakeDatasetTypeProperties = &snowflakeDatasetTypeProperties } - case "allowPolyBase": + default: if v != nil { - var allowPolyBase interface{} - err = json.Unmarshal(*v, &allowPolyBase) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sds.AllowPolyBase = allowPolyBase + if sd.AdditionalProperties == nil { + sd.AdditionalProperties = make(map[string]interface{}) + } + sd.AdditionalProperties[k] = additionalProperties } - case "polyBaseSettings": + case "description": if v != nil { - var polyBaseSettings PolybaseSettings - err = json.Unmarshal(*v, &polyBaseSettings) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - sds.PolyBaseSettings = &polyBaseSettings + sd.Description = &description } - case "allowCopyCommand": + case "structure": if v != nil { - var allowCopyCommand interface{} - err = json.Unmarshal(*v, &allowCopyCommand) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - sds.AllowCopyCommand = allowCopyCommand + sd.Structure = structure } - case "copyCommandSettings": + case "schema": if v != nil { - var copyCommandSettings DWCopyCommandSettings - err = json.Unmarshal(*v, ©CommandSettings) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - sds.CopyCommandSettings = ©CommandSettings + sd.Schema = schema } - case "tableOption": + case "linkedServiceName": if v != nil { - var tableOption interface{} - err = json.Unmarshal(*v, &tableOption) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - sds.TableOption = tableOption + sd.LinkedServiceName = &linkedServiceName } - default: + case "parameters": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - if sds.AdditionalProperties == nil { - sds.AdditionalProperties = make(map[string]interface{}) + sd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err } - sds.AdditionalProperties[k] = additionalProperties + sd.Annotations = &annotations } - case "writeBatchSize": + case "folder": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - sds.WriteBatchSize = writeBatchSize + sd.Folder = &folder } - case "writeBatchTimeout": + case "type": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sds.WriteBatchTimeout = writeBatchTimeout + sd.Type = typeVar } - case "sinkRetryCount": + } + } + + return nil +} + +// SnowflakeDatasetTypeProperties snowflake dataset properties. +type SnowflakeDatasetTypeProperties struct { + // Schema - The schema name of the Snowflake database. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the Snowflake database. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` +} + +// SnowflakeExportCopyCommand snowflake export command settings. +type SnowflakeExportCopyCommand struct { + // AdditionalCopyOptions - Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } + AdditionalCopyOptions map[string]interface{} `json:"additionalCopyOptions"` + // AdditionalFormatOptions - Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } + AdditionalFormatOptions map[string]interface{} `json:"additionalFormatOptions"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeExportSettings', 'TypeSnowflakeExportCopyCommand' + Type TypeBasicExportSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SnowflakeExportCopyCommand. +func (secc SnowflakeExportCopyCommand) MarshalJSON() ([]byte, error) { + secc.Type = TypeSnowflakeExportCopyCommand + objectMap := make(map[string]interface{}) + if secc.AdditionalCopyOptions != nil { + objectMap["additionalCopyOptions"] = secc.AdditionalCopyOptions + } + if secc.AdditionalFormatOptions != nil { + objectMap["additionalFormatOptions"] = secc.AdditionalFormatOptions + } + if secc.Type != "" { + objectMap["type"] = secc.Type + } + for k, v := range secc.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSnowflakeExportCopyCommand is the BasicExportSettings implementation for SnowflakeExportCopyCommand. +func (secc SnowflakeExportCopyCommand) AsSnowflakeExportCopyCommand() (*SnowflakeExportCopyCommand, bool) { + return &secc, true +} + +// AsExportSettings is the BasicExportSettings implementation for SnowflakeExportCopyCommand. +func (secc SnowflakeExportCopyCommand) AsExportSettings() (*ExportSettings, bool) { + return nil, false +} + +// AsBasicExportSettings is the BasicExportSettings implementation for SnowflakeExportCopyCommand. +func (secc SnowflakeExportCopyCommand) AsBasicExportSettings() (BasicExportSettings, bool) { + return &secc, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeExportCopyCommand struct. +func (secc *SnowflakeExportCopyCommand) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "additionalCopyOptions": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var additionalCopyOptions map[string]interface{} + err = json.Unmarshal(*v, &additionalCopyOptions) if err != nil { return err } - sds.SinkRetryCount = sinkRetryCount + secc.AdditionalCopyOptions = additionalCopyOptions } - case "sinkRetryWait": + case "additionalFormatOptions": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var additionalFormatOptions map[string]interface{} + err = json.Unmarshal(*v, &additionalFormatOptions) if err != nil { return err } - sds.SinkRetryWait = sinkRetryWait + secc.AdditionalFormatOptions = additionalFormatOptions } - case "maxConcurrentConnections": + default: if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sds.MaxConcurrentConnections = maxConcurrentConnections + if secc.AdditionalProperties == nil { + secc.AdditionalProperties = make(map[string]interface{}) + } + secc.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicExportSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sds.Type = typeVar + secc.Type = typeVar } } } @@ -198671,519 +206629,644 @@ func (sds *SQLDWSink) UnmarshalJSON(body []byte) error { return nil } -// 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"` - // 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"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// SnowflakeImportCopyCommand snowflake import command settings. +type SnowflakeImportCopyCommand struct { + // AdditionalCopyOptions - Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } + AdditionalCopyOptions map[string]interface{} `json:"additionalCopyOptions"` + // AdditionalFormatOptions - Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } + AdditionalFormatOptions map[string]interface{} `json:"additionalFormatOptions"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Type - Possible values include: 'TypeImportSettings', 'TypeSnowflakeImportCopyCommand' + Type TypeBasicImportSettings `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 SnowflakeImportCopyCommand. +func (sicc SnowflakeImportCopyCommand) MarshalJSON() ([]byte, error) { + sicc.Type = TypeSnowflakeImportCopyCommand objectMap := make(map[string]interface{}) - if sds.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = sds.SQLReaderQuery + if sicc.AdditionalCopyOptions != nil { + objectMap["additionalCopyOptions"] = sicc.AdditionalCopyOptions } - if sds.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = sds.SQLReaderStoredProcedureName + if sicc.AdditionalFormatOptions != nil { + objectMap["additionalFormatOptions"] = sicc.AdditionalFormatOptions } - if sds.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters + if sicc.Type != "" { + objectMap["type"] = sicc.Type } - if sds.QueryTimeout != nil { - objectMap["queryTimeout"] = sds.QueryTimeout + for k, v := range sicc.AdditionalProperties { + objectMap[k] = v } - if sds.AdditionalColumns != nil { - objectMap["additionalColumns"] = sds.AdditionalColumns + return json.Marshal(objectMap) +} + +// AsSnowflakeImportCopyCommand is the BasicImportSettings implementation for SnowflakeImportCopyCommand. +func (sicc SnowflakeImportCopyCommand) AsSnowflakeImportCopyCommand() (*SnowflakeImportCopyCommand, bool) { + return &sicc, true +} + +// AsImportSettings is the BasicImportSettings implementation for SnowflakeImportCopyCommand. +func (sicc SnowflakeImportCopyCommand) AsImportSettings() (*ImportSettings, bool) { + return nil, false +} + +// AsBasicImportSettings is the BasicImportSettings implementation for SnowflakeImportCopyCommand. +func (sicc SnowflakeImportCopyCommand) AsBasicImportSettings() (BasicImportSettings, bool) { + return &sicc, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeImportCopyCommand struct. +func (sicc *SnowflakeImportCopyCommand) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if sds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = sds.SourceRetryCount + for k, v := range m { + switch k { + case "additionalCopyOptions": + if v != nil { + var additionalCopyOptions map[string]interface{} + err = json.Unmarshal(*v, &additionalCopyOptions) + if err != nil { + return err + } + sicc.AdditionalCopyOptions = additionalCopyOptions + } + case "additionalFormatOptions": + if v != nil { + var additionalFormatOptions map[string]interface{} + err = json.Unmarshal(*v, &additionalFormatOptions) + if err != nil { + return err + } + sicc.AdditionalFormatOptions = additionalFormatOptions + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sicc.AdditionalProperties == nil { + sicc.AdditionalProperties = make(map[string]interface{}) + } + sicc.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicImportSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sicc.Type = typeVar + } + } } - if sds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = sds.SourceRetryWait + + return nil +} + +// SnowflakeLinkedService snowflake linked service. +type SnowflakeLinkedService struct { + // SnowflakeLinkedServiceTypeProperties - Snowflake linked service properties. + *SnowflakeLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSnowflake + objectMap := make(map[string]interface{}) + if sls.SnowflakeLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SnowflakeLinkedServiceTypeProperties } - if sds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sds.MaxConcurrentConnections + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if sds.Type != "" { - objectMap["type"] = sds.Type + if sls.Description != nil { + objectMap["description"] = sls.Description } - for k, v := range sds.AdditionalProperties { + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + if sls.Type != "" { + objectMap["type"] = sls.Type + } + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return &sls, true +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsRestSource() (*RestSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsVerticaSource() (*VerticaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsZohoSource() (*ZohoSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsXeroSource() (*XeroSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSquareSource() (*SquareSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSparkSource() (*SparkSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsShopifySource() (*ShopifySource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPrestoSource() (*PrestoSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMagentoSource() (*MagentoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsJiraSource() (*JiraSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHubspotSource() (*HubspotSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHiveSource() (*HiveSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDrillSource() (*DrillSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsTeradataSource() (*TeradataSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { - return &sds, true +// AsMongoDbLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapTableSource() (*SapTableSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapBwSource() (*SapBwSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMySQLSource() (*MySQLSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDb2Source() (*Db2Source, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsInformixSource() (*InformixSource, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsTabularSource() (*TabularSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &sds, true +// AsHDInsightLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOrcSource() (*OrcSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsJSONSource() (*JSONSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAvroSource() (*AvroSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCopySource() (*CopySource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBasicCopySource() (BasicCopySource, bool) { - return &sds, true +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLDWSource struct. -func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SnowflakeLinkedService. +func (sls SnowflakeLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeLinkedService struct. +func (sls *SnowflakeLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -199191,98 +207274,71 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlReaderQuery": - if v != nil { - var SQLReaderQuery interface{} - err = json.Unmarshal(*v, &SQLReaderQuery) - if err != nil { - return err - } - sds.SQLReaderQuery = SQLReaderQuery - } - case "sqlReaderStoredProcedureName": - if v != nil { - var SQLReaderStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) - if err != nil { - return err - } - sds.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName - } - case "storedProcedureParameters": + case "typeProperties": if v != nil { - var storedProcedureParameters interface{} - err = json.Unmarshal(*v, &storedProcedureParameters) + var snowflakeLinkedServiceTypeProperties SnowflakeLinkedServiceTypeProperties + err = json.Unmarshal(*v, &snowflakeLinkedServiceTypeProperties) if err != nil { return err } - sds.StoredProcedureParameters = storedProcedureParameters + sls.SnowflakeLinkedServiceTypeProperties = &snowflakeLinkedServiceTypeProperties } - case "queryTimeout": + default: if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sds.QueryTimeout = queryTimeout - } - case "additionalColumns": - if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) - if err != nil { - return err + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) } - sds.AdditionalColumns = &additionalColumns + sls.AdditionalProperties[k] = additionalProperties } - default: + case "connectVia": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - if sds.AdditionalProperties == nil { - sds.AdditionalProperties = make(map[string]interface{}) - } - sds.AdditionalProperties[k] = additionalProperties + sls.ConnectVia = &connectVia } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - sds.SourceRetryCount = sourceRetryCount + sls.Description = &description } - case "sourceRetryWait": + case "parameters": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - sds.SourceRetryWait = sourceRetryWait + sls.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - sds.MaxConcurrentConnections = maxConcurrentConnections + sls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sds.Type = typeVar + sls.Type = typeVar } } } @@ -199290,20 +207346,22 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { return nil } -// SQLMISink a copy activity Azure SQL Managed Instance sink. -type SQLMISink struct { - // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). - SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` - // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). - SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` +// SnowflakeLinkedServiceTypeProperties snowflake linked service properties. +type SnowflakeLinkedServiceTypeProperties struct { + // ConnectionString - The connection string of snowflake. Type: string, SecureString. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Password - The Azure key vault secret reference of password in connection string. + Password *AzureKeyVaultSecretReference `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// SnowflakeSink a copy activity snowflake sink. +type SnowflakeSink struct { // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // StoredProcedureParameters - SQL stored procedure parameters. - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). - StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` - // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). - TableOption interface{} `json:"tableOption,omitempty"` + // ImportSettings - Snowflake import settings. + ImportSettings *SnowflakeImportCopyCommand `json:"importSettings,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. @@ -199316,238 +207374,236 @@ type SQLMISink struct { SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLMISink. -func (sms SQLMISink) MarshalJSON() ([]byte, error) { - sms.Type = TypeSQLMISink +// MarshalJSON is the custom marshaler for SnowflakeSink. +func (ss SnowflakeSink) MarshalJSON() ([]byte, error) { + ss.Type = TypeSnowflakeSink objectMap := make(map[string]interface{}) - if sms.SQLWriterStoredProcedureName != nil { - objectMap["sqlWriterStoredProcedureName"] = sms.SQLWriterStoredProcedureName - } - if sms.SQLWriterTableType != nil { - objectMap["sqlWriterTableType"] = sms.SQLWriterTableType - } - if sms.PreCopyScript != nil { - objectMap["preCopyScript"] = sms.PreCopyScript - } - if sms.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters - } - if sms.StoredProcedureTableTypeParameterName != nil { - objectMap["storedProcedureTableTypeParameterName"] = sms.StoredProcedureTableTypeParameterName + if ss.PreCopyScript != nil { + objectMap["preCopyScript"] = ss.PreCopyScript } - if sms.TableOption != nil { - objectMap["tableOption"] = sms.TableOption + if ss.ImportSettings != nil { + objectMap["importSettings"] = ss.ImportSettings } - if sms.WriteBatchSize != nil { - objectMap["writeBatchSize"] = sms.WriteBatchSize + if ss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ss.WriteBatchSize } - if sms.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = sms.WriteBatchTimeout + if ss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout } - if sms.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = sms.SinkRetryCount + if ss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ss.SinkRetryCount } - if sms.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = sms.SinkRetryWait + if ss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ss.SinkRetryWait } - if sms.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if sms.Type != "" { - objectMap["type"] = sms.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range sms.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSnowflakeSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return &ss, true +} + +// AsSQLDWSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSQLMISink() (*SQLMISink, bool) { - return &sms, true +// AsSQLMISink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsBlobSink() (*BlobSink, bool) { +// AsBlobSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsBinarySink() (*BinarySink, bool) { +// AsBinarySink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsParquetSink() (*ParquetSink, bool) { +// AsParquetSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAvroSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAvroSink() (*AvroSink, bool) { +// AsAvroSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzureMySQLSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsOrcSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsOrcSink() (*OrcSink, bool) { +// AsRestSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsJSONSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsJSONSink() (*JSONSink, bool) { +// AsOrcSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsJSONSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsCopySink() (*CopySink, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLMISink. -func (sms SQLMISink) AsBasicCopySink() (BasicCopySink, bool) { - return &sms, true +// AsCopySink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsCopySink() (*CopySink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLMISink struct. -func (sms *SQLMISink) UnmarshalJSON(body []byte) error { +// AsBasicCopySink is the BasicCopySink implementation for SnowflakeSink. +func (ss SnowflakeSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeSink struct. +func (ss *SnowflakeSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -199555,24 +207611,6 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlWriterStoredProcedureName": - if v != nil { - var SQLWriterStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) - if err != nil { - return err - } - sms.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName - } - case "sqlWriterTableType": - if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) - if err != nil { - return err - } - sms.SQLWriterTableType = SQLWriterTableType - } case "preCopyScript": if v != nil { var preCopyScript interface{} @@ -199580,34 +207618,16 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.PreCopyScript = preCopyScript - } - case "storedProcedureParameters": - if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) - if err != nil { - return err - } - sms.StoredProcedureParameters = storedProcedureParameters - } - case "storedProcedureTableTypeParameterName": - if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) - if err != nil { - return err - } - sms.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + ss.PreCopyScript = preCopyScript } - case "tableOption": + case "importSettings": if v != nil { - var tableOption interface{} - err = json.Unmarshal(*v, &tableOption) + var importSettings SnowflakeImportCopyCommand + err = json.Unmarshal(*v, &importSettings) if err != nil { return err } - sms.TableOption = tableOption + ss.ImportSettings = &importSettings } default: if v != nil { @@ -199616,10 +207636,10 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sms.AdditionalProperties == nil { - sms.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - sms.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -199628,7 +207648,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.WriteBatchSize = writeBatchSize + ss.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -199637,7 +207657,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.WriteBatchTimeout = writeBatchTimeout + ss.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -199646,7 +207666,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.SinkRetryCount = sinkRetryCount + ss.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -199655,7 +207675,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.SinkRetryWait = sinkRetryWait + ss.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -199664,7 +207684,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.MaxConcurrentConnections = maxConcurrentConnections + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -199673,7 +207693,7 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.Type = typeVar + ss.Type = typeVar } } } @@ -199681,20 +207701,12 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { return nil } -// SQLMISource a copy activity Azure SQL Managed Instance source. -type SQLMISource struct { - // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). - SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` - // SQLReaderStoredProcedureName - Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` - // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // ProduceAdditionalTypes - Which additional types to produce. - ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` - // 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"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// SnowflakeSource a copy activity snowflake source. +type SnowflakeSource struct { + // Query - Snowflake Sql query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // ExportSettings - Snowflake export settings. + ExportSettings *SnowflakeExportCopyCommand `json:"exportSettings,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). @@ -199703,502 +207715,510 @@ type SQLMISource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLMISource. -func (sms SQLMISource) MarshalJSON() ([]byte, error) { - sms.Type = TypeSQLMISource +// MarshalJSON is the custom marshaler for SnowflakeSource. +func (ss SnowflakeSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSnowflakeSource objectMap := make(map[string]interface{}) - if sms.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = sms.SQLReaderQuery - } - if sms.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = sms.SQLReaderStoredProcedureName - } - if sms.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters - } - if sms.ProduceAdditionalTypes != nil { - objectMap["produceAdditionalTypes"] = sms.ProduceAdditionalTypes - } - if sms.QueryTimeout != nil { - objectMap["queryTimeout"] = sms.QueryTimeout + if ss.Query != nil { + objectMap["query"] = ss.Query } - if sms.AdditionalColumns != nil { - objectMap["additionalColumns"] = sms.AdditionalColumns + if ss.ExportSettings != nil { + objectMap["exportSettings"] = ss.ExportSettings } - if sms.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = sms.SourceRetryCount + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if sms.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = sms.SourceRetryWait + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if sms.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if sms.Type != "" { - objectMap["type"] = sms.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range sms.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return &ss, true +} + +// AsHTTPSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsOffice365Source is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsWebSource() (*WebSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsRestSource() (*RestSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsRestSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsODataSource() (*ODataSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsODataSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsRelationalSource() (*RelationalSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsVerticaSource() (*VerticaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsZohoSource() (*ZohoSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsXeroSource() (*XeroSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSquareSource() (*SquareSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSparkSource() (*SparkSource, bool) { +// AsSquareSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsShopifySource() (*ShopifySource, bool) { +// AsSparkSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsPaypalSource() (*PaypalSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsTeradataSource() (*TeradataSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSQLMISource() (*SQLMISource, bool) { - return &sms, true +// AsSQLDWSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSapBwSource() (*SapBwSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsSybaseSource() (*SybaseSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsInformixSource() (*InformixSource, bool) { +// AsDb2Source is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsTabularSource() (*TabularSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &sms, true +// AsTabularSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsTabularSource() (*TabularSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsOrcSource() (*OrcSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsJSONSource() (*JSONSource, bool) { +// AsOrcSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsXMLSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAvroSource() (*AvroSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsCopySource() (*CopySource, bool) { +// AsParquetSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBasicCopySource() (BasicCopySource, bool) { - return &sms, true +// AsExcelSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLMISource struct. -func (sms *SQLMISource) UnmarshalJSON(body []byte) error { +// AsAvroSource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SnowflakeSource. +func (ss SnowflakeSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SnowflakeSource struct. +func (ss *SnowflakeSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -200206,59 +208226,23 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlReaderQuery": - if v != nil { - var SQLReaderQuery interface{} - err = json.Unmarshal(*v, &SQLReaderQuery) - if err != nil { - return err - } - sms.SQLReaderQuery = SQLReaderQuery - } - case "sqlReaderStoredProcedureName": - if v != nil { - var SQLReaderStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) - if err != nil { - return err - } - sms.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName - } - case "storedProcedureParameters": - if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) - if err != nil { - return err - } - sms.StoredProcedureParameters = storedProcedureParameters - } - case "produceAdditionalTypes": - if v != nil { - var produceAdditionalTypes interface{} - err = json.Unmarshal(*v, &produceAdditionalTypes) - if err != nil { - return err - } - sms.ProduceAdditionalTypes = produceAdditionalTypes - } - case "queryTimeout": + case "query": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - sms.QueryTimeout = queryTimeout + ss.Query = query } - case "additionalColumns": + case "exportSettings": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var exportSettings SnowflakeExportCopyCommand + err = json.Unmarshal(*v, &exportSettings) if err != nil { return err } - sms.AdditionalColumns = &additionalColumns + ss.ExportSettings = &exportSettings } default: if v != nil { @@ -200267,10 +208251,10 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sms.AdditionalProperties == nil { - sms.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - sms.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -200279,7 +208263,7 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.SourceRetryCount = sourceRetryCount + ss.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -200288,7 +208272,7 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.SourceRetryWait = sourceRetryWait + ss.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -200297,7 +208281,7 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.MaxConcurrentConnections = maxConcurrentConnections + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -200306,7 +208290,7 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { if err != nil { return err } - sms.Type = typeVar + ss.Type = typeVar } } } @@ -200314,10 +208298,20 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { return nil } -// SQLServerLinkedService SQL Server linked service. -type SQLServerLinkedService struct { - // SQLServerLinkedServiceTypeProperties - SQL Server linked service properties. - *SQLServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SparkDatasetTypeProperties spark Properties +type SparkDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Spark. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Spark. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + +// SparkLinkedService spark Server linked service. +type SparkLinkedService struct { + // SparkLinkedServiceTypeProperties - Spark Server linked service properties. + *SparkLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -200328,520 +208322,530 @@ type SQLServerLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for 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 } - if ssls.Parameters != nil { - objectMap["parameters"] = ssls.Parameters + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters } - if ssls.Annotations != nil { - objectMap["annotations"] = ssls.Annotations + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations } - if ssls.Type != "" { - objectMap["type"] = ssls.Type + if sls.Type != "" { + objectMap["type"] = sls.Type } - for k, v := range ssls.AdditionalProperties { + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return &sls, true +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return &ssls, true +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ssls, true +// AsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedService struct. -func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -200851,12 +208855,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 { @@ -200865,10 +208869,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 { @@ -200877,7 +208881,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.ConnectVia = &connectVia + sls.ConnectVia = &connectVia } case "description": if v != nil { @@ -200886,7 +208890,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Description = &description + sls.Description = &description } case "parameters": if v != nil { @@ -200895,7 +208899,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Parameters = parameters + sls.Parameters = parameters } case "annotations": if v != nil { @@ -200904,7 +208908,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Annotations = &annotations + sls.Annotations = &annotations } case "type": if v != nil { @@ -200913,7 +208917,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Type = typeVar + sls.Type = typeVar } } } @@ -200921,20 +208925,40 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SQLServerLinkedServiceTypeProperties SQL Server linked service properties. -type SQLServerLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `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 { @@ -200942,431 +208966,130 @@ func (sslstp *SQLServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } for k, v := range m { switch k { - case "connectionString": - if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) - if err != nil { - return err - } - 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": + case "host": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - sslstp.EncryptedCredential = encryptedCredential + slstp.Host = host } - } - } - - return nil -} - -// SQLServerSink a copy activity SQL server sink. -type SQLServerSink struct { - // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). - SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` - // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). - SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // StoredProcedureParameters - SQL stored procedure parameters. - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). - StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` - // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). - TableOption interface{} `json:"tableOption,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' - Type TypeBasicCopySink `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SQLServerSink. -func (sss SQLServerSink) MarshalJSON() ([]byte, error) { - sss.Type = TypeSQLServerSink - objectMap := make(map[string]interface{}) - if sss.SQLWriterStoredProcedureName != nil { - objectMap["sqlWriterStoredProcedureName"] = sss.SQLWriterStoredProcedureName - } - if sss.SQLWriterTableType != nil { - objectMap["sqlWriterTableType"] = sss.SQLWriterTableType - } - if sss.PreCopyScript != nil { - objectMap["preCopyScript"] = sss.PreCopyScript - } - if sss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters - } - if sss.StoredProcedureTableTypeParameterName != nil { - objectMap["storedProcedureTableTypeParameterName"] = sss.StoredProcedureTableTypeParameterName - } - if sss.TableOption != nil { - objectMap["tableOption"] = sss.TableOption - } - if sss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = sss.WriteBatchSize - } - if sss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = sss.WriteBatchTimeout - } - if sss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = sss.SinkRetryCount - } - if sss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = sss.SinkRetryWait - } - if sss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections - } - if sss.Type != "" { - objectMap["type"] = sss.Type - } - for k, v := range sss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { - return nil, false -} - -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false -} - -// AsInformixSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsInformixSink() (*InformixSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} - -// AsOracleSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsOracleSink() (*OracleSink, bool) { - return nil, false -} - -// AsSQLDWSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLDWSink() (*SQLDWSink, bool) { - return nil, false -} - -// AsSQLMISink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLMISink() (*SQLMISink, bool) { - return nil, false -} - -// AsAzureSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { - return nil, false -} - -// AsSQLServerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLServerSink() (*SQLServerSink, bool) { - return &sss, true -} - -// AsSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLSink() (*SQLSink, bool) { - return nil, false -} - -// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { - return nil, false -} - -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { - return nil, false -} - -// AsFileSystemSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsFileSystemSink() (*FileSystemSink, bool) { - return nil, false -} - -// AsBlobSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBlobSink() (*BlobSink, bool) { - return nil, false -} - -// AsBinarySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBinarySink() (*BinarySink, bool) { - return nil, false -} - -// AsParquetSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsParquetSink() (*ParquetSink, bool) { - return nil, false -} - -// AsAvroSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAvroSink() (*AvroSink, bool) { - return nil, false -} - -// AsAzureTableSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureTableSink() (*AzureTableSink, bool) { - return nil, false -} - -// AsAzureQueueSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { - return nil, false -} - -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { - return nil, false -} - -// AsAzureMySQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { - return nil, false -} - -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { - return nil, false -} - -// AsOrcSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsOrcSink() (*OrcSink, bool) { - return nil, false -} - -// AsJSONSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsJSONSink() (*JSONSink, bool) { - return nil, false -} - -// AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { - return nil, false -} - -// AsCopySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCopySink() (*CopySink, bool) { - return nil, false -} - -// AsBasicCopySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBasicCopySink() (BasicCopySink, bool) { - return &sss, true -} - -// UnmarshalJSON is the custom unmarshaler for SQLServerSink struct. -func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "sqlWriterStoredProcedureName": + case "port": if v != nil { - var SQLWriterStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - sss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + slstp.Port = port } - case "sqlWriterTableType": + case "serverType": if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) + var serverType SparkServerType + err = json.Unmarshal(*v, &serverType) if err != nil { return err } - sss.SQLWriterTableType = SQLWriterTableType + slstp.ServerType = serverType } - case "preCopyScript": + case "thriftTransportProtocol": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var thriftTransportProtocol SparkThriftTransportProtocol + err = json.Unmarshal(*v, &thriftTransportProtocol) if err != nil { return err } - sss.PreCopyScript = preCopyScript + slstp.ThriftTransportProtocol = thriftTransportProtocol } - case "storedProcedureParameters": + case "authenticationType": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var authenticationType SparkAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - sss.StoredProcedureParameters = storedProcedureParameters + slstp.AuthenticationType = authenticationType } - case "storedProcedureTableTypeParameterName": + case "username": if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - sss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + slstp.Username = username } - case "tableOption": + case "password": if v != nil { - var tableOption interface{} - err = json.Unmarshal(*v, &tableOption) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - sss.TableOption = tableOption + 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 sss.AdditionalProperties == nil { - sss.AdditionalProperties = make(map[string]interface{}) - } - sss.AdditionalProperties[k] = additionalProperties + slstp.HTTPPath = HTTPPath } - case "writeBatchSize": + case "enableSsl": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) if err != nil { return err } - sss.WriteBatchSize = writeBatchSize + slstp.EnableSsl = enableSsl } - case "writeBatchTimeout": + case "trustedCertPath": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) if err != nil { return err } - sss.WriteBatchTimeout = writeBatchTimeout + slstp.TrustedCertPath = trustedCertPath } - case "sinkRetryCount": + case "useSystemTrustStore": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) if err != nil { return err } - sss.SinkRetryCount = sinkRetryCount + slstp.UseSystemTrustStore = useSystemTrustStore } - case "sinkRetryWait": + case "allowHostNameCNMismatch": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) if err != nil { return err } - sss.SinkRetryWait = sinkRetryWait + slstp.AllowHostNameCNMismatch = allowHostNameCNMismatch } - case "maxConcurrentConnections": + case "allowSelfSignedServerCert": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) if err != nil { return err } - sss.MaxConcurrentConnections = maxConcurrentConnections + slstp.AllowSelfSignedServerCert = allowSelfSignedServerCert } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - sss.Type = typeVar + slstp.EncryptedCredential = encryptedCredential } } } @@ -201374,632 +209097,633 @@ func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { return nil } -// SQLServerSource a copy activity SQL server source. -type SQLServerSource struct { - // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). - SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` - // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` - // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // ProduceAdditionalTypes - Which additional types to produce. - ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// SparkObjectDataset spark Server dataset. +type SparkObjectDataset struct { + // SparkDatasetTypeProperties - Properties specific to this dataset type. + *SparkDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerSource. -func (sss SQLServerSource) MarshalJSON() ([]byte, error) { - sss.Type = TypeSQLServerSource +// MarshalJSON is the custom marshaler for SparkObjectDataset. +func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSparkObject objectMap := make(map[string]interface{}) - if sss.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = sss.SQLReaderQuery - } - if sss.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = sss.SQLReaderStoredProcedureName + if sod.SparkDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.SparkDatasetTypeProperties } - if sss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters + if sod.Description != nil { + objectMap["description"] = sod.Description } - if sss.ProduceAdditionalTypes != nil { - objectMap["produceAdditionalTypes"] = sss.ProduceAdditionalTypes + if sod.Structure != nil { + objectMap["structure"] = sod.Structure } - if sss.QueryTimeout != nil { - objectMap["queryTimeout"] = sss.QueryTimeout + if sod.Schema != nil { + objectMap["schema"] = sod.Schema } - if sss.AdditionalColumns != nil { - objectMap["additionalColumns"] = sss.AdditionalColumns + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - if sss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = sss.SourceRetryCount + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - if sss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = sss.SourceRetryWait + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations } - if sss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + if sod.Folder != nil { + objectMap["folder"] = sod.Folder } - if sss.Type != "" { - objectMap["type"] = sss.Type + if sod.Type != "" { + objectMap["type"] = sod.Type } - for k, v := range sss.AdditionalProperties { + for k, v := range sod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsWebSource() (*WebSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOracleSource() (*OracleSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHdfsSource() (*HdfsSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsRestSource() (*RestSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return &sod, true +} + +// AsShopifyObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsRelationalSource() (*RelationalSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBlobSource() (*BlobSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsVerticaSource() (*VerticaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsZohoSource() (*ZohoSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsXeroSource() (*XeroSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSquareSource() (*SquareSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSparkSource() (*SparkSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsShopifySource() (*ShopifySource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPrestoSource() (*PrestoSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPaypalSource() (*PaypalSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsJiraSource() (*JiraSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHiveSource() (*HiveSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsEloquaSource() (*EloquaSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDrillSource() (*DrillSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsConcurSource() (*ConcurSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsTeradataSource() (*TeradataSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLServerSource() (*SQLServerSource, bool) { - return &sss, true +// AsMongoDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLSource() (*SQLSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapBwSource() (*SapBwSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsCustomDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &sss, true +// AsBinaryDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) { +// AsOrcDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOrcSource() (*OrcSource, bool) { +// AsXMLDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsJSONSource() (*JSONSource, bool) { +// AsJSONDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsParquetSource() (*ParquetSource, bool) { +// AsParquetDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAvroSource() (*AvroSource, bool) { +// AsExcelDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCopySource() (*CopySource, bool) { +// AsAvroDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBasicCopySource() (BasicCopySource, bool) { - return &sss, true +// AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLServerSource struct. -func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "sqlReaderQuery": - if v != nil { - var SQLReaderQuery interface{} - err = json.Unmarshal(*v, &SQLReaderQuery) - if err != nil { - return err - } - sss.SQLReaderQuery = SQLReaderQuery - } - case "sqlReaderStoredProcedureName": +// AsDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true +} + +// UnmarshalJSON is the custom unmarshaler for SparkObjectDataset struct. +func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { + 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 SQLReaderStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) + var sparkDatasetTypeProperties SparkDatasetTypeProperties + err = json.Unmarshal(*v, &sparkDatasetTypeProperties) if err != nil { return err } - sss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + sod.SparkDatasetTypeProperties = &sparkDatasetTypeProperties } - case "storedProcedureParameters": + default: if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sss.StoredProcedureParameters = storedProcedureParameters + if sod.AdditionalProperties == nil { + sod.AdditionalProperties = make(map[string]interface{}) + } + sod.AdditionalProperties[k] = additionalProperties } - case "produceAdditionalTypes": + case "description": if v != nil { - var produceAdditionalTypes interface{} - err = json.Unmarshal(*v, &produceAdditionalTypes) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - sss.ProduceAdditionalTypes = produceAdditionalTypes + sod.Description = &description } - case "queryTimeout": + case "structure": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - sss.QueryTimeout = queryTimeout + sod.Structure = structure } - case "additionalColumns": + case "schema": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - sss.AdditionalColumns = &additionalColumns + sod.Schema = schema } - default: + case "linkedServiceName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - if sss.AdditionalProperties == nil { - sss.AdditionalProperties = make(map[string]interface{}) - } - sss.AdditionalProperties[k] = additionalProperties + sod.LinkedServiceName = &linkedServiceName } - case "sourceRetryCount": + case "parameters": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - sss.SourceRetryCount = sourceRetryCount + sod.Parameters = parameters } - case "sourceRetryWait": + case "annotations": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - sss.SourceRetryWait = sourceRetryWait + sod.Annotations = &annotations } - case "maxConcurrentConnections": + case "folder": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - sss.MaxConcurrentConnections = maxConcurrentConnections + sod.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sss.Type = typeVar + sod.Type = typeVar } } } @@ -202007,1263 +209731,885 @@ func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { return nil } -// SQLServerStoredProcedureActivity SQL stored procedure activity type. -type SQLServerStoredProcedureActivity struct { - // SQLServerStoredProcedureActivityTypeProperties - SQL stored procedure activity properties. - *SQLServerStoredProcedureActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// 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"` + // 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"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) MarshalJSON() ([]byte, error) { - ssspa.Type = TypeSQLServerStoredProcedure +// MarshalJSON is the custom marshaler for SparkSource. +func (ss SparkSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSparkSource objectMap := make(map[string]interface{}) - if ssspa.SQLServerStoredProcedureActivityTypeProperties != nil { - objectMap["typeProperties"] = ssspa.SQLServerStoredProcedureActivityTypeProperties - } - if ssspa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ssspa.LinkedServiceName + if ss.Query != nil { + objectMap["query"] = ss.Query } - if ssspa.Policy != nil { - objectMap["policy"] = ssspa.Policy + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if ssspa.Name != nil { - objectMap["name"] = ssspa.Name + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns } - if ssspa.Description != nil { - objectMap["description"] = ssspa.Description + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if ssspa.DependsOn != nil { - objectMap["dependsOn"] = ssspa.DependsOn + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if ssspa.UserProperties != nil { - objectMap["userProperties"] = ssspa.UserProperties + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if ssspa.Type != "" { - objectMap["type"] = ssspa.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range ssspa.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { - return &ssspa, true +// AsRestSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsRestSource() (*RestSource, bool) { + return nil, false } -// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ssspa, true +// AsBlobSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) { - return nil, false +// AsSparkSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSparkSource() (*SparkSource, bool) { + return &ss, true } -// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) { - return &ssspa, true +// AsQuickBooksSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// 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 "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - ssspa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ssspa.Type = typeVar - } - } - } - - return nil +// AsPrestoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// 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"` +// AsPhoenixSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties. -func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ssspatp.StoredProcedureName != nil { - objectMap["storedProcedureName"] = ssspatp.StoredProcedureName - } - if ssspatp.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters - } - return json.Marshal(objectMap) +// AsPaypalSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// 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:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// AsMarketoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SQLServerTableDataset. -func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) { - sstd.Type = TypeSQLServerTable - objectMap := make(map[string]interface{}) - if sstd.SQLServerTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties - } - if sstd.Description != nil { - objectMap["description"] = sstd.Description - } - if sstd.Structure != nil { - objectMap["structure"] = sstd.Structure - } - if sstd.Schema != nil { - objectMap["schema"] = sstd.Schema - } - if sstd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sstd.LinkedServiceName - } - if sstd.Parameters != nil { - objectMap["parameters"] = sstd.Parameters - } - if sstd.Annotations != nil { - objectMap["annotations"] = sstd.Annotations - } - if sstd.Folder != nil { - objectMap["folder"] = sstd.Folder - } - if sstd.Type != "" { - objectMap["type"] = sstd.Type - } - for k, v := range sstd.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureMariaDBSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsTabularSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true } -// AsRestResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsBinarySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return &sstd, true +// AsOrcSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOrcSource() (*OrcSource, bool) { + return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsXMLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsJSONSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsParquetSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsExcelSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsAvroSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsCopySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for SparkSource struct. +func (ss *SparkSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ss.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ss.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ss.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ss.Type = typeVar + } + } + } + + return nil } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, 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"` + // AllowCopyCommand - Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). + AllowCopyCommand interface{} `json:"allowCopyCommand,omitempty"` + // CopyCommandSettings - Specifies Copy Command related settings when allowCopyCommand is true. + CopyCommandSettings *DWCopyCommandSettings `json:"copyCommandSettings,omitempty"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, 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{}) + if sds.PreCopyScript != nil { + objectMap["preCopyScript"] = sds.PreCopyScript + } + if sds.AllowPolyBase != nil { + objectMap["allowPolyBase"] = sds.AllowPolyBase + } + if sds.PolyBaseSettings != nil { + objectMap["polyBaseSettings"] = sds.PolyBaseSettings + } + if sds.AllowCopyCommand != nil { + objectMap["allowCopyCommand"] = sds.AllowCopyCommand + } + if sds.CopyCommandSettings != nil { + objectMap["copyCommandSettings"] = sds.CopyCommandSettings + } + if sds.TableOption != nil { + objectMap["tableOption"] = sds.TableOption + } + if sds.WriteBatchSize != nil { + objectMap["writeBatchSize"] = sds.WriteBatchSize + } + if sds.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = sds.WriteBatchTimeout + } + if sds.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = sds.SinkRetryCount + } + if sds.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = sds.SinkRetryWait + } + if sds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sds.MaxConcurrentConnections + } + if sds.Type != "" { + objectMap["type"] = sds.Type + } + for k, v := range sds.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSnowflakeSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSnowflakeSink() (*SnowflakeSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false +// AsSQLDWSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) { + return &sds, true } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsBinarySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAvroSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsRestSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAvroDataset() (*AvroDataset, bool) { - return nil, false -} - -// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { - return nil, false -} - -// AsDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { - return nil, false -} - -// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &sstd, true -} - -// UnmarshalJSON is the custom unmarshaler for SQLServerTableDataset struct. -func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - 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 "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - sstd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - 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 "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - sstd.Folder = &folder - } - 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 - This property will be retired. Please consider using schema + table properties instead. - TableName interface{} `json:"tableName,omitempty"` - // Schema - The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). - Schema interface{} `json:"schema,omitempty"` - // Table - The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - Table interface{} `json:"table,omitempty"` -} - -// SQLSink a copy activity SQL sink. -type SQLSink struct { - // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). - SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` - // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). - SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // StoredProcedureParameters - SQL stored procedure parameters. - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). - StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` - // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). - TableOption interface{} `json:"tableOption,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` - // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` - // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). - SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` - // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' - 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{}) - if ss.SQLWriterStoredProcedureName != nil { - objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName - } - if ss.SQLWriterTableType != nil { - objectMap["sqlWriterTableType"] = ss.SQLWriterTableType - } - if ss.PreCopyScript != nil { - objectMap["preCopyScript"] = ss.PreCopyScript - } - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters - } - if ss.StoredProcedureTableTypeParameterName != nil { - objectMap["storedProcedureTableTypeParameterName"] = ss.StoredProcedureTableTypeParameterName - } - if ss.TableOption != nil { - objectMap["tableOption"] = ss.TableOption - } - if ss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ss.WriteBatchSize - } - if ss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout - } - if ss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ss.SinkRetryCount - } - if ss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ss.SinkRetryWait - } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections - } - if ss.Type != "" { - objectMap["type"] = ss.Type - } - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { - return nil, false -} - -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false -} - -// AsInformixSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsInformixSink() (*InformixSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} - -// AsOracleSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { - return nil, false -} - -// AsSQLDWSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { - return nil, false -} - -// AsSQLMISink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) { - return nil, false -} - -// AsAzureSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { - return nil, false -} - -// AsSQLServerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLServerSink() (*SQLServerSink, bool) { - return nil, false -} - -// AsSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { - return &ss, true -} - -// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { - return nil, false -} - -// 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 -} - -// AsBinarySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBinarySink() (*BinarySink, bool) { - return nil, false -} - -// AsParquetSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) { - return nil, false -} - -// AsAvroSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAvroSink() (*AvroSink, 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 -} - -// AsAzureMySQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { - return nil, false -} - -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { - return nil, false -} - -// AsOrcSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOrcSink() (*OrcSink, bool) { +// AsOrcSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsJSONSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsJSONSink() (*JSONSink, bool) { +// AsJSONSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCopySink() (*CopySink, bool) { +// AsCopySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ss, true +// AsBasicCopySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBasicCopySink() (BasicCopySink, bool) { + return &sds, true } -// UnmarshalJSON is the custom unmarshaler for SQLSink struct. -func (ss *SQLSink) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLDWSink struct. +func (sds *SQLDWSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -203271,50 +210617,50 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlWriterStoredProcedureName": + case "preCopyScript": if v != nil { - var SQLWriterStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - ss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + sds.PreCopyScript = preCopyScript } - case "sqlWriterTableType": + case "allowPolyBase": if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) + var allowPolyBase interface{} + err = json.Unmarshal(*v, &allowPolyBase) if err != nil { return err } - ss.SQLWriterTableType = SQLWriterTableType + sds.AllowPolyBase = allowPolyBase } - case "preCopyScript": + case "polyBaseSettings": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var polyBaseSettings PolybaseSettings + err = json.Unmarshal(*v, &polyBaseSettings) if err != nil { return err } - ss.PreCopyScript = preCopyScript + sds.PolyBaseSettings = &polyBaseSettings } - case "storedProcedureParameters": + case "allowCopyCommand": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var allowCopyCommand interface{} + err = json.Unmarshal(*v, &allowCopyCommand) if err != nil { return err } - ss.StoredProcedureParameters = storedProcedureParameters + sds.AllowCopyCommand = allowCopyCommand } - case "storedProcedureTableTypeParameterName": + case "copyCommandSettings": if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + var copyCommandSettings DWCopyCommandSettings + err = json.Unmarshal(*v, ©CommandSettings) if err != nil { return err } - ss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + sds.CopyCommandSettings = ©CommandSettings } case "tableOption": if v != nil { @@ -203323,7 +210669,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.TableOption = tableOption + sds.TableOption = tableOption } default: if v != nil { @@ -203332,10 +210678,10 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + if sds.AdditionalProperties == nil { + sds.AdditionalProperties = make(map[string]interface{}) } - ss.AdditionalProperties[k] = additionalProperties + sds.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -203344,7 +210690,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.WriteBatchSize = writeBatchSize + sds.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -203353,7 +210699,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.WriteBatchTimeout = writeBatchTimeout + sds.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -203362,7 +210708,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SinkRetryCount = sinkRetryCount + sds.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -203371,7 +210717,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SinkRetryWait = sinkRetryWait + sds.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -203380,7 +210726,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + sds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -203389,7 +210735,7 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.Type = typeVar + sds.Type = typeVar } } } @@ -203397,16 +210743,18 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { return nil } -// SQLSource a copy activity SQL source. -type SQLSource struct { - // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). +// 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 Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + // 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"}}". - StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` - // IsolationLevel - Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). - IsolationLevel interface{} `json:"isolationLevel,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"` + // PartitionOption - The partition mechanism that will be used for Sql read in parallel. Possible values include: 'SQLPartitionOptionNone', 'SQLPartitionOptionPhysicalPartitionsOfTable', 'SQLPartitionOptionDynamicRange' + PartitionOption SQLPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Sql source partitioning. + PartitionSettings *SQLPartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -203419,502 +210767,525 @@ type SQLSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLSource. -func (ss SQLSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSQLSource +// MarshalJSON is the custom marshaler for SQLDWSource. +func (sds SQLDWSource) MarshalJSON() ([]byte, error) { + sds.Type = TypeSQLDWSource objectMap := make(map[string]interface{}) - if ss.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = ss.SQLReaderQuery + if sds.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = sds.SQLReaderQuery } - if ss.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName + if sds.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = sds.SQLReaderStoredProcedureName } - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters + if sds.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters } - if ss.IsolationLevel != nil { - objectMap["isolationLevel"] = ss.IsolationLevel + if sds.PartitionOption != "" { + objectMap["partitionOption"] = sds.PartitionOption } - if ss.QueryTimeout != nil { - objectMap["queryTimeout"] = ss.QueryTimeout + if sds.PartitionSettings != nil { + objectMap["partitionSettings"] = sds.PartitionSettings } - if ss.AdditionalColumns != nil { - objectMap["additionalColumns"] = ss.AdditionalColumns + if sds.QueryTimeout != nil { + objectMap["queryTimeout"] = sds.QueryTimeout } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if sds.AdditionalColumns != nil { + objectMap["additionalColumns"] = sds.AdditionalColumns } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if sds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sds.SourceRetryCount } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if sds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sds.SourceRetryWait } - if ss.Type != "" { - objectMap["type"] = ss.Type + if sds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sds.MaxConcurrentConnections } - for k, v := range ss.AdditionalProperties { + if sds.Type != "" { + objectMap["type"] = sds.Type + } + for k, v := range sds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsWebSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsRestSource() (*RestSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsODataSource() (*ODataSource, bool) { +// AsRestSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsODataSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { + return &sds, true +} + +// AsSQLMISource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { - return &ss, true +// AsSQLServerSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapBwSource() (*SapBwSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ss, true +// AsTabularSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsTabularSource() (*TabularSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBinarySource() (*BinarySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sds, true +} + +// AsBinarySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOrcSource() (*OrcSource, bool) { +// AsOrcSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsJSONSource() (*JSONSource, bool) { +// AsXMLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsJSONSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsParquetSource() (*ParquetSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAvroSource() (*AvroSource, bool) { +// AsParquetSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCopySource() (*CopySource, bool) { +// AsExcelSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsAvroSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAvroSource() (*AvroSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLSource struct. -func (ss *SQLSource) UnmarshalJSON(body []byte) error { +// AsCopySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sds, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLDWSource struct. +func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -203929,7 +211300,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SQLReaderQuery = SQLReaderQuery + sds.SQLReaderQuery = SQLReaderQuery } case "sqlReaderStoredProcedureName": if v != nil { @@ -203938,25 +211309,34 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + sds.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName } case "storedProcedureParameters": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter + var storedProcedureParameters interface{} err = json.Unmarshal(*v, &storedProcedureParameters) if err != nil { return err } - ss.StoredProcedureParameters = storedProcedureParameters + sds.StoredProcedureParameters = storedProcedureParameters } - case "isolationLevel": + case "partitionOption": if v != nil { - var isolationLevel interface{} - err = json.Unmarshal(*v, &isolationLevel) + var partitionOption SQLPartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - ss.IsolationLevel = isolationLevel + sds.PartitionOption = partitionOption + } + case "partitionSettings": + if v != nil { + var partitionSettings SQLPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) + if err != nil { + return err + } + sds.PartitionSettings = &partitionSettings } case "queryTimeout": if v != nil { @@ -203965,7 +211345,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.QueryTimeout = queryTimeout + sds.QueryTimeout = queryTimeout } case "additionalColumns": if v != nil { @@ -203974,7 +211354,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.AdditionalColumns = &additionalColumns + sds.AdditionalColumns = &additionalColumns } default: if v != nil { @@ -203983,10 +211363,10 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + if sds.AdditionalProperties == nil { + sds.AdditionalProperties = make(map[string]interface{}) } - ss.AdditionalProperties[k] = additionalProperties + sds.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -203995,7 +211375,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + sds.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -204004,7 +211384,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + sds.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -204013,7 +211393,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + sds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -204022,7 +211402,7 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.Type = typeVar + sds.Type = typeVar } } } @@ -204030,534 +211410,274 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { return nil } -// SquareLinkedService square Service linked service. -type SquareLinkedService struct { - // SquareLinkedServiceTypeProperties - Square Service linked service properties. - *SquareLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SQLMISink a copy activity Azure SQL Managed Instance sink. +type SQLMISink struct { + // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). + SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` + // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). + SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // StoredProcedureParameters - SQL stored procedure parameters. + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `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 SQLMISink. +func (sms SQLMISink) MarshalJSON() ([]byte, error) { + sms.Type = TypeSQLMISink objectMap := make(map[string]interface{}) - if sls.SquareLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties + if sms.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = sms.SQLWriterStoredProcedureName } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if sms.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = sms.SQLWriterTableType } - if sls.Description != nil { - objectMap["description"] = sls.Description + if sms.PreCopyScript != nil { + objectMap["preCopyScript"] = sms.PreCopyScript } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if sms.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if sms.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = sms.StoredProcedureTableTypeParameterName } - if sls.Type != "" { - objectMap["type"] = sls.Type + if sms.TableOption != nil { + objectMap["tableOption"] = sms.TableOption } - for k, v := range sls.AdditionalProperties { + if sms.WriteBatchSize != nil { + objectMap["writeBatchSize"] = sms.WriteBatchSize + } + if sms.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = sms.WriteBatchTimeout + } + if sms.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = sms.SinkRetryCount + } + if sms.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = sms.SinkRetryWait + } + if sms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + } + if sms.Type != "" { + objectMap["type"] = sms.Type + } + for k, v := range sms.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false -} - -// AsNetezzaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return nil, false -} - -// AsVerticaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return &sls, true -} - -// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false -} - -// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} - -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { - return nil, false -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false -} - -// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false -} - -// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false -} - -// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false -} - -// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false -} - -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false -} - -// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSnowflakeSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSnowflakeSink() (*SnowflakeSink, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false +// AsSQLMISink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLMISink() (*SQLMISink, bool) { + return &sms, true } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAvroSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsRestSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsOrcSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsJSONSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsBasicCopySink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsBasicCopySink() (BasicCopySink, bool) { + return &sms, true } -// UnmarshalJSON is the custom unmarshaler for SquareLinkedService struct. -func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLMISink struct. +func (sms *SQLMISink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -204565,177 +211685,125 @@ func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { } 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: + case "sqlWriterStoredProcedureName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) - } - sls.AdditionalProperties[k] = additionalProperties + sms.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName } - case "connectVia": + case "sqlWriterTableType": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) if err != nil { return err } - sls.ConnectVia = &connectVia + sms.SQLWriterTableType = SQLWriterTableType } - case "description": + case "preCopyScript": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - sls.Description = &description + sms.PreCopyScript = preCopyScript } - case "parameters": + case "storedProcedureParameters": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) if err != nil { return err } - sls.Parameters = parameters + sms.StoredProcedureParameters = storedProcedureParameters } - case "annotations": + case "storedProcedureTableTypeParameterName": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) if err != nil { return err } - sls.Annotations = &annotations + sms.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName } - case "type": + case "tableOption": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) if err != nil { return err } - sls.Type = typeVar + sms.TableOption = tableOption } - } - } - - return nil -} - -// SquareLinkedServiceTypeProperties square Service linked service properties. -type SquareLinkedServiceTypeProperties struct { - // Host - The URL of the Square instance. (i.e. mystore.mysquare.com) - Host interface{} `json:"host,omitempty"` - // ClientID - The client ID associated with your Square application. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with your Square application. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // RedirectURI - The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) - RedirectURI interface{} `json:"redirectUri,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for SquareLinkedServiceTypeProperties struct. -func (slstp *SquareLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": + default: if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) 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 + if sms.AdditionalProperties == nil { + sms.AdditionalProperties = make(map[string]interface{}) } - slstp.ClientID = clientID + sms.AdditionalProperties[k] = additionalProperties } - case "clientSecret": + case "writeBatchSize": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - slstp.ClientSecret = clientSecret + sms.WriteBatchSize = writeBatchSize } - case "redirectUri": + case "writeBatchTimeout": if v != nil { - var redirectURI interface{} - err = json.Unmarshal(*v, &redirectURI) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - slstp.RedirectURI = redirectURI + sms.WriteBatchTimeout = writeBatchTimeout } - case "useEncryptedEndpoints": + case "sinkRetryCount": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - slstp.UseEncryptedEndpoints = useEncryptedEndpoints + sms.SinkRetryCount = sinkRetryCount } - case "useHostVerification": + case "sinkRetryWait": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - slstp.UseHostVerification = useHostVerification + sms.SinkRetryWait = sinkRetryWait } - case "usePeerVerification": + case "maxConcurrentConnections": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - slstp.UsePeerVerification = usePeerVerification + sms.MaxConcurrentConnections = maxConcurrentConnections } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + sms.Type = typeVar } } } @@ -204743,514 +211811,554 @@ func (slstp *SquareLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// SquareObjectDataset square Service dataset. -type SquareObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// SQLMISource a copy activity Azure SQL Managed Instance source. +type SQLMISource struct { + // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). + SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` + // SQLReaderStoredProcedureName - Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` + // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // ProduceAdditionalTypes - Which additional types to produce. + ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` + // PartitionOption - The partition mechanism that will be used for Sql read in parallel. Possible values include: 'SQLPartitionOptionNone', 'SQLPartitionOptionPhysicalPartitionsOfTable', 'SQLPartitionOptionDynamicRange' + PartitionOption SQLPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Sql source partitioning. + PartitionSettings *SQLPartitionSettings `json:"partitionSettings,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SquareObjectDataset. -func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSquareObject +// MarshalJSON is the custom marshaler for SQLMISource. +func (sms SQLMISource) MarshalJSON() ([]byte, error) { + sms.Type = TypeSQLMISource objectMap := make(map[string]interface{}) - if sod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.GenericDatasetTypeProperties + if sms.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = sms.SQLReaderQuery } - if sod.Description != nil { - objectMap["description"] = sod.Description + if sms.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = sms.SQLReaderStoredProcedureName } - if sod.Structure != nil { - objectMap["structure"] = sod.Structure + if sms.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sms.StoredProcedureParameters } - if sod.Schema != nil { - objectMap["schema"] = sod.Schema + if sms.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = sms.ProduceAdditionalTypes } - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + if sms.PartitionOption != "" { + objectMap["partitionOption"] = sms.PartitionOption } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if sms.PartitionSettings != nil { + objectMap["partitionSettings"] = sms.PartitionSettings } - if sod.Annotations != nil { - objectMap["annotations"] = sod.Annotations + if sms.QueryTimeout != nil { + objectMap["queryTimeout"] = sms.QueryTimeout } - if sod.Folder != nil { - objectMap["folder"] = sod.Folder + if sms.AdditionalColumns != nil { + objectMap["additionalColumns"] = sms.AdditionalColumns } - if sod.Type != "" { - objectMap["type"] = sod.Type + if sms.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sms.SourceRetryCount } - for k, v := range sod.AdditionalProperties { + if sms.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sms.SourceRetryWait + } + if sms.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sms.MaxConcurrentConnections + } + if sms.Type != "" { + objectMap["type"] = sms.Type + } + for k, v := range sms.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsWebSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return &sod, true +// AsOracleSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsRestSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false +// AsSQLMISource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLMISource() (*SQLMISource, bool) { + return &sms, true } -// AsOffice365Dataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sms, true +} + +// AsBinarySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOrcSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsXMLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsJSONSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsParquetSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsParquetSource() (*ParquetSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SquareObjectDataset struct. -func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { +// AsExcelSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBasicCopySource() (BasicCopySource, bool) { + return &sms, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLMISource struct. +func (sms *SQLMISource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -205258,98 +212366,125 @@ func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "sqlReaderQuery": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + sms.SQLReaderQuery = SQLReaderQuery } - default: + case "sqlReaderStoredProcedureName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) if err != nil { return err } - if sod.AdditionalProperties == nil { - sod.AdditionalProperties = make(map[string]interface{}) + sms.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err } - sod.AdditionalProperties[k] = additionalProperties + sms.StoredProcedureParameters = storedProcedureParameters } - case "description": + case "produceAdditionalTypes": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) if err != nil { return err } - sod.Description = &description + sms.ProduceAdditionalTypes = produceAdditionalTypes } - case "structure": + case "partitionOption": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var partitionOption SQLPartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - sod.Structure = structure + sms.PartitionOption = partitionOption } - case "schema": + case "partitionSettings": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var partitionSettings SQLPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) if err != nil { return err } - sod.Schema = schema + sms.PartitionSettings = &partitionSettings } - case "linkedServiceName": + case "queryTimeout": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - sod.LinkedServiceName = &linkedServiceName + sms.QueryTimeout = queryTimeout } - case "parameters": + case "additionalColumns": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - sod.Parameters = parameters + sms.AdditionalColumns = &additionalColumns } - case "annotations": + default: if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sod.Annotations = &annotations + if sms.AdditionalProperties == nil { + sms.AdditionalProperties = make(map[string]interface{}) + } + sms.AdditionalProperties[k] = additionalProperties } - case "folder": + case "sourceRetryCount": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - sod.Folder = &folder + sms.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + sms.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sms.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sod.Type = typeVar + sms.Type = typeVar } } } @@ -205357,509 +212492,554 @@ func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// SquareSource a copy activity Square Service source. -type SquareSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // 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"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// SQLPartitionSettings the settings that will be leveraged for Sql source partitioning. +type SQLPartitionSettings struct { + // PartitionColumnName - The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` +} + +// 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:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SquareSource. -func (ss SquareSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSquareSource +// MarshalJSON is the custom marshaler for SQLServerLinkedService. +func (ssls SQLServerLinkedService) MarshalJSON() ([]byte, error) { + ssls.Type = TypeSQLServer objectMap := make(map[string]interface{}) - if ss.Query != nil { - objectMap["query"] = ss.Query - } - if ss.QueryTimeout != nil { - objectMap["queryTimeout"] = ss.QueryTimeout + if ssls.SQLServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ssls.SQLServerLinkedServiceTypeProperties } - if ss.AdditionalColumns != nil { - objectMap["additionalColumns"] = ss.AdditionalColumns + if ssls.ConnectVia != nil { + objectMap["connectVia"] = ssls.ConnectVia } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if ssls.Description != nil { + objectMap["description"] = ssls.Description } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if ssls.Parameters != nil { + objectMap["parameters"] = ssls.Parameters } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if ssls.Annotations != nil { + objectMap["annotations"] = ssls.Annotations } - if ss.Type != "" { - objectMap["type"] = ss.Type + if ssls.Type != "" { + objectMap["type"] = ssls.Type } - for k, v := range ss.AdditionalProperties { + for k, v := range ssls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsWebSource() (*WebSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsODataSource() (*ODataSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSquareSource() (*SquareSource, bool) { - return &ss, true +// AsHBaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false } -// AsSparkSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSparkSource() (*SparkSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapTableSource() (*SapTableSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapBwSource() (*SapBwSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsInformixSource() (*InformixSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ss, true +// AsFileServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBinarySource() (*BinarySource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOrcSource() (*OrcSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsJSONSource() (*JSONSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsParquetSource() (*ParquetSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAvroSource() (*AvroSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCopySource() (*CopySource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SquareSource struct. -func (ss *SquareSource) UnmarshalJSON(body []byte) error { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, 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) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ssls, 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 { @@ -205867,80 +213047,71 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var SQLServerLinkedServiceTypeProperties SQLServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &SQLServerLinkedServiceTypeProperties) if err != nil { return err } - ss.Query = query + ssls.SQLServerLinkedServiceTypeProperties = &SQLServerLinkedServiceTypeProperties } - case "queryTimeout": + default: if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ss.QueryTimeout = queryTimeout - } - case "additionalColumns": - if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) - if err != nil { - return err + if ssls.AdditionalProperties == nil { + ssls.AdditionalProperties = make(map[string]interface{}) } - ss.AdditionalColumns = &additionalColumns + ssls.AdditionalProperties[k] = additionalProperties } - default: + case "connectVia": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) - } - ss.AdditionalProperties[k] = additionalProperties + ssls.ConnectVia = &connectVia } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + ssls.Description = &description } - case "sourceRetryWait": + case "parameters": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + ssls.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + ssls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ss.Type = typeVar + ssls.Type = typeVar } } } @@ -205948,18 +213119,20 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error { return nil } -// SSISAccessCredential SSIS access credential. -type SSISAccessCredential struct { - // Domain - Domain for windows authentication. - Domain interface{} `json:"domain,omitempty"` - // UserName - UseName for windows authentication. +// SQLServerLinkedServiceTypeProperties SQL Server linked service properties. +type SQLServerLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // UserName - The on-premises Windows authentication user name. Type: string (or Expression with resultType string). UserName interface{} `json:"userName,omitempty"` - // Password - Password for windows authentication. + // 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"` } -// UnmarshalJSON is the custom unmarshaler for SSISAccessCredential struct. -func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { +// 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 { @@ -205967,14 +213140,14 @@ func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "domain": + case "connectionString": if v != nil { - var domain interface{} - err = json.Unmarshal(*v, &domain) + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) if err != nil { return err } - sac.Domain = domain + sslstp.ConnectionString = connectionString } case "userName": if v != nil { @@ -205983,7 +213156,7 @@ func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - sac.UserName = userName + sslstp.UserName = userName } case "password": if v != nil { @@ -205991,7 +213164,16 @@ func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { if err != nil { return err } - sac.Password = password + sslstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + sslstp.EncryptedCredential = encryptedCredential } } } @@ -205999,534 +213181,274 @@ func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { return nil } -// SSISChildPackage SSIS embedded child package. -type SSISChildPackage struct { - // PackagePath - Path for embedded child package. Type: string (or Expression with resultType string). - PackagePath interface{} `json:"packagePath,omitempty"` - // PackageName - Name for embedded child package. - PackageName *string `json:"packageName,omitempty"` - // PackageContent - Content for embedded child package. Type: string (or Expression with resultType string). - PackageContent interface{} `json:"packageContent,omitempty"` - // PackageLastModifiedDate - Last modified date for embedded child package. - PackageLastModifiedDate *string `json:"packageLastModifiedDate,omitempty"` -} - -// SsisEnvironment ssis environment. -type SsisEnvironment struct { - // FolderID - Folder id which contains environment. - FolderID *int64 `json:"folderId,omitempty"` - // Variables - Variable in environment - Variables *[]SsisVariable `json:"variables,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// SQLServerSink a copy activity SQL server sink. +type SQLServerSink struct { + // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). + SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` + // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). + SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // StoredProcedureParameters - SQL stored procedure parameters. + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SsisEnvironment. -func (se SsisEnvironment) MarshalJSON() ([]byte, error) { - se.Type = TypeEnvironment +// MarshalJSON is the custom marshaler for SQLServerSink. +func (sss SQLServerSink) MarshalJSON() ([]byte, error) { + sss.Type = TypeSQLServerSink objectMap := make(map[string]interface{}) - if se.FolderID != nil { - objectMap["folderId"] = se.FolderID + if sss.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = sss.SQLWriterStoredProcedureName } - if se.Variables != nil { - objectMap["variables"] = se.Variables + if sss.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = sss.SQLWriterTableType } - if se.ID != nil { - objectMap["id"] = se.ID + if sss.PreCopyScript != nil { + objectMap["preCopyScript"] = sss.PreCopyScript } - if se.Name != nil { - objectMap["name"] = se.Name + if sss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters } - if se.Description != nil { - objectMap["description"] = se.Description + if sss.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = sss.StoredProcedureTableTypeParameterName } - if se.Type != "" { - objectMap["type"] = se.Type + if sss.TableOption != nil { + objectMap["tableOption"] = sss.TableOption + } + if sss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = sss.WriteBatchSize + } + if sss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = sss.WriteBatchTimeout + } + if sss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = sss.SinkRetryCount + } + if sss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = sss.SinkRetryWait + } + if sss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + } + if sss.Type != "" { + objectMap["type"] = sss.Type + } + for k, v := range sss.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisEnvironment() (*SsisEnvironment, bool) { - return &se, true +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisPackage() (*SsisPackage, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisProject() (*SsisProject, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisFolder() (*SsisFolder, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &se, true +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false } -// SsisEnvironmentReference ssis environment reference. -type SsisEnvironmentReference struct { - // ID - Environment reference id. - ID *int64 `json:"id,omitempty"` - // EnvironmentFolderName - Environment folder name. - EnvironmentFolderName *string `json:"environmentFolderName,omitempty"` - // EnvironmentName - Environment name. - EnvironmentName *string `json:"environmentName,omitempty"` - // ReferenceType - Reference type - ReferenceType *string `json:"referenceType,omitempty"` +// AsDynamicsSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false } -// SSISExecutionCredential SSIS package execution credential. -type SSISExecutionCredential struct { - // Domain - Domain for windows authentication. - Domain interface{} `json:"domain,omitempty"` - // UserName - UseName for windows authentication. - UserName interface{} `json:"userName,omitempty"` - // Password - Password for windows authentication. - Password *SecureString `json:"password,omitempty"` +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false } -// SSISExecutionParameter SSIS execution parameter. -type SSISExecutionParameter struct { - // Value - SSIS package execution parameter value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` +// AsInformixSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsInformixSink() (*InformixSink, bool) { + return nil, false } -// SsisFolder ssis folder. -type SsisFolder struct { - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsOdbcSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisFolder. -func (sf SsisFolder) MarshalJSON() ([]byte, error) { - sf.Type = TypeFolder - objectMap := make(map[string]interface{}) - if sf.ID != nil { - objectMap["id"] = sf.ID - } - if sf.Name != nil { - objectMap["name"] = sf.Name - } - if sf.Description != nil { - objectMap["description"] = sf.Description - } - if sf.Type != "" { - objectMap["type"] = sf.Type - } - return json.Marshal(objectMap) +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisPackage() (*SsisPackage, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisProject() (*SsisProject, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisFolder() (*SsisFolder, bool) { - return &sf, true +// AsSnowflakeSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSnowflakeSink() (*SnowflakeSink, bool) { + return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sf, true +// AsSQLMISink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false } -// SSISLogLocation SSIS package execution log location -type SSISLogLocation struct { - // LogPath - The SSIS package execution log path. Type: string (or Expression with resultType string). - LogPath interface{} `json:"logPath,omitempty"` - // Type - The type of SSIS log location. - Type *string `json:"type,omitempty"` - // SSISLogLocationTypeProperties - SSIS package execution log location properties. - *SSISLogLocationTypeProperties `json:"typeProperties,omitempty"` +// AsAzureSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SSISLogLocation. -func (sll SSISLogLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if sll.LogPath != nil { - objectMap["logPath"] = sll.LogPath - } - if sll.Type != nil { - objectMap["type"] = sll.Type - } - if sll.SSISLogLocationTypeProperties != nil { - objectMap["typeProperties"] = sll.SSISLogLocationTypeProperties - } - return json.Marshal(objectMap) +// AsSQLServerSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLServerSink() (*SQLServerSink, bool) { + return &sss, true } -// UnmarshalJSON is the custom unmarshaler for SSISLogLocation struct. -func (sll *SSISLogLocation) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "logPath": - if v != nil { - var logPath interface{} - err = json.Unmarshal(*v, &logPath) - if err != nil { - return err - } - sll.LogPath = logPath - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sll.Type = &typeVar - } - case "typeProperties": - if v != nil { - var sSISLogLocationTypeProperties SSISLogLocationTypeProperties - err = json.Unmarshal(*v, &sSISLogLocationTypeProperties) - if err != nil { - return err - } - sll.SSISLogLocationTypeProperties = &sSISLogLocationTypeProperties - } - } - } - - return nil -} - -// SSISLogLocationTypeProperties SSIS package execution log location properties. -type SSISLogLocationTypeProperties struct { - // AccessCredential - The package execution log access credential. - AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` - // LogRefreshInterval - Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - LogRefreshInterval interface{} `json:"logRefreshInterval,omitempty"` -} - -// BasicSsisObjectMetadata SSIS object metadata. -type BasicSsisObjectMetadata interface { - AsSsisEnvironment() (*SsisEnvironment, bool) - AsSsisPackage() (*SsisPackage, bool) - AsSsisProject() (*SsisProject, bool) - AsSsisFolder() (*SsisFolder, bool) - AsSsisObjectMetadata() (*SsisObjectMetadata, bool) -} - -// SsisObjectMetadata SSIS object metadata. -type SsisObjectMetadata struct { - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` -} - -func unmarshalBasicSsisObjectMetadata(body []byte) (BasicSsisObjectMetadata, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeEnvironment): - var se SsisEnvironment - err := json.Unmarshal(body, &se) - return se, err - case string(TypePackage): - var sp SsisPackage - err := json.Unmarshal(body, &sp) - return sp, err - case string(TypeProject): - var sp SsisProject - err := json.Unmarshal(body, &sp) - return sp, err - case string(TypeFolder): - var sf SsisFolder - err := json.Unmarshal(body, &sf) - return sf, err - default: - var som SsisObjectMetadata - err := json.Unmarshal(body, &som) - return som, err - } -} -func unmarshalBasicSsisObjectMetadataArray(body []byte) ([]BasicSsisObjectMetadata, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - somArray := make([]BasicSsisObjectMetadata, len(rawMessages)) - - for index, rawMessage := range rawMessages { - som, err := unmarshalBasicSsisObjectMetadata(*rawMessage) - if err != nil { - return nil, err - } - somArray[index] = som - } - return somArray, nil -} - -// MarshalJSON is the custom marshaler for SsisObjectMetadata. -func (som SsisObjectMetadata) MarshalJSON() ([]byte, error) { - som.Type = TypeSsisObjectMetadata - objectMap := make(map[string]interface{}) - if som.ID != nil { - objectMap["id"] = som.ID - } - if som.Name != nil { - objectMap["name"] = som.Name - } - if som.Description != nil { - objectMap["description"] = som.Description - } - if som.Type != "" { - objectMap["type"] = som.Type - } - return json.Marshal(objectMap) -} - -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisPackage() (*SsisPackage, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisProject() (*SsisProject, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisFolder() (*SsisFolder, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { - return &som, true +// AsBlobSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsBlobSink() (*BlobSink, bool) { + return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &som, true +// AsBinarySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsBinarySink() (*BinarySink, bool) { + return nil, false } -// SsisObjectMetadataListResponse a list of SSIS object metadata. -type SsisObjectMetadataListResponse struct { - autorest.Response `json:"-"` - // Value - List of SSIS object metadata. - Value *[]BasicSsisObjectMetadata `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsParquetSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SsisObjectMetadataListResponse struct. -func (somlr *SsisObjectMetadataListResponse) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "value": - if v != nil { - value, err := unmarshalBasicSsisObjectMetadataArray(*v) - if err != nil { - return err - } - somlr.Value = &value - } - case "nextLink": - if v != nil { - var nextLink string - err = json.Unmarshal(*v, &nextLink) - if err != nil { - return err - } - somlr.NextLink = &nextLink - } - } - } - - return nil +// AsAvroSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAvroSink() (*AvroSink, bool) { + return nil, false } -// SsisObjectMetadataStatusResponse the status of the operation. -type SsisObjectMetadataStatusResponse struct { - autorest.Response `json:"-"` - // Status - The status of the operation. - Status *string `json:"status,omitempty"` - // Name - The operation name. - Name *string `json:"name,omitempty"` - // Properties - The operation properties. - Properties *string `json:"properties,omitempty"` - // Error - The operation error message. - Error *string `json:"error,omitempty"` +// AsAzureTableSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false } -// SsisPackage ssis Package. -type SsisPackage struct { - // FolderID - Folder id which contains package. - FolderID *int64 `json:"folderId,omitempty"` - // ProjectVersion - Project version which contains package. - ProjectVersion *int64 `json:"projectVersion,omitempty"` - // ProjectID - Project id which contains package. - ProjectID *int64 `json:"projectId,omitempty"` - // Parameters - Parameters in package - Parameters *[]SsisParameter `json:"parameters,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsAzureQueueSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisPackage. -func (sp SsisPackage) MarshalJSON() ([]byte, error) { - sp.Type = TypePackage - objectMap := make(map[string]interface{}) - if sp.FolderID != nil { - objectMap["folderId"] = sp.FolderID - } - if sp.ProjectVersion != nil { - objectMap["projectVersion"] = sp.ProjectVersion - } - if sp.ProjectID != nil { - objectMap["projectId"] = sp.ProjectID - } - if sp.Parameters != nil { - objectMap["parameters"] = sp.Parameters - } - if sp.ID != nil { - objectMap["id"] = sp.ID - } - if sp.Name != nil { - objectMap["name"] = sp.Name - } - if sp.Description != nil { - objectMap["description"] = sp.Description - } - if sp.Type != "" { - objectMap["type"] = sp.Type - } - return json.Marshal(objectMap) +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisPackage() (*SsisPackage, bool) { - return &sp, true +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisProject() (*SsisProject, bool) { +// AsRestSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisFolder() (*SsisFolder, bool) { +// AsOrcSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsJSONSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sp, true +// AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// SSISPackageLocation SSIS package location. -type SSISPackageLocation struct { - // PackagePath - The SSIS package path. Type: string (or Expression with resultType string). - PackagePath interface{} `json:"packagePath,omitempty"` - // Type - The type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage' - Type SsisPackageLocationType `json:"type,omitempty"` - // SSISPackageLocationTypeProperties - SSIS package location properties. - *SSISPackageLocationTypeProperties `json:"typeProperties,omitempty"` +// AsCopySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCopySink() (*CopySink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SSISPackageLocation. -func (spl SSISPackageLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if spl.PackagePath != nil { - objectMap["packagePath"] = spl.PackagePath - } - if spl.Type != "" { - objectMap["type"] = spl.Type - } - if spl.SSISPackageLocationTypeProperties != nil { - objectMap["typeProperties"] = spl.SSISPackageLocationTypeProperties - } - return json.Marshal(objectMap) +// AsBasicCopySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsBasicCopySink() (BasicCopySink, bool) { + return &sss, true } -// UnmarshalJSON is the custom unmarshaler for SSISPackageLocation struct. -func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLServerSink struct. +func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -206534,127 +213456,125 @@ func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "packagePath": + case "sqlWriterStoredProcedureName": if v != nil { - var packagePath interface{} - err = json.Unmarshal(*v, &packagePath) + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) if err != nil { return err } - spl.PackagePath = packagePath + sss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName } - case "type": + case "sqlWriterTableType": if v != nil { - var typeVar SsisPackageLocationType - err = json.Unmarshal(*v, &typeVar) + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) if err != nil { return err } - spl.Type = typeVar + sss.SQLWriterTableType = SQLWriterTableType } - case "typeProperties": + case "preCopyScript": if v != nil { - var sSISPackageLocationTypeProperties SSISPackageLocationTypeProperties - err = json.Unmarshal(*v, &sSISPackageLocationTypeProperties) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - spl.SSISPackageLocationTypeProperties = &sSISPackageLocationTypeProperties + sss.PreCopyScript = preCopyScript } - } - } - - return nil -} - -// SSISPackageLocationTypeProperties SSIS package location properties. -type SSISPackageLocationTypeProperties struct { - // PackagePassword - Password of the package. - PackagePassword BasicSecretBase `json:"packagePassword,omitempty"` - // AccessCredential - The package access credential. - AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` - // ConfigurationPath - The configuration file of the package execution. Type: string (or Expression with resultType string). - ConfigurationPath interface{} `json:"configurationPath,omitempty"` - // PackageName - The package name. - PackageName *string `json:"packageName,omitempty"` - // PackageContent - The embedded package content. Type: string (or Expression with resultType string). - PackageContent interface{} `json:"packageContent,omitempty"` - // PackageLastModifiedDate - The embedded package last modified date. - PackageLastModifiedDate *string `json:"packageLastModifiedDate,omitempty"` - // ChildPackages - The embedded child package list. - ChildPackages *[]SSISChildPackage `json:"childPackages,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for SSISPackageLocationTypeProperties struct. -func (spltp *SSISPackageLocationTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "packagePassword": + case "storedProcedureParameters": if v != nil { - packagePassword, err := unmarshalBasicSecretBase(*v) + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) if err != nil { return err } - spltp.PackagePassword = packagePassword + sss.StoredProcedureParameters = storedProcedureParameters } - case "accessCredential": + case "storedProcedureTableTypeParameterName": if v != nil { - var accessCredential SSISAccessCredential - err = json.Unmarshal(*v, &accessCredential) + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) if err != nil { return err } - spltp.AccessCredential = &accessCredential + sss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName } - case "configurationPath": + case "tableOption": if v != nil { - var configurationPath interface{} - err = json.Unmarshal(*v, &configurationPath) + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) if err != nil { return err } - spltp.ConfigurationPath = configurationPath + sss.TableOption = tableOption } - case "packageName": + default: if v != nil { - var packageName string - err = json.Unmarshal(*v, &packageName) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - spltp.PackageName = &packageName + if sss.AdditionalProperties == nil { + sss.AdditionalProperties = make(map[string]interface{}) + } + sss.AdditionalProperties[k] = additionalProperties } - case "packageContent": + case "writeBatchSize": if v != nil { - var packageContent interface{} - err = json.Unmarshal(*v, &packageContent) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - spltp.PackageContent = packageContent + sss.WriteBatchSize = writeBatchSize } - case "packageLastModifiedDate": + case "writeBatchTimeout": if v != nil { - var packageLastModifiedDate string - err = json.Unmarshal(*v, &packageLastModifiedDate) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - spltp.PackageLastModifiedDate = &packageLastModifiedDate + sss.WriteBatchTimeout = writeBatchTimeout } - case "childPackages": + case "sinkRetryCount": if v != nil { - var childPackages []SSISChildPackage - err = json.Unmarshal(*v, &childPackages) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - spltp.ChildPackages = &childPackages + sss.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + sss.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sss.Type = typeVar } } } @@ -206662,912 +213582,554 @@ func (spltp *SSISPackageLocationTypeProperties) UnmarshalJSON(body []byte) error return nil } -// SsisParameter ssis parameter. -type SsisParameter struct { - // ID - Parameter id. - ID *int64 `json:"id,omitempty"` - // Name - Parameter name. - Name *string `json:"name,omitempty"` - // Description - Parameter description. - Description *string `json:"description,omitempty"` - // DataType - Parameter type. - DataType *string `json:"dataType,omitempty"` - // Required - Whether parameter is required. - Required *bool `json:"required,omitempty"` - // Sensitive - Whether parameter is sensitive. - Sensitive *bool `json:"sensitive,omitempty"` - // DesignDefaultValue - Design default value of parameter. - DesignDefaultValue *string `json:"designDefaultValue,omitempty"` - // DefaultValue - Default value of parameter. - DefaultValue *string `json:"defaultValue,omitempty"` - // SensitiveDefaultValue - Default sensitive value of parameter. - SensitiveDefaultValue *string `json:"sensitiveDefaultValue,omitempty"` - // ValueType - Parameter value type. - ValueType *string `json:"valueType,omitempty"` - // ValueSet - Parameter value set. - ValueSet *bool `json:"valueSet,omitempty"` - // Variable - Parameter reference variable. - Variable *string `json:"variable,omitempty"` -} - -// SsisProject ssis project. -type SsisProject struct { - // FolderID - Folder id which contains project. - FolderID *int64 `json:"folderId,omitempty"` - // Version - Project version. - Version *int64 `json:"version,omitempty"` - // EnvironmentRefs - Environment reference in project - EnvironmentRefs *[]SsisEnvironmentReference `json:"environmentRefs,omitempty"` - // Parameters - Parameters in project - Parameters *[]SsisParameter `json:"parameters,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// SQLServerSource a copy activity SQL server source. +type SQLServerSource struct { + // SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string). + SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` + // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). + SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` + // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // ProduceAdditionalTypes - Which additional types to produce. + ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` + // PartitionOption - The partition mechanism that will be used for Sql read in parallel. Possible values include: 'SQLPartitionOptionNone', 'SQLPartitionOptionPhysicalPartitionsOfTable', 'SQLPartitionOptionDynamicRange' + PartitionOption SQLPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Sql source partitioning. + PartitionSettings *SQLPartitionSettings `json:"partitionSettings,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SsisProject. -func (sp SsisProject) MarshalJSON() ([]byte, error) { - sp.Type = TypeProject +// MarshalJSON is the custom marshaler for SQLServerSource. +func (sss SQLServerSource) MarshalJSON() ([]byte, error) { + sss.Type = TypeSQLServerSource objectMap := make(map[string]interface{}) - if sp.FolderID != nil { - objectMap["folderId"] = sp.FolderID + if sss.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = sss.SQLReaderQuery } - if sp.Version != nil { - objectMap["version"] = sp.Version + if sss.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = sss.SQLReaderStoredProcedureName } - if sp.EnvironmentRefs != nil { - objectMap["environmentRefs"] = sp.EnvironmentRefs + if sss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters } - if sp.Parameters != nil { - objectMap["parameters"] = sp.Parameters + if sss.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = sss.ProduceAdditionalTypes } - if sp.ID != nil { - objectMap["id"] = sp.ID + if sss.PartitionOption != "" { + objectMap["partitionOption"] = sss.PartitionOption } - if sp.Name != nil { - objectMap["name"] = sp.Name + if sss.PartitionSettings != nil { + objectMap["partitionSettings"] = sss.PartitionSettings } - if sp.Description != nil { - objectMap["description"] = sp.Description + if sss.QueryTimeout != nil { + objectMap["queryTimeout"] = sss.QueryTimeout } - if sp.Type != "" { - objectMap["type"] = sp.Type + if sss.AdditionalColumns != nil { + objectMap["additionalColumns"] = sss.AdditionalColumns + } + if sss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sss.SourceRetryCount + } + if sss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sss.SourceRetryWait + } + if sss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + } + if sss.Type != "" { + objectMap["type"] = sss.Type + } + for k, v := range sss.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisPackage() (*SsisPackage, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisProject() (*SsisProject, bool) { - return &sp, true +// AsHTTPSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisFolder() (*SsisFolder, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sp, true +// AsOffice365Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false } -// SSISPropertyOverride SSIS property override. -type SSISPropertyOverride struct { - // Value - SSIS package property override value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` - // IsSensitive - Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true - IsSensitive *bool `json:"isSensitive,omitempty"` +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// SsisVariable ssis variable. -type SsisVariable struct { - // ID - Variable id. - ID *int64 `json:"id,omitempty"` - // Name - Variable name. - Name *string `json:"name,omitempty"` - // Description - Variable description. - Description *string `json:"description,omitempty"` - // DataType - Variable type. - DataType *string `json:"dataType,omitempty"` - // Sensitive - Whether variable is sensitive. - Sensitive *bool `json:"sensitive,omitempty"` - // Value - Variable value. - Value *string `json:"value,omitempty"` - // SensitiveValue - Variable sensitive value. - SensitiveValue *string `json:"sensitiveValue,omitempty"` +// AsMongoDbV2Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// StagingSettings staging settings. -type StagingSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // LinkedServiceName - Staging linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Path - The path to storage for storing the interim data. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` - // EnableCompression - Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). - EnableCompression interface{} `json:"enableCompression,omitempty"` +// AsMongoDbSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StagingSettings. -func (ss StagingSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ss.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ss.LinkedServiceName - } - if ss.Path != nil { - objectMap["path"] = ss.Path - } - if ss.EnableCompression != nil { - objectMap["enableCompression"] = ss.EnableCompression - } - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsWebSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsWebSource() (*WebSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StagingSettings struct. -func (ss *StagingSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) - } - ss.AdditionalProperties[k] = additionalProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ss.LinkedServiceName = &linkedServiceName - } - case "path": - if v != nil { - var pathVar interface{} - err = json.Unmarshal(*v, &pathVar) - if err != nil { - return err - } - ss.Path = pathVar - } - case "enableCompression": - if v != nil { - var enableCompression interface{} - err = json.Unmarshal(*v, &enableCompression) - if err != nil { - return err - } - ss.EnableCompression = enableCompression - } - } - } +// AsOracleSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} - return nil +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false } -// StoredProcedureParameter SQL stored procedure parameter. -type StoredProcedureParameter struct { - // Value - Stored procedure parameter value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` - // Type - Stored procedure parameter type. Possible values include: 'String', 'Int', 'Int64', 'Decimal', 'GUID', 'Boolean', 'Date' - Type StoredProcedureParameterType `json:"type,omitempty"` +// AsHdfsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false } -// BasicStoreReadSettings connector read setting. -type BasicStoreReadSettings interface { - AsHdfsReadSettings() (*HdfsReadSettings, bool) - AsHTTPReadSettings() (*HTTPReadSettings, bool) - AsSftpReadSettings() (*SftpReadSettings, bool) - AsFtpReadSettings() (*FtpReadSettings, bool) - AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) - AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) - AsFileServerReadSettings() (*FileServerReadSettings, bool) - AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) - AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) - AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) - AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) - AsStoreReadSettings() (*StoreReadSettings, bool) +// AsFileSystemSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false } -// StoreReadSettings connector read setting. -type StoreReadSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' - Type TypeBasicStoreReadSettings `json:"type,omitempty"` +// AsRestSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsRestSource() (*RestSource, bool) { + return nil, false } -func unmarshalBasicStoreReadSettings(body []byte) (BasicStoreReadSettings, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeHdfsReadSettings): - var hrs HdfsReadSettings - err := json.Unmarshal(body, &hrs) - return hrs, err - case string(TypeHTTPReadSettings): - var hrs HTTPReadSettings - err := json.Unmarshal(body, &hrs) - return hrs, err - case string(TypeSftpReadSettings): - var srs SftpReadSettings - err := json.Unmarshal(body, &srs) - return srs, err - case string(TypeFtpReadSettings): - var frs FtpReadSettings - err := json.Unmarshal(body, &frs) - return frs, err - case string(TypeGoogleCloudStorageReadSettings): - var gcsrs GoogleCloudStorageReadSettings - err := json.Unmarshal(body, &gcsrs) - return gcsrs, err - case string(TypeAzureFileStorageReadSettings): - var afsrs AzureFileStorageReadSettings - err := json.Unmarshal(body, &afsrs) - return afsrs, err - case string(TypeFileServerReadSettings): - var fsrs FileServerReadSettings - err := json.Unmarshal(body, &fsrs) - return fsrs, err - case string(TypeAmazonS3ReadSettings): - var asrs AmazonS3ReadSettings - err := json.Unmarshal(body, &asrs) - return asrs, err - case string(TypeAzureDataLakeStoreReadSettings): - var adlsrs AzureDataLakeStoreReadSettings - err := json.Unmarshal(body, &adlsrs) - return adlsrs, err - case string(TypeAzureBlobFSReadSettings): - var abfrs AzureBlobFSReadSettings - err := json.Unmarshal(body, &abfrs) - return abfrs, err - case string(TypeAzureBlobStorageReadSettings): - var absrs AzureBlobStorageReadSettings - err := json.Unmarshal(body, &absrs) - return absrs, err - default: - var srs StoreReadSettings - err := json.Unmarshal(body, &srs) - return srs, err - } +// AsODataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -func unmarshalBasicStoreReadSettingsArray(body []byte) ([]BasicStoreReadSettings, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - srsArray := make([]BasicStoreReadSettings, len(rawMessages)) +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - srs, err := unmarshalBasicStoreReadSettings(*rawMessage) - if err != nil { - return nil, err - } - srsArray[index] = srs - } - return srsArray, nil +// AsRelationalSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StoreReadSettings. -func (srs StoreReadSettings) MarshalJSON() ([]byte, error) { - srs.Type = TypeStoreReadSettings - objectMap := make(map[string]interface{}) - if srs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = srs.MaxConcurrentConnections - } - if srs.Type != "" { - objectMap["type"] = srs.Type - } - for k, v := range srs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false } -// AsHdfsReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHTTPReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsSftpReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsFtpReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsFileServerReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { +// AsResponsysSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { - return &srs, true +// AsVerticaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false } -// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. -func (srs StoreReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { - return &srs, true +// AsNetezzaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StoreReadSettings struct. -func (srs *StoreReadSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if srs.AdditionalProperties == nil { - srs.AdditionalProperties = make(map[string]interface{}) - } - srs.AdditionalProperties[k] = additionalProperties - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - srs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicStoreReadSettings - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - srs.Type = typeVar - } - } - } +// AsZohoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} - return nil +// AsXeroSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// BasicStoreWriteSettings connector write settings. -type BasicStoreWriteSettings interface { - AsFileServerWriteSettings() (*FileServerWriteSettings, bool) - AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) - AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) - AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) - AsSftpWriteSettings() (*SftpWriteSettings, bool) - AsStoreWriteSettings() (*StoreWriteSettings, bool) +// AsSquareSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// StoreWriteSettings connector write settings. -type StoreWriteSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // CopyBehavior - The type of copy behavior for copy sink. - CopyBehavior interface{} `json:"copyBehavior,omitempty"` - // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings', 'TypeSftpWriteSettings' - Type TypeBasicStoreWriteSettings `json:"type,omitempty"` +// AsSparkSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -func unmarshalBasicStoreWriteSettings(body []byte) (BasicStoreWriteSettings, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsShopifySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeFileServerWriteSettings): - var fsws FileServerWriteSettings - err := json.Unmarshal(body, &fsws) - return fsws, err - case string(TypeAzureDataLakeStoreWriteSettings): - var adlsws AzureDataLakeStoreWriteSettings - err := json.Unmarshal(body, &adlsws) - return adlsws, err - case string(TypeAzureBlobFSWriteSettings): - var abfws AzureBlobFSWriteSettings - err := json.Unmarshal(body, &abfws) - return abfws, err - case string(TypeAzureBlobStorageWriteSettings): - var absws AzureBlobStorageWriteSettings - err := json.Unmarshal(body, &absws) - return absws, err - case string(TypeSftpWriteSettings): - var sws SftpWriteSettings - err := json.Unmarshal(body, &sws) - return sws, err - default: - var sws StoreWriteSettings - err := json.Unmarshal(body, &sws) - return sws, err - } +// AsServiceNowSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -func unmarshalBasicStoreWriteSettingsArray(body []byte) ([]BasicStoreWriteSettings, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - swsArray := make([]BasicStoreWriteSettings, len(rawMessages)) +// AsQuickBooksSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - sws, err := unmarshalBasicStoreWriteSettings(*rawMessage) - if err != nil { - return nil, err - } - swsArray[index] = sws - } - return swsArray, nil +// AsPrestoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StoreWriteSettings. -func (sws StoreWriteSettings) MarshalJSON() ([]byte, error) { - sws.Type = TypeStoreWriteSettings - objectMap := make(map[string]interface{}) - if sws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections - } - if sws.CopyBehavior != nil { - objectMap["copyBehavior"] = sws.CopyBehavior - } - if sws.Type != "" { - objectMap["type"] = sws.Type - } - for k, v := range sws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsPhoenixSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { +// AsPaypalSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSftpWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsSftpWriteSettings() (*SftpWriteSettings, bool) { +// AsMagentoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { - return &sws, true +// AsJiraSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. -func (sws StoreWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { - return &sws, true +// AsImpalaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StoreWriteSettings struct. -func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - 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 sws.AdditionalProperties == nil { - sws.AdditionalProperties = make(map[string]interface{}) - } - sws.AdditionalProperties[k] = additionalProperties - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - sws.MaxConcurrentConnections = maxConcurrentConnections - } - case "copyBehavior": - if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) - if err != nil { - return err - } - sws.CopyBehavior = copyBehavior - } - case "type": - if v != nil { - var typeVar TypeBasicStoreWriteSettings - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sws.Type = typeVar - } - } - } - - return nil +// AsHubspotSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// SubResource azure Data Factory nested resource, which belongs to a factory. -type SubResource struct { - // ID - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsHiveSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// SubResourceDebugResource azure Data Factory nested debug resource. -type SubResourceDebugResource struct { - // Name - The resource name. - Name *string `json:"name,omitempty"` +// AsHBaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// SwitchActivity this activity evaluates an expression and executes activities under the cases property -// that correspond to the expression evaluation expected in the equals property. -type SwitchActivity struct { - // SwitchActivityTypeProperties - Switch activity properties. - *SwitchActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsGreenplumSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SwitchActivity. -func (sa SwitchActivity) MarshalJSON() ([]byte, error) { - sa.Type = TypeSwitch - objectMap := make(map[string]interface{}) - if sa.SwitchActivityTypeProperties != nil { - objectMap["typeProperties"] = sa.SwitchActivityTypeProperties - } - if sa.Name != nil { - objectMap["name"] = sa.Name - } - if sa.Description != nil { - objectMap["description"] = sa.Description - } - if sa.DependsOn != nil { - objectMap["dependsOn"] = sa.DependsOn - } - if sa.UserProperties != nil { - objectMap["userProperties"] = sa.UserProperties - } - if sa.Type != "" { - objectMap["type"] = sa.Type - } - for k, v := range sa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// AsExecuteDataFlowActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsWebActivity() (*WebActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { - return nil, false +// AsSQLServerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLServerSource() (*SQLServerSource, bool) { + return &sss, true } -// AsDeleteActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSapBwSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsValidationActivity() (*ValidationActivity, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sss, true } -// AsUntilActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsOrcSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsXMLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsSwitchActivity() (*SwitchActivity, bool) { - return &sa, true +// AsJSONSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsJSONSource() (*JSONSource, bool) { + return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsParquetSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsControlActivity() (*ControlActivity, bool) { +// AsExcelSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &sa, true +// AsAvroSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAvroSource() (*AvroSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsActivity() (*Activity, bool) { +// AsCopySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for SwitchActivity. -func (sa SwitchActivity) AsBasicActivity() (BasicActivity, bool) { - return &sa, true +// AsBasicCopySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sss, true } -// UnmarshalJSON is the custom unmarshaler for SwitchActivity struct. -func (sa *SwitchActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLServerSource struct. +func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -207575,162 +214137,125 @@ func (sa *SwitchActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "sqlReaderQuery": if v != nil { - var switchActivityTypeProperties SwitchActivityTypeProperties - err = json.Unmarshal(*v, &switchActivityTypeProperties) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - sa.SwitchActivityTypeProperties = &switchActivityTypeProperties + sss.SQLReaderQuery = SQLReaderQuery } - default: + case "sqlReaderStoredProcedureName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) if err != nil { return err } - if sa.AdditionalProperties == nil { - sa.AdditionalProperties = make(map[string]interface{}) + sss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err } - sa.AdditionalProperties[k] = additionalProperties + sss.StoredProcedureParameters = storedProcedureParameters } - case "name": + case "produceAdditionalTypes": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) if err != nil { return err } - sa.Name = &name + sss.ProduceAdditionalTypes = produceAdditionalTypes } - case "description": + case "partitionOption": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var partitionOption SQLPartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - sa.Description = &description + sss.PartitionOption = partitionOption } - case "dependsOn": + case "partitionSettings": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var partitionSettings SQLPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) if err != nil { return err } - sa.DependsOn = &dependsOn + sss.PartitionSettings = &partitionSettings } - case "userProperties": + case "queryTimeout": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - sa.UserProperties = &userProperties + sss.QueryTimeout = queryTimeout } - case "type": + case "additionalColumns": if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - sa.Type = typeVar + sss.AdditionalColumns = &additionalColumns } - } - } - - return nil -} - -// SwitchActivityTypeProperties switch activity properties. -type SwitchActivityTypeProperties struct { - // On - An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. - On *Expression `json:"on,omitempty"` - // Cases - List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. - Cases *[]SwitchCase `json:"cases,omitempty"` - // DefaultActivities - List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. - DefaultActivities *[]BasicActivity `json:"defaultActivities,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for SwitchActivityTypeProperties struct. -func (satp *SwitchActivityTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "on": + default: if v != nil { - var on Expression - err = json.Unmarshal(*v, &on) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - satp.On = &on + if sss.AdditionalProperties == nil { + sss.AdditionalProperties = make(map[string]interface{}) + } + sss.AdditionalProperties[k] = additionalProperties } - case "cases": + case "sourceRetryCount": if v != nil { - var cases []SwitchCase - err = json.Unmarshal(*v, &cases) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - satp.Cases = &cases + sss.SourceRetryCount = sourceRetryCount } - case "defaultActivities": + case "sourceRetryWait": if v != nil { - defaultActivities, err := unmarshalBasicActivityArray(*v) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - satp.DefaultActivities = &defaultActivities + sss.SourceRetryWait = sourceRetryWait } - } - } - - return nil -} - -// SwitchCase switch cases with have a value and corresponding activities. -type SwitchCase struct { - // Value - Expected value that satisfies the expression result of the 'on' property. - Value *string `json:"value,omitempty"` - // Activities - List of activities to execute for satisfied case condition. - Activities *[]BasicActivity `json:"activities,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for SwitchCase struct. -func (sc *SwitchCase) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "value": + case "maxConcurrentConnections": if v != nil { - var value string - err = json.Unmarshal(*v, &value) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - sc.Value = &value + sss.MaxConcurrentConnections = maxConcurrentConnections } - case "activities": + case "type": if v != nil { - activities, err := unmarshalBasicActivityArray(*v) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sc.Activities = &activities + sss.Type = typeVar } } } @@ -207738,1211 +214263,1293 @@ func (sc *SwitchCase) UnmarshalJSON(body []byte) error { return nil } -// SybaseLinkedService linked service for Sybase data source. -type SybaseLinkedService struct { - // SybaseLinkedServiceTypeProperties - Sybase linked service properties. - *SybaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `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 SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) MarshalJSON() ([]byte, error) { + ssspa.Type = TypeSQLServerStoredProcedure objectMap := make(map[string]interface{}) - if sls.SybaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties + if ssspa.SQLServerStoredProcedureActivityTypeProperties != nil { + objectMap["typeProperties"] = ssspa.SQLServerStoredProcedureActivityTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if ssspa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ssspa.LinkedServiceName } - if sls.Description != nil { - objectMap["description"] = sls.Description + if ssspa.Policy != nil { + objectMap["policy"] = ssspa.Policy } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if ssspa.Name != nil { + objectMap["name"] = ssspa.Name } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if ssspa.Description != nil { + objectMap["description"] = ssspa.Description } - if sls.Type != "" { - objectMap["type"] = sls.Type + if ssspa.DependsOn != nil { + objectMap["dependsOn"] = ssspa.DependsOn } - for k, v := range sls.AdditionalProperties { + if ssspa.UserProperties != nil { + objectMap["userProperties"] = ssspa.UserProperties + } + if ssspa.Type != "" { + objectMap["type"] = ssspa.Type + } + for k, v := range ssspa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return &ssspa, true } -// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ssspa, true } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) { + return &ssspa, true } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false +// 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 "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + ssspa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ssspa.Type = typeVar + } + } + } + + return nil } -// AsSapBWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false +// 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"` } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties. +func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ssspatp.StoredProcedureName != nil { + objectMap["storedProcedureName"] = ssspatp.StoredProcedureName + } + if ssspatp.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters + } + return json.Marshal(objectMap) } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false +// 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:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SQLServerTableDataset. +func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) { + sstd.Type = TypeSQLServerTable + objectMap := make(map[string]interface{}) + if sstd.SQLServerTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties + } + if sstd.Description != nil { + objectMap["description"] = sstd.Description + } + if sstd.Structure != nil { + objectMap["structure"] = sstd.Structure + } + if sstd.Schema != nil { + objectMap["schema"] = sstd.Schema + } + if sstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sstd.LinkedServiceName + } + if sstd.Parameters != nil { + objectMap["parameters"] = sstd.Parameters + } + if sstd.Annotations != nil { + objectMap["annotations"] = sstd.Annotations + } + if sstd.Folder != nil { + objectMap["folder"] = sstd.Folder + } + if sstd.Type != "" { + objectMap["type"] = sstd.Type + } + for k, v := range sstd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return &sls, true +// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false } -// 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) { +// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false +// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return &sstd, true } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, 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 -} - -// SybaseSource a copy activity source for Sybase databases. -type SybaseSource struct { - // Query - Database query. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SybaseSource. -func (ss SybaseSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSybaseSource - objectMap := make(map[string]interface{}) - if ss.Query != nil { - objectMap["query"] = ss.Query - } - if ss.QueryTimeout != nil { - objectMap["queryTimeout"] = ss.QueryTimeout - } - if ss.AdditionalColumns != nil { - objectMap["additionalColumns"] = ss.AdditionalColumns - } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount - } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait - } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections - } - if ss.Type != "" { - objectMap["type"] = ss.Type - } - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsHTTPSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsWebSource() (*WebSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsRestSource() (*RestSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) { +// AsOrcDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsXMLDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsJSONDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsParquetDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) { +// AsExcelDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAvroDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &sstd, true } -// AsJiraSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsJiraSource() (*JiraSource, 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 "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + sstd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + 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 "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + sstd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sstd.Type = typeVar + } + } + } -// AsImpalaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false + return nil } -// AsHubspotSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false +// SQLServerTableDatasetTypeProperties on-premises SQL Server dataset properties. +type SQLServerTableDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Schema - The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } -// AsHiveSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) { - return nil, false +// SQLSink a copy activity SQL sink. +type SQLSink struct { + // SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string). + SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"` + // SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string). + SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"` + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // StoredProcedureParameters - SQL stored procedure parameters. + StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // StoredProcedureTableTypeParameterName - The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + StoredProcedureTableTypeParameterName interface{} `json:"storedProcedureTableTypeParameterName,omitempty"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize interface{} `json:"writeBatchSize,omitempty"` + // WriteBatchTimeout - Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"` + // SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"` + // SinkRetryWait - Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySink', 'TypeCosmosDbMongoDbAPISink', 'TypeSalesforceServiceCloudSink', 'TypeSalesforceSink', 'TypeAzureDataExplorerSink', 'TypeCommonDataServiceForAppsSink', 'TypeDynamicsCrmSink', 'TypeDynamicsSink', 'TypeMicrosoftAccessSink', 'TypeInformixSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureBlobFSSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSnowflakeSink', 'TypeSQLDWSink', 'TypeSQLMISink', 'TypeAzureSQLSink', 'TypeSQLServerSink', 'TypeSQLSink', 'TypeCosmosDbSQLAPISink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeBinarySink', 'TypeParquetSink', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeRestSink', 'TypeOrcSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// AsHBaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SQLSink. +func (ss SQLSink) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSink + objectMap := make(map[string]interface{}) + if ss.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName + } + if ss.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = ss.SQLWriterTableType + } + if ss.PreCopyScript != nil { + objectMap["preCopyScript"] = ss.PreCopyScript + } + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters + } + if ss.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = ss.StoredProcedureTableTypeParameterName + } + if ss.TableOption != nil { + objectMap["tableOption"] = ss.TableOption + } + if ss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ss.WriteBatchSize + } + if ss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout + } + if ss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ss.SinkRetryCount + } + if ss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ss.SinkRetryWait + } + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + } + if ss.Type != "" { + objectMap["type"] = ss.Type + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGreenplumSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) { +// AsInformixSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSnowflakeSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSnowflakeSink() (*SnowflakeSink, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false +// AsSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { + return &ss, true } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbSQLAPISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCosmosDbSQLAPISink() (*CosmosDbSQLAPISink, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapBwSource() (*SapBwSource, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) { - return &ss, true -} - -// AsPostgreSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsBlobSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMySQLSource() (*MySQLSource, bool) { +// AsBinarySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOdbcSource() (*OdbcSource, bool) { +// AsParquetSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDb2Source() (*Db2Source, bool) { +// AsAvroSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsTabularSource() (*TabularSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ss, true -} - -// AsBinarySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOrcSource() (*OrcSource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsJSONSource() (*JSONSource, bool) { +// AsRestSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsRestSink() (*RestSink, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsOrcSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOrcSink() (*OrcSink, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAvroSource() (*AvroSource, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCopySource() (*CopySource, bool) { +// AsCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsBasicCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { return &ss, true } -// UnmarshalJSON is the custom unmarshaler for SybaseSource struct. -func (ss *SybaseSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLSink struct. +func (ss *SQLSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -208950,32 +215557,59 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "sqlWriterStoredProcedureName": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) if err != nil { return err } - ss.Query = query + ss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName } - case "queryTimeout": + case "sqlWriterTableType": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) if err != nil { return err } - ss.QueryTimeout = queryTimeout + ss.SQLWriterTableType = SQLWriterTableType } - case "additionalColumns": + case "preCopyScript": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - ss.AdditionalColumns = &additionalColumns + ss.PreCopyScript = preCopyScript + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + ss.StoredProcedureParameters = storedProcedureParameters + } + case "storedProcedureTableTypeParameterName": + if v != nil { + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + if err != nil { + return err + } + ss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + } + case "tableOption": + if v != nil { + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) + if err != nil { + return err + } + ss.TableOption = tableOption } default: if v != nil { @@ -208989,23 +215623,41 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { } ss.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "writeBatchSize": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + ss.WriteBatchSize = writeBatchSize } - case "sourceRetryWait": + case "writeBatchTimeout": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + ss.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + ss.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + ss.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -209018,7 +215670,7 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err @@ -209031,514 +215683,554 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { return nil } -// SybaseTableDataset the Sybase table dataset. -type SybaseTableDataset struct { - // SybaseTableDatasetTypeProperties - Sybase table dataset properties. - *SybaseTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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"` + // IsolationLevel - Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + IsolationLevel interface{} `json:"isolationLevel,omitempty"` + // PartitionOption - The partition mechanism that will be used for Sql read in parallel. Possible values include: 'SQLPartitionOptionNone', 'SQLPartitionOptionPhysicalPartitionsOfTable', 'SQLPartitionOptionDynamicRange' + PartitionOption SQLPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for Sql source partitioning. + PartitionSettings *SQLPartitionSettings `json:"partitionSettings,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SybaseTableDataset. -func (std SybaseTableDataset) MarshalJSON() ([]byte, error) { - std.Type = TypeSybaseTable +// MarshalJSON is the custom marshaler for SQLSource. +func (ss SQLSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSource objectMap := make(map[string]interface{}) - if std.SybaseTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = std.SybaseTableDatasetTypeProperties - } - if std.Description != nil { - objectMap["description"] = std.Description + if ss.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = ss.SQLReaderQuery } - if std.Structure != nil { - objectMap["structure"] = std.Structure + if ss.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName } - if std.Schema != nil { - objectMap["schema"] = std.Schema + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters } - if std.LinkedServiceName != nil { - objectMap["linkedServiceName"] = std.LinkedServiceName + if ss.IsolationLevel != nil { + objectMap["isolationLevel"] = ss.IsolationLevel } - if std.Parameters != nil { - objectMap["parameters"] = std.Parameters + if ss.PartitionOption != "" { + objectMap["partitionOption"] = ss.PartitionOption } - if std.Annotations != nil { - objectMap["annotations"] = std.Annotations + if ss.PartitionSettings != nil { + objectMap["partitionSettings"] = ss.PartitionSettings } - if std.Folder != nil { - objectMap["folder"] = std.Folder + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if std.Type != "" { - objectMap["type"] = std.Type + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns } - for k, v := range std.AdditionalProperties { + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount + } + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait + } + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + } + if ss.Type != "" { + objectMap["type"] = ss.Type + } + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsWebSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsRestSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { - return &std, true +// AsMagentoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { + return &ss, true +} + +// AsSapTableSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true +} + +// AsBinarySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsOrcSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsXMLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsJSONSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsDataset() (*Dataset, bool) { +// AsParquetSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SybaseTableDataset. -func (std SybaseTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &std, true +// AsExcelSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SybaseTableDataset struct. -func (std *SybaseTableDataset) UnmarshalJSON(body []byte) error { +// AsAvroSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLSource struct. +func (ss *SQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -209546,98 +216238,125 @@ func (std *SybaseTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "sqlReaderQuery": if v != nil { - var sybaseTableDatasetTypeProperties SybaseTableDatasetTypeProperties - err = json.Unmarshal(*v, &sybaseTableDatasetTypeProperties) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - std.SybaseTableDatasetTypeProperties = &sybaseTableDatasetTypeProperties + ss.SQLReaderQuery = SQLReaderQuery } - default: + case "sqlReaderStoredProcedureName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) if err != nil { return err } - if std.AdditionalProperties == nil { - std.AdditionalProperties = make(map[string]interface{}) + ss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err } - std.AdditionalProperties[k] = additionalProperties + ss.StoredProcedureParameters = storedProcedureParameters } - case "description": + case "isolationLevel": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var isolationLevel interface{} + err = json.Unmarshal(*v, &isolationLevel) if err != nil { return err } - std.Description = &description + ss.IsolationLevel = isolationLevel } - case "structure": + case "partitionOption": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var partitionOption SQLPartitionOption + err = json.Unmarshal(*v, &partitionOption) if err != nil { return err } - std.Structure = structure + ss.PartitionOption = partitionOption } - case "schema": + case "partitionSettings": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var partitionSettings SQLPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) if err != nil { return err } - std.Schema = schema + ss.PartitionSettings = &partitionSettings } - case "linkedServiceName": + case "queryTimeout": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - std.LinkedServiceName = &linkedServiceName + ss.QueryTimeout = queryTimeout } - case "parameters": + case "additionalColumns": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - std.Parameters = parameters + ss.AdditionalColumns = &additionalColumns } - case "annotations": + default: if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - std.Annotations = &annotations + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.AdditionalProperties[k] = additionalProperties } - case "folder": + case "sourceRetryCount": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - std.Folder = &folder + ss.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ss.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - std.Type = typeVar + ss.Type = typeVar } } } @@ -209645,833 +216364,544 @@ func (std *SybaseTableDataset) UnmarshalJSON(body []byte) error { return nil } -// SybaseTableDatasetTypeProperties sybase table dataset properties. -type SybaseTableDatasetTypeProperties struct { - // TableName - The Sybase table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` -} - -// BasicTabularSource copy activity sources of tabular type. -type BasicTabularSource interface { - AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) - AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) - AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) - AsDynamicsAXSource() (*DynamicsAXSource, bool) - AsResponsysSource() (*ResponsysSource, bool) - AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) - AsVerticaSource() (*VerticaSource, bool) - AsNetezzaSource() (*NetezzaSource, bool) - AsZohoSource() (*ZohoSource, bool) - AsXeroSource() (*XeroSource, bool) - AsSquareSource() (*SquareSource, bool) - AsSparkSource() (*SparkSource, bool) - AsShopifySource() (*ShopifySource, bool) - AsServiceNowSource() (*ServiceNowSource, bool) - AsQuickBooksSource() (*QuickBooksSource, bool) - AsPrestoSource() (*PrestoSource, bool) - AsPhoenixSource() (*PhoenixSource, bool) - AsPaypalSource() (*PaypalSource, bool) - AsMarketoSource() (*MarketoSource, bool) - AsAzureMariaDBSource() (*AzureMariaDBSource, bool) - AsMariaDBSource() (*MariaDBSource, bool) - AsMagentoSource() (*MagentoSource, bool) - AsJiraSource() (*JiraSource, bool) - AsImpalaSource() (*ImpalaSource, bool) - AsHubspotSource() (*HubspotSource, bool) - AsHiveSource() (*HiveSource, bool) - AsHBaseSource() (*HBaseSource, bool) - AsGreenplumSource() (*GreenplumSource, bool) - AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) - AsEloquaSource() (*EloquaSource, bool) - AsDrillSource() (*DrillSource, bool) - AsCouchbaseSource() (*CouchbaseSource, bool) - AsConcurSource() (*ConcurSource, bool) - AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) - AsAmazonMWSSource() (*AmazonMWSSource, bool) - AsCassandraSource() (*CassandraSource, bool) - AsTeradataSource() (*TeradataSource, bool) - AsAzureMySQLSource() (*AzureMySQLSource, bool) - AsSQLDWSource() (*SQLDWSource, bool) - AsSQLMISource() (*SQLMISource, bool) - AsAzureSQLSource() (*AzureSQLSource, bool) - AsSQLServerSource() (*SQLServerSource, bool) - AsSQLSource() (*SQLSource, bool) - AsSapTableSource() (*SapTableSource, bool) - AsSapOpenHubSource() (*SapOpenHubSource, bool) - AsSapHanaSource() (*SapHanaSource, bool) - AsSapEccSource() (*SapEccSource, bool) - AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) - AsSalesforceSource() (*SalesforceSource, bool) - AsSapBwSource() (*SapBwSource, bool) - AsSybaseSource() (*SybaseSource, bool) - AsPostgreSQLSource() (*PostgreSQLSource, bool) - AsMySQLSource() (*MySQLSource, bool) - AsOdbcSource() (*OdbcSource, bool) - AsDb2Source() (*Db2Source, bool) - AsInformixSource() (*InformixSource, bool) - AsAzureTableSource() (*AzureTableSource, bool) - AsTabularSource() (*TabularSource, bool) -} - -// TabularSource copy activity sources of tabular type. -type TabularSource struct { - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` +// SquareLinkedService square Service linked service. +type SquareLinkedService struct { + // SquareLinkedServiceTypeProperties - Square Service linked service properties. + *SquareLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -func unmarshalBasicTabularSource(body []byte) (BasicTabularSource, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } - - switch m["type"] { - case string(TypeAmazonRedshiftSource): - var ars AmazonRedshiftSource - err := json.Unmarshal(body, &ars) - return ars, err - case string(TypeGoogleAdWordsSource): - var gaws GoogleAdWordsSource - err := json.Unmarshal(body, &gaws) - return gaws, err - case string(TypeOracleServiceCloudSource): - var oscs OracleServiceCloudSource - err := json.Unmarshal(body, &oscs) - return oscs, err - case string(TypeDynamicsAXSource): - var das DynamicsAXSource - err := json.Unmarshal(body, &das) - return das, err - case string(TypeResponsysSource): - var rs ResponsysSource - err := json.Unmarshal(body, &rs) - return rs, err - case string(TypeSalesforceMarketingCloudSource): - var smcs SalesforceMarketingCloudSource - err := json.Unmarshal(body, &smcs) - return smcs, err - case string(TypeVerticaSource): - var vs VerticaSource - err := json.Unmarshal(body, &vs) - return vs, err - case string(TypeNetezzaSource): - var ns NetezzaSource - err := json.Unmarshal(body, &ns) - return ns, err - case string(TypeZohoSource): - var zs ZohoSource - err := json.Unmarshal(body, &zs) - return zs, err - case string(TypeXeroSource): - var xs XeroSource - err := json.Unmarshal(body, &xs) - return xs, err - case string(TypeSquareSource): - var ss SquareSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeSparkSource): - var ss SparkSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeShopifySource): - var ss ShopifySource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeServiceNowSource): - var sns ServiceNowSource - err := json.Unmarshal(body, &sns) - return sns, err - case string(TypeQuickBooksSource): - var qbs QuickBooksSource - err := json.Unmarshal(body, &qbs) - return qbs, err - case string(TypePrestoSource): - var ps PrestoSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypePhoenixSource): - var ps PhoenixSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypePaypalSource): - var ps PaypalSource - err := json.Unmarshal(body, &ps) - return ps, err - case string(TypeMarketoSource): - var ms MarketoSource - err := json.Unmarshal(body, &ms) - return ms, err - case string(TypeAzureMariaDBSource): - var amds AzureMariaDBSource - err := json.Unmarshal(body, &amds) - return amds, err - case string(TypeMariaDBSource): - var mds MariaDBSource - err := json.Unmarshal(body, &mds) - return mds, err - case string(TypeMagentoSource): - var ms MagentoSource - err := json.Unmarshal(body, &ms) - return ms, err - case string(TypeJiraSource): - var js JiraSource - err := json.Unmarshal(body, &js) - return js, err - case string(TypeImpalaSource): - var is ImpalaSource - err := json.Unmarshal(body, &is) - return is, err - case string(TypeHubspotSource): - var hs HubspotSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeHiveSource): - var hs HiveSource - err := json.Unmarshal(body, &hs) - return hs, err - case string(TypeHBaseSource): - var hbs HBaseSource - err := json.Unmarshal(body, &hbs) - return hbs, err - case string(TypeGreenplumSource): - var gs GreenplumSource - err := json.Unmarshal(body, &gs) - return gs, err - case string(TypeGoogleBigQuerySource): - var gbqs GoogleBigQuerySource - err := json.Unmarshal(body, &gbqs) - return gbqs, err - case string(TypeEloquaSource): - var es EloquaSource - err := json.Unmarshal(body, &es) - return es, err - case string(TypeDrillSource): - var ds DrillSource - err := json.Unmarshal(body, &ds) - return ds, err - case string(TypeCouchbaseSource): - var cs CouchbaseSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeConcurSource): - var cs ConcurSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeAzurePostgreSQLSource): - var apss AzurePostgreSQLSource - err := json.Unmarshal(body, &apss) - return apss, err - case string(TypeAmazonMWSSource): - var ams AmazonMWSSource - err := json.Unmarshal(body, &ams) - return ams, err - case string(TypeCassandraSource): - var cs CassandraSource - err := json.Unmarshal(body, &cs) - return cs, err - case string(TypeTeradataSource): - var ts TeradataSource - err := json.Unmarshal(body, &ts) - return ts, err - case string(TypeAzureMySQLSource): - var amss AzureMySQLSource - err := json.Unmarshal(body, &amss) - return amss, err - case string(TypeSQLDWSource): - var sds SQLDWSource - err := json.Unmarshal(body, &sds) - return sds, err - case string(TypeSQLMISource): - var sms SQLMISource - err := json.Unmarshal(body, &sms) - return sms, err - case string(TypeAzureSQLSource): - var ass AzureSQLSource - err := json.Unmarshal(body, &ass) - return ass, err - case string(TypeSQLServerSource): - var sss SQLServerSource - err := json.Unmarshal(body, &sss) - return sss, err - case string(TypeSQLSource): - var ss SQLSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeSapTableSource): - var sts SapTableSource - err := json.Unmarshal(body, &sts) - return sts, err - case string(TypeSapOpenHubSource): - var sohs SapOpenHubSource - err := json.Unmarshal(body, &sohs) - return sohs, err - case string(TypeSapHanaSource): - var shs SapHanaSource - err := json.Unmarshal(body, &shs) - return shs, err - case string(TypeSapEccSource): - var ses SapEccSource - err := json.Unmarshal(body, &ses) - return ses, err - case string(TypeSapCloudForCustomerSource): - var scfcs SapCloudForCustomerSource - err := json.Unmarshal(body, &scfcs) - return scfcs, err - case string(TypeSalesforceSource): - var ss SalesforceSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeSapBwSource): - var sbs SapBwSource - err := json.Unmarshal(body, &sbs) - return sbs, err - case string(TypeSybaseSource): - var ss SybaseSource - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypePostgreSQLSource): - var pss PostgreSQLSource - err := json.Unmarshal(body, &pss) - return pss, err - case string(TypeMySQLSource): - var mss MySQLSource - err := json.Unmarshal(body, &mss) - return mss, err - case string(TypeOdbcSource): - var osVar OdbcSource - err := json.Unmarshal(body, &osVar) - return osVar, err - case string(TypeDb2Source): - var d2s Db2Source - err := json.Unmarshal(body, &d2s) - return d2s, err - case string(TypeInformixSource): - var is InformixSource - err := json.Unmarshal(body, &is) - return is, err - case string(TypeAzureTableSource): - var ats AzureTableSource - err := json.Unmarshal(body, &ats) - return ats, err - default: - var ts TabularSource - err := json.Unmarshal(body, &ts) - return ts, err - } -} -func unmarshalBasicTabularSourceArray(body []byte) ([]BasicTabularSource, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - tsArray := make([]BasicTabularSource, len(rawMessages)) - - for index, rawMessage := range rawMessages { - ts, err := unmarshalBasicTabularSource(*rawMessage) - if err != nil { - return nil, err - } - tsArray[index] = ts - } - return tsArray, nil + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TabularSource. -func (ts TabularSource) MarshalJSON() ([]byte, error) { - ts.Type = TypeTabularSource +// MarshalJSON is the custom marshaler for SquareLinkedService. +func (sls SquareLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSquare objectMap := make(map[string]interface{}) - if ts.QueryTimeout != nil { - objectMap["queryTimeout"] = ts.QueryTimeout + if sls.SquareLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties } - if ts.AdditionalColumns != nil { - objectMap["additionalColumns"] = ts.AdditionalColumns + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if ts.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ts.SourceRetryCount + if sls.Description != nil { + objectMap["description"] = sls.Description } - if ts.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ts.SourceRetryWait + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters } - if ts.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations } - if ts.Type != "" { - objectMap["type"] = ts.Type + if sls.Type != "" { + objectMap["type"] = sls.Type } - for k, v := range ts.AdditionalProperties { + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsWebSource() (*WebSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsOracleSource() (*OracleSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsODataSource() (*ODataSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsRelationalSource() (*RelationalSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false +// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return &sls, true } -// AsDynamicsCrmSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsBlobSource() (*BlobSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsVerticaSource() (*VerticaSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsZohoSource() (*ZohoSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsXeroSource() (*XeroSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSquareSource() (*SquareSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSparkSource() (*SparkSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsShopifySource() (*ShopifySource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsPrestoSource() (*PrestoSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsJiraSource() (*JiraSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsHiveSource() (*HiveSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDrillSource() (*DrillSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSQLMISource() (*SQLMISource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSQLSource() (*SQLSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapTableSource() (*SapTableSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapEccSource() (*SapEccSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSapBwSource() (*SapBwSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsSybaseSource() (*SybaseSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsInformixSource() (*InformixSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsTabularSource() (*TabularSource, bool) { - return &ts, true +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { + return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ts, true +// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsBinarySource() (*BinarySource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsOrcSource() (*OrcSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsJSONSource() (*JSONSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsParquetSource() (*ParquetSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsAvroSource() (*AvroSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsCopySource() (*CopySource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for TabularSource. -func (ts TabularSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ts, true +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for TabularSource struct. -func (ts *TabularSource) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, 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 { @@ -210479,71 +216909,71 @@ func (ts *TabularSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "queryTimeout": + case "typeProperties": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties + err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties) if err != nil { return err } - ts.QueryTimeout = queryTimeout + sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties } - case "additionalColumns": + default: if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ts.AdditionalColumns = &additionalColumns + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) + } + sls.AdditionalProperties[k] = additionalProperties } - default: + case "connectVia": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - if ts.AdditionalProperties == nil { - ts.AdditionalProperties = make(map[string]interface{}) - } - ts.AdditionalProperties[k] = additionalProperties + sls.ConnectVia = &connectVia } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ts.SourceRetryCount = sourceRetryCount + sls.Description = &description } - case "sourceRetryWait": + case "parameters": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ts.SourceRetryWait = sourceRetryWait + sls.Parameters = parameters } - case "maxConcurrentConnections": + case "annotations": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ts.MaxConcurrentConnections = maxConcurrentConnections + sls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ts.Type = typeVar + sls.Type = typeVar } } } @@ -210551,534 +216981,651 @@ func (ts *TabularSource) UnmarshalJSON(body []byte) error { return nil } -// TeradataLinkedService linked service for Teradata data source. -type TeradataLinkedService struct { - // TeradataLinkedServiceTypeProperties - Teradata linked service properties. - *TeradataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SquareLinkedServiceTypeProperties square Service linked service properties. +type SquareLinkedServiceTypeProperties struct { + // ConnectionProperties - Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. + ConnectionProperties interface{} `json:"connectionProperties,omitempty"` + // 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 "connectionProperties": + if v != nil { + var connectionProperties interface{} + err = json.Unmarshal(*v, &connectionProperties) + if err != nil { + return err + } + slstp.ConnectionProperties = connectionProperties + } + 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 Service dataset. +type SquareObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 SquareObjectDataset. +func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSquareObject objectMap := make(map[string]interface{}) - if TLSVar.TeradataLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = TLSVar.TeradataLinkedServiceTypeProperties + if sod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.GenericDatasetTypeProperties } - if TLSVar.ConnectVia != nil { - objectMap["connectVia"] = TLSVar.ConnectVia + if sod.Description != nil { + objectMap["description"] = sod.Description } - if TLSVar.Description != nil { - objectMap["description"] = TLSVar.Description + if sod.Structure != nil { + objectMap["structure"] = sod.Structure } - if TLSVar.Parameters != nil { - objectMap["parameters"] = TLSVar.Parameters + if sod.Schema != nil { + objectMap["schema"] = sod.Schema } - if TLSVar.Annotations != nil { - objectMap["annotations"] = TLSVar.Annotations + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - if TLSVar.Type != "" { - objectMap["type"] = TLSVar.Type + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - for k, v := range TLSVar.AdditionalProperties { + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations + } + if sod.Folder != nil { + objectMap["folder"] = sod.Folder + } + if sod.Type != "" { + objectMap["type"] = sod.Type + } + for k, v := range sod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false +// AsSquareObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return &sod, true } -// AsSquareLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOffice365Dataset() (*Office365Dataset, 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) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsOrcDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsXMLDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExcelDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &TLSVar, true +// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true } -// UnmarshalJSON is the custom unmarshaler for TeradataLinkedService struct. -func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SquareObjectDataset struct. +func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -211088,12 +217635,12 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var teradataLinkedServiceTypeProperties TeradataLinkedServiceTypeProperties - err = json.Unmarshal(*v, &teradataLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - TLSVar.TeradataLinkedServiceTypeProperties = &teradataLinkedServiceTypeProperties + sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -211102,19 +217649,10 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { 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 + if sod.AdditionalProperties == nil { + sod.AdditionalProperties = make(map[string]interface{}) } - TLSVar.ConnectVia = &connectVia + sod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -211123,118 +217661,70 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { 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 + sod.Description = &description } - case "type": + case "structure": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - TLSVar.Type = typeVar + sod.Structure = structure } - } - } - - return nil -} - -// TeradataLinkedServiceTypeProperties teradata linked service properties. -type TeradataLinkedServiceTypeProperties struct { - // ConnectionString - Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Server - Server name for connection. Type: string (or Expression with resultType string). - Server interface{} `json:"server,omitempty"` - // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows' - 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 "connectionString": + case "schema": if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - tlstp.ConnectionString = connectionString + sod.Schema = schema } - case "server": + case "linkedServiceName": if v != nil { - var server interface{} - err = json.Unmarshal(*v, &server) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - tlstp.Server = server + sod.LinkedServiceName = &linkedServiceName } - case "authenticationType": + case "parameters": if v != nil { - var authenticationType TeradataAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - tlstp.AuthenticationType = authenticationType + sod.Parameters = parameters } - case "username": + case "annotations": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - tlstp.Username = username + sod.Annotations = &annotations } - case "password": + case "folder": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - tlstp.Password = password + sod.Folder = &folder } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - tlstp.EncryptedCredential = encryptedCredential + sod.Type = typeVar } } } @@ -211242,24 +217732,10 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } -// TeradataPartitionSettings the settings that will be leveraged for teradata source partitioning. -type TeradataPartitionSettings struct { - // PartitionColumnName - The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). - PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` - // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` - // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). - PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` -} - -// TeradataSource a copy activity Teradata source. -type TeradataSource struct { - // Query - Teradata query. Type: string (or Expression with resultType string). +// SquareSource a copy activity Square Service source. +type SquareSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` - // PartitionOption - The partition mechanism that will be used for teradata read in parallel. Possible values include: 'TeradataPartitionOptionNone', 'TeradataPartitionOptionHash', 'TeradataPartitionOptionDynamicRange' - PartitionOption TeradataPartitionOption `json:"partitionOption,omitempty"` - // PartitionSettings - The settings that will be leveraged for teradata source partitioning. - PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,omitempty"` // 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"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). @@ -211272,499 +217748,513 @@ type TeradataSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TeradataSource. -func (ts TeradataSource) MarshalJSON() ([]byte, error) { - ts.Type = TypeTeradataSource +// MarshalJSON is the custom marshaler for SquareSource. +func (ss SquareSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSquareSource objectMap := make(map[string]interface{}) - if ts.Query != nil { - objectMap["query"] = ts.Query - } - if ts.PartitionOption != "" { - objectMap["partitionOption"] = ts.PartitionOption - } - if ts.PartitionSettings != nil { - objectMap["partitionSettings"] = ts.PartitionSettings + if ss.Query != nil { + objectMap["query"] = ss.Query } - if ts.QueryTimeout != nil { - objectMap["queryTimeout"] = ts.QueryTimeout + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if ts.AdditionalColumns != nil { - objectMap["additionalColumns"] = ts.AdditionalColumns + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns } - if ts.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ts.SourceRetryCount + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if ts.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ts.SourceRetryWait + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if ts.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if ts.Type != "" { - objectMap["type"] = ts.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range ts.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsOracleSource() (*OracleSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsWebSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsRestSource() (*RestSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsODataSource() (*ODataSource, bool) { +// AsRestSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsRelationalSource() (*RelationalSource, bool) { +// AsODataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBlobSource() (*BlobSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsShopifySource() (*ShopifySource, bool) { +// 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 } -// AsServiceNowSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsTeradataSource() (*TeradataSource, bool) { - return &ts, true +// AsCassandraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSapBwSource() (*SapBwSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &ts, true +// AsTabularSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsTabularSource() (*TabularSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true +} + +// AsBinarySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsOrcSource() (*OrcSource, bool) { +// AsOrcSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsJSONSource() (*JSONSource, bool) { +// AsXMLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsJSONSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsParquetSource() (*ParquetSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAvroSource() (*AvroSource, bool) { +// AsParquetSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsCopySource() (*CopySource, bool) { +// AsExcelSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ts, true +// AsAvroSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAvroSource() (*AvroSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for TeradataSource struct. -func (ts *TeradataSource) UnmarshalJSON(body []byte) error { +// 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 +} + +// UnmarshalJSON is the custom unmarshaler for SquareSource struct. +func (ss *SquareSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -211779,25 +218269,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.Query = query - } - case "partitionOption": - if v != nil { - var partitionOption TeradataPartitionOption - err = json.Unmarshal(*v, &partitionOption) - if err != nil { - return err - } - ts.PartitionOption = partitionOption - } - case "partitionSettings": - if v != nil { - var partitionSettings TeradataPartitionSettings - err = json.Unmarshal(*v, &partitionSettings) - if err != nil { - return err - } - ts.PartitionSettings = &partitionSettings + ss.Query = query } case "queryTimeout": if v != nil { @@ -211806,7 +218278,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.QueryTimeout = queryTimeout + ss.QueryTimeout = queryTimeout } case "additionalColumns": if v != nil { @@ -211815,7 +218287,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.AdditionalColumns = &additionalColumns + ss.AdditionalColumns = &additionalColumns } default: if v != nil { @@ -211824,10 +218296,10 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ts.AdditionalProperties == nil { - ts.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - ts.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -211836,7 +218308,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.SourceRetryCount = sourceRetryCount + ss.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -211845,7 +218317,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.SourceRetryWait = sourceRetryWait + ss.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -211854,7 +218326,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.MaxConcurrentConnections = maxConcurrentConnections + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -211863,7 +218335,7 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ts.Type = typeVar + ss.Type = typeVar } } } @@ -211871,514 +218343,585 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { return nil } -// TeradataTableDataset the Teradata database dataset. -type TeradataTableDataset struct { - // TeradataTableDatasetTypeProperties - Teradata dataset properties. - *TeradataTableDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// SSISAccessCredential SSIS access credential. +type SSISAccessCredential struct { + // Domain - Domain for windows authentication. + Domain interface{} `json:"domain,omitempty"` + // UserName - UseName for windows authentication. + UserName interface{} `json:"userName,omitempty"` + // Password - Password for windows authentication. + Password BasicSecretBase `json:"password,omitempty"` } -// MarshalJSON is the custom marshaler for TeradataTableDataset. -func (ttd TeradataTableDataset) MarshalJSON() ([]byte, error) { - ttd.Type = TypeTeradataTable - objectMap := make(map[string]interface{}) - if ttd.TeradataTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = ttd.TeradataTableDatasetTypeProperties - } - if ttd.Description != nil { - objectMap["description"] = ttd.Description - } - if ttd.Structure != nil { - objectMap["structure"] = ttd.Structure +// UnmarshalJSON is the custom unmarshaler for SSISAccessCredential struct. +func (sac *SSISAccessCredential) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if ttd.Schema != nil { - objectMap["schema"] = ttd.Schema + for k, v := range m { + switch k { + case "domain": + if v != nil { + var domain interface{} + err = json.Unmarshal(*v, &domain) + if err != nil { + return err + } + sac.Domain = domain + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + sac.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + sac.Password = password + } + } } - if ttd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ttd.LinkedServiceName + + return nil +} + +// SSISChildPackage SSIS embedded child package. +type SSISChildPackage struct { + // PackagePath - Path for embedded child package. Type: string (or Expression with resultType string). + PackagePath interface{} `json:"packagePath,omitempty"` + // PackageName - Name for embedded child package. + PackageName *string `json:"packageName,omitempty"` + // PackageContent - Content for embedded child package. Type: string (or Expression with resultType string). + PackageContent interface{} `json:"packageContent,omitempty"` + // PackageLastModifiedDate - Last modified date for embedded child package. + PackageLastModifiedDate *string `json:"packageLastModifiedDate,omitempty"` +} + +// SsisEnvironment ssis environment. +type SsisEnvironment struct { + // FolderID - Folder id which contains environment. + FolderID *int64 `json:"folderId,omitempty"` + // Variables - Variable in environment + Variables *[]SsisVariable `json:"variables,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SsisEnvironment. +func (se SsisEnvironment) MarshalJSON() ([]byte, error) { + se.Type = TypeEnvironment + objectMap := make(map[string]interface{}) + if se.FolderID != nil { + objectMap["folderId"] = se.FolderID } - if ttd.Parameters != nil { - objectMap["parameters"] = ttd.Parameters + if se.Variables != nil { + objectMap["variables"] = se.Variables } - if ttd.Annotations != nil { - objectMap["annotations"] = ttd.Annotations + if se.ID != nil { + objectMap["id"] = se.ID } - if ttd.Folder != nil { - objectMap["folder"] = ttd.Folder + if se.Name != nil { + objectMap["name"] = se.Name } - if ttd.Type != "" { - objectMap["type"] = ttd.Type + if se.Description != nil { + objectMap["description"] = se.Description } - for k, v := range ttd.AdditionalProperties { - objectMap[k] = v + if se.Type != "" { + objectMap["type"] = se.Type } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisEnvironment() (*SsisEnvironment, bool) { + return &se, true } -// AsResponsysObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &se, true } -// AsXeroObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false +// SsisEnvironmentReference ssis environment reference. +type SsisEnvironmentReference struct { + // ID - Environment reference id. + ID *int64 `json:"id,omitempty"` + // EnvironmentFolderName - Environment folder name. + EnvironmentFolderName *string `json:"environmentFolderName,omitempty"` + // EnvironmentName - Environment name. + EnvironmentName *string `json:"environmentName,omitempty"` + // ReferenceType - Reference type + ReferenceType *string `json:"referenceType,omitempty"` } -// AsSquareObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false +// SSISExecutionCredential SSIS package execution credential. +type SSISExecutionCredential struct { + // Domain - Domain for windows authentication. + Domain interface{} `json:"domain,omitempty"` + // UserName - UseName for windows authentication. + UserName interface{} `json:"userName,omitempty"` + // Password - Password for windows authentication. + Password *SecureString `json:"password,omitempty"` } -// AsSparkObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false +// SSISExecutionParameter SSIS execution parameter. +type SSISExecutionParameter struct { + // Value - SSIS package execution parameter value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` } -// AsShopifyObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false +// SsisFolder ssis folder. +type SsisFolder struct { + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsServiceNowObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisFolder. +func (sf SsisFolder) MarshalJSON() ([]byte, error) { + sf.Type = TypeFolder + objectMap := make(map[string]interface{}) + if sf.ID != nil { + objectMap["id"] = sf.ID + } + if sf.Name != nil { + objectMap["name"] = sf.Name + } + if sf.Description != nil { + objectMap["description"] = sf.Description + } + if sf.Type != "" { + objectMap["type"] = sf.Type + } + return json.Marshal(objectMap) } -// AsQuickBooksObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisFolder() (*SsisFolder, bool) { + return &sf, true } -// AsMarketoObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sf, true } -// AsMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false +// SSISLogLocation SSIS package execution log location +type SSISLogLocation struct { + // LogPath - The SSIS package execution log path. Type: string (or Expression with resultType string). + LogPath interface{} `json:"logPath,omitempty"` + // Type - The type of SSIS log location. + Type *string `json:"type,omitempty"` + // SSISLogLocationTypeProperties - SSIS package execution log location properties. + *SSISLogLocationTypeProperties `json:"typeProperties,omitempty"` } -// AsMagentoObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SSISLogLocation. +func (sll SSISLogLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if sll.LogPath != nil { + objectMap["logPath"] = sll.LogPath + } + if sll.Type != nil { + objectMap["type"] = sll.Type + } + if sll.SSISLogLocationTypeProperties != nil { + objectMap["typeProperties"] = sll.SSISLogLocationTypeProperties + } + return json.Marshal(objectMap) } -// AsJiraObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for SSISLogLocation struct. +func (sll *SSISLogLocation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "logPath": + if v != nil { + var logPath interface{} + err = json.Unmarshal(*v, &logPath) + if err != nil { + return err + } + sll.LogPath = logPath + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sll.Type = &typeVar + } + case "typeProperties": + if v != nil { + var sSISLogLocationTypeProperties SSISLogLocationTypeProperties + err = json.Unmarshal(*v, &sSISLogLocationTypeProperties) + if err != nil { + return err + } + sll.SSISLogLocationTypeProperties = &sSISLogLocationTypeProperties + } + } + } -// AsImpalaObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false + return nil } -// AsHubspotObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false +// SSISLogLocationTypeProperties SSIS package execution log location properties. +type SSISLogLocationTypeProperties struct { + // AccessCredential - The package execution log access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // LogRefreshInterval - Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + LogRefreshInterval interface{} `json:"logRefreshInterval,omitempty"` } -// AsHiveObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false +// BasicSsisObjectMetadata SSIS object metadata. +type BasicSsisObjectMetadata interface { + AsSsisEnvironment() (*SsisEnvironment, bool) + AsSsisPackage() (*SsisPackage, bool) + AsSsisProject() (*SsisProject, bool) + AsSsisFolder() (*SsisFolder, bool) + AsSsisObjectMetadata() (*SsisObjectMetadata, bool) } -// AsHBaseObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false +// SsisObjectMetadata SSIS object metadata. +type SsisObjectMetadata struct { + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsGreenplumTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} +func unmarshalBasicSsisObjectMetadata(body []byte) (BasicSsisObjectMetadata, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false + switch m["type"] { + case string(TypeEnvironment): + var se SsisEnvironment + err := json.Unmarshal(body, &se) + return se, err + case string(TypePackage): + var sp SsisPackage + err := json.Unmarshal(body, &sp) + return sp, err + case string(TypeProject): + var sp SsisProject + err := json.Unmarshal(body, &sp) + return sp, err + case string(TypeFolder): + var sf SsisFolder + err := json.Unmarshal(body, &sf) + return sf, err + default: + var som SsisObjectMetadata + err := json.Unmarshal(body, &som) + return som, err + } } +func unmarshalBasicSsisObjectMetadataArray(body []byte) ([]BasicSsisObjectMetadata, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsEloquaObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} + somArray := make([]BasicSsisObjectMetadata, len(rawMessages)) -// AsDrillTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false + for index, rawMessage := range rawMessages { + som, err := unmarshalBasicSsisObjectMetadata(*rawMessage) + if err != nil { + return nil, err + } + somArray[index] = som + } + return somArray, nil } -// AsCouchbaseTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisObjectMetadata. +func (som SsisObjectMetadata) MarshalJSON() ([]byte, error) { + som.Type = TypeSsisObjectMetadata + objectMap := make(map[string]interface{}) + if som.ID != nil { + objectMap["id"] = som.ID + } + if som.Name != nil { + objectMap["name"] = som.Name + } + if som.Description != nil { + objectMap["description"] = som.Description + } + if som.Type != "" { + objectMap["type"] = som.Type + } + return json.Marshal(objectMap) } -// AsConcurObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { + return &som, true } -// AsWebTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &som, true } -// AsSapTableResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false +// SsisObjectMetadataListResponse a list of SSIS object metadata. +type SsisObjectMetadataListResponse struct { + autorest.Response `json:"-"` + // Value - List of SSIS object metadata. + Value *[]BasicSsisObjectMetadata `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` } -// AsRestResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for SsisObjectMetadataListResponse struct. +func (somlr *SsisObjectMetadataListResponse) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "value": + if v != nil { + value, err := unmarshalBasicSsisObjectMetadataArray(*v) + if err != nil { + return err + } + somlr.Value = &value + } + case "nextLink": + if v != nil { + var nextLink string + err = json.Unmarshal(*v, &nextLink) + if err != nil { + return err + } + somlr.NextLink = &nextLink + } + } + } -// AsSQLServerTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false + return nil } -// AsSapOpenHubTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false +// SsisObjectMetadataStatusResponse the status of the operation. +type SsisObjectMetadataStatusResponse struct { + autorest.Response `json:"-"` + // Status - The status of the operation. + Status *string `json:"status,omitempty"` + // Name - The operation name. + Name *string `json:"name,omitempty"` + // Properties - The operation properties. + Properties *string `json:"properties,omitempty"` + // Error - The operation error message. + Error *string `json:"error,omitempty"` } -// AsSapHanaTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false -} - -// AsSapEccResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false -} - -// AsSapBwCubeDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { - return nil, false -} - -// AsSybaseTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { - return nil, false -} - -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsSalesforceObjectDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false -} - -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false -} - -// AsPostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false -} - -// AsMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { - return nil, false -} - -// AsOdbcTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { - return nil, false -} - -// AsInformixTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { - return nil, false -} - -// AsRelationalTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false -} - -// AsDb2TableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { - return nil, false -} - -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { - return nil, false -} - -// AsAzureMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsTeradataTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { - return &ttd, true -} - -// AsOracleTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false -} - -// AsODataResourceDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false -} - -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false -} - -// AsMongoDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false -} - -// AsFileShareDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false -} - -// AsOffice365Dataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return nil, false -} - -// AsAzureBlobFSDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { - return nil, false -} - -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { - return nil, false -} - -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { - return nil, false -} - -// AsDynamicsEntityDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false -} - -// AsDocumentDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false -} - -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { - return nil, false -} - -// AsCustomDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCustomDataset() (*CustomDataset, bool) { - return nil, false -} - -// AsCassandraTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return nil, false -} - -// AsAzureSQLDWTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return nil, false -} - -// AsAzureSQLMITableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { - return nil, false -} - -// AsAzureSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return nil, false -} - -// AsAzureTableDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return nil, false -} - -// AsAzureBlobDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { - return nil, false +// SsisPackage ssis Package. +type SsisPackage struct { + // FolderID - Folder id which contains package. + FolderID *int64 `json:"folderId,omitempty"` + // ProjectVersion - Project version which contains package. + ProjectVersion *int64 `json:"projectVersion,omitempty"` + // ProjectID - Project id which contains package. + ProjectID *int64 `json:"projectId,omitempty"` + // Parameters - Parameters in package + Parameters *[]SsisParameter `json:"parameters,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsBinaryDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisPackage. +func (sp SsisPackage) MarshalJSON() ([]byte, error) { + sp.Type = TypePackage + objectMap := make(map[string]interface{}) + if sp.FolderID != nil { + objectMap["folderId"] = sp.FolderID + } + if sp.ProjectVersion != nil { + objectMap["projectVersion"] = sp.ProjectVersion + } + if sp.ProjectID != nil { + objectMap["projectId"] = sp.ProjectID + } + if sp.Parameters != nil { + objectMap["parameters"] = sp.Parameters + } + if sp.ID != nil { + objectMap["id"] = sp.ID + } + if sp.Name != nil { + objectMap["name"] = sp.Name + } + if sp.Description != nil { + objectMap["description"] = sp.Description + } + if sp.Type != "" { + objectMap["type"] = sp.Type + } + return json.Marshal(objectMap) } -// AsOrcDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsJSONDataset() (*JSONDataset, bool) { - return nil, false +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisPackage() (*SsisPackage, bool) { + return &sp, true } -// AsDelimitedTextDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sp, true } -// AsDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsDataset() (*Dataset, bool) { - return nil, false +// SSISPackageLocation SSIS package location. +type SSISPackageLocation struct { + // PackagePath - The SSIS package path. Type: string (or Expression with resultType string). + PackagePath interface{} `json:"packagePath,omitempty"` + // Type - The type of SSIS package location. Possible values include: 'SsisPackageLocationTypeSSISDB', 'SsisPackageLocationTypeFile', 'SsisPackageLocationTypeInlinePackage', 'SsisPackageLocationTypePackageStore' + Type SsisPackageLocationType `json:"type,omitempty"` + // SSISPackageLocationTypeProperties - SSIS package location properties. + *SSISPackageLocationTypeProperties `json:"typeProperties,omitempty"` } -// AsBasicDataset is the BasicDataset implementation for TeradataTableDataset. -func (ttd TeradataTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ttd, true +// MarshalJSON is the custom marshaler for SSISPackageLocation. +func (spl SSISPackageLocation) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if spl.PackagePath != nil { + objectMap["packagePath"] = spl.PackagePath + } + if spl.Type != "" { + objectMap["type"] = spl.Type + } + if spl.SSISPackageLocationTypeProperties != nil { + objectMap["typeProperties"] = spl.SSISPackageLocationTypeProperties + } + return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for TeradataTableDataset struct. -func (ttd *TeradataTableDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SSISPackageLocation struct. +func (spl *SSISPackageLocation) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -212386,98 +218929,138 @@ func (ttd *TeradataTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "packagePath": if v != nil { - var teradataTableDatasetTypeProperties TeradataTableDatasetTypeProperties - err = json.Unmarshal(*v, &teradataTableDatasetTypeProperties) + var packagePath interface{} + err = json.Unmarshal(*v, &packagePath) if err != nil { return err } - ttd.TeradataTableDatasetTypeProperties = &teradataTableDatasetTypeProperties + spl.PackagePath = packagePath } - default: + case "type": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var typeVar SsisPackageLocationType + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - if ttd.AdditionalProperties == nil { - ttd.AdditionalProperties = make(map[string]interface{}) + spl.Type = typeVar + } + case "typeProperties": + if v != nil { + var sSISPackageLocationTypeProperties SSISPackageLocationTypeProperties + err = json.Unmarshal(*v, &sSISPackageLocationTypeProperties) + if err != nil { + return err } - ttd.AdditionalProperties[k] = additionalProperties + spl.SSISPackageLocationTypeProperties = &sSISPackageLocationTypeProperties } - case "description": + } + } + + return nil +} + +// SSISPackageLocationTypeProperties SSIS package location properties. +type SSISPackageLocationTypeProperties struct { + // PackagePassword - Password of the package. + PackagePassword BasicSecretBase `json:"packagePassword,omitempty"` + // AccessCredential - The package access credential. + AccessCredential *SSISAccessCredential `json:"accessCredential,omitempty"` + // ConfigurationPath - The configuration file of the package execution. Type: string (or Expression with resultType string). + ConfigurationPath interface{} `json:"configurationPath,omitempty"` + // ConfigurationAccessCredential - The configuration file access credential. + ConfigurationAccessCredential *SSISAccessCredential `json:"configurationAccessCredential,omitempty"` + // PackageName - The package name. + PackageName *string `json:"packageName,omitempty"` + // PackageContent - The embedded package content. Type: string (or Expression with resultType string). + PackageContent interface{} `json:"packageContent,omitempty"` + // PackageLastModifiedDate - The embedded package last modified date. + PackageLastModifiedDate *string `json:"packageLastModifiedDate,omitempty"` + // ChildPackages - The embedded child package list. + ChildPackages *[]SSISChildPackage `json:"childPackages,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SSISPackageLocationTypeProperties struct. +func (spltp *SSISPackageLocationTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "packagePassword": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + packagePassword, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ttd.Description = &description + spltp.PackagePassword = packagePassword } - case "structure": + case "accessCredential": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var accessCredential SSISAccessCredential + err = json.Unmarshal(*v, &accessCredential) if err != nil { return err } - ttd.Structure = structure + spltp.AccessCredential = &accessCredential } - case "schema": + case "configurationPath": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var configurationPath interface{} + err = json.Unmarshal(*v, &configurationPath) if err != nil { return err } - ttd.Schema = schema + spltp.ConfigurationPath = configurationPath } - case "linkedServiceName": + case "configurationAccessCredential": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var configurationAccessCredential SSISAccessCredential + err = json.Unmarshal(*v, &configurationAccessCredential) if err != nil { return err } - ttd.LinkedServiceName = &linkedServiceName + spltp.ConfigurationAccessCredential = &configurationAccessCredential } - case "parameters": + case "packageName": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var packageName string + err = json.Unmarshal(*v, &packageName) if err != nil { return err } - ttd.Parameters = parameters + spltp.PackageName = &packageName } - case "annotations": + case "packageContent": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var packageContent interface{} + err = json.Unmarshal(*v, &packageContent) if err != nil { return err } - ttd.Annotations = &annotations + spltp.PackageContent = packageContent } - case "folder": + case "packageLastModifiedDate": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var packageLastModifiedDate string + err = json.Unmarshal(*v, &packageLastModifiedDate) if err != nil { return err } - ttd.Folder = &folder + spltp.PackageLastModifiedDate = &packageLastModifiedDate } - case "type": + case "childPackages": if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) + var childPackages []SSISChildPackage + err = json.Unmarshal(*v, &childPackages) if err != nil { return err } - ttd.Type = typeVar + spltp.ChildPackages = &childPackages } } } @@ -212485,127 +219068,173 @@ func (ttd *TeradataTableDataset) UnmarshalJSON(body []byte) error { return nil } -// TeradataTableDatasetTypeProperties teradata dataset properties. -type TeradataTableDatasetTypeProperties struct { - // Database - The database name of Teradata. Type: string (or Expression with resultType string). - Database interface{} `json:"database,omitempty"` - // Table - The table name of Teradata. Type: string (or Expression with resultType string). - Table interface{} `json:"table,omitempty"` +// SsisParameter ssis parameter. +type SsisParameter struct { + // ID - Parameter id. + ID *int64 `json:"id,omitempty"` + // Name - Parameter name. + Name *string `json:"name,omitempty"` + // Description - Parameter description. + Description *string `json:"description,omitempty"` + // DataType - Parameter type. + DataType *string `json:"dataType,omitempty"` + // Required - Whether parameter is required. + Required *bool `json:"required,omitempty"` + // Sensitive - Whether parameter is sensitive. + Sensitive *bool `json:"sensitive,omitempty"` + // DesignDefaultValue - Design default value of parameter. + DesignDefaultValue *string `json:"designDefaultValue,omitempty"` + // DefaultValue - Default value of parameter. + DefaultValue *string `json:"defaultValue,omitempty"` + // SensitiveDefaultValue - Default sensitive value of parameter. + SensitiveDefaultValue *string `json:"sensitiveDefaultValue,omitempty"` + // ValueType - Parameter value type. + ValueType *string `json:"valueType,omitempty"` + // ValueSet - Parameter value set. + ValueSet *bool `json:"valueSet,omitempty"` + // Variable - Parameter reference variable. + Variable *string `json:"variable,omitempty"` } -// 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"` +// SsisProject ssis project. +type SsisProject struct { + // FolderID - Folder id which contains project. + FolderID *int64 `json:"folderId,omitempty"` + // Version - Project version. + Version *int64 `json:"version,omitempty"` + // EnvironmentRefs - Environment reference in project + EnvironmentRefs *[]SsisEnvironmentReference `json:"environmentRefs,omitempty"` + // Parameters - Parameters in project + Parameters *[]SsisParameter `json:"parameters,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TextFormat. -func (tf TextFormat) MarshalJSON() ([]byte, error) { - tf.Type = TypeTextFormat +// MarshalJSON is the custom marshaler for SsisProject. +func (sp SsisProject) MarshalJSON() ([]byte, error) { + sp.Type = TypeProject objectMap := make(map[string]interface{}) - if tf.ColumnDelimiter != nil { - objectMap["columnDelimiter"] = tf.ColumnDelimiter - } - if tf.RowDelimiter != nil { - objectMap["rowDelimiter"] = tf.RowDelimiter - } - if tf.EscapeChar != nil { - objectMap["escapeChar"] = tf.EscapeChar - } - if tf.QuoteChar != nil { - objectMap["quoteChar"] = tf.QuoteChar - } - if tf.NullValue != nil { - objectMap["nullValue"] = tf.NullValue - } - if tf.EncodingName != nil { - objectMap["encodingName"] = tf.EncodingName + if sp.FolderID != nil { + objectMap["folderId"] = sp.FolderID } - if tf.TreatEmptyAsNull != nil { - objectMap["treatEmptyAsNull"] = tf.TreatEmptyAsNull + if sp.Version != nil { + objectMap["version"] = sp.Version } - if tf.SkipLineCount != nil { - objectMap["skipLineCount"] = tf.SkipLineCount + if sp.EnvironmentRefs != nil { + objectMap["environmentRefs"] = sp.EnvironmentRefs } - if tf.FirstRowAsHeader != nil { - objectMap["firstRowAsHeader"] = tf.FirstRowAsHeader + if sp.Parameters != nil { + objectMap["parameters"] = sp.Parameters } - if tf.Serializer != nil { - objectMap["serializer"] = tf.Serializer + if sp.ID != nil { + objectMap["id"] = sp.ID } - if tf.Deserializer != nil { - objectMap["deserializer"] = tf.Deserializer + if sp.Name != nil { + objectMap["name"] = sp.Name } - if tf.Type != "" { - objectMap["type"] = tf.Type + if sp.Description != nil { + objectMap["description"] = sp.Description } - for k, v := range tf.AdditionalProperties { - objectMap[k] = v + if sp.Type != "" { + objectMap["type"] = sp.Type } return json.Marshal(objectMap) } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsParquetFormat() (*ParquetFormat, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisProject() (*SsisProject, bool) { + return &sp, true +} + +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsTextFormat() (*TextFormat, bool) { - return &tf, true +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sp, true } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return nil, false +// SSISPropertyOverride SSIS property override. +type SSISPropertyOverride struct { + // Value - SSIS package property override value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` + // IsSensitive - Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true + IsSensitive *bool `json:"isSensitive,omitempty"` } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &tf, true +// SsisVariable ssis variable. +type SsisVariable struct { + // ID - Variable id. + ID *int64 `json:"id,omitempty"` + // Name - Variable name. + Name *string `json:"name,omitempty"` + // Description - Variable description. + Description *string `json:"description,omitempty"` + // DataType - Variable type. + DataType *string `json:"dataType,omitempty"` + // Sensitive - Whether variable is sensitive. + Sensitive *bool `json:"sensitive,omitempty"` + // Value - Variable value. + Value *string `json:"value,omitempty"` + // SensitiveValue - Variable sensitive value. + SensitiveValue *string `json:"sensitiveValue,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for TextFormat struct. -func (tf *TextFormat) UnmarshalJSON(body []byte) error { +// 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 + } + if ss.Path != nil { + objectMap["path"] = ss.Path + } + if ss.EnableCompression != nil { + objectMap["enableCompression"] = ss.EnableCompression + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for StagingSettings struct. +func (ss *StagingSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -212613,87 +219242,6 @@ func (tf *TextFormat) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "columnDelimiter": - if v != nil { - var columnDelimiter interface{} - err = json.Unmarshal(*v, &columnDelimiter) - if err != nil { - return err - } - tf.ColumnDelimiter = columnDelimiter - } - case "rowDelimiter": - if v != nil { - var rowDelimiter interface{} - err = json.Unmarshal(*v, &rowDelimiter) - if err != nil { - return err - } - tf.RowDelimiter = rowDelimiter - } - case "escapeChar": - if v != nil { - var escapeChar interface{} - err = json.Unmarshal(*v, &escapeChar) - if err != nil { - return err - } - tf.EscapeChar = escapeChar - } - case "quoteChar": - if v != nil { - var quoteChar interface{} - err = json.Unmarshal(*v, "eChar) - if err != nil { - return err - } - tf.QuoteChar = quoteChar - } - case "nullValue": - if v != nil { - var nullValue interface{} - err = json.Unmarshal(*v, &nullValue) - if err != nil { - return err - } - tf.NullValue = nullValue - } - case "encodingName": - if v != nil { - var encodingName interface{} - err = json.Unmarshal(*v, &encodingName) - if err != nil { - return err - } - tf.EncodingName = encodingName - } - case "treatEmptyAsNull": - if v != nil { - var treatEmptyAsNull interface{} - err = json.Unmarshal(*v, &treatEmptyAsNull) - if err != nil { - return err - } - tf.TreatEmptyAsNull = treatEmptyAsNull - } - case "skipLineCount": - if v != nil { - var skipLineCount interface{} - err = json.Unmarshal(*v, &skipLineCount) - if err != nil { - return err - } - tf.SkipLineCount = skipLineCount - } - case "firstRowAsHeader": - if v != nil { - var firstRowAsHeader interface{} - err = json.Unmarshal(*v, &firstRowAsHeader) - if err != nil { - return err - } - tf.FirstRowAsHeader = firstRowAsHeader - } default: if v != nil { var additionalProperties interface{} @@ -212701,37 +219249,37 @@ func (tf *TextFormat) UnmarshalJSON(body []byte) error { if err != nil { return err } - if tf.AdditionalProperties == nil { - tf.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - tf.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } - case "serializer": + case "linkedServiceName": if v != nil { - var serializer interface{} - err = json.Unmarshal(*v, &serializer) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - tf.Serializer = serializer + ss.LinkedServiceName = &linkedServiceName } - case "deserializer": + case "path": if v != nil { - var deserializer interface{} - err = json.Unmarshal(*v, &deserializer) + var pathVar interface{} + err = json.Unmarshal(*v, &pathVar) if err != nil { return err } - tf.Deserializer = deserializer + ss.Path = pathVar } - case "type": + case "enableCompression": if v != nil { - var typeVar TypeBasicDatasetStorageFormat - err = json.Unmarshal(*v, &typeVar) + var enableCompression interface{} + err = json.Unmarshal(*v, &enableCompression) if err != nil { return err } - tf.Type = typeVar + ss.EnableCompression = enableCompression } } } @@ -212739,42 +219287,41 @@ func (tf *TextFormat) UnmarshalJSON(body []byte) error { return nil } -// Transformation a data flow transformation. -type Transformation struct { - // Name - Transformation name. - Name *string `json:"name,omitempty"` - // Description - Transformation description. - Description *string `json:"description,omitempty"` +// 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', 'StoredProcedureParameterTypeInt64', 'StoredProcedureParameterTypeDecimal', 'StoredProcedureParameterTypeGUID', 'StoredProcedureParameterTypeBoolean', 'StoredProcedureParameterTypeDate' + Type StoredProcedureParameterType `json:"type,omitempty"` } -// BasicTrigger azure data factory nested object which contains information about creating pipeline run -type BasicTrigger interface { - AsChainingTrigger() (*ChainingTrigger, bool) - AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) - AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) - AsBlobEventsTrigger() (*BlobEventsTrigger, bool) - AsBlobTrigger() (*BlobTrigger, bool) - AsScheduleTrigger() (*ScheduleTrigger, bool) - AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) - AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) - AsTrigger() (*Trigger, bool) +// BasicStoreReadSettings connector read setting. +type BasicStoreReadSettings interface { + AsHdfsReadSettings() (*HdfsReadSettings, bool) + AsHTTPReadSettings() (*HTTPReadSettings, bool) + AsSftpReadSettings() (*SftpReadSettings, bool) + AsFtpReadSettings() (*FtpReadSettings, bool) + AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) + AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) + AsFileServerReadSettings() (*FileServerReadSettings, bool) + AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) + AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) + AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) + AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) + AsStoreReadSettings() (*StoreReadSettings, bool) } -// Trigger azure data factory nested object which contains information about creating pipeline run -type Trigger struct { +// StoreReadSettings connector read setting. +type StoreReadSettings 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 - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeChainingTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeStoreReadSettings', 'TypeHdfsReadSettings', 'TypeHTTPReadSettings', 'TypeSftpReadSettings', 'TypeFtpReadSettings', 'TypeGoogleCloudStorageReadSettings', 'TypeAzureFileStorageReadSettings', 'TypeFileServerReadSettings', 'TypeAmazonS3ReadSettings', 'TypeAzureDataLakeStoreReadSettings', 'TypeAzureBlobFSReadSettings', 'TypeAzureBlobStorageReadSettings' + Type TypeBasicStoreReadSettings `json:"type,omitempty"` } -func unmarshalBasicTrigger(body []byte) (BasicTrigger, error) { +func unmarshalBasicStoreReadSettings(body []byte) (BasicStoreReadSettings, error) { var m map[string]interface{} err := json.Unmarshal(body, &m) if err != nil { @@ -212782,130 +219329,158 @@ func unmarshalBasicTrigger(body []byte) (BasicTrigger, error) { } switch m["type"] { - case string(TypeChainingTrigger): - var ct ChainingTrigger - err := json.Unmarshal(body, &ct) - return ct, err - case string(TypeRerunTumblingWindowTrigger): - var rtwt RerunTumblingWindowTrigger - err := json.Unmarshal(body, &rtwt) - return rtwt, err - case string(TypeTumblingWindowTrigger): - var twt TumblingWindowTrigger - err := json.Unmarshal(body, &twt) - return twt, err - case string(TypeBlobEventsTrigger): - var bet BlobEventsTrigger - err := json.Unmarshal(body, &bet) - return bet, err - case string(TypeBlobTrigger): - var bt BlobTrigger - err := json.Unmarshal(body, &bt) - return bt, err - case string(TypeScheduleTrigger): - var st ScheduleTrigger - err := json.Unmarshal(body, &st) - return st, err - case string(TypeMultiplePipelineTrigger): - var mpt MultiplePipelineTrigger - err := json.Unmarshal(body, &mpt) - return mpt, err + case string(TypeHdfsReadSettings): + var hrs HdfsReadSettings + err := json.Unmarshal(body, &hrs) + return hrs, err + case string(TypeHTTPReadSettings): + var hrs HTTPReadSettings + err := json.Unmarshal(body, &hrs) + return hrs, err + case string(TypeSftpReadSettings): + var srs SftpReadSettings + err := json.Unmarshal(body, &srs) + return srs, err + case string(TypeFtpReadSettings): + var frs FtpReadSettings + err := json.Unmarshal(body, &frs) + return frs, err + case string(TypeGoogleCloudStorageReadSettings): + var gcsrs GoogleCloudStorageReadSettings + err := json.Unmarshal(body, &gcsrs) + return gcsrs, err + case string(TypeAzureFileStorageReadSettings): + var afsrs AzureFileStorageReadSettings + err := json.Unmarshal(body, &afsrs) + return afsrs, err + case string(TypeFileServerReadSettings): + var fsrs FileServerReadSettings + err := json.Unmarshal(body, &fsrs) + return fsrs, err + case string(TypeAmazonS3ReadSettings): + var asrs AmazonS3ReadSettings + err := json.Unmarshal(body, &asrs) + return asrs, err + case string(TypeAzureDataLakeStoreReadSettings): + var adlsrs AzureDataLakeStoreReadSettings + err := json.Unmarshal(body, &adlsrs) + return adlsrs, err + case string(TypeAzureBlobFSReadSettings): + var abfrs AzureBlobFSReadSettings + err := json.Unmarshal(body, &abfrs) + return abfrs, err + case string(TypeAzureBlobStorageReadSettings): + var absrs AzureBlobStorageReadSettings + err := json.Unmarshal(body, &absrs) + return absrs, err default: - var t Trigger - err := json.Unmarshal(body, &t) - return t, err + var srs StoreReadSettings + err := json.Unmarshal(body, &srs) + return srs, err } } -func unmarshalBasicTriggerArray(body []byte) ([]BasicTrigger, error) { +func unmarshalBasicStoreReadSettingsArray(body []byte) ([]BasicStoreReadSettings, error) { var rawMessages []*json.RawMessage err := json.Unmarshal(body, &rawMessages) if err != nil { return nil, err } - tArray := make([]BasicTrigger, len(rawMessages)) + srsArray := make([]BasicStoreReadSettings, len(rawMessages)) for index, rawMessage := range rawMessages { - t, err := unmarshalBasicTrigger(*rawMessage) + srs, err := unmarshalBasicStoreReadSettings(*rawMessage) if err != nil { return nil, err } - tArray[index] = t + srsArray[index] = srs } - return tArray, nil + return srsArray, nil } -// MarshalJSON is the custom marshaler for Trigger. -func (t Trigger) MarshalJSON() ([]byte, error) { - t.Type = TypeTrigger +// MarshalJSON is the custom marshaler for StoreReadSettings. +func (srs StoreReadSettings) MarshalJSON() ([]byte, error) { + srs.Type = TypeStoreReadSettings objectMap := make(map[string]interface{}) - if t.Description != nil { - objectMap["description"] = t.Description - } - if t.Annotations != nil { - objectMap["annotations"] = t.Annotations + if srs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = srs.MaxConcurrentConnections } - if t.Type != "" { - objectMap["type"] = t.Type + if srs.Type != "" { + objectMap["type"] = srs.Type } - for k, v := range t.AdditionalProperties { + for k, v := range srs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsChainingTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsChainingTrigger() (*ChainingTrigger, bool) { +// AsHdfsReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsHdfsReadSettings() (*HdfsReadSettings, bool) { return nil, false } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { +// AsHTTPReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsHTTPReadSettings() (*HTTPReadSettings, bool) { return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsSftpReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsSftpReadSettings() (*SftpReadSettings, bool) { return nil, false } -// AsBlobEventsTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsFtpReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsFtpReadSettings() (*FtpReadSettings, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsGoogleCloudStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsGoogleCloudStorageReadSettings() (*GoogleCloudStorageReadSettings, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsAzureFileStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsAzureFileStorageReadSettings() (*AzureFileStorageReadSettings, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsFileServerReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsFileServerReadSettings() (*FileServerReadSettings, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { +// AsAmazonS3ReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsAmazonS3ReadSettings() (*AmazonS3ReadSettings, bool) { return nil, false } -// AsTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsTrigger() (*Trigger, bool) { - return &t, true +// AsAzureDataLakeStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsAzureDataLakeStoreReadSettings() (*AzureDataLakeStoreReadSettings, bool) { + return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBasicTrigger() (BasicTrigger, bool) { - return &t, true +// AsAzureBlobFSReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsAzureBlobFSReadSettings() (*AzureBlobFSReadSettings, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for Trigger struct. -func (t *Trigger) UnmarshalJSON(body []byte) error { +// AsAzureBlobStorageReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsAzureBlobStorageReadSettings() (*AzureBlobStorageReadSettings, bool) { + return nil, false +} + +// AsStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsStoreReadSettings() (*StoreReadSettings, bool) { + return &srs, true +} + +// AsBasicStoreReadSettings is the BasicStoreReadSettings implementation for StoreReadSettings. +func (srs StoreReadSettings) AsBasicStoreReadSettings() (BasicStoreReadSettings, bool) { + return &srs, true +} + +// UnmarshalJSON is the custom unmarshaler for StoreReadSettings struct. +func (srs *StoreReadSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -212920,46 +219495,28 @@ func (t *Trigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - if t.AdditionalProperties == nil { - t.AdditionalProperties = make(map[string]interface{}) - } - t.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - t.Description = &description - } - case "runtimeState": - if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) - if err != nil { - return err + if srs.AdditionalProperties == nil { + srs.AdditionalProperties = make(map[string]interface{}) } - t.RuntimeState = runtimeState + srs.AdditionalProperties[k] = additionalProperties } - case "annotations": + case "maxConcurrentConnections": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - t.Annotations = &annotations + srs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicTrigger + var typeVar TypeBasicStoreReadSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - t.Type = typeVar + srs.Type = typeVar } } } @@ -212967,21 +219524,29 @@ func (t *Trigger) UnmarshalJSON(body []byte) error { return nil } -// BasicTriggerDependencyReference trigger referenced dependency. -type BasicTriggerDependencyReference interface { - AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) - AsTriggerDependencyReference() (*TriggerDependencyReference, bool) +// BasicStoreWriteSettings connector write settings. +type BasicStoreWriteSettings interface { + AsFileServerWriteSettings() (*FileServerWriteSettings, bool) + AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) + AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) + AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) + AsSftpWriteSettings() (*SftpWriteSettings, bool) + AsStoreWriteSettings() (*StoreWriteSettings, bool) } -// TriggerDependencyReference trigger referenced dependency. -type TriggerDependencyReference struct { - // ReferenceTrigger - Referenced trigger. - ReferenceTrigger *TriggerReference `json:"referenceTrigger,omitempty"` - // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' - Type TypeBasicDependencyReference `json:"type,omitempty"` -} +// StoreWriteSettings connector write settings. +type StoreWriteSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // CopyBehavior - The type of copy behavior for copy sink. + CopyBehavior interface{} `json:"copyBehavior,omitempty"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings', 'TypeSftpWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` +} -func unmarshalBasicTriggerDependencyReference(body []byte) (BasicTriggerDependencyReference, error) { +func unmarshalBasicStoreWriteSettings(body []byte) (BasicStoreWriteSettings, error) { var m map[string]interface{} err := json.Unmarshal(body, &m) if err != nil { @@ -212989,286 +219554,426 @@ func unmarshalBasicTriggerDependencyReference(body []byte) (BasicTriggerDependen } switch m["type"] { - case string(TypeTumblingWindowTriggerDependencyReference): - var twtdr TumblingWindowTriggerDependencyReference - err := json.Unmarshal(body, &twtdr) - return twtdr, err + case string(TypeFileServerWriteSettings): + var fsws FileServerWriteSettings + err := json.Unmarshal(body, &fsws) + return fsws, err + case string(TypeAzureDataLakeStoreWriteSettings): + var adlsws AzureDataLakeStoreWriteSettings + err := json.Unmarshal(body, &adlsws) + return adlsws, err + case string(TypeAzureBlobFSWriteSettings): + var abfws AzureBlobFSWriteSettings + err := json.Unmarshal(body, &abfws) + return abfws, err + case string(TypeAzureBlobStorageWriteSettings): + var absws AzureBlobStorageWriteSettings + err := json.Unmarshal(body, &absws) + return absws, err + case string(TypeSftpWriteSettings): + var sws SftpWriteSettings + err := json.Unmarshal(body, &sws) + return sws, err default: - var tdr TriggerDependencyReference - err := json.Unmarshal(body, &tdr) - return tdr, err + var sws StoreWriteSettings + err := json.Unmarshal(body, &sws) + return sws, err } } -func unmarshalBasicTriggerDependencyReferenceArray(body []byte) ([]BasicTriggerDependencyReference, error) { +func unmarshalBasicStoreWriteSettingsArray(body []byte) ([]BasicStoreWriteSettings, error) { var rawMessages []*json.RawMessage err := json.Unmarshal(body, &rawMessages) if err != nil { return nil, err } - tdrArray := make([]BasicTriggerDependencyReference, len(rawMessages)) + swsArray := make([]BasicStoreWriteSettings, len(rawMessages)) for index, rawMessage := range rawMessages { - tdr, err := unmarshalBasicTriggerDependencyReference(*rawMessage) + sws, err := unmarshalBasicStoreWriteSettings(*rawMessage) if err != nil { return nil, err } - tdrArray[index] = tdr + swsArray[index] = sws } - return tdrArray, nil + return swsArray, nil } -// MarshalJSON is the custom marshaler for TriggerDependencyReference. -func (tdr TriggerDependencyReference) MarshalJSON() ([]byte, error) { - tdr.Type = TypeTriggerDependencyReference +// MarshalJSON is the custom marshaler for StoreWriteSettings. +func (sws StoreWriteSettings) MarshalJSON() ([]byte, error) { + sws.Type = TypeStoreWriteSettings objectMap := make(map[string]interface{}) - if tdr.ReferenceTrigger != nil { - objectMap["referenceTrigger"] = tdr.ReferenceTrigger + if sws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections } - if tdr.Type != "" { - objectMap["type"] = tdr.Type + if sws.CopyBehavior != nil { + objectMap["copyBehavior"] = sws.CopyBehavior + } + if sws.Type != "" { + objectMap["type"] = sws.Type + } + for k, v := range sws.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { return nil, false } -// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { return nil, false } -// AsTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { - return &tdr, true +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { + return nil, false } -// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { - return &tdr, true +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { + return nil, false } -// AsDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsDependencyReference() (*DependencyReference, bool) { +// AsSftpWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsSftpWriteSettings() (*SftpWriteSettings, bool) { return nil, false } -// AsBasicDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. -func (tdr TriggerDependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { - return &tdr, true +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return &sws, true } -// TriggerFilterParameters query parameters for triggers. -type TriggerFilterParameters struct { - // ContinuationToken - The continuation token for getting the next page of results. Null for first page. - ContinuationToken *string `json:"continuationToken,omitempty"` - // ParentTriggerName - The name of the parent TumblingWindowTrigger to get the child rerun triggers - ParentTriggerName *string `json:"parentTriggerName,omitempty"` +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &sws, 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"` +// UnmarshalJSON is the custom unmarshaler for StoreWriteSettings struct. +func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + 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 sws.AdditionalProperties == nil { + sws.AdditionalProperties = make(map[string]interface{}) + } + sws.AdditionalProperties[k] = additionalProperties + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sws.MaxConcurrentConnections = maxConcurrentConnections + } + case "copyBehavior": + if v != nil { + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) + if err != nil { + return err + } + sws.CopyBehavior = copyBehavior + } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sws.Type = typeVar + } + } + } + + return nil } -// TriggerListResponseIterator provides access to a complete listing of TriggerResource values. -type TriggerListResponseIterator struct { - i int - page TriggerListResponsePage +// SubResource azure Data Factory nested resource, which belongs to a factory. +type SubResource struct { + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` } -// NextWithContext advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *TriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/TriggerListResponseIterator.NextWithContext") - defer func() { - sc := -1 - if iter.Response().Response.Response != nil { - sc = iter.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() +// SubResourceDebugResource azure Data Factory nested debug resource. +type SubResourceDebugResource struct { + // Name - The resource name. + Name *string `json:"name,omitempty"` +} + +// SwitchActivity this activity evaluates an expression and executes activities under the cases property +// that correspond to the expression evaluation expected in the equals property. +type SwitchActivity struct { + // SwitchActivityTypeProperties - Switch activity properties. + *SwitchActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SwitchActivity. +func (sa SwitchActivity) MarshalJSON() ([]byte, error) { + sa.Type = TypeSwitch + objectMap := make(map[string]interface{}) + if sa.SwitchActivityTypeProperties != nil { + objectMap["typeProperties"] = sa.SwitchActivityTypeProperties } - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil + if sa.Name != nil { + objectMap["name"] = sa.Name } - err = iter.page.NextWithContext(ctx) - if err != nil { - iter.i-- - return err + if sa.Description != nil { + objectMap["description"] = sa.Description } - iter.i = 0 - return nil + if sa.DependsOn != nil { + objectMap["dependsOn"] = sa.DependsOn + } + if sa.UserProperties != nil { + objectMap["userProperties"] = sa.UserProperties + } + if sa.Type != "" { + objectMap["type"] = sa.Type + } + for k, v := range sa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (iter *TriggerListResponseIterator) Next() error { - return iter.NextWithContext(context.Background()) +// AsExecuteDataFlowActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, 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()) +// AsAzureFunctionActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter TriggerListResponseIterator) Response() TriggerListResponse { - return iter.page.Response() +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, 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] +// AsDatabricksSparkJarActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false } -// Creates a new instance of the TriggerListResponseIterator type. -func NewTriggerListResponseIterator(page TriggerListResponsePage) TriggerListResponseIterator { - return TriggerListResponseIterator{page: page} +// AsDatabricksNotebookActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, 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 +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, 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(ctx context.Context) (*http.Request, error) { - if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare((&http.Request{}).WithContext(ctx), - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(tlr.NextLink))) +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false } -// TriggerListResponsePage contains a page of TriggerResource values. -type TriggerListResponsePage struct { - fn func(context.Context, TriggerListResponse) (TriggerListResponse, error) - tlr TriggerListResponse +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false } -// NextWithContext advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -func (page *TriggerListResponsePage) NextWithContext(ctx context.Context) (err error) { - if tracing.IsEnabled() { - ctx = tracing.StartSpan(ctx, fqdn+"/TriggerListResponsePage.NextWithContext") - defer func() { - sc := -1 - if page.Response().Response.Response != nil { - sc = page.Response().Response.Response.StatusCode - } - tracing.EndSpan(ctx, sc, err) - }() - } - next, err := page.fn(ctx, page.tlr) - if err != nil { - return err - } - page.tlr = next - return nil +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false } -// Next advances to the next page of values. If there was an error making -// the request the page does not advance and the error is returned. -// Deprecated: Use NextWithContext() instead. -func (page *TriggerListResponsePage) Next() error { - return page.NextWithContext(context.Background()) +// AsGetMetadataActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsGetMetadataActivity() (*GetMetadataActivity, 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() +// AsWebActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page TriggerListResponsePage) Response() TriggerListResponse { - return page.tlr +// AsLookupActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsLookupActivity() (*LookupActivity, 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 +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false } -// Creates a new instance of the TriggerListResponsePage type. -func NewTriggerListResponsePage(getNextPage func(context.Context, TriggerListResponse) (TriggerListResponse, error)) TriggerListResponsePage { - return TriggerListResponsePage{fn: getNextPage} +// AsDeleteActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsDeleteActivity() (*DeleteActivity, 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"` +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, 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) +// AsCustomActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false } -// TriggerQueryResponse a query of triggers. -type TriggerQueryResponse struct { - autorest.Response `json:"-"` - // Value - List of triggers. - Value *[]TriggerResource `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"` +// AsExecuteSSISPackageActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false } -// TriggerReference trigger reference type. -type TriggerReference struct { - // Type - Trigger reference type. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference trigger name. - ReferenceName *string `json:"referenceName,omitempty"` +// AsHDInsightSparkActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, 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 - READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty"` - // Name - READ-ONLY; The resource name. - Name *string `json:"name,omitempty"` - // Type - READ-ONLY; The resource type. - Type *string `json:"type,omitempty"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsHDInsightStreamingActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for TriggerResource struct. -func (tr *TriggerResource) UnmarshalJSON(body []byte) error { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false +} + +// AsWebHookActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsSwitchActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsSwitchActivity() (*SwitchActivity, bool) { + return &sa, true +} + +// AsIfConditionActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &sa, true +} + +// AsActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for SwitchActivity. +func (sa SwitchActivity) AsBasicActivity() (BasicActivity, bool) { + return &sa, true +} + +// UnmarshalJSON is the custom unmarshaler for SwitchActivity struct. +func (sa *SwitchActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -213276,22 +219981,26 @@ 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 switchActivityTypeProperties SwitchActivityTypeProperties + err = json.Unmarshal(*v, &switchActivityTypeProperties) if err != nil { return err } - tr.Properties = properties + sa.SwitchActivityTypeProperties = &switchActivityTypeProperties } - 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 sa.AdditionalProperties == nil { + sa.AdditionalProperties = make(map[string]interface{}) + } + sa.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -213300,25 +220009,43 @@ func (tr *TriggerResource) UnmarshalJSON(body []byte) error { if err != nil { return err } - tr.Name = &name + sa.Name = &name } - case "type": + case "description": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - tr.Type = &typeVar + sa.Description = &description } - case "etag": + case "dependsOn": if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - tr.Etag = &etag + sa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + sa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sa.Type = typeVar } } } @@ -213326,43 +220053,18 @@ func (tr *TriggerResource) UnmarshalJSON(body []byte) error { return nil } -// TriggerRun trigger runs. -type TriggerRun struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // TriggerRunID - READ-ONLY; Trigger run id. - TriggerRunID *string `json:"triggerRunId,omitempty"` - // TriggerName - READ-ONLY; Trigger name. - TriggerName *string `json:"triggerName,omitempty"` - // TriggerType - READ-ONLY; Trigger type. - TriggerType *string `json:"triggerType,omitempty"` - // TriggerRunTimestamp - READ-ONLY; Trigger run start time. - TriggerRunTimestamp *date.Time `json:"triggerRunTimestamp,omitempty"` - // Status - READ-ONLY; Trigger run status. Possible values include: 'TriggerRunStatusSucceeded', 'TriggerRunStatusFailed', 'TriggerRunStatusInprogress' - Status TriggerRunStatus `json:"status,omitempty"` - // Message - READ-ONLY; Trigger error message. - Message *string `json:"message,omitempty"` - // Properties - READ-ONLY; 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 - READ-ONLY; List of pipeline name and run Id triggered by the trigger run. - TriggeredPipelines map[string]*string `json:"triggeredPipelines"` - // RunDimension - READ-ONLY; Run dimension for which trigger was fired. - RunDimension map[string]*string `json:"runDimension"` - // DependencyStatus - READ-ONLY; Status of the upstream pipelines. - DependencyStatus map[string]interface{} `json:"dependencyStatus"` -} - -// MarshalJSON is the custom marshaler for TriggerRun. -func (tr TriggerRun) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - for k, v := range tr.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// SwitchActivityTypeProperties switch activity properties. +type SwitchActivityTypeProperties struct { + // On - An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. + On *Expression `json:"on,omitempty"` + // Cases - List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. + Cases *[]SwitchCase `json:"cases,omitempty"` + // DefaultActivities - List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. + DefaultActivities *[]BasicActivity `json:"defaultActivities,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for TriggerRun struct. -func (tr *TriggerRun) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SwitchActivityTypeProperties struct. +func (satp *SwitchActivityTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -213370,107 +220072,71 @@ func (tr *TriggerRun) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if tr.AdditionalProperties == nil { - tr.AdditionalProperties = make(map[string]interface{}) - } - tr.AdditionalProperties[k] = additionalProperties - } - case "triggerRunId": - if v != nil { - var triggerRunID string - err = json.Unmarshal(*v, &triggerRunID) - if err != nil { - return err - } - tr.TriggerRunID = &triggerRunID - } - case "triggerName": - if v != nil { - var triggerName string - err = json.Unmarshal(*v, &triggerName) - if err != nil { - return err - } - tr.TriggerName = &triggerName - } - case "triggerType": - if v != nil { - var triggerType string - err = json.Unmarshal(*v, &triggerType) - if err != nil { - return err - } - tr.TriggerType = &triggerType - } - case "triggerRunTimestamp": - if v != nil { - var triggerRunTimestamp date.Time - err = json.Unmarshal(*v, &triggerRunTimestamp) - if err != nil { - return err - } - tr.TriggerRunTimestamp = &triggerRunTimestamp - } - case "status": - if v != nil { - var status TriggerRunStatus - err = json.Unmarshal(*v, &status) - if err != nil { - return err - } - tr.Status = status - } - case "message": + case "on": if v != nil { - var message string - err = json.Unmarshal(*v, &message) + var on Expression + err = json.Unmarshal(*v, &on) if err != nil { return err } - tr.Message = &message + satp.On = &on } - case "properties": + case "cases": if v != nil { - var properties map[string]*string - err = json.Unmarshal(*v, &properties) + var cases []SwitchCase + err = json.Unmarshal(*v, &cases) if err != nil { return err } - tr.Properties = properties + satp.Cases = &cases } - case "triggeredPipelines": + case "defaultActivities": if v != nil { - var triggeredPipelines map[string]*string - err = json.Unmarshal(*v, &triggeredPipelines) + defaultActivities, err := unmarshalBasicActivityArray(*v) if err != nil { return err } - tr.TriggeredPipelines = triggeredPipelines + satp.DefaultActivities = &defaultActivities } - case "runDimension": + } + } + + return nil +} + +// SwitchCase switch cases with have a value and corresponding activities. +type SwitchCase struct { + // Value - Expected value that satisfies the expression result of the 'on' property. + Value *string `json:"value,omitempty"` + // Activities - List of activities to execute for satisfied case condition. + Activities *[]BasicActivity `json:"activities,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for SwitchCase struct. +func (sc *SwitchCase) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "value": if v != nil { - var runDimension map[string]*string - err = json.Unmarshal(*v, &runDimension) + var value string + err = json.Unmarshal(*v, &value) if err != nil { return err } - tr.RunDimension = runDimension + sc.Value = &value } - case "dependencyStatus": + case "activities": if v != nil { - var dependencyStatus map[string]interface{} - err = json.Unmarshal(*v, &dependencyStatus) + activities, err := unmarshalBasicActivityArray(*v) if err != nil { return err } - tr.DependencyStatus = dependencyStatus + sc.Activities = &activities } } } @@ -213478,247 +220144,7656 @@ func (tr *TriggerRun) UnmarshalJSON(body []byte) error { return nil } -// TriggerRunsQueryResponse a list of trigger runs. -type TriggerRunsQueryResponse struct { - autorest.Response `json:"-"` - // Value - List of trigger runs. - Value *[]TriggerRun `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"` -} - -// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type TriggersStartFuture struct { - azure.Future +// 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 linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *TriggersStartFuture) Result(client TriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Polling failure") - return +// 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 !done { - err = azure.NewAsyncOpIncompleteError("datafactory.TriggersStartFuture") - return + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - ar.Response = future.Response() - return + if sls.Description != nil { + objectMap["description"] = sls.Description + } + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + if sls.Type != "" { + objectMap["type"] = sls.Type + } + for k, v := range sls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// TriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation. -type TriggersStopFuture struct { - azure.Future +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, 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.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.TriggersStopFuture") - return - } - ar.Response = future.Response() - return +// AsSnowflakeLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false } -// TriggersSubscribeToEventsFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. -type TriggersSubscribeToEventsFuture struct { - azure.Future +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false } -// Result returns the result of the asynchronous operation. -// If the operation has not completed it will return an error. -func (future *TriggersSubscribeToEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.TriggersSubscribeToEventsFuture") - return - } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { - tsos, err = client.SubscribeToEventsResponder(tsos.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") - } - } - return +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false } -// TriggerSubscriptionOperationStatus defines the response of a trigger subscription operation. -type TriggerSubscriptionOperationStatus struct { - autorest.Response `json:"-"` - // TriggerName - READ-ONLY; Trigger name. - TriggerName *string `json:"triggerName,omitempty"` - // Status - READ-ONLY; Event Subscription Status. Possible values include: 'Enabled', 'Provisioning', 'Deprovisioning', 'Disabled', 'Unknown' - Status EventSubscriptionStatus `json:"status,omitempty"` +// AsSapTableLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// TriggersUnsubscribeFromEventsFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. -type TriggersUnsubscribeFromEventsFuture struct { - azure.Future +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, 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 *TriggersUnsubscribeFromEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { - var done bool - done, err = future.DoneWithContext(context.Background(), client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.TriggersUnsubscribeFromEventsFuture") - return - } - sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { - tsos, err = client.UnsubscribeFromEventsResponder(tsos.Response.Response) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") - } - } - return +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, 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"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' - RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` - // Annotations - List of tags that can be used for describing the trigger. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeTrigger', 'TypeChainingTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false } -// 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 - } - if twt.Annotations != nil { - objectMap["annotations"] = twt.Annotations - } - if twt.Type != "" { - objectMap["type"] = twt.Type - } - for k, v := range twt.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsResponsysLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false } -// AsChainingTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsChainingTrigger() (*ChainingTrigger, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { - return &twt, true +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false } -// AsBlobEventsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsTrigger() (*Trigger, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &twt, true +// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, 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 +// 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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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 +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, 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 +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, 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 +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, 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 +} + +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { + return nil, false +} + +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, 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 +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseLinkedService struct. +func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + 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 +} + +// SybaseSource a copy activity source for Sybase databases. +type SybaseSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SybaseSource. +func (ss SybaseSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSybaseSource + objectMap := make(map[string]interface{}) + if ss.Query != nil { + objectMap["query"] = ss.Query + } + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout + } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount + } + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait + } + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + } + if ss.Type != "" { + objectMap["type"] = ss.Type + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) { + return &ss, true +} + +// AsPostgreSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true +} + +// AsBinarySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsOrcSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOrcSource() (*OrcSource, bool) { + return nil, false +} + +// AsXMLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsExcelSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseSource struct. +func (ss *SybaseSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ss.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ss.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ss.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ss.Type = typeVar + } + } + } + + return nil +} + +// SybaseTableDataset the Sybase table dataset. +type SybaseTableDataset struct { + // SybaseTableDatasetTypeProperties - Sybase table dataset properties. + *SybaseTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SybaseTableDataset. +func (std SybaseTableDataset) MarshalJSON() ([]byte, error) { + std.Type = TypeSybaseTable + objectMap := make(map[string]interface{}) + if std.SybaseTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = std.SybaseTableDatasetTypeProperties + } + if std.Description != nil { + objectMap["description"] = std.Description + } + if std.Structure != nil { + objectMap["structure"] = std.Structure + } + if std.Schema != nil { + objectMap["schema"] = std.Schema + } + if std.LinkedServiceName != nil { + objectMap["linkedServiceName"] = std.LinkedServiceName + } + if std.Parameters != nil { + objectMap["parameters"] = std.Parameters + } + if std.Annotations != nil { + objectMap["annotations"] = std.Annotations + } + if std.Folder != nil { + objectMap["folder"] = std.Folder + } + if std.Type != "" { + objectMap["type"] = std.Type + } + for k, v := range std.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return &std, true +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsDb2TableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsOrcDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOrcDataset() (*OrcDataset, bool) { + return nil, false +} + +// AsXMLDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsExcelDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &std, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseTableDataset struct. +func (std *SybaseTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var sybaseTableDatasetTypeProperties SybaseTableDatasetTypeProperties + err = json.Unmarshal(*v, &sybaseTableDatasetTypeProperties) + if err != nil { + return err + } + std.SybaseTableDatasetTypeProperties = &sybaseTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if std.AdditionalProperties == nil { + std.AdditionalProperties = make(map[string]interface{}) + } + std.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + std.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + std.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + std.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + std.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + std.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + std.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + std.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + std.Type = typeVar + } + } + } + + return nil +} + +// SybaseTableDatasetTypeProperties sybase table dataset properties. +type SybaseTableDatasetTypeProperties struct { + // TableName - The Sybase table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// BasicTabularSource copy activity sources of tabular type. +type BasicTabularSource interface { + AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) + AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) + AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) + AsDynamicsAXSource() (*DynamicsAXSource, bool) + AsResponsysSource() (*ResponsysSource, bool) + AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) + AsVerticaSource() (*VerticaSource, bool) + AsNetezzaSource() (*NetezzaSource, bool) + AsZohoSource() (*ZohoSource, bool) + AsXeroSource() (*XeroSource, bool) + AsSquareSource() (*SquareSource, bool) + AsSparkSource() (*SparkSource, bool) + AsShopifySource() (*ShopifySource, bool) + AsServiceNowSource() (*ServiceNowSource, bool) + AsQuickBooksSource() (*QuickBooksSource, bool) + AsPrestoSource() (*PrestoSource, bool) + AsPhoenixSource() (*PhoenixSource, bool) + AsPaypalSource() (*PaypalSource, bool) + AsMarketoSource() (*MarketoSource, bool) + AsAzureMariaDBSource() (*AzureMariaDBSource, bool) + AsMariaDBSource() (*MariaDBSource, bool) + AsMagentoSource() (*MagentoSource, bool) + AsJiraSource() (*JiraSource, bool) + AsImpalaSource() (*ImpalaSource, bool) + AsHubspotSource() (*HubspotSource, bool) + AsHiveSource() (*HiveSource, bool) + AsHBaseSource() (*HBaseSource, bool) + AsGreenplumSource() (*GreenplumSource, bool) + AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) + AsEloquaSource() (*EloquaSource, bool) + AsDrillSource() (*DrillSource, bool) + AsCouchbaseSource() (*CouchbaseSource, bool) + AsConcurSource() (*ConcurSource, bool) + AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) + AsAmazonMWSSource() (*AmazonMWSSource, bool) + AsCassandraSource() (*CassandraSource, bool) + AsTeradataSource() (*TeradataSource, bool) + AsAzureMySQLSource() (*AzureMySQLSource, bool) + AsSQLDWSource() (*SQLDWSource, bool) + AsSQLMISource() (*SQLMISource, bool) + AsAzureSQLSource() (*AzureSQLSource, bool) + AsSQLServerSource() (*SQLServerSource, bool) + AsSQLSource() (*SQLSource, bool) + AsSapTableSource() (*SapTableSource, bool) + AsSapOpenHubSource() (*SapOpenHubSource, bool) + AsSapHanaSource() (*SapHanaSource, bool) + AsSapEccSource() (*SapEccSource, bool) + AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) + AsSalesforceSource() (*SalesforceSource, bool) + AsSapBwSource() (*SapBwSource, bool) + AsSybaseSource() (*SybaseSource, bool) + AsPostgreSQLSource() (*PostgreSQLSource, bool) + AsMySQLSource() (*MySQLSource, bool) + AsOdbcSource() (*OdbcSource, bool) + AsDb2Source() (*Db2Source, bool) + AsInformixSource() (*InformixSource, bool) + AsAzureTableSource() (*AzureTableSource, bool) + AsTabularSource() (*TabularSource, bool) +} + +// TabularSource copy activity sources of tabular type. +type TabularSource struct { + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +func unmarshalBasicTabularSource(body []byte) (BasicTabularSource, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeAmazonRedshiftSource): + var ars AmazonRedshiftSource + err := json.Unmarshal(body, &ars) + return ars, err + case string(TypeGoogleAdWordsSource): + var gaws GoogleAdWordsSource + err := json.Unmarshal(body, &gaws) + return gaws, err + case string(TypeOracleServiceCloudSource): + var oscs OracleServiceCloudSource + err := json.Unmarshal(body, &oscs) + return oscs, err + case string(TypeDynamicsAXSource): + var das DynamicsAXSource + err := json.Unmarshal(body, &das) + return das, err + case string(TypeResponsysSource): + var rs ResponsysSource + err := json.Unmarshal(body, &rs) + return rs, err + case string(TypeSalesforceMarketingCloudSource): + var smcs SalesforceMarketingCloudSource + err := json.Unmarshal(body, &smcs) + return smcs, err + case string(TypeVerticaSource): + var vs VerticaSource + err := json.Unmarshal(body, &vs) + return vs, err + case string(TypeNetezzaSource): + var ns NetezzaSource + err := json.Unmarshal(body, &ns) + return ns, err + case string(TypeZohoSource): + var zs ZohoSource + err := json.Unmarshal(body, &zs) + return zs, err + case string(TypeXeroSource): + var xs XeroSource + err := json.Unmarshal(body, &xs) + return xs, err + case string(TypeSquareSource): + var ss SquareSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeSparkSource): + var ss SparkSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeShopifySource): + var ss ShopifySource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeServiceNowSource): + var sns ServiceNowSource + err := json.Unmarshal(body, &sns) + return sns, err + case string(TypeQuickBooksSource): + var qbs QuickBooksSource + err := json.Unmarshal(body, &qbs) + return qbs, err + case string(TypePrestoSource): + var ps PrestoSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypePhoenixSource): + var ps PhoenixSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypePaypalSource): + var ps PaypalSource + err := json.Unmarshal(body, &ps) + return ps, err + case string(TypeMarketoSource): + var ms MarketoSource + err := json.Unmarshal(body, &ms) + return ms, err + case string(TypeAzureMariaDBSource): + var amds AzureMariaDBSource + err := json.Unmarshal(body, &amds) + return amds, err + case string(TypeMariaDBSource): + var mds MariaDBSource + err := json.Unmarshal(body, &mds) + return mds, err + case string(TypeMagentoSource): + var ms MagentoSource + err := json.Unmarshal(body, &ms) + return ms, err + case string(TypeJiraSource): + var js JiraSource + err := json.Unmarshal(body, &js) + return js, err + case string(TypeImpalaSource): + var is ImpalaSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeHubspotSource): + var hs HubspotSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeHiveSource): + var hs HiveSource + err := json.Unmarshal(body, &hs) + return hs, err + case string(TypeHBaseSource): + var hbs HBaseSource + err := json.Unmarshal(body, &hbs) + return hbs, err + case string(TypeGreenplumSource): + var gs GreenplumSource + err := json.Unmarshal(body, &gs) + return gs, err + case string(TypeGoogleBigQuerySource): + var gbqs GoogleBigQuerySource + err := json.Unmarshal(body, &gbqs) + return gbqs, err + case string(TypeEloquaSource): + var es EloquaSource + err := json.Unmarshal(body, &es) + return es, err + case string(TypeDrillSource): + var ds DrillSource + err := json.Unmarshal(body, &ds) + return ds, err + case string(TypeCouchbaseSource): + var cs CouchbaseSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeConcurSource): + var cs ConcurSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeAzurePostgreSQLSource): + var apss AzurePostgreSQLSource + err := json.Unmarshal(body, &apss) + return apss, err + case string(TypeAmazonMWSSource): + var ams AmazonMWSSource + err := json.Unmarshal(body, &ams) + return ams, err + case string(TypeCassandraSource): + var cs CassandraSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeTeradataSource): + var ts TeradataSource + err := json.Unmarshal(body, &ts) + return ts, err + case string(TypeAzureMySQLSource): + var amss AzureMySQLSource + err := json.Unmarshal(body, &amss) + return amss, err + case string(TypeSQLDWSource): + var sds SQLDWSource + err := json.Unmarshal(body, &sds) + return sds, err + case string(TypeSQLMISource): + var sms SQLMISource + err := json.Unmarshal(body, &sms) + return sms, err + case string(TypeAzureSQLSource): + var ass AzureSQLSource + err := json.Unmarshal(body, &ass) + return ass, err + case string(TypeSQLServerSource): + var sss SQLServerSource + err := json.Unmarshal(body, &sss) + return sss, err + case string(TypeSQLSource): + var ss SQLSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeSapTableSource): + var sts SapTableSource + err := json.Unmarshal(body, &sts) + return sts, err + case string(TypeSapOpenHubSource): + var sohs SapOpenHubSource + err := json.Unmarshal(body, &sohs) + return sohs, err + case string(TypeSapHanaSource): + var shs SapHanaSource + err := json.Unmarshal(body, &shs) + return shs, err + case string(TypeSapEccSource): + var ses SapEccSource + err := json.Unmarshal(body, &ses) + return ses, err + case string(TypeSapCloudForCustomerSource): + var scfcs SapCloudForCustomerSource + err := json.Unmarshal(body, &scfcs) + return scfcs, err + case string(TypeSalesforceSource): + var ss SalesforceSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeSapBwSource): + var sbs SapBwSource + err := json.Unmarshal(body, &sbs) + return sbs, err + case string(TypeSybaseSource): + var ss SybaseSource + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypePostgreSQLSource): + var pss PostgreSQLSource + err := json.Unmarshal(body, &pss) + return pss, err + case string(TypeMySQLSource): + var mss MySQLSource + err := json.Unmarshal(body, &mss) + return mss, err + case string(TypeOdbcSource): + var osVar OdbcSource + err := json.Unmarshal(body, &osVar) + return osVar, err + case string(TypeDb2Source): + var d2s Db2Source + err := json.Unmarshal(body, &d2s) + return d2s, err + case string(TypeInformixSource): + var is InformixSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeAzureTableSource): + var ats AzureTableSource + err := json.Unmarshal(body, &ats) + return ats, err + default: + var ts TabularSource + err := json.Unmarshal(body, &ts) + return ts, err + } +} +func unmarshalBasicTabularSourceArray(body []byte) ([]BasicTabularSource, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + tsArray := make([]BasicTabularSource, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ts, err := unmarshalBasicTabularSource(*rawMessage) + if err != nil { + return nil, err + } + tsArray[index] = ts + } + return tsArray, nil +} + +// MarshalJSON is the custom marshaler for TabularSource. +func (ts TabularSource) MarshalJSON() ([]byte, error) { + ts.Type = TypeTabularSource + objectMap := make(map[string]interface{}) + if ts.QueryTimeout != nil { + objectMap["queryTimeout"] = ts.QueryTimeout + } + if ts.AdditionalColumns != nil { + objectMap["additionalColumns"] = ts.AdditionalColumns + } + if ts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ts.SourceRetryCount + } + if ts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ts.SourceRetryWait + } + if ts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections + } + if ts.Type != "" { + objectMap["type"] = ts.Type + } + for k, v := range ts.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsTabularSource() (*TabularSource, bool) { + return &ts, true +} + +// AsBasicTabularSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ts, true +} + +// AsBinarySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsOrcSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOrcSource() (*OrcSource, bool) { + return nil, false +} + +// AsXMLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsExcelSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ts, true +} + +// UnmarshalJSON is the custom unmarshaler for TabularSource struct. +func (ts *TabularSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ts.QueryTimeout = queryTimeout + } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ts.AdditionalColumns = &additionalColumns + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ts.AdditionalProperties == nil { + ts.AdditionalProperties = make(map[string]interface{}) + } + ts.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ts.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ts.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ts.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ts.Type = typeVar + } + } + } + + return nil +} + +// 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 linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for 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 + } + if TLSVar.Type != "" { + objectMap["type"] = TLSVar.Type + } + for k, v := range TLSVar.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, 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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, 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 +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, 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 +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, 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 +} + +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { + return nil, false +} + +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, 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 +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, 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 { + // ConnectionString - Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Server - Server name for connection. Type: string (or Expression with resultType string). + Server interface{} `json:"server,omitempty"` + // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows' + 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 "connectionString": + if v != nil { + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + tlstp.ConnectionString = connectionString + } + case "server": + if v != nil { + var server interface{} + err = json.Unmarshal(*v, &server) + if err != nil { + return err + } + tlstp.Server = server + } + 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 +} + +// TeradataPartitionSettings the settings that will be leveraged for teradata source partitioning. +type TeradataPartitionSettings struct { + // PartitionColumnName - The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). + PartitionColumnName interface{} `json:"partitionColumnName,omitempty"` + // PartitionUpperBound - The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionUpperBound interface{} `json:"partitionUpperBound,omitempty"` + // PartitionLowerBound - The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + PartitionLowerBound interface{} `json:"partitionLowerBound,omitempty"` +} + +// TeradataSource a copy activity Teradata source. +type TeradataSource struct { + // Query - Teradata query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // PartitionOption - The partition mechanism that will be used for teradata read in parallel. Possible values include: 'TeradataPartitionOptionNone', 'TeradataPartitionOptionHash', 'TeradataPartitionOptionDynamicRange' + PartitionOption TeradataPartitionOption `json:"partitionOption,omitempty"` + // PartitionSettings - The settings that will be leveraged for teradata source partitioning. + PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,omitempty"` + // 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"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TeradataSource. +func (ts TeradataSource) MarshalJSON() ([]byte, error) { + ts.Type = TypeTeradataSource + objectMap := make(map[string]interface{}) + if ts.Query != nil { + objectMap["query"] = ts.Query + } + if ts.PartitionOption != "" { + objectMap["partitionOption"] = ts.PartitionOption + } + if ts.PartitionSettings != nil { + objectMap["partitionSettings"] = ts.PartitionSettings + } + if ts.QueryTimeout != nil { + objectMap["queryTimeout"] = ts.QueryTimeout + } + if ts.AdditionalColumns != nil { + objectMap["additionalColumns"] = ts.AdditionalColumns + } + if ts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ts.SourceRetryCount + } + if ts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ts.SourceRetryWait + } + if ts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections + } + if ts.Type != "" { + objectMap["type"] = ts.Type + } + for k, v := range ts.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsTeradataSource() (*TeradataSource, bool) { + return &ts, true +} + +// AsAzureMySQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ts, true +} + +// AsBinarySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsOrcSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsOrcSource() (*OrcSource, bool) { + return nil, false +} + +// AsXMLSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsExcelSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ts, true +} + +// UnmarshalJSON is the custom unmarshaler for TeradataSource struct. +func (ts *TeradataSource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "query": + if v != nil { + var query interface{} + err = json.Unmarshal(*v, &query) + if err != nil { + return err + } + ts.Query = query + } + case "partitionOption": + if v != nil { + var partitionOption TeradataPartitionOption + err = json.Unmarshal(*v, &partitionOption) + if err != nil { + return err + } + ts.PartitionOption = partitionOption + } + case "partitionSettings": + if v != nil { + var partitionSettings TeradataPartitionSettings + err = json.Unmarshal(*v, &partitionSettings) + if err != nil { + return err + } + ts.PartitionSettings = &partitionSettings + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ts.QueryTimeout = queryTimeout + } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ts.AdditionalColumns = &additionalColumns + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ts.AdditionalProperties == nil { + ts.AdditionalProperties = make(map[string]interface{}) + } + ts.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + ts.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + ts.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + ts.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ts.Type = typeVar + } + } + } + + return nil +} + +// TeradataTableDataset the Teradata database dataset. +type TeradataTableDataset struct { + // TeradataTableDatasetTypeProperties - Teradata dataset properties. + *TeradataTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Dataset description. + Description *string `json:"description,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TeradataTableDataset. +func (ttd TeradataTableDataset) MarshalJSON() ([]byte, error) { + ttd.Type = TypeTeradataTable + objectMap := make(map[string]interface{}) + if ttd.TeradataTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = ttd.TeradataTableDatasetTypeProperties + } + if ttd.Description != nil { + objectMap["description"] = ttd.Description + } + if ttd.Structure != nil { + objectMap["structure"] = ttd.Structure + } + if ttd.Schema != nil { + objectMap["schema"] = ttd.Schema + } + if ttd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ttd.LinkedServiceName + } + if ttd.Parameters != nil { + objectMap["parameters"] = ttd.Parameters + } + if ttd.Annotations != nil { + objectMap["annotations"] = ttd.Annotations + } + if ttd.Folder != nil { + objectMap["folder"] = ttd.Folder + } + if ttd.Type != "" { + objectMap["type"] = ttd.Type + } + for k, v := range ttd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsDb2TableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return &ttd, true +} + +// AsOracleTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsOrcDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsOrcDataset() (*OrcDataset, bool) { + return nil, false +} + +// AsXMLDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsExcelDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ttd, true +} + +// UnmarshalJSON is the custom unmarshaler for TeradataTableDataset struct. +func (ttd *TeradataTableDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var teradataTableDatasetTypeProperties TeradataTableDatasetTypeProperties + err = json.Unmarshal(*v, &teradataTableDatasetTypeProperties) + if err != nil { + return err + } + ttd.TeradataTableDatasetTypeProperties = &teradataTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ttd.AdditionalProperties == nil { + ttd.AdditionalProperties = make(map[string]interface{}) + } + ttd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ttd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + ttd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + ttd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ttd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ttd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ttd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + ttd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ttd.Type = typeVar + } + } + } + + return nil +} + +// TeradataTableDatasetTypeProperties teradata dataset properties. +type TeradataTableDatasetTypeProperties struct { + // Database - The database name of Teradata. Type: string (or Expression with resultType string). + Database interface{} `json:"database,omitempty"` + // Table - The table name of Teradata. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` +} + +// TextFormat the data stored in text format. +type TextFormat struct { + // ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string). + 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{}) + if tf.ColumnDelimiter != nil { + objectMap["columnDelimiter"] = tf.ColumnDelimiter + } + if tf.RowDelimiter != nil { + objectMap["rowDelimiter"] = tf.RowDelimiter + } + if tf.EscapeChar != nil { + objectMap["escapeChar"] = tf.EscapeChar + } + if tf.QuoteChar != nil { + objectMap["quoteChar"] = tf.QuoteChar + } + if tf.NullValue != nil { + objectMap["nullValue"] = tf.NullValue + } + if tf.EncodingName != nil { + objectMap["encodingName"] = tf.EncodingName + } + if tf.TreatEmptyAsNull != nil { + objectMap["treatEmptyAsNull"] = tf.TreatEmptyAsNull + } + if tf.SkipLineCount != nil { + objectMap["skipLineCount"] = tf.SkipLineCount + } + if tf.FirstRowAsHeader != nil { + objectMap["firstRowAsHeader"] = tf.FirstRowAsHeader + } + if tf.Serializer != nil { + objectMap["serializer"] = tf.Serializer + } + if tf.Deserializer != nil { + objectMap["deserializer"] = tf.Deserializer + } + if tf.Type != "" { + 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 +} + +// UnmarshalJSON is the custom unmarshaler for TextFormat struct. +func (tf *TextFormat) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "columnDelimiter": + if v != nil { + var columnDelimiter interface{} + err = json.Unmarshal(*v, &columnDelimiter) + if err != nil { + return err + } + tf.ColumnDelimiter = columnDelimiter + } + case "rowDelimiter": + if v != nil { + var rowDelimiter interface{} + err = json.Unmarshal(*v, &rowDelimiter) + if err != nil { + return err + } + tf.RowDelimiter = rowDelimiter + } + case "escapeChar": + if v != nil { + var escapeChar interface{} + err = json.Unmarshal(*v, &escapeChar) + if err != nil { + return err + } + tf.EscapeChar = escapeChar + } + case "quoteChar": + if v != nil { + var quoteChar interface{} + err = json.Unmarshal(*v, "eChar) + if err != nil { + return err + } + tf.QuoteChar = quoteChar + } + case "nullValue": + if v != nil { + var nullValue interface{} + err = json.Unmarshal(*v, &nullValue) + if err != nil { + return err + } + tf.NullValue = nullValue + } + case "encodingName": + if v != nil { + var encodingName interface{} + err = json.Unmarshal(*v, &encodingName) + if err != nil { + return err + } + tf.EncodingName = encodingName + } + case "treatEmptyAsNull": + if v != nil { + var treatEmptyAsNull interface{} + err = json.Unmarshal(*v, &treatEmptyAsNull) + if err != nil { + return err + } + tf.TreatEmptyAsNull = treatEmptyAsNull + } + case "skipLineCount": + if v != nil { + var skipLineCount interface{} + err = json.Unmarshal(*v, &skipLineCount) + if err != nil { + return err + } + tf.SkipLineCount = skipLineCount + } + case "firstRowAsHeader": + if v != nil { + var firstRowAsHeader interface{} + err = json.Unmarshal(*v, &firstRowAsHeader) + if err != nil { + return err + } + tf.FirstRowAsHeader = firstRowAsHeader + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if tf.AdditionalProperties == nil { + tf.AdditionalProperties = make(map[string]interface{}) + } + tf.AdditionalProperties[k] = additionalProperties + } + case "serializer": + if v != nil { + var serializer interface{} + err = json.Unmarshal(*v, &serializer) + if err != nil { + return err + } + tf.Serializer = serializer + } + case "deserializer": + if v != nil { + var deserializer interface{} + err = json.Unmarshal(*v, &deserializer) + if err != nil { + return err + } + tf.Deserializer = deserializer + } + case "type": + if v != nil { + var typeVar TypeBasicDatasetStorageFormat + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + tf.Type = typeVar + } + } + } + + return nil +} + +// Transformation a data flow transformation. +type Transformation struct { + // Name - Transformation name. + Name *string `json:"name,omitempty"` + // Description - Transformation description. + Description *string `json:"description,omitempty"` +} + +// BasicTrigger azure data factory nested object which contains information about creating pipeline run +type BasicTrigger interface { + AsChainingTrigger() (*ChainingTrigger, bool) + AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) + AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) + AsBlobEventsTrigger() (*BlobEventsTrigger, 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 - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeChainingTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', '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(TypeChainingTrigger): + var ct ChainingTrigger + err := json.Unmarshal(body, &ct) + return ct, err + case string(TypeRerunTumblingWindowTrigger): + var rtwt RerunTumblingWindowTrigger + err := json.Unmarshal(body, &rtwt) + return rtwt, err + case string(TypeTumblingWindowTrigger): + var twt TumblingWindowTrigger + err := json.Unmarshal(body, &twt) + return twt, err + case string(TypeBlobEventsTrigger): + var bet BlobEventsTrigger + err := json.Unmarshal(body, &bet) + return bet, err + case string(TypeBlobTrigger): + var bt BlobTrigger + err := json.Unmarshal(body, &bt) + return bt, err + case string(TypeScheduleTrigger): + var st ScheduleTrigger + err := json.Unmarshal(body, &st) + return st, err + 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 + } + if t.Annotations != nil { + objectMap["annotations"] = t.Annotations + } + if t.Type != "" { + objectMap["type"] = t.Type + } + for k, v := range t.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsChainingTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsChainingTrigger() (*ChainingTrigger, bool) { + return nil, false +} + +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { + return nil, false +} + +// AsTumblingWindowTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return nil, false +} + +// AsBlobEventsTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsBlobEventsTrigger() (*BlobEventsTrigger, 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 +} + +// UnmarshalJSON is the custom unmarshaler for Trigger struct. +func (t *Trigger) UnmarshalJSON(body []byte) 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 t.AdditionalProperties == nil { + t.AdditionalProperties = make(map[string]interface{}) + } + t.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + t.Description = &description + } + case "runtimeState": + if v != nil { + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) + if err != nil { + return err + } + t.RuntimeState = runtimeState + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + t.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + t.Type = typeVar + } + } + } + + return nil +} + +// BasicTriggerDependencyReference trigger referenced dependency. +type BasicTriggerDependencyReference interface { + AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) + AsTriggerDependencyReference() (*TriggerDependencyReference, bool) +} + +// TriggerDependencyReference trigger referenced dependency. +type TriggerDependencyReference struct { + // ReferenceTrigger - Referenced trigger. + ReferenceTrigger *TriggerReference `json:"referenceTrigger,omitempty"` + // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' + Type TypeBasicDependencyReference `json:"type,omitempty"` +} + +func unmarshalBasicTriggerDependencyReference(body []byte) (BasicTriggerDependencyReference, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeTumblingWindowTriggerDependencyReference): + var twtdr TumblingWindowTriggerDependencyReference + err := json.Unmarshal(body, &twtdr) + return twtdr, err + default: + var tdr TriggerDependencyReference + err := json.Unmarshal(body, &tdr) + return tdr, err + } +} +func unmarshalBasicTriggerDependencyReferenceArray(body []byte) ([]BasicTriggerDependencyReference, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + tdrArray := make([]BasicTriggerDependencyReference, len(rawMessages)) + + for index, rawMessage := range rawMessages { + tdr, err := unmarshalBasicTriggerDependencyReference(*rawMessage) + if err != nil { + return nil, err + } + tdrArray[index] = tdr + } + return tdrArray, nil +} + +// MarshalJSON is the custom marshaler for TriggerDependencyReference. +func (tdr TriggerDependencyReference) MarshalJSON() ([]byte, error) { + tdr.Type = TypeTriggerDependencyReference + objectMap := make(map[string]interface{}) + if tdr.ReferenceTrigger != nil { + objectMap["referenceTrigger"] = tdr.ReferenceTrigger + } + if tdr.Type != "" { + objectMap["type"] = tdr.Type + } + return json.Marshal(objectMap) +} + +// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { + return nil, false +} + +// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { + return nil, false +} + +// AsTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { + return &tdr, true +} + +// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { + return &tdr, true +} + +// AsDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsDependencyReference() (*DependencyReference, bool) { + return nil, false +} + +// AsBasicDependencyReference is the BasicDependencyReference implementation for TriggerDependencyReference. +func (tdr TriggerDependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { + return &tdr, true +} + +// TriggerFilterParameters query parameters for triggers. +type TriggerFilterParameters struct { + // ContinuationToken - The continuation token for getting the next page of results. Null for first page. + ContinuationToken *string `json:"continuationToken,omitempty"` + // ParentTriggerName - The name of the parent TumblingWindowTrigger to get the child rerun triggers + ParentTriggerName *string `json:"parentTriggerName,omitempty"` +} + +// 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 +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *TriggerListResponseIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggerListResponseIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *TriggerListResponseIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// 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] +} + +// Creates a new instance of the TriggerListResponseIterator type. +func NewTriggerListResponseIterator(page TriggerListResponsePage) TriggerListResponseIterator { + return TriggerListResponseIterator{page: page} +} + +// 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(ctx context.Context) (*http.Request, error) { + if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(tlr.NextLink))) +} + +// TriggerListResponsePage contains a page of TriggerResource values. +type TriggerListResponsePage struct { + fn func(context.Context, TriggerListResponse) (TriggerListResponse, error) + tlr TriggerListResponse +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *TriggerListResponsePage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggerListResponsePage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + next, err := page.fn(ctx, page.tlr) + if err != nil { + return err + } + page.tlr = next + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *TriggerListResponsePage) Next() error { + return page.NextWithContext(context.Background()) +} + +// 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 +} + +// Creates a new instance of the TriggerListResponsePage type. +func NewTriggerListResponsePage(getNextPage func(context.Context, TriggerListResponse) (TriggerListResponse, error)) TriggerListResponsePage { + return TriggerListResponsePage{fn: getNextPage} +} + +// 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) +} + +// TriggerQueryResponse a query of triggers. +type TriggerQueryResponse struct { + autorest.Response `json:"-"` + // Value - List of triggers. + Value *[]TriggerResource `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"` +} + +// TriggerReference trigger reference type. +type TriggerReference struct { + // Type - Trigger reference type. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference trigger name. + ReferenceName *string `json:"referenceName,omitempty"` +} + +// TriggerResource trigger resource type. +type TriggerResource struct { + autorest.Response `json:"-"` + // Properties - Properties of the trigger. + Properties BasicTrigger `json:"properties,omitempty"` + // ID - READ-ONLY; The resource identifier. + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The resource name. + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The resource type. + Type *string `json:"type,omitempty"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for 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 - READ-ONLY; Trigger run id. + TriggerRunID *string `json:"triggerRunId,omitempty"` + // TriggerName - READ-ONLY; Trigger name. + TriggerName *string `json:"triggerName,omitempty"` + // TriggerType - READ-ONLY; Trigger type. + TriggerType *string `json:"triggerType,omitempty"` + // TriggerRunTimestamp - READ-ONLY; Trigger run start time. + TriggerRunTimestamp *date.Time `json:"triggerRunTimestamp,omitempty"` + // Status - READ-ONLY; Trigger run status. Possible values include: 'TriggerRunStatusSucceeded', 'TriggerRunStatusFailed', 'TriggerRunStatusInprogress' + Status TriggerRunStatus `json:"status,omitempty"` + // Message - READ-ONLY; Trigger error message. + Message *string `json:"message,omitempty"` + // Properties - READ-ONLY; 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 - READ-ONLY; List of pipeline name and run Id triggered by the trigger run. + TriggeredPipelines map[string]*string `json:"triggeredPipelines"` + // RunDimension - READ-ONLY; Run dimension for which trigger was fired. + RunDimension map[string]*string `json:"runDimension"` + // DependencyStatus - READ-ONLY; Status of the upstream pipelines. + DependencyStatus map[string]interface{} `json:"dependencyStatus"` +} + +// MarshalJSON is the custom marshaler for TriggerRun. +func (tr TriggerRun) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + for k, v := range tr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for TriggerRun struct. +func (tr *TriggerRun) UnmarshalJSON(body []byte) 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 tr.AdditionalProperties == nil { + tr.AdditionalProperties = make(map[string]interface{}) + } + tr.AdditionalProperties[k] = additionalProperties + } + case "triggerRunId": + if v != nil { + var triggerRunID string + err = json.Unmarshal(*v, &triggerRunID) + if err != nil { + return err + } + tr.TriggerRunID = &triggerRunID + } + case "triggerName": + if v != nil { + var triggerName string + err = json.Unmarshal(*v, &triggerName) + if err != nil { + return err + } + tr.TriggerName = &triggerName + } + case "triggerType": + if v != nil { + var triggerType string + err = json.Unmarshal(*v, &triggerType) + if err != nil { + return err + } + tr.TriggerType = &triggerType + } + case "triggerRunTimestamp": + if v != nil { + var triggerRunTimestamp date.Time + err = json.Unmarshal(*v, &triggerRunTimestamp) + if err != nil { + return err + } + tr.TriggerRunTimestamp = &triggerRunTimestamp + } + case "status": + if v != nil { + var status TriggerRunStatus + err = json.Unmarshal(*v, &status) + if err != nil { + return err + } + tr.Status = status + } + case "message": + if v != nil { + var message string + err = json.Unmarshal(*v, &message) + if err != nil { + return err + } + tr.Message = &message + } + case "properties": + if v != nil { + var properties map[string]*string + err = json.Unmarshal(*v, &properties) + if err != nil { + return err + } + tr.Properties = properties + } + case "triggeredPipelines": + if v != nil { + var triggeredPipelines map[string]*string + err = json.Unmarshal(*v, &triggeredPipelines) + if err != nil { + return err + } + tr.TriggeredPipelines = triggeredPipelines + } + case "runDimension": + if v != nil { + var runDimension map[string]*string + err = json.Unmarshal(*v, &runDimension) + if err != nil { + return err + } + tr.RunDimension = runDimension + } + case "dependencyStatus": + if v != nil { + var dependencyStatus map[string]interface{} + err = json.Unmarshal(*v, &dependencyStatus) + if err != nil { + return err + } + tr.DependencyStatus = dependencyStatus + } + } + } + + return nil +} + +// TriggerRunsQueryResponse a list of trigger runs. +type TriggerRunsQueryResponse struct { + autorest.Response `json:"-"` + // Value - List of trigger runs. + Value *[]TriggerRun `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"` +} + +// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type TriggersStartFuture struct { + azure.Future +} + +// 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.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersStartFuture") + return + } + ar.Response = future.Response() + return +} + +// TriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation. +type TriggersStopFuture struct { + azure.Future +} + +// 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.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersStopFuture") + return + } + ar.Response = future.Response() + return +} + +// TriggersSubscribeToEventsFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type TriggersSubscribeToEventsFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *TriggersSubscribeToEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersSubscribeToEventsFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { + tsos, err = client.SubscribeToEventsResponder(tsos.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") + } + } + return +} + +// TriggerSubscriptionOperationStatus defines the response of a trigger subscription operation. +type TriggerSubscriptionOperationStatus struct { + autorest.Response `json:"-"` + // TriggerName - READ-ONLY; Trigger name. + TriggerName *string `json:"triggerName,omitempty"` + // Status - READ-ONLY; Event Subscription Status. Possible values include: 'Enabled', 'Provisioning', 'Deprovisioning', 'Disabled', 'Unknown' + Status EventSubscriptionStatus `json:"status,omitempty"` +} + +// TriggersUnsubscribeFromEventsFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type TriggersUnsubscribeFromEventsFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *TriggersUnsubscribeFromEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersUnsubscribeFromEventsFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { + tsos, err = client.UnsubscribeFromEventsResponder(tsos.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") + } + } + return +} + +// TumblingWindowTrigger trigger that schedules pipeline runs for all fixed time interval windows from a +// start time without gaps and also supports backfill scenarios (when start time is in the past). +type TumblingWindowTrigger struct { + // 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 - READ-ONLY; Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled' + RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"` + // Annotations - List of tags that can be used for describing the trigger. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeTrigger', 'TypeChainingTrigger', 'TypeRerunTumblingWindowTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobEventsTrigger', '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 + } + if twt.Annotations != nil { + objectMap["annotations"] = twt.Annotations + } + if twt.Type != "" { + objectMap["type"] = twt.Type + } + for k, v := range twt.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsChainingTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsChainingTrigger() (*ChainingTrigger, bool) { + return nil, false +} + +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { + return nil, false +} + +// AsTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return &twt, true +} + +// AsBlobEventsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { + return nil, false +} + +// AsBlobTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { + return nil, false +} + +// AsScheduleTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { + return nil, false +} + +// AsMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { + return nil, false +} + +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return nil, false +} + +// AsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsTrigger() (*Trigger, bool) { + return nil, false +} + +// AsBasicTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &twt, true +} + +// 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 + 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 "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + twt.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + twt.Type = typeVar + } + } + } + + return nil +} + +// TumblingWindowTriggerDependencyReference referenced tumbling window trigger dependency. +type TumblingWindowTriggerDependencyReference struct { + // Offset - Timespan applied to the start time of a tumbling window when evaluating dependency. + Offset *string `json:"offset,omitempty"` + // Size - The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. + Size *string `json:"size,omitempty"` + // ReferenceTrigger - Referenced trigger. + ReferenceTrigger *TriggerReference `json:"referenceTrigger,omitempty"` + // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' + Type TypeBasicDependencyReference `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) MarshalJSON() ([]byte, error) { + twtdr.Type = TypeTumblingWindowTriggerDependencyReference + objectMap := make(map[string]interface{}) + if twtdr.Offset != nil { + objectMap["offset"] = twtdr.Offset + } + if twtdr.Size != nil { + objectMap["size"] = twtdr.Size + } + if twtdr.ReferenceTrigger != nil { + objectMap["referenceTrigger"] = twtdr.ReferenceTrigger + } + if twtdr.Type != "" { + objectMap["type"] = twtdr.Type + } + return json.Marshal(objectMap) +} + +// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { + return nil, false +} + +// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { + return &twtdr, true +} + +// AsTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { + return nil, false +} + +// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { + return &twtdr, true +} + +// AsDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsDependencyReference() (*DependencyReference, bool) { + return nil, false +} + +// AsBasicDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. +func (twtdr TumblingWindowTriggerDependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { + return &twtdr, 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"` + // DependsOn - Triggers that this trigger depends on. Only tumbling window triggers are supported. + DependsOn *[]BasicDependencyReference `json:"dependsOn,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for TumblingWindowTriggerTypeProperties struct. +func (twtP *TumblingWindowTriggerTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "frequency": + if v != nil { + var frequency TumblingWindowFrequency + err = json.Unmarshal(*v, &frequency) + if err != nil { + return err + } + twtP.Frequency = frequency + } + case "interval": + if v != nil { + var interval int32 + err = json.Unmarshal(*v, &interval) + if err != nil { + return err + } + twtP.Interval = &interval + } + case "startTime": + if v != nil { + var startTime date.Time + err = json.Unmarshal(*v, &startTime) + if err != nil { + return err + } + twtP.StartTime = &startTime + } + case "endTime": + if v != nil { + var endTime date.Time + err = json.Unmarshal(*v, &endTime) + if err != nil { + return err + } + twtP.EndTime = &endTime + } + case "delay": + if v != nil { + var delay interface{} + err = json.Unmarshal(*v, &delay) + if err != nil { + return err + } + twtP.Delay = delay + } + case "maxConcurrency": + if v != nil { + var maxConcurrency int32 + err = json.Unmarshal(*v, &maxConcurrency) + if err != nil { + return err + } + twtP.MaxConcurrency = &maxConcurrency + } + case "retryPolicy": + if v != nil { + var retryPolicy RetryPolicy + err = json.Unmarshal(*v, &retryPolicy) + if err != nil { + return err + } + twtP.RetryPolicy = &retryPolicy + } + case "dependsOn": + if v != nil { + dependsOn, err := unmarshalBasicDependencyReferenceArray(*v) + if err != nil { + return err + } + twtP.DependsOn = &dependsOn + } + } + } + + return nil +} + +// 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"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// 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 + } + if ua.UserProperties != nil { + objectMap["userProperties"] = ua.UserProperties + } + if ua.Type != "" { + objectMap["type"] = ua.Type + } + for k, v := range ua.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsExecuteDataFlowActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { + return nil, false +} + +// AsAzureFunctionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false +} + +// AsWebHookActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsValidationActivity() (*ValidationActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsUntilActivity() (*UntilActivity, bool) { + return &ua, true +} + +// AsWaitActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsSwitchActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsSwitchActivity() (*SwitchActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &ua, true +} + +// AsActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicActivity() (BasicActivity, bool) { + return &ua, true +} + +// 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 "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + ua.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ua.Type = typeVar + } + } + } + + return nil +} + +// 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 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 + } + } + } + + return nil +} + +// 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"` +} + +// UserAccessPolicy get Data Plane read only token request definition. +type UserAccessPolicy struct { + // Permissions - The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. + Permissions *string `json:"permissions,omitempty"` + // AccessResourcePath - The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. + AccessResourcePath *string `json:"accessResourcePath,omitempty"` + // ProfileName - The name of the profile. Currently only the default is supported. The default value is DefaultProfile. + ProfileName *string `json:"profileName,omitempty"` + // StartTime - Start time for the token. If not specified the current time will be used. + StartTime *string `json:"startTime,omitempty"` + // ExpireTime - Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. + ExpireTime *string `json:"expireTime,omitempty"` +} + +// UserProperty user property. +type UserProperty struct { + // Name - User property name. + Name *string `json:"name,omitempty"` + // Value - User property value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` +} + +// ValidationActivity this activity verifies that an external resource exists. +type ValidationActivity struct { + // ValidationActivityTypeProperties - Validation activity properties. + *ValidationActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ValidationActivity. +func (va ValidationActivity) MarshalJSON() ([]byte, error) { + va.Type = TypeValidation + objectMap := make(map[string]interface{}) + if va.ValidationActivityTypeProperties != nil { + objectMap["typeProperties"] = va.ValidationActivityTypeProperties + } + if va.Name != nil { + objectMap["name"] = va.Name + } + if va.Description != nil { + objectMap["description"] = va.Description + } + if va.DependsOn != nil { + objectMap["dependsOn"] = va.DependsOn + } + if va.UserProperties != nil { + objectMap["userProperties"] = va.UserProperties + } + if va.Type != "" { + objectMap["type"] = va.Type + } + for k, v := range va.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsExecuteDataFlowActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { + return nil, false +} + +// AsAzureFunctionActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} + +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return nil, false +} + +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return nil, false +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false +} + +// AsDeleteActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false +} + +// AsWebHookActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false +} + +// AsAppendVariableActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsValidationActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsValidationActivity() (*ValidationActivity, bool) { + return &va, true +} + +// AsUntilActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsSwitchActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsSwitchActivity() (*SwitchActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &va, true +} + +// AsActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for ValidationActivity. +func (va ValidationActivity) AsBasicActivity() (BasicActivity, bool) { + return &va, true +} + +// UnmarshalJSON is the custom unmarshaler for ValidationActivity struct. +func (va *ValidationActivity) UnmarshalJSON(body []byte) error { + 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 validationActivityTypeProperties ValidationActivityTypeProperties + err = json.Unmarshal(*v, &validationActivityTypeProperties) + if err != nil { + return err + } + va.ValidationActivityTypeProperties = &validationActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if va.AdditionalProperties == nil { + va.AdditionalProperties = make(map[string]interface{}) + } + va.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + va.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + va.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + va.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + va.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + va.Type = typeVar + } + } + } + + return nil +} + +// ValidationActivityTypeProperties validation activity properties. +type ValidationActivityTypeProperties struct { + // 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])). + Timeout interface{} `json:"timeout,omitempty"` + // Sleep - A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). + Sleep interface{} `json:"sleep,omitempty"` + // MinimumSize - Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). + MinimumSize interface{} `json:"minimumSize,omitempty"` + // ChildItems - Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). + ChildItems interface{} `json:"childItems,omitempty"` + // Dataset - Validation activity dataset reference. + Dataset *DatasetReference `json:"dataset,omitempty"` +} + +// VariableSpecification definition of a single variable for a Pipeline. +type VariableSpecification struct { + // Type - Variable type. Possible values include: 'VariableTypeString', 'VariableTypeBool', 'VariableTypeArray' + Type VariableType `json:"type,omitempty"` + // DefaultValue - Default value of variable. + DefaultValue interface{} `json:"defaultValue,omitempty"` +} + +// VerticaDatasetTypeProperties vertica Properties +type VerticaDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The table name of the Vertica. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Vertica. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + +// VerticaLinkedService vertica linked service. +type VerticaLinkedService struct { + // VerticaLinkedServiceTypeProperties - Vertica linked service properties. + *VerticaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for VerticaLinkedService. +func (vls VerticaLinkedService) MarshalJSON() ([]byte, error) { + vls.Type = TypeVertica + objectMap := make(map[string]interface{}) + 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 + } + if vls.Type != "" { + objectMap["type"] = vls.Type + } + for k, v := range vls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return &vls, true +} + +// AsZohoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// 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 +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, 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 +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, 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 +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, 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 +} + +// AsOracleLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { + return nil, false +} + +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &vls, true +} + +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var verticaLinkedServiceTypeProperties VerticaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &verticaLinkedServiceTypeProperties) + if err != nil { + return err + } + vls.VerticaLinkedServiceTypeProperties = &verticaLinkedServiceTypeProperties } default: if v != nil { @@ -213727,10 +227802,19 @@ func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - if twt.AdditionalProperties == nil { - twt.AdditionalProperties = make(map[string]interface{}) + if vls.AdditionalProperties == nil { + vls.AdditionalProperties = make(map[string]interface{}) } - twt.AdditionalProperties[k] = additionalProperties + vls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + vls.ConnectVia = &connectVia } case "description": if v != nil { @@ -213739,16 +227823,16 @@ func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - twt.Description = &description + vls.Description = &description } - case "runtimeState": + case "parameters": if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - twt.RuntimeState = runtimeState + vls.Parameters = parameters } case "annotations": if v != nil { @@ -213757,16 +227841,16 @@ func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { if err != nil { return err } - twt.Annotations = &annotations + vls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicTrigger + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - twt.Type = typeVar + vls.Type = typeVar } } } @@ -213774,89 +227858,539 @@ func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { return nil } -// TumblingWindowTriggerDependencyReference referenced tumbling window trigger dependency. -type TumblingWindowTriggerDependencyReference struct { - // Offset - Timespan applied to the start time of a tumbling window when evaluating dependency. - Offset *string `json:"offset,omitempty"` - // Size - The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. - Size *string `json:"size,omitempty"` - // ReferenceTrigger - Referenced trigger. - ReferenceTrigger *TriggerReference `json:"referenceTrigger,omitempty"` - // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' - Type TypeBasicDependencyReference `json:"type,omitempty"` +// VerticaLinkedServiceTypeProperties vertica linked service properties. +type VerticaLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Pwd - The Azure key vault secret reference of password in connection string. + Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// MarshalJSON is the custom marshaler for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) MarshalJSON() ([]byte, error) { - twtdr.Type = TypeTumblingWindowTriggerDependencyReference +// 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"` + // 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"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for VerticaSource. +func (vs VerticaSource) MarshalJSON() ([]byte, error) { + vs.Type = TypeVerticaSource objectMap := make(map[string]interface{}) - if twtdr.Offset != nil { - objectMap["offset"] = twtdr.Offset + if vs.Query != nil { + objectMap["query"] = vs.Query } - if twtdr.Size != nil { - objectMap["size"] = twtdr.Size + if vs.QueryTimeout != nil { + objectMap["queryTimeout"] = vs.QueryTimeout } - if twtdr.ReferenceTrigger != nil { - objectMap["referenceTrigger"] = twtdr.ReferenceTrigger + if vs.AdditionalColumns != nil { + objectMap["additionalColumns"] = vs.AdditionalColumns } - if twtdr.Type != "" { - objectMap["type"] = twtdr.Type + if vs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = vs.SourceRetryCount + } + if vs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = vs.SourceRetryWait + } + if vs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = vs.MaxConcurrentConnections + } + if vs.Type != "" { + objectMap["type"] = vs.Type + } + for k, v := range vs.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsVerticaSource() (*VerticaSource, bool) { + return &vs, true +} + +// AsNetezzaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// 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 +} + +// AsCassandraSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapHanaSource() (*SapHanaSource, 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 +} + +// AsSapBwSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &vs, true +} + +// AsBinarySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsOrcSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { - return &twtdr, true +// AsXMLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsXMLSource() (*XMLSource, bool) { + return nil, false } -// AsTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { +// AsJSONSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { - return &twtdr, true +// AsDelimitedTextSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// AsDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsDependencyReference() (*DependencyReference, bool) { +// AsParquetSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicDependencyReference is the BasicDependencyReference implementation for TumblingWindowTriggerDependencyReference. -func (twtdr TumblingWindowTriggerDependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { - return &twtdr, true +// AsExcelSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsExcelSource() (*ExcelSource, 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"` - // DependsOn - Triggers that this trigger depends on. Only tumbling window triggers are supported. - DependsOn *[]BasicDependencyReference `json:"dependsOn,omitempty"` +// AsAvroSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAvroSource() (*AvroSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for TumblingWindowTriggerTypeProperties struct. -func (twtP *TumblingWindowTriggerTypeProperties) UnmarshalJSON(body []byte) error { +// 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 +} + +// UnmarshalJSON is the custom unmarshaler for VerticaSource struct. +func (vs *VerticaSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -213864,76 +228398,80 @@ func (twtP *TumblingWindowTriggerTypeProperties) UnmarshalJSON(body []byte) erro } for k, v := range m { switch k { - case "frequency": + case "query": if v != nil { - var frequency TumblingWindowFrequency - err = json.Unmarshal(*v, &frequency) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - twtP.Frequency = frequency + vs.Query = query } - case "interval": + case "queryTimeout": if v != nil { - var interval int32 - err = json.Unmarshal(*v, &interval) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - twtP.Interval = &interval + vs.QueryTimeout = queryTimeout } - case "startTime": + case "additionalColumns": if v != nil { - var startTime date.Time - err = json.Unmarshal(*v, &startTime) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - twtP.StartTime = &startTime + vs.AdditionalColumns = &additionalColumns } - case "endTime": + default: if v != nil { - var endTime date.Time - err = json.Unmarshal(*v, &endTime) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - twtP.EndTime = &endTime + if vs.AdditionalProperties == nil { + vs.AdditionalProperties = make(map[string]interface{}) + } + vs.AdditionalProperties[k] = additionalProperties } - case "delay": + case "sourceRetryCount": if v != nil { - var delay interface{} - err = json.Unmarshal(*v, &delay) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - twtP.Delay = delay + vs.SourceRetryCount = sourceRetryCount } - case "maxConcurrency": + case "sourceRetryWait": if v != nil { - var maxConcurrency int32 - err = json.Unmarshal(*v, &maxConcurrency) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - twtP.MaxConcurrency = &maxConcurrency + vs.SourceRetryWait = sourceRetryWait } - case "retryPolicy": + case "maxConcurrentConnections": if v != nil { - var retryPolicy RetryPolicy - err = json.Unmarshal(*v, &retryPolicy) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - twtP.RetryPolicy = &retryPolicy + vs.MaxConcurrentConnections = maxConcurrentConnections } - case "dependsOn": + case "type": if v != nil { - dependsOn, err := unmarshalBasicDependencyReferenceArray(*v) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - twtP.DependsOn = &dependsOn + vs.Type = typeVar } } } @@ -213941,669 +228479,534 @@ func (twtP *TumblingWindowTriggerTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// 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"` +// VerticaTableDataset vertica dataset. +type VerticaTableDataset struct { + // VerticaDatasetTypeProperties - Properties specific to this dataset type. + *VerticaDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for UntilActivity. -func (ua UntilActivity) MarshalJSON() ([]byte, error) { - ua.Type = TypeUntil +// MarshalJSON is the custom marshaler for VerticaTableDataset. +func (vtd VerticaTableDataset) MarshalJSON() ([]byte, error) { + vtd.Type = TypeVerticaTable objectMap := make(map[string]interface{}) - if ua.UntilActivityTypeProperties != nil { - objectMap["typeProperties"] = ua.UntilActivityTypeProperties + if vtd.VerticaDatasetTypeProperties != nil { + objectMap["typeProperties"] = vtd.VerticaDatasetTypeProperties } - if ua.Name != nil { - objectMap["name"] = ua.Name + if vtd.Description != nil { + objectMap["description"] = vtd.Description } - if ua.Description != nil { - objectMap["description"] = ua.Description + if vtd.Structure != nil { + objectMap["structure"] = vtd.Structure } - if ua.DependsOn != nil { - objectMap["dependsOn"] = ua.DependsOn + if vtd.Schema != nil { + objectMap["schema"] = vtd.Schema } - if ua.UserProperties != nil { - objectMap["userProperties"] = ua.UserProperties + if vtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = vtd.LinkedServiceName } - if ua.Type != "" { - objectMap["type"] = ua.Type + if vtd.Parameters != nil { + objectMap["parameters"] = vtd.Parameters } - for k, v := range ua.AdditionalProperties { + if vtd.Annotations != nil { + objectMap["annotations"] = vtd.Annotations + } + if vtd.Folder != nil { + objectMap["folder"] = vtd.Folder + } + if vtd.Type != "" { + objectMap["type"] = vtd.Type + } + for k, v := range vtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return &vtd, true +} + +// AsNetezzaTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsWebActivity() (*WebActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsUntilActivity() (*UntilActivity, bool) { - return &ua, true +// AsEloquaObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false } -// AsWaitActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsControlActivity() (*ControlActivity, bool) { +// AsHTTPDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &ua, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsActivity() (*Activity, bool) { +// AsWebTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicActivity() (BasicActivity, bool) { - return &ua, true +// AsSapTableResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, 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 "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - ua.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ua.Type = typeVar - } - } - } +// AsRestResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} - return nil +// AsSQLServerTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, 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"` +// AsSapOpenHubTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, 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 - } - } - } +// AsSapHanaTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} - return nil +// AsSapEccResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, 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"` +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, 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"` +// AsSapBwCubeDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false } -// UserAccessPolicy get Data Plane read only token request definition. -type UserAccessPolicy struct { - // Permissions - The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. - Permissions *string `json:"permissions,omitempty"` - // AccessResourcePath - The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. - AccessResourcePath *string `json:"accessResourcePath,omitempty"` - // ProfileName - The name of the profile. Currently only the default is supported. The default value is DefaultProfile. - ProfileName *string `json:"profileName,omitempty"` - // StartTime - Start time for the token. If not specified the current time will be used. - StartTime *string `json:"startTime,omitempty"` - // ExpireTime - Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. - ExpireTime *string `json:"expireTime,omitempty"` +// AsSybaseTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false } -// UserProperty user property. -type UserProperty struct { - // Name - User property name. - Name *string `json:"name,omitempty"` - // Value - User property value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false } -// ValidationActivity this activity verifies that an external resource exists. -type ValidationActivity struct { - // ValidationActivityTypeProperties - Validation activity properties. - *ValidationActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsSalesforceObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ValidationActivity. -func (va ValidationActivity) MarshalJSON() ([]byte, error) { - va.Type = TypeValidation - objectMap := make(map[string]interface{}) - if va.ValidationActivityTypeProperties != nil { - objectMap["typeProperties"] = va.ValidationActivityTypeProperties - } - if va.Name != nil { - objectMap["name"] = va.Name - } - if va.Description != nil { - objectMap["description"] = va.Description - } - if va.DependsOn != nil { - objectMap["dependsOn"] = va.DependsOn - } - if va.UserProperties != nil { - objectMap["userProperties"] = va.UserProperties - } - if va.Type != "" { - objectMap["type"] = va.Type - } - for k, v := range va.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false } -// AsExecuteDataFlowActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsInformixTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDb2TableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsOracleTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsWebActivity() (*WebActivity, bool) { +// AsODataResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsFileShareDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsOffice365Dataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsCustomDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsValidationActivity() (*ValidationActivity, bool) { - return &va, true +// AsAzureBlobDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false } -// AsUntilActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsBinaryDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsOrcDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsXMLDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsJSONDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsParquetDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsControlActivity() (*ControlActivity, bool) { +// AsExcelDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &va, true +// AsAvroDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsActivity() (*Activity, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ValidationActivity. -func (va ValidationActivity) AsBasicActivity() (BasicActivity, bool) { - return &va, true +// AsDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ValidationActivity struct. -func (va *ValidationActivity) UnmarshalJSON(body []byte) error { +// AsBasicDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &vtd, true +} + +// UnmarshalJSON is the custom unmarshaler for VerticaTableDataset struct. +func (vtd *VerticaTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -214613,12 +229016,12 @@ func (va *ValidationActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var validationActivityTypeProperties ValidationActivityTypeProperties - err = json.Unmarshal(*v, &validationActivityTypeProperties) + var verticaDatasetTypeProperties VerticaDatasetTypeProperties + err = json.Unmarshal(*v, &verticaDatasetTypeProperties) if err != nil { return err } - va.ValidationActivityTypeProperties = &validationActivityTypeProperties + vtd.VerticaDatasetTypeProperties = &verticaDatasetTypeProperties } default: if v != nil { @@ -214627,55 +229030,82 @@ func (va *ValidationActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if va.AdditionalProperties == nil { - va.AdditionalProperties = make(map[string]interface{}) + if vtd.AdditionalProperties == nil { + vtd.AdditionalProperties = make(map[string]interface{}) } - va.AdditionalProperties[k] = additionalProperties + vtd.AdditionalProperties[k] = additionalProperties } - case "name": + case "description": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - va.Name = &name + vtd.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 } - va.Description = &description + vtd.Structure = structure } - case "dependsOn": + case "schema": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - va.DependsOn = &dependsOn + vtd.Schema = schema } - case "userProperties": + case "linkedServiceName": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - va.UserProperties = &userProperties + vtd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + vtd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + vtd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + vtd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - va.Type = typeVar + vtd.Type = typeVar } } } @@ -214683,566 +229113,597 @@ func (va *ValidationActivity) UnmarshalJSON(body []byte) error { return nil } -// ValidationActivityTypeProperties validation activity properties. -type ValidationActivityTypeProperties struct { - // 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])). - Timeout interface{} `json:"timeout,omitempty"` - // Sleep - A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). - Sleep interface{} `json:"sleep,omitempty"` - // MinimumSize - Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). - MinimumSize interface{} `json:"minimumSize,omitempty"` - // ChildItems - Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). - ChildItems interface{} `json:"childItems,omitempty"` - // Dataset - Validation activity dataset reference. - Dataset *DatasetReference `json:"dataset,omitempty"` -} - -// VariableSpecification definition of a single variable for a Pipeline. -type VariableSpecification struct { - // Type - Variable type. Possible values include: 'VariableTypeString', 'VariableTypeBool', 'VariableTypeArray' - Type VariableType `json:"type,omitempty"` - // DefaultValue - Default value of variable. - DefaultValue interface{} `json:"defaultValue,omitempty"` -} - -// VerticaDatasetTypeProperties vertica Properties -type VerticaDatasetTypeProperties struct { - // TableName - This property will be retired. Please consider using schema + table properties instead. - TableName interface{} `json:"tableName,omitempty"` - // Table - The table name of the Vertica. Type: string (or Expression with resultType string). - Table interface{} `json:"table,omitempty"` - // Schema - The schema name of the Vertica. Type: string (or Expression with resultType string). - Schema interface{} `json:"schema,omitempty"` -} - -// VerticaLinkedService vertica linked service. -type VerticaLinkedService struct { - // VerticaLinkedServiceTypeProperties - Vertica linked service properties. - *VerticaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// WaitActivity this activity suspends pipeline execution for the specified interval. +type WaitActivity struct { + // WaitActivityTypeProperties - Wait activity properties. + *WaitActivityTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for VerticaLinkedService. -func (vls VerticaLinkedService) MarshalJSON() ([]byte, error) { - vls.Type = TypeVertica +// MarshalJSON is the custom marshaler for WaitActivity. +func (wa WaitActivity) MarshalJSON() ([]byte, error) { + wa.Type = TypeWait objectMap := make(map[string]interface{}) - if vls.VerticaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = vls.VerticaLinkedServiceTypeProperties + if wa.WaitActivityTypeProperties != nil { + objectMap["typeProperties"] = wa.WaitActivityTypeProperties } - if vls.ConnectVia != nil { - objectMap["connectVia"] = vls.ConnectVia + if wa.Name != nil { + objectMap["name"] = wa.Name } - if vls.Description != nil { - objectMap["description"] = vls.Description + if wa.Description != nil { + objectMap["description"] = wa.Description } - if vls.Parameters != nil { - objectMap["parameters"] = vls.Parameters + if wa.DependsOn != nil { + objectMap["dependsOn"] = wa.DependsOn } - if vls.Annotations != nil { - objectMap["annotations"] = vls.Annotations + if wa.UserProperties != nil { + objectMap["userProperties"] = wa.UserProperties } - if vls.Type != "" { - objectMap["type"] = vls.Type + if wa.Type != "" { + objectMap["type"] = wa.Type } - for k, v := range vls.AdditionalProperties { + for k, v := range wa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false -} - -// AsNetezzaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return nil, false -} - -// AsVerticaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return &vls, true -} - -// AsZohoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false +// AsWaitActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsWaitActivity() (*WaitActivity, bool) { + return &wa, true } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &wa, true } -// AsSapEccLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsBasicActivity() (BasicActivity, bool) { + return &wa, true } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for WaitActivity struct. +func (wa *WaitActivity) UnmarshalJSON(body []byte) error { + 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 waitActivityTypeProperties WaitActivityTypeProperties + err = json.Unmarshal(*v, &waitActivityTypeProperties) + if err != nil { + return err + } + wa.WaitActivityTypeProperties = &waitActivityTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if wa.AdditionalProperties == nil { + wa.AdditionalProperties = make(map[string]interface{}) + } + wa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + wa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + wa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + wa.DependsOn = &dependsOn + } + case "userProperties": + if v != nil { + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) + if err != nil { + return err + } + wa.UserProperties = &userProperties + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + wa.Type = typeVar + } + } + } + + return nil } -// AsSalesforceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// WaitActivityTypeProperties wait activity properties. +type WaitActivityTypeProperties struct { + // WaitTimeInSeconds - Duration in seconds. + WaitTimeInSeconds interface{} `json:"waitTimeInSeconds,omitempty"` } -// AsOffice365LinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false +// WebActivity web activity. +type WebActivity struct { + // WebActivityTypeProperties - Web activity properties. + *WebActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebActivity. +func (wa WebActivity) MarshalJSON() ([]byte, error) { + wa.Type = TypeWebActivity + objectMap := make(map[string]interface{}) + if wa.WebActivityTypeProperties != nil { + objectMap["typeProperties"] = wa.WebActivityTypeProperties + } + if wa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = wa.LinkedServiceName + } + if wa.Policy != nil { + objectMap["policy"] = wa.Policy + } + if wa.Name != nil { + objectMap["name"] = wa.Name + } + if wa.Description != nil { + objectMap["description"] = wa.Description + } + if wa.DependsOn != nil { + objectMap["dependsOn"] = wa.DependsOn + } + if wa.UserProperties != nil { + objectMap["userProperties"] = wa.UserProperties + } + if wa.Type != "" { + objectMap["type"] = wa.Type + } + for k, v := range wa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false +// AsWebActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsWebActivity() (*WebActivity, bool) { + return &wa, true } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &wa, true +} + +// AsWebHookActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSwitchActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for VerticaLinkedService. -func (vls VerticaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &vls, true +// AsBasicActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsBasicActivity() (BasicActivity, bool) { + return &wa, true } -// UnmarshalJSON is the custom unmarshaler for VerticaLinkedService struct. -func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for WebActivity struct. +func (wa *WebActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -215252,12 +229713,30 @@ func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var verticaLinkedServiceTypeProperties VerticaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &verticaLinkedServiceTypeProperties) + var webActivityTypeProperties WebActivityTypeProperties + err = json.Unmarshal(*v, &webActivityTypeProperties) if err != nil { return err } - vls.VerticaLinkedServiceTypeProperties = &verticaLinkedServiceTypeProperties + wa.WebActivityTypeProperties = &webActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + wa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + wa.Policy = &policy } default: if v != nil { @@ -215266,19 +229745,19 @@ func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if vls.AdditionalProperties == nil { - vls.AdditionalProperties = make(map[string]interface{}) + if wa.AdditionalProperties == nil { + wa.AdditionalProperties = make(map[string]interface{}) } - vls.AdditionalProperties[k] = additionalProperties + wa.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 } - vls.ConnectVia = &connectVia + wa.Name = &name } case "description": if v != nil { @@ -215287,34 +229766,34 @@ func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - vls.Description = &description + wa.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - vls.Parameters = parameters + wa.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - vls.Annotations = &annotations + wa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - vls.Type = typeVar + wa.Type = typeVar } } } @@ -215322,519 +229801,601 @@ func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { return nil } -// VerticaLinkedServiceTypeProperties vertica linked service properties. -type VerticaLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - ConnectionString interface{} `json:"connectionString,omitempty"` - // Pwd - The Azure key vault secret reference of password in connection string. - Pwd *AzureKeyVaultSecretReference `json:"pwd,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// 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"` - // 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"` - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// WebActivityAuthentication web activity authentication properties. +type WebActivityAuthentication struct { + // Type - Web activity authentication (Basic/ClientCertificate/MSI) + Type *string `json:"type,omitempty"` + // Pfx - Base64-encoded contents of a PFX file. + Pfx BasicSecretBase `json:"pfx,omitempty"` + // Username - Web activity authentication user name for basic authentication. + Username *string `json:"username,omitempty"` + // Password - Password for the PFX file or basic authentication. + Password BasicSecretBase `json:"password,omitempty"` + // Resource - Resource for which Azure Auth token will be requested when using MSI Authentication. + Resource *string `json:"resource,omitempty"` } -// MarshalJSON is the custom marshaler for VerticaSource. -func (vs VerticaSource) MarshalJSON() ([]byte, error) { - vs.Type = TypeVerticaSource - objectMap := make(map[string]interface{}) - if vs.Query != nil { - objectMap["query"] = vs.Query - } - if vs.QueryTimeout != nil { - objectMap["queryTimeout"] = vs.QueryTimeout - } - if vs.AdditionalColumns != nil { - objectMap["additionalColumns"] = vs.AdditionalColumns - } - if vs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = vs.SourceRetryCount - } - if vs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = vs.SourceRetryWait - } - if vs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = vs.MaxConcurrentConnections - } - if vs.Type != "" { - objectMap["type"] = vs.Type +// UnmarshalJSON is the custom unmarshaler for WebActivityAuthentication struct. +func (waa *WebActivityAuthentication) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - for k, v := range vs.AdditionalProperties { - objectMap[k] = v + for k, v := range m { + switch k { + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + waa.Type = &typeVar + } + case "pfx": + if v != nil { + pfx, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + waa.Pfx = pfx + } + case "username": + if v != nil { + var username string + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + waa.Username = &username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + waa.Password = password + } + case "resource": + if v != nil { + var resource string + err = json.Unmarshal(*v, &resource) + if err != nil { + return err + } + waa.Resource = &resource + } + } } - return json.Marshal(objectMap) -} - -// AsHTTPSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - -// AsWebSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - -// AsOracleSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsHdfsSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsRestSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - -// AsODataSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsODataSource() (*ODataSource, bool) { - return nil, false -} - -// AsMicrosoftAccessSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false -} - -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { - return nil, false -} -// AsDocumentDbCollectionSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false + return nil } -// AsBlobSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// WebActivityTypeProperties web activity type properties. +type WebActivityTypeProperties struct { + // Method - Rest API method for target endpoint. Possible values include: 'WebActivityMethodGET', 'WebActivityMethodPOST', 'WebActivityMethodPUT', 'WebActivityMethodDELETE' + Method WebActivityMethod `json:"method,omitempty"` + // URL - Web activity target endpoint and path. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // Headers - Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + Headers interface{} `json:"headers,omitempty"` + // Body - Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + Body interface{} `json:"body,omitempty"` + // Authentication - Authentication method used for calling the endpoint. + Authentication *WebActivityAuthentication `json:"authentication,omitempty"` + // Datasets - List of datasets passed to web endpoint. + Datasets *[]DatasetReference `json:"datasets,omitempty"` + // LinkedServices - List of linked services passed to web endpoint. + LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` } -// AsAmazonRedshiftSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false +// WebAnonymousAuthentication a WebLinkedService that uses anonymous authentication to communicate with an +// HTTP endpoint. +type WebAnonymousAuthentication struct { + // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' + AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } -// AsGoogleAdWordsSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) MarshalJSON() ([]byte, error) { + waa.AuthenticationType = AuthenticationTypeAnonymous + objectMap := make(map[string]interface{}) + if waa.URL != nil { + objectMap["url"] = waa.URL + } + if waa.AuthenticationType != "" { + objectMap["authenticationType"] = waa.AuthenticationType + } + return json.Marshal(objectMap) } -// AsOracleServiceCloudSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false +// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { + return &waa, true } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsVerticaSource() (*VerticaSource, bool) { - return &vs, true +// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. +func (waa WebAnonymousAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { + return &waa, true } -// AsNetezzaSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false +// WebBasicAuthentication a WebLinkedService that uses basic authentication to communicate with an HTTP +// endpoint. +type WebBasicAuthentication struct { + // Username - User name 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"` + // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' + AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } -// AsZohoSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebBasicAuthentication. +func (wba WebBasicAuthentication) MarshalJSON() ([]byte, error) { + wba.AuthenticationType = AuthenticationTypeBasic + objectMap := make(map[string]interface{}) + if wba.Username != nil { + objectMap["username"] = wba.Username + } + objectMap["password"] = wba.Password + if wba.URL != nil { + objectMap["url"] = wba.URL + } + if wba.AuthenticationType != "" { + objectMap["authenticationType"] = wba.AuthenticationType + } + return json.Marshal(objectMap) } -// AsXeroSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsXeroSource() (*XeroSource, bool) { +// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. +func (wba WebBasicAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSquareSource() (*SquareSource, bool) { - return nil, false +// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. +func (wba WebBasicAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { + return &wba, true } -// AsSparkSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSparkSource() (*SparkSource, bool) { +// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. +func (wba WebBasicAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsShopifySource() (*ShopifySource, bool) { +// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. +func (wba WebBasicAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false +// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. +func (wba WebBasicAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { + return &wba, true } -// AsQuickBooksSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for WebBasicAuthentication struct. +func (wba *WebBasicAuthentication) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + wba.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + wba.Password = password + } + case "url": + if v != nil { + var URL interface{} + err = json.Unmarshal(*v, &URL) + if err != nil { + return err + } + wba.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType AuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + wba.AuthenticationType = authenticationType + } + } + } -// AsPrestoSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false + return nil } -// AsPhoenixSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false +// WebClientCertificateAuthentication a WebLinkedService that uses client certificate based authentication +// to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also +// provide valid credentials to the client. +type WebClientCertificateAuthentication struct { + // Pfx - Base64-encoded contents of a PFX file. + Pfx BasicSecretBase `json:"pfx,omitempty"` + // Password - Password for the PFX file. + Password BasicSecretBase `json:"password,omitempty"` + // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' + AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } -// AsPaypalSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) MarshalJSON() ([]byte, error) { + wcca.AuthenticationType = AuthenticationTypeClientCertificate + objectMap := make(map[string]interface{}) + objectMap["pfx"] = wcca.Pfx + objectMap["password"] = wcca.Password + if wcca.URL != nil { + objectMap["url"] = wcca.URL + } + if wcca.AuthenticationType != "" { + objectMap["authenticationType"] = wcca.AuthenticationType + } + return json.Marshal(objectMap) } -// AsMarketoSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false +// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { + return &wcca, true } -// AsAzureMariaDBSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMagentoSource() (*MagentoSource, bool) { +// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsJiraSource() (*JiraSource, bool) { - return nil, false +// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. +func (wcca WebClientCertificateAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { + return &wcca, true } -// AsImpalaSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for WebClientCertificateAuthentication struct. +func (wcca *WebClientCertificateAuthentication) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "pfx": + if v != nil { + pfx, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + wcca.Pfx = pfx + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + wcca.Password = password + } + case "url": + if v != nil { + var URL interface{} + err = json.Unmarshal(*v, &URL) + if err != nil { + return err + } + wcca.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType AuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + wcca.AuthenticationType = authenticationType + } + } + } -// AsHubspotSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false + return nil } -// AsHiveSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHiveSource() (*HiveSource, bool) { - return nil, false +// WebHookActivity webHook activity. +type WebHookActivity struct { + // WebHookActivityTypeProperties - WebHook activity properties. + *WebHookActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // UserProperties - Activity user properties. + UserProperties *[]UserProperty `json:"userProperties,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// AsHBaseSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebHookActivity. +func (wha WebHookActivity) MarshalJSON() ([]byte, error) { + wha.Type = TypeWebHook + objectMap := make(map[string]interface{}) + if wha.WebHookActivityTypeProperties != nil { + objectMap["typeProperties"] = wha.WebHookActivityTypeProperties + } + if wha.Name != nil { + objectMap["name"] = wha.Name + } + if wha.Description != nil { + objectMap["description"] = wha.Description + } + if wha.DependsOn != nil { + objectMap["dependsOn"] = wha.DependsOn + } + if wha.UserProperties != nil { + objectMap["userProperties"] = wha.UserProperties + } + if wha.Type != "" { + objectMap["type"] = wha.Type + } + for k, v := range wha.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGreenplumSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsExecuteDataFlowActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDrillSource() (*DrillSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsConcurSource() (*ConcurSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsTeradataSource() (*TeradataSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsWebActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsLookupActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSQLSource() (*SQLSource, bool) { +// AsCustomActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapTableSource() (*SapTableSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapEccSource() (*SapEccSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSapBwSource() (*SapBwSource, bool) { +// AsCopyActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsSybaseSource() (*SybaseSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMySQLSource() (*MySQLSource, bool) { - return nil, false +// AsWebHookActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return &wha, true } -// AsOdbcSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDb2Source() (*Db2Source, bool) { +// AsSetVariableActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsInformixSource() (*InformixSource, bool) { +// AsFilterActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsValidationActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsTabularSource() (*TabularSource, bool) { +// AsUntilActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &vs, true +// AsWaitActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBinarySource() (*BinarySource, bool) { +// AsForEachActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOrcSource() (*OrcSource, bool) { +// AsSwitchActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsSwitchActivity() (*SwitchActivity, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsJSONSource() (*JSONSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsParquetSource() (*ParquetSource, bool) { +// AsControlActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAvroSource() (*AvroSource, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &wha, true } -// AsCopySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCopySource() (*CopySource, bool) { +// AsActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &vs, true +// AsBasicActivity is the BasicActivity implementation for WebHookActivity. +func (wha WebHookActivity) AsBasicActivity() (BasicActivity, bool) { + return &wha, true } -// UnmarshalJSON is the custom unmarshaler for VerticaSource struct. -func (vs *VerticaSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for WebHookActivity struct. +func (wha *WebHookActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -215842,80 +230403,71 @@ func (vs *VerticaSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "typeProperties": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var webHookActivityTypeProperties WebHookActivityTypeProperties + err = json.Unmarshal(*v, &webHookActivityTypeProperties) if err != nil { return err } - vs.Query = query + wha.WebHookActivityTypeProperties = &webHookActivityTypeProperties } - case "queryTimeout": + default: if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - vs.QueryTimeout = queryTimeout - } - case "additionalColumns": - if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) - if err != nil { - return err + if wha.AdditionalProperties == nil { + wha.AdditionalProperties = make(map[string]interface{}) } - vs.AdditionalColumns = &additionalColumns + wha.AdditionalProperties[k] = additionalProperties } - default: + case "name": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - if vs.AdditionalProperties == nil { - vs.AdditionalProperties = make(map[string]interface{}) - } - vs.AdditionalProperties[k] = additionalProperties + wha.Name = &name } - case "sourceRetryCount": + case "description": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - vs.SourceRetryCount = sourceRetryCount + wha.Description = &description } - case "sourceRetryWait": + case "dependsOn": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - vs.SourceRetryWait = sourceRetryWait + wha.DependsOn = &dependsOn } - case "maxConcurrentConnections": + case "userProperties": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - vs.MaxConcurrentConnections = maxConcurrentConnections + wha.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - vs.Type = typeVar + wha.Type = typeVar } } } @@ -215923,868 +230475,560 @@ func (vs *VerticaSource) UnmarshalJSON(body []byte) error { return nil } -// VerticaTableDataset vertica dataset. -type VerticaTableDataset struct { - // VerticaDatasetTypeProperties - Properties specific to this dataset type. - *VerticaDatasetTypeProperties `json:"typeProperties,omitempty"` +// WebHookActivityTypeProperties webHook activity type properties. +type WebHookActivityTypeProperties struct { + // Method - Rest API method for target endpoint. + Method *string `json:"method,omitempty"` + // URL - WebHook activity target endpoint and path. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // Timeout - The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + Timeout *string `json:"timeout,omitempty"` + // Headers - Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). + Headers interface{} `json:"headers,omitempty"` + // Body - Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). + Body interface{} `json:"body,omitempty"` + // Authentication - Authentication method used for calling the endpoint. + Authentication *WebActivityAuthentication `json:"authentication,omitempty"` + // ReportStatusOnCallBack - When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). + ReportStatusOnCallBack interface{} `json:"reportStatusOnCallBack,omitempty"` +} + +// WebLinkedService web linked service. +type WebLinkedService struct { + // TypeProperties - Web linked service properties. + TypeProperties BasicWebLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. - Schema interface{} `json:"schema,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the Dataset. + // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for VerticaTableDataset. -func (vtd VerticaTableDataset) MarshalJSON() ([]byte, error) { - vtd.Type = TypeVerticaTable +// MarshalJSON is the custom marshaler for WebLinkedService. +func (wls WebLinkedService) MarshalJSON() ([]byte, error) { + wls.Type = TypeWeb objectMap := make(map[string]interface{}) - if vtd.VerticaDatasetTypeProperties != nil { - objectMap["typeProperties"] = vtd.VerticaDatasetTypeProperties - } - if vtd.Description != nil { - objectMap["description"] = vtd.Description - } - if vtd.Structure != nil { - objectMap["structure"] = vtd.Structure - } - if vtd.Schema != nil { - objectMap["schema"] = vtd.Schema - } - if vtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = vtd.LinkedServiceName + objectMap["typeProperties"] = wls.TypeProperties + if wls.ConnectVia != nil { + objectMap["connectVia"] = wls.ConnectVia } - if vtd.Parameters != nil { - objectMap["parameters"] = vtd.Parameters + if wls.Description != nil { + objectMap["description"] = wls.Description } - if vtd.Annotations != nil { - objectMap["annotations"] = vtd.Annotations + if wls.Parameters != nil { + objectMap["parameters"] = wls.Parameters } - if vtd.Folder != nil { - objectMap["folder"] = vtd.Folder + if wls.Annotations != nil { + objectMap["annotations"] = wls.Annotations } - if vtd.Type != "" { - objectMap["type"] = vtd.Type + if wls.Type != "" { + objectMap["type"] = wls.Type } - for k, v := range vtd.AdditionalProperties { + for k, v := range wls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return &vtd, true -} - -// AsNetezzaTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsAzureMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for VerticaTableDataset. -func (vtd VerticaTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &vtd, true -} - -// UnmarshalJSON is the custom unmarshaler for VerticaTableDataset struct. -func (vtd *VerticaTableDataset) UnmarshalJSON(body []byte) error { - 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 verticaDatasetTypeProperties VerticaDatasetTypeProperties - err = json.Unmarshal(*v, &verticaDatasetTypeProperties) - if err != nil { - return err - } - vtd.VerticaDatasetTypeProperties = &verticaDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if vtd.AdditionalProperties == nil { - vtd.AdditionalProperties = make(map[string]interface{}) - } - vtd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - vtd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - vtd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - vtd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - vtd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - vtd.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - vtd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - vtd.Folder = &folder - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - vtd.Type = typeVar - } - } - } - - return nil -} - -// WaitActivity this activity suspends pipeline execution for the specified interval. -type WaitActivity struct { - // WaitActivityTypeProperties - Wait activity properties. - *WaitActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for WaitActivity. -func (wa WaitActivity) MarshalJSON() ([]byte, error) { - wa.Type = TypeWait - objectMap := make(map[string]interface{}) - if wa.WaitActivityTypeProperties != nil { - objectMap["typeProperties"] = wa.WaitActivityTypeProperties - } - if wa.Name != nil { - objectMap["name"] = wa.Name - } - if wa.Description != nil { - objectMap["description"] = wa.Description - } - if wa.DependsOn != nil { - objectMap["dependsOn"] = wa.DependsOn - } - if wa.UserProperties != nil { - objectMap["userProperties"] = wa.UserProperties - } - if wa.Type != "" { - objectMap["type"] = wa.Type - } - for k, v := range wa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsExecuteDataFlowActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false +// AsWebLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return &wls, true } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsWebActivity() (*WebActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsWaitActivity() (*WaitActivity, bool) { - return &wa, true -} - -// AsForEachActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &wa, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsActivity() (*Activity, bool) { +// AsLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for WaitActivity. -func (wa WaitActivity) AsBasicActivity() (BasicActivity, bool) { - return &wa, true +// AsBasicLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &wls, true } -// UnmarshalJSON is the custom unmarshaler for WaitActivity struct. -func (wa *WaitActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for WebLinkedService struct. +func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -216794,12 +231038,11 @@ func (wa *WaitActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var waitActivityTypeProperties WaitActivityTypeProperties - err = json.Unmarshal(*v, &waitActivityTypeProperties) + typeProperties, err := unmarshalBasicWebLinkedServiceTypeProperties(*v) if err != nil { return err } - wa.WaitActivityTypeProperties = &waitActivityTypeProperties + wls.TypeProperties = typeProperties } default: if v != nil { @@ -216808,19 +231051,19 @@ func (wa *WaitActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if wa.AdditionalProperties == nil { - wa.AdditionalProperties = make(map[string]interface{}) + if wls.AdditionalProperties == nil { + wls.AdditionalProperties = make(map[string]interface{}) } - wa.AdditionalProperties[k] = additionalProperties + wls.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 } - wa.Name = &name + wls.ConnectVia = &connectVia } case "description": if v != nil { @@ -216829,34 +231072,34 @@ func (wa *WaitActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - wa.Description = &description + wls.Description = &description } - case "dependsOn": + case "parameters": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - wa.DependsOn = &dependsOn + wls.Parameters = parameters } - case "userProperties": + case "annotations": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - wa.UserProperties = &userProperties + wls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - wa.Type = typeVar + wls.Type = typeVar } } } @@ -216864,962 +231107,620 @@ func (wa *WaitActivity) UnmarshalJSON(body []byte) error { return nil } -// WaitActivityTypeProperties wait activity properties. -type WaitActivityTypeProperties struct { - // WaitTimeInSeconds - Duration in seconds. - WaitTimeInSeconds *int32 `json:"waitTimeInSeconds,omitempty"` +// BasicWebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is +// polymorphic based on authenticationType, so not flattened in SDK models. +type BasicWebLinkedServiceTypeProperties interface { + AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) + AsWebBasicAuthentication() (*WebBasicAuthentication, bool) + AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) + AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) } -// WebActivity web activity. -type WebActivity struct { - // WebActivityTypeProperties - Web activity properties. - *WebActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// WebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is +// polymorphic based on authenticationType, so not flattened in SDK models. +type WebLinkedServiceTypeProperties struct { + // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' + AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } -// MarshalJSON is the custom marshaler for WebActivity. -func (wa WebActivity) MarshalJSON() ([]byte, error) { - wa.Type = TypeWebActivity - objectMap := make(map[string]interface{}) - if wa.WebActivityTypeProperties != nil { - objectMap["typeProperties"] = wa.WebActivityTypeProperties - } - if wa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = wa.LinkedServiceName - } - if wa.Policy != nil { - objectMap["policy"] = wa.Policy - } - if wa.Name != nil { - objectMap["name"] = wa.Name +func unmarshalBasicWebLinkedServiceTypeProperties(body []byte) (BasicWebLinkedServiceTypeProperties, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if wa.Description != nil { - objectMap["description"] = wa.Description + + switch m["authenticationType"] { + case string(AuthenticationTypeClientCertificate): + var wcca WebClientCertificateAuthentication + err := json.Unmarshal(body, &wcca) + return wcca, err + case string(AuthenticationTypeBasic): + var wba WebBasicAuthentication + err := json.Unmarshal(body, &wba) + return wba, err + case string(AuthenticationTypeAnonymous): + var waa WebAnonymousAuthentication + err := json.Unmarshal(body, &waa) + return waa, err + default: + var wlstp WebLinkedServiceTypeProperties + err := json.Unmarshal(body, &wlstp) + return wlstp, err } - if wa.DependsOn != nil { - objectMap["dependsOn"] = wa.DependsOn +} +func unmarshalBasicWebLinkedServiceTypePropertiesArray(body []byte) ([]BasicWebLinkedServiceTypeProperties, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err } - if wa.UserProperties != nil { - objectMap["userProperties"] = wa.UserProperties + + wlstpArray := make([]BasicWebLinkedServiceTypeProperties, len(rawMessages)) + + for index, rawMessage := range rawMessages { + wlstp, err := unmarshalBasicWebLinkedServiceTypeProperties(*rawMessage) + if err != nil { + return nil, err + } + wlstpArray[index] = wlstp } - if wa.Type != "" { - objectMap["type"] = wa.Type + return wlstpArray, nil +} + +// MarshalJSON is the custom marshaler for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { + wlstp.AuthenticationType = AuthenticationTypeWebLinkedServiceTypeProperties + objectMap := make(map[string]interface{}) + if wlstp.URL != nil { + objectMap["url"] = wlstp.URL } - for k, v := range wa.AdditionalProperties { - objectMap[k] = v + if wlstp.AuthenticationType != "" { + objectMap["authenticationType"] = wlstp.AuthenticationType } return json.Marshal(objectMap) } -// AsExecuteDataFlowActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return nil, false +// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { + return &wlstp, true } -// AsDatabricksNotebookActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false +// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. +func (wlstp WebLinkedServiceTypeProperties) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { + return &wlstp, true } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false +// WebSource a copy activity source for web page table. +type WebSource struct { + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { - return nil, false +// MarshalJSON is the custom marshaler for WebSource. +func (ws WebSource) MarshalJSON() ([]byte, error) { + ws.Type = TypeWebSource + objectMap := make(map[string]interface{}) + if ws.AdditionalColumns != nil { + objectMap["additionalColumns"] = ws.AdditionalColumns + } + if ws.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ws.SourceRetryCount + } + if ws.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ws.SourceRetryWait + } + if ws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ws.MaxConcurrentConnections + } + if ws.Type != "" { + objectMap["type"] = ws.Type + } + for k, v := range ws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsWebActivity() (*WebActivity, bool) { - return &wa, true -} - -// AsLookupActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return nil, false +// AsWebSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsWebSource() (*WebSource, bool) { + return &ws, true } -// AsHDInsightStreamingActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsRestSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &wa, true -} - -// AsWebHookActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsODataSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsControlActivity() (*ControlActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsActivity() (*Activity, bool) { +// AsResponsysSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for WebActivity. -func (wa WebActivity) AsBasicActivity() (BasicActivity, bool) { - return &wa, true -} - -// UnmarshalJSON is the custom unmarshaler for WebActivity struct. -func (wa *WebActivity) UnmarshalJSON(body []byte) error { - 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 webActivityTypeProperties WebActivityTypeProperties - err = json.Unmarshal(*v, &webActivityTypeProperties) - if err != nil { - return err - } - wa.WebActivityTypeProperties = &webActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - wa.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - wa.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if wa.AdditionalProperties == nil { - wa.AdditionalProperties = make(map[string]interface{}) - } - wa.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - wa.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - wa.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - wa.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - wa.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - wa.Type = typeVar - } - } - } - - return nil -} - -// WebActivityAuthentication web activity authentication properties. -type WebActivityAuthentication struct { - // Type - Web activity authentication (Basic/ClientCertificate/MSI) - Type *string `json:"type,omitempty"` - // Pfx - Base64-encoded contents of a PFX file. - Pfx BasicSecretBase `json:"pfx,omitempty"` - // Username - Web activity authentication user name for basic authentication. - Username *string `json:"username,omitempty"` - // Password - Password for the PFX file or basic authentication. - Password BasicSecretBase `json:"password,omitempty"` - // Resource - Resource for which Azure Auth token will be requested when using MSI Authentication. - Resource *string `json:"resource,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for WebActivityAuthentication struct. -func (waa *WebActivityAuthentication) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - waa.Type = &typeVar - } - case "pfx": - if v != nil { - pfx, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - waa.Pfx = pfx - } - case "username": - if v != nil { - var username string - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - waa.Username = &username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - waa.Password = password - } - case "resource": - if v != nil { - var resource string - err = json.Unmarshal(*v, &resource) - if err != nil { - return err - } - waa.Resource = &resource - } - } - } - - return nil -} - -// WebActivityTypeProperties web activity type properties. -type WebActivityTypeProperties struct { - // Method - Rest API method for target endpoint. Possible values include: 'WebActivityMethodGET', 'WebActivityMethodPOST', 'WebActivityMethodPUT', 'WebActivityMethodDELETE' - Method WebActivityMethod `json:"method,omitempty"` - // URL - Web activity target endpoint and path. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // Headers - Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). - Headers interface{} `json:"headers,omitempty"` - // Body - Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). - Body interface{} `json:"body,omitempty"` - // Authentication - Authentication method used for calling the endpoint. - Authentication *WebActivityAuthentication `json:"authentication,omitempty"` - // Datasets - List of datasets passed to web endpoint. - Datasets *[]DatasetReference `json:"datasets,omitempty"` - // LinkedServices - List of linked services passed to web endpoint. - LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` -} - -// WebAnonymousAuthentication a WebLinkedService that uses anonymous authentication to communicate with an -// HTTP endpoint. -type WebAnonymousAuthentication struct { - // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' - AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` -} - -// MarshalJSON is the custom marshaler for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) MarshalJSON() ([]byte, error) { - waa.AuthenticationType = AuthenticationTypeAnonymous - objectMap := make(map[string]interface{}) - if waa.URL != nil { - objectMap["url"] = waa.URL - } - if waa.AuthenticationType != "" { - objectMap["authenticationType"] = waa.AuthenticationType - } - return json.Marshal(objectMap) +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false } -// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { +// AsVerticaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { +// AsNetezzaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { - return &waa, true +// AsZohoSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { +// AsXeroSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication. -func (waa WebAnonymousAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { - return &waa, true +// AsSquareSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// WebBasicAuthentication a WebLinkedService that uses basic authentication to communicate with an HTTP -// endpoint. -type WebBasicAuthentication struct { - // Username - User name 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"` - // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' - AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` +// AsSparkSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for WebBasicAuthentication. -func (wba WebBasicAuthentication) MarshalJSON() ([]byte, error) { - wba.AuthenticationType = AuthenticationTypeBasic - objectMap := make(map[string]interface{}) - if wba.Username != nil { - objectMap["username"] = wba.Username - } - objectMap["password"] = wba.Password - if wba.URL != nil { - objectMap["url"] = wba.URL - } - if wba.AuthenticationType != "" { - objectMap["authenticationType"] = wba.AuthenticationType - } - return json.Marshal(objectMap) +// AsShopifySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false } -// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. -func (wba WebBasicAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { +// AsServiceNowSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. -func (wba WebBasicAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { - return &wba, true +// AsQuickBooksSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. -func (wba WebBasicAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { +// AsPrestoSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. -func (wba WebBasicAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { +// AsPhoenixSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication. -func (wba WebBasicAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { - return &wba, true +// AsPaypalSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for WebBasicAuthentication struct. -func (wba *WebBasicAuthentication) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - wba.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - wba.Password = password - } - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - wba.URL = URL - } - case "authenticationType": - if v != nil { - var authenticationType AuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - wba.AuthenticationType = authenticationType - } - } - } - - return nil +// AsMarketoSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// WebClientCertificateAuthentication a WebLinkedService that uses client certificate based authentication -// to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also -// provide valid credentials to the client. -type WebClientCertificateAuthentication struct { - // Pfx - Base64-encoded contents of a PFX file. - Pfx BasicSecretBase `json:"pfx,omitempty"` - // Password - Password for the PFX file. - Password BasicSecretBase `json:"password,omitempty"` - // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' - AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` +// AsAzureMariaDBSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) MarshalJSON() ([]byte, error) { - wcca.AuthenticationType = AuthenticationTypeClientCertificate - objectMap := make(map[string]interface{}) - objectMap["pfx"] = wcca.Pfx - objectMap["password"] = wcca.Password - if wcca.URL != nil { - objectMap["url"] = wcca.URL - } - if wcca.AuthenticationType != "" { - objectMap["authenticationType"] = wcca.AuthenticationType - } - return json.Marshal(objectMap) +// AsMariaDBSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { - return &wcca, true +// AsMagentoSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { +// AsJiraSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { +// AsImpalaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { +// AsHubspotSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication. -func (wcca WebClientCertificateAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { - return &wcca, true +// AsHiveSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for WebClientCertificateAuthentication struct. -func (wcca *WebClientCertificateAuthentication) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "pfx": - if v != nil { - pfx, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - wcca.Pfx = pfx - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - wcca.Password = password - } - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - wcca.URL = URL - } - case "authenticationType": - if v != nil { - var authenticationType AuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - wcca.AuthenticationType = authenticationType - } - } - } - - return nil +// AsHBaseSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// WebHookActivity webHook activity. -type WebHookActivity struct { - // WebHookActivityTypeProperties - WebHook activity properties. - *WebHookActivityTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Name - Activity name. - Name *string `json:"name,omitempty"` - // Description - Activity description. - Description *string `json:"description,omitempty"` - // DependsOn - Activity depends on condition. - DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // UserProperties - Activity user properties. - UserProperties *[]UserProperty `json:"userProperties,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeExecuteDataFlow', 'TypeAzureFunctionActivity', 'TypeDatabricksSparkPython', 'TypeDatabricksSparkJar', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLExecutePipeline', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeAzureDataExplorerCommand', 'TypeDelete', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeWebHook', 'TypeAppendVariable', 'TypeSetVariable', 'TypeFilter', 'TypeValidation', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeSwitch', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsGreenplumSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for WebHookActivity. -func (wha WebHookActivity) MarshalJSON() ([]byte, error) { - wha.Type = TypeWebHook - objectMap := make(map[string]interface{}) - if wha.WebHookActivityTypeProperties != nil { - objectMap["typeProperties"] = wha.WebHookActivityTypeProperties - } - if wha.Name != nil { - objectMap["name"] = wha.Name - } - if wha.Description != nil { - objectMap["description"] = wha.Description - } - if wha.DependsOn != nil { - objectMap["dependsOn"] = wha.DependsOn - } - if wha.UserProperties != nil { - objectMap["userProperties"] = wha.UserProperties - } - if wha.Type != "" { - objectMap["type"] = wha.Type - } - for k, v := range wha.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGoogleBigQuerySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// AsExecuteDataFlowActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsExecuteDataFlowActivity() (*ExecuteDataFlowActivity, bool) { +// AsEloquaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureMLExecutePipelineActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureMLExecutePipelineActivity() (*AzureMLExecutePipelineActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsWebActivity() (*WebActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSapBwSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsWebHookActivity() (*WebHookActivity, bool) { - return &wha, true +// AsDb2Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDb2Source() (*Db2Source, bool) { + return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsTabularSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsBinarySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsOrcSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsXMLSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsSwitchActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsSwitchActivity() (*SwitchActivity, bool) { +// AsJSONSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsParquetSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsControlActivity() (*ControlActivity, bool) { +// AsExcelSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &wha, true +// AsAvroSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAvroSource() (*AvroSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsActivity() (*Activity, bool) { +// AsCopySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for WebHookActivity. -func (wha WebHookActivity) AsBasicActivity() (BasicActivity, bool) { - return &wha, true +// AsBasicCopySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ws, true } -// UnmarshalJSON is the custom unmarshaler for WebHookActivity struct. -func (wha *WebHookActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for WebSource struct. +func (ws *WebSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -217827,14 +231728,14 @@ func (wha *WebHookActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "additionalColumns": if v != nil { - var webHookActivityTypeProperties WebHookActivityTypeProperties - err = json.Unmarshal(*v, &webHookActivityTypeProperties) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - wha.WebHookActivityTypeProperties = &webHookActivityTypeProperties + ws.AdditionalColumns = &additionalColumns } default: if v != nil { @@ -217843,55 +231744,46 @@ func (wha *WebHookActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if wha.AdditionalProperties == nil { - wha.AdditionalProperties = make(map[string]interface{}) - } - wha.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err + if ws.AdditionalProperties == nil { + ws.AdditionalProperties = make(map[string]interface{}) } - wha.Name = &name + ws.AdditionalProperties[k] = additionalProperties } - case "description": + case "sourceRetryCount": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - wha.Description = &description + ws.SourceRetryCount = sourceRetryCount } - case "dependsOn": + case "sourceRetryWait": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - wha.DependsOn = &dependsOn + ws.SourceRetryWait = sourceRetryWait } - case "userProperties": + case "maxConcurrentConnections": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - wha.UserProperties = &userProperties + ws.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - wha.Type = typeVar + ws.Type = typeVar } } } @@ -217899,550 +231791,534 @@ func (wha *WebHookActivity) UnmarshalJSON(body []byte) error { return nil } -// WebHookActivityTypeProperties webHook activity type properties. -type WebHookActivityTypeProperties struct { - // Method - Rest API method for target endpoint. - Method *string `json:"method,omitempty"` - // URL - WebHook activity target endpoint and path. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // Timeout - The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - Timeout *string `json:"timeout,omitempty"` - // Headers - Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). - Headers interface{} `json:"headers,omitempty"` - // Body - Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). - Body interface{} `json:"body,omitempty"` - // Authentication - Authentication method used for calling the endpoint. - Authentication *WebActivityAuthentication `json:"authentication,omitempty"` - // ReportStatusOnCallBack - When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). - ReportStatusOnCallBack interface{} `json:"reportStatusOnCallBack,omitempty"` -} - -// WebLinkedService web linked service. -type WebLinkedService struct { - // TypeProperties - Web linked service properties. - TypeProperties BasicWebLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// WebTableDataset the dataset points to a HTML table in the web page. +type WebTableDataset struct { + // WebTableDatasetTypeProperties - Web table dataset properties. + *WebTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. + // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure interface{} `json:"structure,omitempty"` + // Schema - Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. + Schema interface{} `json:"schema,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. + // Annotations - List of tags that can be used for describing the Dataset. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder `json:"folder,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for WebLinkedService. -func (wls WebLinkedService) MarshalJSON() ([]byte, error) { - wls.Type = TypeWeb +// MarshalJSON is the custom marshaler for WebTableDataset. +func (wtd WebTableDataset) MarshalJSON() ([]byte, error) { + wtd.Type = TypeWebTable objectMap := make(map[string]interface{}) - objectMap["typeProperties"] = wls.TypeProperties - if wls.ConnectVia != nil { - objectMap["connectVia"] = wls.ConnectVia + if wtd.WebTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = wtd.WebTableDatasetTypeProperties } - if wls.Description != nil { - objectMap["description"] = wls.Description + if wtd.Description != nil { + objectMap["description"] = wtd.Description } - if wls.Parameters != nil { - objectMap["parameters"] = wls.Parameters + if wtd.Structure != nil { + objectMap["structure"] = wtd.Structure } - if wls.Annotations != nil { - objectMap["annotations"] = wls.Annotations + if wtd.Schema != nil { + objectMap["schema"] = wtd.Schema } - if wls.Type != "" { - objectMap["type"] = wls.Type + if wtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = wtd.LinkedServiceName } - for k, v := range wls.AdditionalProperties { + if wtd.Parameters != nil { + objectMap["parameters"] = wtd.Parameters + } + if wtd.Annotations != nil { + objectMap["annotations"] = wtd.Annotations + } + if wtd.Folder != nil { + objectMap["folder"] = wtd.Folder + } + if wtd.Type != "" { + objectMap["type"] = wtd.Type + } + for k, v := range wtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false +// AsWebTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return &wtd, true } -// AsSftpServerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return &wls, true -} - -// AsODataLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsOrcDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsXMLDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExcelDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for WebLinkedService. -func (wls WebLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &wls, true +// AsBasicDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &wtd, true } -// UnmarshalJSON is the custom unmarshaler for WebLinkedService struct. -func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for WebTableDataset struct. +func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -218452,11 +232328,12 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - typeProperties, err := unmarshalBasicWebLinkedServiceTypeProperties(*v) + var webTableDatasetTypeProperties WebTableDatasetTypeProperties + err = json.Unmarshal(*v, &webTableDatasetTypeProperties) if err != nil { return err } - wls.TypeProperties = typeProperties + wtd.WebTableDatasetTypeProperties = &webTableDatasetTypeProperties } default: if v != nil { @@ -218465,28 +232342,46 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if wls.AdditionalProperties == nil { - wls.AdditionalProperties = make(map[string]interface{}) + if wtd.AdditionalProperties == nil { + wtd.AdditionalProperties = make(map[string]interface{}) } - wls.AdditionalProperties[k] = additionalProperties + wtd.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 } - wls.ConnectVia = &connectVia + wtd.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 } - wls.Description = &description + wtd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + wtd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + wtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -218495,7 +232390,7 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - wls.Parameters = parameters + wtd.Parameters = parameters } case "annotations": if v != nil { @@ -218504,16 +232399,25 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - wls.Annotations = &annotations + wtd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + wtd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - wls.Type = typeVar + wtd.Type = typeVar } } } @@ -218521,600 +232425,552 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { return nil } -// BasicWebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is -// polymorphic based on authenticationType, so not flattened in SDK models. -type BasicWebLinkedServiceTypeProperties interface { - AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) - AsWebBasicAuthentication() (*WebBasicAuthentication, bool) - AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) - AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) +// WebTableDatasetTypeProperties web table dataset properties. +type WebTableDatasetTypeProperties struct { + // Index - The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. + Index interface{} `json:"index,omitempty"` + // Path - The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` } -// WebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is -// polymorphic based on authenticationType, so not flattened in SDK models. -type WebLinkedServiceTypeProperties struct { - // URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous' - AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` +// XeroLinkedService xero Service linked service. +type XeroLinkedService struct { + // XeroLinkedServiceTypeProperties - Xero Service linked service properties. + *XeroLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the linked service. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -func unmarshalBasicWebLinkedServiceTypeProperties(body []byte) (BasicWebLinkedServiceTypeProperties, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err +// MarshalJSON is the custom marshaler for XeroLinkedService. +func (xls XeroLinkedService) MarshalJSON() ([]byte, error) { + xls.Type = TypeXero + objectMap := make(map[string]interface{}) + if xls.XeroLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = xls.XeroLinkedServiceTypeProperties } - - switch m["authenticationType"] { - case string(AuthenticationTypeClientCertificate): - var wcca WebClientCertificateAuthentication - err := json.Unmarshal(body, &wcca) - return wcca, err - case string(AuthenticationTypeBasic): - var wba WebBasicAuthentication - err := json.Unmarshal(body, &wba) - return wba, err - case string(AuthenticationTypeAnonymous): - var waa WebAnonymousAuthentication - err := json.Unmarshal(body, &waa) - return waa, err - default: - var wlstp WebLinkedServiceTypeProperties - err := json.Unmarshal(body, &wlstp) - return wlstp, err + if xls.ConnectVia != nil { + objectMap["connectVia"] = xls.ConnectVia } -} -func unmarshalBasicWebLinkedServiceTypePropertiesArray(body []byte) ([]BasicWebLinkedServiceTypeProperties, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err + if xls.Description != nil { + objectMap["description"] = xls.Description } - - wlstpArray := make([]BasicWebLinkedServiceTypeProperties, len(rawMessages)) - - for index, rawMessage := range rawMessages { - wlstp, err := unmarshalBasicWebLinkedServiceTypeProperties(*rawMessage) - if err != nil { - return nil, err - } - wlstpArray[index] = wlstp + if xls.Parameters != nil { + objectMap["parameters"] = xls.Parameters } - return wlstpArray, nil -} - -// MarshalJSON is the custom marshaler for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { - wlstp.AuthenticationType = AuthenticationTypeWebLinkedServiceTypeProperties - objectMap := make(map[string]interface{}) - if wlstp.URL != nil { - objectMap["url"] = wlstp.URL + if xls.Annotations != nil { + objectMap["annotations"] = xls.Annotations } - if wlstp.AuthenticationType != "" { - objectMap["authenticationType"] = wlstp.AuthenticationType + if xls.Type != "" { + objectMap["type"] = xls.Type + } + for k, v := range xls.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) { +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { return nil, false } -// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) { +// AsSnowflakeLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { return nil, false } -// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) { - return &wlstp, true +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false } -// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties. -func (wlstp WebLinkedServiceTypeProperties) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) { - return &wlstp, true +// AsSapTableLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// WebSource a copy activity source for web page table. -type WebSource struct { - // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). - AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` - // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for WebSource. -func (ws WebSource) MarshalJSON() ([]byte, error) { - ws.Type = TypeWebSource - objectMap := make(map[string]interface{}) - if ws.AdditionalColumns != nil { - objectMap["additionalColumns"] = ws.AdditionalColumns - } - if ws.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ws.SourceRetryCount - } - if ws.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ws.SourceRetryWait - } - if ws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ws.MaxConcurrentConnections - } - if ws.Type != "" { - objectMap["type"] = ws.Type - } - for k, v := range ws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false } -// AsHTTPSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsWebSource() (*WebSource, bool) { - return &ws, true +// AsVerticaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false } -// AsOracleSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOracleSource() (*OracleSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false +// AsXeroLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return &xls, true } -// AsHdfsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsRestSource() (*RestSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsODataSource() (*ODataSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsRelationalSource() (*RelationalSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBlobSource() (*BlobSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsVerticaSource() (*VerticaSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsZohoSource() (*ZohoSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsXeroSource() (*XeroSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSquareSource() (*SquareSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSparkSource() (*SparkSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsShopifySource() (*ShopifySource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsPrestoSource() (*PrestoSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMarketoSource() (*MarketoSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMagentoSource() (*MagentoSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsJiraSource() (*JiraSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHiveSource() (*HiveSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsEloquaSource() (*EloquaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDrillSource() (*DrillSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsConcurSource() (*ConcurSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCassandraSource() (*CassandraSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSQLSource() (*SQLSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSapBwSource() (*SapBwSource, bool) { +// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsSybaseSource() (*SybaseSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOdbcSource() (*OdbcSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDb2Source() (*Db2Source, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsInformixSource() (*InformixSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsTabularSource() (*TabularSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBasicTabularSource() (BasicTabularSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOrcSource() (*OrcSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsJSONSource() (*JSONSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAvroSource() (*AvroSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ws, true +// AsBasicLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &xls, true } -// UnmarshalJSON is the custom unmarshaler for WebSource struct. -func (ws *WebSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for XeroLinkedService struct. +func (xls *XeroLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -219122,14 +232978,14 @@ func (ws *WebSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "additionalColumns": + case "typeProperties": if v != nil { - var additionalColumns []AdditionalColumns - err = json.Unmarshal(*v, &additionalColumns) + var xeroLinkedServiceTypeProperties XeroLinkedServiceTypeProperties + err = json.Unmarshal(*v, &xeroLinkedServiceTypeProperties) if err != nil { return err } - ws.AdditionalColumns = &additionalColumns + xls.XeroLinkedServiceTypeProperties = &xeroLinkedServiceTypeProperties } default: if v != nil { @@ -219138,46 +232994,55 @@ func (ws *WebSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ws.AdditionalProperties == nil { - ws.AdditionalProperties = make(map[string]interface{}) + if xls.AdditionalProperties == nil { + xls.AdditionalProperties = make(map[string]interface{}) } - ws.AdditionalProperties[k] = additionalProperties + xls.AdditionalProperties[k] = additionalProperties } - case "sourceRetryCount": + case "connectVia": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ws.SourceRetryCount = sourceRetryCount + xls.ConnectVia = &connectVia } - case "sourceRetryWait": + case "description": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ws.SourceRetryWait = sourceRetryWait + xls.Description = &description } - case "maxConcurrentConnections": + case "parameters": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ws.MaxConcurrentConnections = maxConcurrentConnections + 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 TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ws.Type = typeVar + xls.Type = typeVar } } } @@ -219185,10 +233050,116 @@ func (ws *WebSource) UnmarshalJSON(body []byte) error { return nil } -// WebTableDataset the dataset points to a HTML table in the web page. -type WebTableDataset struct { - // WebTableDatasetTypeProperties - Web table dataset properties. - *WebTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// XeroLinkedServiceTypeProperties xero Service linked service properties. +type XeroLinkedServiceTypeProperties struct { + // ConnectionProperties - Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object. + ConnectionProperties interface{} `json:"connectionProperties,omitempty"` + // Host - The endpoint of the Xero server. (i.e. api.xero.com) + Host interface{} `json:"host,omitempty"` + // ConsumerKey - The consumer key associated with the Xero application. + ConsumerKey BasicSecretBase `json:"consumerKey,omitempty"` + // PrivateKey - The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( + // ). + PrivateKey BasicSecretBase `json:"privateKey,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 XeroLinkedServiceTypeProperties struct. +func (xlstp *XeroLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionProperties": + if v != nil { + var connectionProperties interface{} + err = json.Unmarshal(*v, &connectionProperties) + if err != nil { + return err + } + xlstp.ConnectionProperties = connectionProperties + } + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + xlstp.Host = host + } + case "consumerKey": + if v != nil { + consumerKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + xlstp.ConsumerKey = consumerKey + } + case "privateKey": + if v != nil { + privateKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + xlstp.PrivateKey = privateKey + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + xlstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "useHostVerification": + if v != nil { + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) + if err != nil { + return err + } + xlstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + xlstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + xlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// XeroObjectDataset xero Service dataset. +type XeroObjectDataset struct { + // GenericDatasetTypeProperties - Properties specific to this dataset type. + *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -219205,494 +233176,514 @@ type WebTableDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for WebTableDataset. -func (wtd WebTableDataset) MarshalJSON() ([]byte, error) { - wtd.Type = TypeWebTable +// MarshalJSON is the custom marshaler for XeroObjectDataset. +func (xod XeroObjectDataset) MarshalJSON() ([]byte, error) { + xod.Type = TypeXeroObject objectMap := make(map[string]interface{}) - if wtd.WebTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = wtd.WebTableDatasetTypeProperties + if xod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = xod.GenericDatasetTypeProperties } - if wtd.Description != nil { - objectMap["description"] = wtd.Description + if xod.Description != nil { + objectMap["description"] = xod.Description } - if wtd.Structure != nil { - objectMap["structure"] = wtd.Structure + if xod.Structure != nil { + objectMap["structure"] = xod.Structure } - if wtd.Schema != nil { - objectMap["schema"] = wtd.Schema + if xod.Schema != nil { + objectMap["schema"] = xod.Schema } - if wtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = wtd.LinkedServiceName + if xod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = xod.LinkedServiceName } - if wtd.Parameters != nil { - objectMap["parameters"] = wtd.Parameters + if xod.Parameters != nil { + objectMap["parameters"] = xod.Parameters } - if wtd.Annotations != nil { - objectMap["annotations"] = wtd.Annotations + if xod.Annotations != nil { + objectMap["annotations"] = xod.Annotations } - if wtd.Folder != nil { - objectMap["folder"] = wtd.Folder + if xod.Folder != nil { + objectMap["folder"] = xod.Folder } - if wtd.Type != "" { - objectMap["type"] = wtd.Type + if xod.Type != "" { + objectMap["type"] = xod.Type } - for k, v := range wtd.AdditionalProperties { + for k, v := range xod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return &xod, true +} + +// AsSquareObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return &wtd, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsOrcDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsXMLDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsXMLDataset() (*XMLDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsJSONDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsParquetDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsDataset() (*Dataset, bool) { +// AsExcelDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for WebTableDataset. -func (wtd WebTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &wtd, true +// AsAvroDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for WebTableDataset struct. -func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { +// AsAmazonS3Dataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &xod, true +} + +// UnmarshalJSON is the custom unmarshaler for XeroObjectDataset struct. +func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -219702,12 +233693,12 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var webTableDatasetTypeProperties WebTableDatasetTypeProperties - err = json.Unmarshal(*v, &webTableDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - wtd.WebTableDatasetTypeProperties = &webTableDatasetTypeProperties + xod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -219716,10 +233707,10 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if wtd.AdditionalProperties == nil { - wtd.AdditionalProperties = make(map[string]interface{}) + if xod.AdditionalProperties == nil { + xod.AdditionalProperties = make(map[string]interface{}) } - wtd.AdditionalProperties[k] = additionalProperties + xod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -219728,7 +233719,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Description = &description + xod.Description = &description } case "structure": if v != nil { @@ -219737,7 +233728,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Structure = structure + xod.Structure = structure } case "schema": if v != nil { @@ -219746,7 +233737,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Schema = schema + xod.Schema = schema } case "linkedServiceName": if v != nil { @@ -219755,7 +233746,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.LinkedServiceName = &linkedServiceName + xod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -219764,7 +233755,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Parameters = parameters + xod.Parameters = parameters } case "annotations": if v != nil { @@ -219773,7 +233764,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Annotations = &annotations + xod.Annotations = &annotations } case "folder": if v != nil { @@ -219782,7 +233773,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Folder = &folder + xod.Folder = &folder } case "type": if v != nil { @@ -219791,7 +233782,7 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - wtd.Type = typeVar + xod.Type = typeVar } } } @@ -219799,542 +233790,529 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { return nil } -// WebTableDatasetTypeProperties web table dataset properties. -type WebTableDatasetTypeProperties struct { - // Index - The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. - Index interface{} `json:"index,omitempty"` - // Path - The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` -} - -// XeroLinkedService xero Service linked service. -type XeroLinkedService struct { - // XeroLinkedServiceTypeProperties - Xero Service linked service properties. - *XeroLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// XeroSource a copy activity Xero Service source. +type XeroSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Parameters - Parameters for linked service. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Annotations - List of tags that can be used for describing the linked service. - Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"` + // SourceRetryWait - Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for XeroLinkedService. -func (xls XeroLinkedService) MarshalJSON() ([]byte, error) { - xls.Type = TypeXero +// MarshalJSON is the custom marshaler for XeroSource. +func (xs XeroSource) MarshalJSON() ([]byte, error) { + xs.Type = TypeXeroSource objectMap := make(map[string]interface{}) - if xls.XeroLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = xls.XeroLinkedServiceTypeProperties + if xs.Query != nil { + objectMap["query"] = xs.Query } - if xls.ConnectVia != nil { - objectMap["connectVia"] = xls.ConnectVia + if xs.QueryTimeout != nil { + objectMap["queryTimeout"] = xs.QueryTimeout } - if xls.Description != nil { - objectMap["description"] = xls.Description + if xs.AdditionalColumns != nil { + objectMap["additionalColumns"] = xs.AdditionalColumns } - if xls.Parameters != nil { - objectMap["parameters"] = xls.Parameters + if xs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = xs.SourceRetryCount } - if xls.Annotations != nil { - objectMap["annotations"] = xls.Annotations + if xs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = xs.SourceRetryWait } - if xls.Type != "" { - objectMap["type"] = xls.Type + if xs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = xs.MaxConcurrentConnections } - for k, v := range xls.AdditionalProperties { + if xs.Type != "" { + objectMap["type"] = xs.Type + } + for k, v := range xs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return &xls, true -} - -// AsSquareLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false +// AsXeroSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsXeroSource() (*XeroSource, bool) { + return &xs, true } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureMLServiceLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureMLServiceLinkedService() (*AzureMLServiceLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsGoogleCloudStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsGoogleCloudStorageLinkedService() (*GoogleCloudStorageLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureFileStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureFileStorageLinkedService() (*AzureFileStorageLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &xs, true +} + +// AsBinarySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsOrcSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsXMLSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsXMLSource() (*XMLSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsExcelSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsExcelSource() (*ExcelSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for XeroLinkedService. -func (xls XeroLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &xls, true +// AsBasicCopySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBasicCopySource() (BasicCopySource, bool) { + return &xs, true } -// UnmarshalJSON is the custom unmarshaler for XeroLinkedService struct. -func (xls *XeroLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for XeroSource struct. +func (xs *XeroSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -220342,166 +234320,80 @@ func (xls *XeroLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var xeroLinkedServiceTypeProperties XeroLinkedServiceTypeProperties - err = json.Unmarshal(*v, &xeroLinkedServiceTypeProperties) - if err != nil { - return err - } - xls.XeroLinkedServiceTypeProperties = &xeroLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if xls.AdditionalProperties == nil { - xls.AdditionalProperties = make(map[string]interface{}) - } - xls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - xls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - 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": + case "query": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - xls.Annotations = &annotations + xs.Query = query } - case "type": + case "queryTimeout": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - xls.Type = typeVar + xs.QueryTimeout = queryTimeout } - } - } - - return nil -} - -// XeroLinkedServiceTypeProperties xero Service linked service properties. -type XeroLinkedServiceTypeProperties struct { - // Host - The endpoint of the Xero server. (i.e. api.xero.com) - Host interface{} `json:"host,omitempty"` - // ConsumerKey - The consumer key associated with the Xero application. - ConsumerKey BasicSecretBase `json:"consumerKey,omitempty"` - // PrivateKey - The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( - // ). - PrivateKey BasicSecretBase `json:"privateKey,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 XeroLinkedServiceTypeProperties struct. -func (xlstp *XeroLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - 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": + case "additionalColumns": if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) if err != nil { return err } - xlstp.Host = host + xs.AdditionalColumns = &additionalColumns } - case "consumerKey": + default: if v != nil { - consumerKey, err := unmarshalBasicSecretBase(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - xlstp.ConsumerKey = consumerKey - } - case "privateKey": - if v != nil { - privateKey, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err + if xs.AdditionalProperties == nil { + xs.AdditionalProperties = make(map[string]interface{}) } - xlstp.PrivateKey = privateKey + xs.AdditionalProperties[k] = additionalProperties } - case "useEncryptedEndpoints": + case "sourceRetryCount": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - xlstp.UseEncryptedEndpoints = useEncryptedEndpoints + xs.SourceRetryCount = sourceRetryCount } - case "useHostVerification": + case "sourceRetryWait": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - xlstp.UseHostVerification = useHostVerification + xs.SourceRetryWait = sourceRetryWait } - case "usePeerVerification": + case "maxConcurrentConnections": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - xlstp.UsePeerVerification = usePeerVerification + xs.MaxConcurrentConnections = maxConcurrentConnections } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - xlstp.EncryptedCredential = encryptedCredential + xs.Type = typeVar } } } @@ -220509,10 +234401,10 @@ func (xlstp *XeroLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// XeroObjectDataset xero Service dataset. -type XeroObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// XMLDataset xml dataset. +type XMLDataset struct { + // XMLDatasetTypeProperties - Xml dataset properties. + *XMLDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -220529,494 +234421,514 @@ type XeroObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for XeroObjectDataset. -func (xod XeroObjectDataset) MarshalJSON() ([]byte, error) { - xod.Type = TypeXeroObject +// MarshalJSON is the custom marshaler for XMLDataset. +func (xd XMLDataset) MarshalJSON() ([]byte, error) { + xd.Type = TypeXML objectMap := make(map[string]interface{}) - if xod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = xod.GenericDatasetTypeProperties + if xd.XMLDatasetTypeProperties != nil { + objectMap["typeProperties"] = xd.XMLDatasetTypeProperties } - if xod.Description != nil { - objectMap["description"] = xod.Description + if xd.Description != nil { + objectMap["description"] = xd.Description } - if xod.Structure != nil { - objectMap["structure"] = xod.Structure + if xd.Structure != nil { + objectMap["structure"] = xd.Structure } - if xod.Schema != nil { - objectMap["schema"] = xod.Schema + if xd.Schema != nil { + objectMap["schema"] = xd.Schema } - if xod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = xod.LinkedServiceName + if xd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = xd.LinkedServiceName } - if xod.Parameters != nil { - objectMap["parameters"] = xod.Parameters + if xd.Parameters != nil { + objectMap["parameters"] = xd.Parameters } - if xod.Annotations != nil { - objectMap["annotations"] = xod.Annotations + if xd.Annotations != nil { + objectMap["annotations"] = xd.Annotations } - if xod.Folder != nil { - objectMap["folder"] = xod.Folder + if xd.Folder != nil { + objectMap["folder"] = xd.Folder } - if xod.Type != "" { - objectMap["type"] = xod.Type + if xd.Type != "" { + objectMap["type"] = xd.Type } - for k, v := range xod.AdditionalProperties { + for k, v := range xd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSnowflakeDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return &xod, true +// AsNetezzaTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAzureMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapBwCubeDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSybaseTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsDb2TableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsAmazonRedshiftTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCosmosDbSQLAPICollectionDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCosmosDbSQLAPICollectionDataset() (*CosmosDbSQLAPICollectionDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsOrcDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsOrcDataset() (*OrcDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsJSONDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsJSONDataset() (*JSONDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsOrcDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsXMLDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsXMLDataset() (*XMLDataset, bool) { + return &xd, true +} + +// AsJSONDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAvroDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAvroDataset() (*AvroDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsParquetDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsDataset() (*Dataset, bool) { +// AsExcelDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsExcelDataset() (*ExcelDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for XeroObjectDataset. -func (xod XeroObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &xod, true +// AsAvroDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for XeroObjectDataset struct. -func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { +// AsAmazonS3Dataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for XMLDataset. +func (xd XMLDataset) AsBasicDataset() (BasicDataset, bool) { + return &xd, true +} + +// UnmarshalJSON is the custom unmarshaler for XMLDataset struct. +func (xd *XMLDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -221026,12 +234938,12 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var XMLDatasetTypeProperties XMLDatasetTypeProperties + err = json.Unmarshal(*v, &XMLDatasetTypeProperties) if err != nil { return err } - xod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + xd.XMLDatasetTypeProperties = &XMLDatasetTypeProperties } default: if v != nil { @@ -221040,10 +234952,10 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if xod.AdditionalProperties == nil { - xod.AdditionalProperties = make(map[string]interface{}) + if xd.AdditionalProperties == nil { + xd.AdditionalProperties = make(map[string]interface{}) } - xod.AdditionalProperties[k] = additionalProperties + xd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -221052,7 +234964,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Description = &description + xd.Description = &description } case "structure": if v != nil { @@ -221061,7 +234973,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Structure = structure + xd.Structure = structure } case "schema": if v != nil { @@ -221070,7 +234982,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Schema = schema + xd.Schema = schema } case "linkedServiceName": if v != nil { @@ -221079,7 +234991,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.LinkedServiceName = &linkedServiceName + xd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -221088,7 +235000,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Parameters = parameters + xd.Parameters = parameters } case "annotations": if v != nil { @@ -221097,7 +235009,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Annotations = &annotations + xd.Annotations = &annotations } case "folder": if v != nil { @@ -221106,7 +235018,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Folder = &folder + xd.Folder = &folder } case "type": if v != nil { @@ -221115,7 +235027,7 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - xod.Type = typeVar + xd.Type = typeVar } } } @@ -221123,12 +235035,199 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// XeroSource a copy activity Xero Service source. -type XeroSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` +// XMLDatasetTypeProperties xml dataset properties. +type XMLDatasetTypeProperties struct { + // Location - The location of the json data storage. + Location BasicDatasetLocation `json:"location,omitempty"` + // EncodingName - The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + EncodingName interface{} `json:"encodingName,omitempty"` + // NullValue - The null value string. Type: string (or Expression with resultType string). + NullValue interface{} `json:"nullValue,omitempty"` + // Compression - The data compression method used for the json dataset. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for XMLDatasetTypeProperties struct. +func (xdtp *XMLDatasetTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "location": + if v != nil { + location, err := unmarshalBasicDatasetLocation(*v) + if err != nil { + return err + } + xdtp.Location = location + } + case "encodingName": + if v != nil { + var encodingName interface{} + err = json.Unmarshal(*v, &encodingName) + if err != nil { + return err + } + xdtp.EncodingName = encodingName + } + case "nullValue": + if v != nil { + var nullValue interface{} + err = json.Unmarshal(*v, &nullValue) + if err != nil { + return err + } + xdtp.NullValue = nullValue + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + xdtp.Compression = compression + } + } + } + + return nil +} + +// XMLReadSettings xml read settings. +type XMLReadSettings struct { + // CompressionProperties - Compression settings. + CompressionProperties BasicCompressionReadSettings `json:"compressionProperties,omitempty"` + // ValidationMode - Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). + ValidationMode interface{} `json:"validationMode,omitempty"` + // NamespacePrefixes - Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). + NamespacePrefixes interface{} `json:"namespacePrefixes,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeFormatReadSettings', 'TypeBinaryReadSettings', 'TypeXMLReadSettings', 'TypeJSONReadSettings', 'TypeDelimitedTextReadSettings' + Type TypeBasicFormatReadSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for XMLReadSettings. +func (xrs XMLReadSettings) MarshalJSON() ([]byte, error) { + xrs.Type = TypeXMLReadSettings + objectMap := make(map[string]interface{}) + objectMap["compressionProperties"] = xrs.CompressionProperties + if xrs.ValidationMode != nil { + objectMap["validationMode"] = xrs.ValidationMode + } + if xrs.NamespacePrefixes != nil { + objectMap["namespacePrefixes"] = xrs.NamespacePrefixes + } + if xrs.Type != "" { + objectMap["type"] = xrs.Type + } + for k, v := range xrs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsBinaryReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsBinaryReadSettings() (*BinaryReadSettings, bool) { + return nil, false +} + +// AsXMLReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsXMLReadSettings() (*XMLReadSettings, bool) { + return &xrs, true +} + +// AsJSONReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsJSONReadSettings() (*JSONReadSettings, bool) { + return nil, false +} + +// AsDelimitedTextReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsDelimitedTextReadSettings() (*DelimitedTextReadSettings, bool) { + return nil, false +} + +// AsFormatReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsFormatReadSettings() (*FormatReadSettings, bool) { + return nil, false +} + +// AsBasicFormatReadSettings is the BasicFormatReadSettings implementation for XMLReadSettings. +func (xrs XMLReadSettings) AsBasicFormatReadSettings() (BasicFormatReadSettings, bool) { + return &xrs, true +} + +// UnmarshalJSON is the custom unmarshaler for XMLReadSettings struct. +func (xrs *XMLReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "compressionProperties": + if v != nil { + compressionProperties, err := unmarshalBasicCompressionReadSettings(*v) + if err != nil { + return err + } + xrs.CompressionProperties = compressionProperties + } + case "validationMode": + if v != nil { + var validationMode interface{} + err = json.Unmarshal(*v, &validationMode) + if err != nil { + return err + } + xrs.ValidationMode = validationMode + } + case "namespacePrefixes": + if v != nil { + var namespacePrefixes interface{} + err = json.Unmarshal(*v, &namespacePrefixes) + if err != nil { + return err + } + xrs.NamespacePrefixes = namespacePrefixes + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if xrs.AdditionalProperties == nil { + xrs.AdditionalProperties = make(map[string]interface{}) + } + xrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicFormatReadSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + xrs.Type = typeVar + } + } + } + + return nil +} + +// XMLSource a copy activity Xml source. +type XMLSource struct { + // StoreSettings - Xml store settings. + StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // FormatSettings - Xml format settings. + FormatSettings *XMLReadSettings `json:"formatSettings,omitempty"` // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -221139,19 +235238,17 @@ type XeroSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for XeroSource. -func (xs XeroSource) MarshalJSON() ([]byte, error) { - xs.Type = TypeXeroSource +// MarshalJSON is the custom marshaler for XMLSource. +func (xs XMLSource) MarshalJSON() ([]byte, error) { + xs.Type = TypeXMLSource objectMap := make(map[string]interface{}) - if xs.Query != nil { - objectMap["query"] = xs.Query - } - if xs.QueryTimeout != nil { - objectMap["queryTimeout"] = xs.QueryTimeout + objectMap["storeSettings"] = xs.StoreSettings + if xs.FormatSettings != nil { + objectMap["formatSettings"] = xs.FormatSettings } if xs.AdditionalColumns != nil { objectMap["additionalColumns"] = xs.AdditionalColumns @@ -221174,458 +235271,478 @@ func (xs XeroSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsHTTPSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSharePointOnlineListSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsSnowflakeSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSnowflakeSource() (*SnowflakeSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOffice365Source is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOracleSource() (*OracleSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsWebSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsRestSource() (*RestSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsODataSource() (*ODataSource, bool) { +// AsRestSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsRelationalSource() (*RelationalSource, bool) { +// AsODataSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsCosmosDbSQLAPISource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBlobSource() (*BlobSource, bool) { +// AsCosmosDbSQLAPISource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCosmosDbSQLAPISource() (*CosmosDbSQLAPISource, bool) { return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsBlobSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsXeroSource() (*XeroSource, bool) { - return &xs, true +// AsNetezzaSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// AsSquareSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsPrestoSource() (*PrestoSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzureMariaDBSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsJiraSource() (*JiraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHubspotSource() (*HubspotSource, bool) { +// AsJiraSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHiveSource() (*HiveSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHiveSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsHBaseSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDrillSource() (*DrillSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsConcurSource() (*ConcurSource, bool) { +// AsDrillSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsConcurSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSapBwSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSapBwSource() (*SapBwSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOdbcSource() (*OdbcSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDb2Source() (*Db2Source, bool) { +// AsMySQLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsInformixSource() (*InformixSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsTabularSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsTabularSource() (*TabularSource, bool) { +// AsInformixSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBasicTabularSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBasicTabularSource() (BasicTabularSource, bool) { - return &xs, true +// AsAzureTableSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBinarySource() (*BinarySource, bool) { +// AsTabularSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsOrcSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOrcSource() (*OrcSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsJSONSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsJSONSource() (*JSONSource, bool) { +// AsBinarySource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsOrcSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsOrcSource() (*OrcSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsParquetSource() (*ParquetSource, bool) { +// AsXMLSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsXMLSource() (*XMLSource, bool) { + return &xs, true +} + +// AsJSONSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAvroSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAvroSource() (*AvroSource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCopySource() (*CopySource, bool) { +// AsParquetSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsExcelSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for XMLSource. +func (xs XMLSource) AsBasicCopySource() (BasicCopySource, bool) { return &xs, true } -// UnmarshalJSON is the custom unmarshaler for XeroSource struct. -func (xs *XeroSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for XMLSource struct. +func (xs *XMLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -221633,23 +235750,22 @@ func (xs *XeroSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "storeSettings": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + storeSettings, err := unmarshalBasicStoreReadSettings(*v) if err != nil { return err } - xs.Query = query + xs.StoreSettings = storeSettings } - case "queryTimeout": + case "formatSettings": if v != nil { - var queryTimeout interface{} - err = json.Unmarshal(*v, &queryTimeout) + var formatSettings XMLReadSettings + err = json.Unmarshal(*v, &formatSettings) if err != nil { return err } - xs.QueryTimeout = queryTimeout + xs.FormatSettings = &formatSettings } case "additionalColumns": if v != nil { @@ -221714,6 +235830,92 @@ func (xs *XeroSource) UnmarshalJSON(body []byte) error { return nil } +// ZipDeflateReadSettings the ZipDeflate compression read settings. +type ZipDeflateReadSettings struct { + // PreserveZipFileNameAsFolder - Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). + PreserveZipFileNameAsFolder interface{} `json:"preserveZipFileNameAsFolder,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeCompressionReadSettings', 'TypeZipDeflateReadSettings' + Type TypeBasicCompressionReadSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ZipDeflateReadSettings. +func (zdrs ZipDeflateReadSettings) MarshalJSON() ([]byte, error) { + zdrs.Type = TypeZipDeflateReadSettings + objectMap := make(map[string]interface{}) + if zdrs.PreserveZipFileNameAsFolder != nil { + objectMap["preserveZipFileNameAsFolder"] = zdrs.PreserveZipFileNameAsFolder + } + if zdrs.Type != "" { + objectMap["type"] = zdrs.Type + } + for k, v := range zdrs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsZipDeflateReadSettings is the BasicCompressionReadSettings implementation for ZipDeflateReadSettings. +func (zdrs ZipDeflateReadSettings) AsZipDeflateReadSettings() (*ZipDeflateReadSettings, bool) { + return &zdrs, true +} + +// AsCompressionReadSettings is the BasicCompressionReadSettings implementation for ZipDeflateReadSettings. +func (zdrs ZipDeflateReadSettings) AsCompressionReadSettings() (*CompressionReadSettings, bool) { + return nil, false +} + +// AsBasicCompressionReadSettings is the BasicCompressionReadSettings implementation for ZipDeflateReadSettings. +func (zdrs ZipDeflateReadSettings) AsBasicCompressionReadSettings() (BasicCompressionReadSettings, bool) { + return &zdrs, true +} + +// UnmarshalJSON is the custom unmarshaler for ZipDeflateReadSettings struct. +func (zdrs *ZipDeflateReadSettings) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "preserveZipFileNameAsFolder": + if v != nil { + var preserveZipFileNameAsFolder interface{} + err = json.Unmarshal(*v, &preserveZipFileNameAsFolder) + if err != nil { + return err + } + zdrs.PreserveZipFileNameAsFolder = preserveZipFileNameAsFolder + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if zdrs.AdditionalProperties == nil { + zdrs.AdditionalProperties = make(map[string]interface{}) + } + zdrs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar TypeBasicCompressionReadSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + zdrs.Type = typeVar + } + } + } + + return nil +} + // ZohoLinkedService zoho server linked service. type ZohoLinkedService struct { // ZohoLinkedServiceTypeProperties - Zoho server linked service properties. @@ -221728,7 +235930,7 @@ type ZohoLinkedService struct { Parameters map[string]*ParameterSpecification `json:"parameters"` // Annotations - List of tags that can be used for describing the linked service. Annotations *[]interface{} `json:"annotations,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' + // Type - Possible values include: 'TypeLinkedService', 'TypeSharePointOnlineList', 'TypeSnowflake', 'TypeAzureFunction', 'TypeAzureDataExplorer', 'TypeSapTable', 'TypeGoogleAdWords', 'TypeOracleServiceCloud', 'TypeDynamicsAX', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeAzureMariaDB', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeRestService', 'TypeSapOpenHub', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforceServiceCloud', 'TypeSalesforce', 'TypeOffice365', 'TypeAzureBlobFS', 'TypeAzureDataLakeStore', 'TypeCosmosDbMongoDbAPI', 'TypeMongoDbV2', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeMicrosoftAccess', 'TypeInformix', 'TypeOdbc', 'TypeAzureMLService', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeGoogleCloudStorage', 'TypeAzureFileStorage', 'TypeFileServer', 'TypeHDInsight', 'TypeCommonDataServiceForApps', 'TypeDynamicsCrm', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLMI', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureTableStorage', 'TypeAzureBlobStorage', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -221760,6 +235962,16 @@ func (zls ZohoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsSharePointOnlineListLinkedService() (*SharePointOnlineListLinkedService, bool) { + return nil, false +} + +// AsSnowflakeLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsSnowflakeLinkedService() (*SnowflakeLinkedService, bool) { + return nil, false +} + // AsAzureFunctionLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false @@ -222323,6 +236535,8 @@ func (zls *ZohoLinkedService) UnmarshalJSON(body []byte) error { // ZohoLinkedServiceTypeProperties zoho server linked service properties. type ZohoLinkedServiceTypeProperties struct { + // ConnectionProperties - Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object. + ConnectionProperties interface{} `json:"connectionProperties,omitempty"` // Endpoint - The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) Endpoint interface{} `json:"endpoint,omitempty"` // AccessToken - The access token for Zoho authentication. @@ -222346,6 +236560,15 @@ func (zlstp *ZohoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "connectionProperties": + if v != nil { + var connectionProperties interface{} + err = json.Unmarshal(*v, &connectionProperties) + if err != nil { + return err + } + zlstp.ConnectionProperties = connectionProperties + } case "endpoint": if v != nil { var endpoint interface{} @@ -222425,7 +236648,7 @@ type ZohoObjectDataset struct { Annotations *[]interface{} `json:"annotations,omitempty"` // Folder - The folder that this Dataset is in. If not specified, Dataset will appear at the root level. Folder *DatasetFolder `json:"folder,omitempty"` - // Type - Possible values include: 'TypeDataset', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + // Type - Possible values include: 'TypeDataset', 'TypeSharePointOnlineListResource', 'TypeSnowflakeTable', 'TypeGoogleAdWordsObject', 'TypeAzureDataExplorerTable', 'TypeOracleServiceCloudObject', 'TypeDynamicsAXResource', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSapTableResource', 'TypeRestResource', 'TypeSQLServerTable', 'TypeSapOpenHubTable', 'TypeSapHanaTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSapBwCube', 'TypeSybaseTable', 'TypeSalesforceServiceCloudObject', 'TypeSalesforceObject', 'TypeMicrosoftAccessTable', 'TypePostgreSQLTable', 'TypeMySQLTable', 'TypeOdbcTable', 'TypeInformixTable', 'TypeRelationalTable', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCosmosDbSQLAPICollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeOrc', 'TypeXML', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeExcel', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -222466,6 +236689,16 @@ func (zod ZohoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListResourceDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsSharePointOnlineListResourceDataset() (*SharePointOnlineListResourceDataset, bool) { + return nil, false +} + +// AsSnowflakeDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsSnowflakeDataset() (*SnowflakeDataset, bool) { + return nil, false +} + // AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false @@ -222876,6 +237109,11 @@ func (zod ZohoObjectDataset) AsOrcDataset() (*OrcDataset, bool) { return nil, false } +// AsXMLDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsXMLDataset() (*XMLDataset, bool) { + return nil, false +} + // AsJSONDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false @@ -222891,6 +237129,11 @@ func (zod ZohoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsExcelDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsExcelDataset() (*ExcelDataset, bool) { + return nil, false +} + // AsAvroDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false @@ -223035,7 +237278,7 @@ type ZohoSource struct { SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` - // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + // Type - Possible values include: 'TypeCopySource', 'TypeSharePointOnlineListSource', 'TypeSnowflakeSource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeCosmosDbSQLAPISource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeOrcSource', 'TypeXMLSource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeExcelSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -223070,6 +237313,16 @@ func (zs ZohoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsSharePointOnlineListSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSharePointOnlineListSource() (*SharePointOnlineListSource, bool) { + return nil, false +} + +// AsSnowflakeSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSnowflakeSource() (*SnowflakeSource, bool) { + return nil, false +} + // AsHTTPSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -223490,6 +237743,11 @@ func (zs ZohoSource) AsOrcSource() (*OrcSource, bool) { return nil, false } +// AsXMLSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsXMLSource() (*XMLSource, bool) { + return nil, false +} + // AsJSONSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsJSONSource() (*JSONSource, bool) { return nil, false @@ -223505,6 +237763,11 @@ func (zs ZohoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsExcelSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsExcelSource() (*ExcelSource, bool) { + return nil, false +} + // AsAvroSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsAvroSource() (*AvroSource, bool) { return nil, false diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go index ec3e6a67afea..6bb67f664246 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go @@ -102,7 +102,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go index 8c332481c071..2682dc9225a3 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go @@ -129,7 +129,6 @@ func (client PipelineRunsClient) CancelSender(req *http.Request) (*http.Response func (client PipelineRunsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -218,7 +217,6 @@ func (client PipelineRunsClient) GetSender(req *http.Request) (*http.Response, e func (client PipelineRunsClient) GetResponder(resp *http.Response) (result PipelineRun, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -312,7 +310,6 @@ func (client PipelineRunsClient) QueryByFactorySender(req *http.Request) (*http. func (client PipelineRunsClient) QueryByFactoryResponder(resp *http.Response) (result PipelineRunsQueryResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go index 5cb292f51a23..0b11b627f5e2 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go @@ -143,7 +143,6 @@ func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Res func (client PipelinesClient) CreateOrUpdateResponder(resp *http.Response) (result PipelineResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -264,7 +263,6 @@ func (client PipelinesClient) CreateRunSender(req *http.Request) (*http.Response func (client PipelinesClient) CreateRunResponder(resp *http.Response) (result CreateRunResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -358,7 +356,6 @@ func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, e func (client PipelinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -457,7 +454,6 @@ func (client PipelinesClient) GetSender(req *http.Request) (*http.Response, erro func (client PipelinesClient) GetResponder(resp *http.Response) (result PipelineResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -546,7 +542,6 @@ func (client PipelinesClient) ListByFactorySender(req *http.Request) (*http.Resp func (client PipelinesClient) ListByFactoryResponder(resp *http.Response) (result PipelineListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go index 4840dc84e0bd..d44bc2c24307 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go @@ -129,7 +129,6 @@ func (client TriggerRunsClient) QueryByFactorySender(req *http.Request) (*http.R func (client TriggerRunsClient) QueryByFactoryResponder(resp *http.Response) (result TriggerRunsQueryResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -225,7 +224,6 @@ func (client TriggerRunsClient) RerunSender(req *http.Request) (*http.Response, func (client TriggerRunsClient) RerunResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go index b5b728d3ae3b..eb57e91814c0 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go @@ -140,7 +140,6 @@ func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (*http.Resp func (client TriggersClient) CreateOrUpdateResponder(resp *http.Response) (result TriggerResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -234,7 +233,6 @@ func (client TriggersClient) DeleteSender(req *http.Request) (*http.Response, er func (client TriggersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -333,7 +331,6 @@ func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error func (client TriggersClient) GetResponder(resp *http.Response) (result TriggerResource, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotModified), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -427,7 +424,6 @@ func (client TriggersClient) GetEventSubscriptionStatusSender(req *http.Request) func (client TriggersClient) GetEventSubscriptionStatusResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -516,7 +512,6 @@ func (client TriggersClient) ListByFactorySender(req *http.Request) (*http.Respo func (client TriggersClient) ListByFactoryResponder(resp *http.Response) (result TriggerListResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -644,7 +639,6 @@ func (client TriggersClient) QueryByFactorySender(req *http.Request) (*http.Resp func (client TriggersClient) QueryByFactoryResponder(resp *http.Response) (result TriggerQueryResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -738,7 +732,6 @@ func (client TriggersClient) StartSender(req *http.Request) (future TriggersStar func (client TriggersClient) StartResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -831,7 +824,6 @@ func (client TriggersClient) StopSender(req *http.Request) (future TriggersStopF func (client TriggersClient) StopResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -924,7 +916,6 @@ func (client TriggersClient) SubscribeToEventsSender(req *http.Request) (future func (client TriggersClient) SubscribeToEventsResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1018,7 +1009,6 @@ func (client TriggersClient) UnsubscribeFromEventsSender(req *http.Request) (fut func (client TriggersClient) UnsubscribeFromEventsResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/version.go b/services/datafactory/mgmt/2018-06-01/datafactory/version.go index 82d8ac7bd268..79bb2c22f9b2 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/version.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/version.go @@ -21,7 +21,7 @@ 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/2018-06-01" + return "Azure-SDK-For-Go/" + Version() + " datafactory/2018-06-01" } // Version returns the semantic version (see http://semver.org) of the client.