1package datafactory
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20import (
21	"encoding/json"
22	"github.com/Azure/go-autorest/autorest"
23	"github.com/Azure/go-autorest/autorest/azure"
24	"github.com/Azure/go-autorest/autorest/date"
25	"github.com/Azure/go-autorest/autorest/to"
26	"github.com/satori/go.uuid"
27	"net/http"
28)
29
30// AuthenticationType enumerates the values for authentication type.
31type AuthenticationType string
32
33const (
34	// AuthenticationTypeAnonymous ...
35	AuthenticationTypeAnonymous AuthenticationType = "Anonymous"
36	// AuthenticationTypeBasic ...
37	AuthenticationTypeBasic AuthenticationType = "Basic"
38	// AuthenticationTypeClientCertificate ...
39	AuthenticationTypeClientCertificate AuthenticationType = "ClientCertificate"
40	// AuthenticationTypeWebLinkedServiceTypeProperties ...
41	AuthenticationTypeWebLinkedServiceTypeProperties AuthenticationType = "WebLinkedServiceTypeProperties"
42)
43
44// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
45func PossibleAuthenticationTypeValues() []AuthenticationType {
46	return []AuthenticationType{AuthenticationTypeAnonymous, AuthenticationTypeBasic, AuthenticationTypeClientCertificate, AuthenticationTypeWebLinkedServiceTypeProperties}
47}
48
49// AuthorizationType enumerates the values for authorization type.
50type AuthorizationType string
51
52const (
53	// AuthorizationTypeKey ...
54	AuthorizationTypeKey AuthorizationType = "Key"
55	// AuthorizationTypeLinkedIntegrationRuntimeProperties ...
56	AuthorizationTypeLinkedIntegrationRuntimeProperties AuthorizationType = "LinkedIntegrationRuntimeProperties"
57	// AuthorizationTypeRBAC ...
58	AuthorizationTypeRBAC AuthorizationType = "RBAC"
59)
60
61// PossibleAuthorizationTypeValues returns an array of possible values for the AuthorizationType const type.
62func PossibleAuthorizationTypeValues() []AuthorizationType {
63	return []AuthorizationType{AuthorizationTypeKey, AuthorizationTypeLinkedIntegrationRuntimeProperties, AuthorizationTypeRBAC}
64}
65
66// AzureSearchIndexWriteBehaviorType enumerates the values for azure search index write behavior type.
67type AzureSearchIndexWriteBehaviorType string
68
69const (
70	// Merge ...
71	Merge AzureSearchIndexWriteBehaviorType = "Merge"
72	// Upload ...
73	Upload AzureSearchIndexWriteBehaviorType = "Upload"
74)
75
76// PossibleAzureSearchIndexWriteBehaviorTypeValues returns an array of possible values for the AzureSearchIndexWriteBehaviorType const type.
77func PossibleAzureSearchIndexWriteBehaviorTypeValues() []AzureSearchIndexWriteBehaviorType {
78	return []AzureSearchIndexWriteBehaviorType{Merge, Upload}
79}
80
81// CassandraSourceReadConsistencyLevels enumerates the values for cassandra source read consistency levels.
82type CassandraSourceReadConsistencyLevels string
83
84const (
85	// ALL ...
86	ALL CassandraSourceReadConsistencyLevels = "ALL"
87	// EACHQUORUM ...
88	EACHQUORUM CassandraSourceReadConsistencyLevels = "EACH_QUORUM"
89	// LOCALONE ...
90	LOCALONE CassandraSourceReadConsistencyLevels = "LOCAL_ONE"
91	// LOCALQUORUM ...
92	LOCALQUORUM CassandraSourceReadConsistencyLevels = "LOCAL_QUORUM"
93	// LOCALSERIAL ...
94	LOCALSERIAL CassandraSourceReadConsistencyLevels = "LOCAL_SERIAL"
95	// ONE ...
96	ONE CassandraSourceReadConsistencyLevels = "ONE"
97	// QUORUM ...
98	QUORUM CassandraSourceReadConsistencyLevels = "QUORUM"
99	// SERIAL ...
100	SERIAL CassandraSourceReadConsistencyLevels = "SERIAL"
101	// THREE ...
102	THREE CassandraSourceReadConsistencyLevels = "THREE"
103	// TWO ...
104	TWO CassandraSourceReadConsistencyLevels = "TWO"
105)
106
107// PossibleCassandraSourceReadConsistencyLevelsValues returns an array of possible values for the CassandraSourceReadConsistencyLevels const type.
108func PossibleCassandraSourceReadConsistencyLevelsValues() []CassandraSourceReadConsistencyLevels {
109	return []CassandraSourceReadConsistencyLevels{ALL, EACHQUORUM, LOCALONE, LOCALQUORUM, LOCALSERIAL, ONE, QUORUM, SERIAL, THREE, TWO}
110}
111
112// CopyBehaviorType enumerates the values for copy behavior type.
113type CopyBehaviorType string
114
115const (
116	// FlattenHierarchy ...
117	FlattenHierarchy CopyBehaviorType = "FlattenHierarchy"
118	// MergeFiles ...
119	MergeFiles CopyBehaviorType = "MergeFiles"
120	// PreserveHierarchy ...
121	PreserveHierarchy CopyBehaviorType = "PreserveHierarchy"
122)
123
124// PossibleCopyBehaviorTypeValues returns an array of possible values for the CopyBehaviorType const type.
125func PossibleCopyBehaviorTypeValues() []CopyBehaviorType {
126	return []CopyBehaviorType{FlattenHierarchy, MergeFiles, PreserveHierarchy}
127}
128
129// DatasetCompressionLevel enumerates the values for dataset compression level.
130type DatasetCompressionLevel string
131
132const (
133	// Fastest ...
134	Fastest DatasetCompressionLevel = "Fastest"
135	// Optimal ...
136	Optimal DatasetCompressionLevel = "Optimal"
137)
138
139// PossibleDatasetCompressionLevelValues returns an array of possible values for the DatasetCompressionLevel const type.
140func PossibleDatasetCompressionLevelValues() []DatasetCompressionLevel {
141	return []DatasetCompressionLevel{Fastest, Optimal}
142}
143
144// DayOfWeek enumerates the values for day of week.
145type DayOfWeek string
146
147const (
148	// Friday ...
149	Friday DayOfWeek = "Friday"
150	// Monday ...
151	Monday DayOfWeek = "Monday"
152	// Saturday ...
153	Saturday DayOfWeek = "Saturday"
154	// Sunday ...
155	Sunday DayOfWeek = "Sunday"
156	// Thursday ...
157	Thursday DayOfWeek = "Thursday"
158	// Tuesday ...
159	Tuesday DayOfWeek = "Tuesday"
160	// Wednesday ...
161	Wednesday DayOfWeek = "Wednesday"
162)
163
164// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
165func PossibleDayOfWeekValues() []DayOfWeek {
166	return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
167}
168
169// DaysOfWeek enumerates the values for days of week.
170type DaysOfWeek string
171
172const (
173	// DaysOfWeekFriday ...
174	DaysOfWeekFriday DaysOfWeek = "Friday"
175	// DaysOfWeekMonday ...
176	DaysOfWeekMonday DaysOfWeek = "Monday"
177	// DaysOfWeekSaturday ...
178	DaysOfWeekSaturday DaysOfWeek = "Saturday"
179	// DaysOfWeekSunday ...
180	DaysOfWeekSunday DaysOfWeek = "Sunday"
181	// DaysOfWeekThursday ...
182	DaysOfWeekThursday DaysOfWeek = "Thursday"
183	// DaysOfWeekTuesday ...
184	DaysOfWeekTuesday DaysOfWeek = "Tuesday"
185	// DaysOfWeekWednesday ...
186	DaysOfWeekWednesday DaysOfWeek = "Wednesday"
187)
188
189// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type.
190func PossibleDaysOfWeekValues() []DaysOfWeek {
191	return []DaysOfWeek{DaysOfWeekFriday, DaysOfWeekMonday, DaysOfWeekSaturday, DaysOfWeekSunday, DaysOfWeekThursday, DaysOfWeekTuesday, DaysOfWeekWednesday}
192}
193
194// Db2AuthenticationType enumerates the values for db 2 authentication type.
195type Db2AuthenticationType string
196
197const (
198	// Basic ...
199	Basic Db2AuthenticationType = "Basic"
200)
201
202// PossibleDb2AuthenticationTypeValues returns an array of possible values for the Db2AuthenticationType const type.
203func PossibleDb2AuthenticationTypeValues() []Db2AuthenticationType {
204	return []Db2AuthenticationType{Basic}
205}
206
207// DependencyCondition enumerates the values for dependency condition.
208type DependencyCondition string
209
210const (
211	// Completed ...
212	Completed DependencyCondition = "Completed"
213	// Failed ...
214	Failed DependencyCondition = "Failed"
215	// Skipped ...
216	Skipped DependencyCondition = "Skipped"
217	// Succeeded ...
218	Succeeded DependencyCondition = "Succeeded"
219)
220
221// PossibleDependencyConditionValues returns an array of possible values for the DependencyCondition const type.
222func PossibleDependencyConditionValues() []DependencyCondition {
223	return []DependencyCondition{Completed, Failed, Skipped, Succeeded}
224}
225
226// FtpAuthenticationType enumerates the values for ftp authentication type.
227type FtpAuthenticationType string
228
229const (
230	// FtpAuthenticationTypeAnonymous ...
231	FtpAuthenticationTypeAnonymous FtpAuthenticationType = "Anonymous"
232	// FtpAuthenticationTypeBasic ...
233	FtpAuthenticationTypeBasic FtpAuthenticationType = "Basic"
234)
235
236// PossibleFtpAuthenticationTypeValues returns an array of possible values for the FtpAuthenticationType const type.
237func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType {
238	return []FtpAuthenticationType{FtpAuthenticationTypeAnonymous, FtpAuthenticationTypeBasic}
239}
240
241// GoogleBigQueryAuthenticationType enumerates the values for google big query authentication type.
242type GoogleBigQueryAuthenticationType string
243
244const (
245	// ServiceAuthentication ...
246	ServiceAuthentication GoogleBigQueryAuthenticationType = "ServiceAuthentication"
247	// UserAuthentication ...
248	UserAuthentication GoogleBigQueryAuthenticationType = "UserAuthentication"
249)
250
251// PossibleGoogleBigQueryAuthenticationTypeValues returns an array of possible values for the GoogleBigQueryAuthenticationType const type.
252func PossibleGoogleBigQueryAuthenticationTypeValues() []GoogleBigQueryAuthenticationType {
253	return []GoogleBigQueryAuthenticationType{ServiceAuthentication, UserAuthentication}
254}
255
256// HBaseAuthenticationType enumerates the values for h base authentication type.
257type HBaseAuthenticationType string
258
259const (
260	// HBaseAuthenticationTypeAnonymous ...
261	HBaseAuthenticationTypeAnonymous HBaseAuthenticationType = "Anonymous"
262	// HBaseAuthenticationTypeBasic ...
263	HBaseAuthenticationTypeBasic HBaseAuthenticationType = "Basic"
264)
265
266// PossibleHBaseAuthenticationTypeValues returns an array of possible values for the HBaseAuthenticationType const type.
267func PossibleHBaseAuthenticationTypeValues() []HBaseAuthenticationType {
268	return []HBaseAuthenticationType{HBaseAuthenticationTypeAnonymous, HBaseAuthenticationTypeBasic}
269}
270
271// HDInsightActivityDebugInfoOption enumerates the values for hd insight activity debug info option.
272type HDInsightActivityDebugInfoOption string
273
274const (
275	// Always ...
276	Always HDInsightActivityDebugInfoOption = "Always"
277	// Failure ...
278	Failure HDInsightActivityDebugInfoOption = "Failure"
279	// None ...
280	None HDInsightActivityDebugInfoOption = "None"
281)
282
283// PossibleHDInsightActivityDebugInfoOptionValues returns an array of possible values for the HDInsightActivityDebugInfoOption const type.
284func PossibleHDInsightActivityDebugInfoOptionValues() []HDInsightActivityDebugInfoOption {
285	return []HDInsightActivityDebugInfoOption{Always, Failure, None}
286}
287
288// HiveAuthenticationType enumerates the values for hive authentication type.
289type HiveAuthenticationType string
290
291const (
292	// Anonymous ...
293	Anonymous HiveAuthenticationType = "Anonymous"
294	// Username ...
295	Username HiveAuthenticationType = "Username"
296	// UsernameAndPassword ...
297	UsernameAndPassword HiveAuthenticationType = "UsernameAndPassword"
298	// WindowsAzureHDInsightService ...
299	WindowsAzureHDInsightService HiveAuthenticationType = "WindowsAzureHDInsightService"
300)
301
302// PossibleHiveAuthenticationTypeValues returns an array of possible values for the HiveAuthenticationType const type.
303func PossibleHiveAuthenticationTypeValues() []HiveAuthenticationType {
304	return []HiveAuthenticationType{Anonymous, Username, UsernameAndPassword, WindowsAzureHDInsightService}
305}
306
307// HiveServerType enumerates the values for hive server type.
308type HiveServerType string
309
310const (
311	// HiveServer1 ...
312	HiveServer1 HiveServerType = "HiveServer1"
313	// HiveServer2 ...
314	HiveServer2 HiveServerType = "HiveServer2"
315	// HiveThriftServer ...
316	HiveThriftServer HiveServerType = "HiveThriftServer"
317)
318
319// PossibleHiveServerTypeValues returns an array of possible values for the HiveServerType const type.
320func PossibleHiveServerTypeValues() []HiveServerType {
321	return []HiveServerType{HiveServer1, HiveServer2, HiveThriftServer}
322}
323
324// HiveThriftTransportProtocol enumerates the values for hive thrift transport protocol.
325type HiveThriftTransportProtocol string
326
327const (
328	// Binary ...
329	Binary HiveThriftTransportProtocol = "Binary"
330	// HTTP ...
331	HTTP HiveThriftTransportProtocol = "HTTP "
332	// SASL ...
333	SASL HiveThriftTransportProtocol = "SASL"
334)
335
336// PossibleHiveThriftTransportProtocolValues returns an array of possible values for the HiveThriftTransportProtocol const type.
337func PossibleHiveThriftTransportProtocolValues() []HiveThriftTransportProtocol {
338	return []HiveThriftTransportProtocol{Binary, HTTP, SASL}
339}
340
341// HTTPAuthenticationType enumerates the values for http authentication type.
342type HTTPAuthenticationType string
343
344const (
345	// HTTPAuthenticationTypeAnonymous ...
346	HTTPAuthenticationTypeAnonymous HTTPAuthenticationType = "Anonymous"
347	// HTTPAuthenticationTypeBasic ...
348	HTTPAuthenticationTypeBasic HTTPAuthenticationType = "Basic"
349	// HTTPAuthenticationTypeClientCertificate ...
350	HTTPAuthenticationTypeClientCertificate HTTPAuthenticationType = "ClientCertificate"
351	// HTTPAuthenticationTypeDigest ...
352	HTTPAuthenticationTypeDigest HTTPAuthenticationType = "Digest"
353	// HTTPAuthenticationTypeWindows ...
354	HTTPAuthenticationTypeWindows HTTPAuthenticationType = "Windows"
355)
356
357// PossibleHTTPAuthenticationTypeValues returns an array of possible values for the HTTPAuthenticationType const type.
358func PossibleHTTPAuthenticationTypeValues() []HTTPAuthenticationType {
359	return []HTTPAuthenticationType{HTTPAuthenticationTypeAnonymous, HTTPAuthenticationTypeBasic, HTTPAuthenticationTypeClientCertificate, HTTPAuthenticationTypeDigest, HTTPAuthenticationTypeWindows}
360}
361
362// ImpalaAuthenticationType enumerates the values for impala authentication type.
363type ImpalaAuthenticationType string
364
365const (
366	// ImpalaAuthenticationTypeAnonymous ...
367	ImpalaAuthenticationTypeAnonymous ImpalaAuthenticationType = "Anonymous"
368	// ImpalaAuthenticationTypeSASLUsername ...
369	ImpalaAuthenticationTypeSASLUsername ImpalaAuthenticationType = "SASLUsername"
370	// ImpalaAuthenticationTypeUsernameAndPassword ...
371	ImpalaAuthenticationTypeUsernameAndPassword ImpalaAuthenticationType = "UsernameAndPassword"
372)
373
374// PossibleImpalaAuthenticationTypeValues returns an array of possible values for the ImpalaAuthenticationType const type.
375func PossibleImpalaAuthenticationTypeValues() []ImpalaAuthenticationType {
376	return []ImpalaAuthenticationType{ImpalaAuthenticationTypeAnonymous, ImpalaAuthenticationTypeSASLUsername, ImpalaAuthenticationTypeUsernameAndPassword}
377}
378
379// IntegrationRuntimeAuthKeyName enumerates the values for integration runtime auth key name.
380type IntegrationRuntimeAuthKeyName string
381
382const (
383	// AuthKey1 ...
384	AuthKey1 IntegrationRuntimeAuthKeyName = "authKey1"
385	// AuthKey2 ...
386	AuthKey2 IntegrationRuntimeAuthKeyName = "authKey2"
387)
388
389// PossibleIntegrationRuntimeAuthKeyNameValues returns an array of possible values for the IntegrationRuntimeAuthKeyName const type.
390func PossibleIntegrationRuntimeAuthKeyNameValues() []IntegrationRuntimeAuthKeyName {
391	return []IntegrationRuntimeAuthKeyName{AuthKey1, AuthKey2}
392}
393
394// IntegrationRuntimeAutoUpdate enumerates the values for integration runtime auto update.
395type IntegrationRuntimeAutoUpdate string
396
397const (
398	// Off ...
399	Off IntegrationRuntimeAutoUpdate = "Off"
400	// On ...
401	On IntegrationRuntimeAutoUpdate = "On"
402)
403
404// PossibleIntegrationRuntimeAutoUpdateValues returns an array of possible values for the IntegrationRuntimeAutoUpdate const type.
405func PossibleIntegrationRuntimeAutoUpdateValues() []IntegrationRuntimeAutoUpdate {
406	return []IntegrationRuntimeAutoUpdate{Off, On}
407}
408
409// IntegrationRuntimeEdition enumerates the values for integration runtime edition.
410type IntegrationRuntimeEdition string
411
412const (
413	// Enterprise ...
414	Enterprise IntegrationRuntimeEdition = "Enterprise"
415	// Standard ...
416	Standard IntegrationRuntimeEdition = "Standard"
417)
418
419// PossibleIntegrationRuntimeEditionValues returns an array of possible values for the IntegrationRuntimeEdition const type.
420func PossibleIntegrationRuntimeEditionValues() []IntegrationRuntimeEdition {
421	return []IntegrationRuntimeEdition{Enterprise, Standard}
422}
423
424// IntegrationRuntimeInternalChannelEncryptionMode enumerates the values for integration runtime internal
425// channel encryption mode.
426type IntegrationRuntimeInternalChannelEncryptionMode string
427
428const (
429	// NotEncrypted ...
430	NotEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "NotEncrypted"
431	// NotSet ...
432	NotSet IntegrationRuntimeInternalChannelEncryptionMode = "NotSet"
433	// SslEncrypted ...
434	SslEncrypted IntegrationRuntimeInternalChannelEncryptionMode = "SslEncrypted"
435)
436
437// PossibleIntegrationRuntimeInternalChannelEncryptionModeValues returns an array of possible values for the IntegrationRuntimeInternalChannelEncryptionMode const type.
438func PossibleIntegrationRuntimeInternalChannelEncryptionModeValues() []IntegrationRuntimeInternalChannelEncryptionMode {
439	return []IntegrationRuntimeInternalChannelEncryptionMode{NotEncrypted, NotSet, SslEncrypted}
440}
441
442// IntegrationRuntimeLicenseType enumerates the values for integration runtime license type.
443type IntegrationRuntimeLicenseType string
444
445const (
446	// BasePrice ...
447	BasePrice IntegrationRuntimeLicenseType = "BasePrice"
448	// LicenseIncluded ...
449	LicenseIncluded IntegrationRuntimeLicenseType = "LicenseIncluded"
450)
451
452// PossibleIntegrationRuntimeLicenseTypeValues returns an array of possible values for the IntegrationRuntimeLicenseType const type.
453func PossibleIntegrationRuntimeLicenseTypeValues() []IntegrationRuntimeLicenseType {
454	return []IntegrationRuntimeLicenseType{BasePrice, LicenseIncluded}
455}
456
457// IntegrationRuntimeSsisCatalogPricingTier enumerates the values for integration runtime ssis catalog pricing
458// tier.
459type IntegrationRuntimeSsisCatalogPricingTier string
460
461const (
462	// IntegrationRuntimeSsisCatalogPricingTierBasic ...
463	IntegrationRuntimeSsisCatalogPricingTierBasic IntegrationRuntimeSsisCatalogPricingTier = "Basic"
464	// IntegrationRuntimeSsisCatalogPricingTierPremium ...
465	IntegrationRuntimeSsisCatalogPricingTierPremium IntegrationRuntimeSsisCatalogPricingTier = "Premium"
466	// IntegrationRuntimeSsisCatalogPricingTierPremiumRS ...
467	IntegrationRuntimeSsisCatalogPricingTierPremiumRS IntegrationRuntimeSsisCatalogPricingTier = "PremiumRS"
468	// IntegrationRuntimeSsisCatalogPricingTierStandard ...
469	IntegrationRuntimeSsisCatalogPricingTierStandard IntegrationRuntimeSsisCatalogPricingTier = "Standard"
470)
471
472// PossibleIntegrationRuntimeSsisCatalogPricingTierValues returns an array of possible values for the IntegrationRuntimeSsisCatalogPricingTier const type.
473func PossibleIntegrationRuntimeSsisCatalogPricingTierValues() []IntegrationRuntimeSsisCatalogPricingTier {
474	return []IntegrationRuntimeSsisCatalogPricingTier{IntegrationRuntimeSsisCatalogPricingTierBasic, IntegrationRuntimeSsisCatalogPricingTierPremium, IntegrationRuntimeSsisCatalogPricingTierPremiumRS, IntegrationRuntimeSsisCatalogPricingTierStandard}
475}
476
477// IntegrationRuntimeState enumerates the values for integration runtime state.
478type IntegrationRuntimeState string
479
480const (
481	// Initial ...
482	Initial IntegrationRuntimeState = "Initial"
483	// Limited ...
484	Limited IntegrationRuntimeState = "Limited"
485	// NeedRegistration ...
486	NeedRegistration IntegrationRuntimeState = "NeedRegistration"
487	// Offline ...
488	Offline IntegrationRuntimeState = "Offline"
489	// Online ...
490	Online IntegrationRuntimeState = "Online"
491	// Started ...
492	Started IntegrationRuntimeState = "Started"
493	// Starting ...
494	Starting IntegrationRuntimeState = "Starting"
495	// Stopped ...
496	Stopped IntegrationRuntimeState = "Stopped"
497	// Stopping ...
498	Stopping IntegrationRuntimeState = "Stopping"
499)
500
501// PossibleIntegrationRuntimeStateValues returns an array of possible values for the IntegrationRuntimeState const type.
502func PossibleIntegrationRuntimeStateValues() []IntegrationRuntimeState {
503	return []IntegrationRuntimeState{Initial, Limited, NeedRegistration, Offline, Online, Started, Starting, Stopped, Stopping}
504}
505
506// IntegrationRuntimeType enumerates the values for integration runtime type.
507type IntegrationRuntimeType string
508
509const (
510	// Managed ...
511	Managed IntegrationRuntimeType = "Managed"
512	// SelfHosted ...
513	SelfHosted IntegrationRuntimeType = "SelfHosted"
514)
515
516// PossibleIntegrationRuntimeTypeValues returns an array of possible values for the IntegrationRuntimeType const type.
517func PossibleIntegrationRuntimeTypeValues() []IntegrationRuntimeType {
518	return []IntegrationRuntimeType{Managed, SelfHosted}
519}
520
521// IntegrationRuntimeUpdateResult enumerates the values for integration runtime update result.
522type IntegrationRuntimeUpdateResult string
523
524const (
525	// Fail ...
526	Fail IntegrationRuntimeUpdateResult = "Fail"
527	// Succeed ...
528	Succeed IntegrationRuntimeUpdateResult = "Succeed"
529)
530
531// PossibleIntegrationRuntimeUpdateResultValues returns an array of possible values for the IntegrationRuntimeUpdateResult const type.
532func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateResult {
533	return []IntegrationRuntimeUpdateResult{Fail, Succeed}
534}
535
536// JSONFormatFilePattern enumerates the values for json format file pattern.
537type JSONFormatFilePattern string
538
539const (
540	// ArrayOfObjects ...
541	ArrayOfObjects JSONFormatFilePattern = "arrayOfObjects"
542	// SetOfObjects ...
543	SetOfObjects JSONFormatFilePattern = "setOfObjects"
544)
545
546// PossibleJSONFormatFilePatternValues returns an array of possible values for the JSONFormatFilePattern const type.
547func PossibleJSONFormatFilePatternValues() []JSONFormatFilePattern {
548	return []JSONFormatFilePattern{ArrayOfObjects, SetOfObjects}
549}
550
551// ManagedIntegrationRuntimeNodeStatus enumerates the values for managed integration runtime node status.
552type ManagedIntegrationRuntimeNodeStatus string
553
554const (
555	// ManagedIntegrationRuntimeNodeStatusAvailable ...
556	ManagedIntegrationRuntimeNodeStatusAvailable ManagedIntegrationRuntimeNodeStatus = "Available"
557	// ManagedIntegrationRuntimeNodeStatusRecycling ...
558	ManagedIntegrationRuntimeNodeStatusRecycling ManagedIntegrationRuntimeNodeStatus = "Recycling"
559	// ManagedIntegrationRuntimeNodeStatusStarting ...
560	ManagedIntegrationRuntimeNodeStatusStarting ManagedIntegrationRuntimeNodeStatus = "Starting"
561	// ManagedIntegrationRuntimeNodeStatusUnavailable ...
562	ManagedIntegrationRuntimeNodeStatusUnavailable ManagedIntegrationRuntimeNodeStatus = "Unavailable"
563)
564
565// PossibleManagedIntegrationRuntimeNodeStatusValues returns an array of possible values for the ManagedIntegrationRuntimeNodeStatus const type.
566func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus {
567	return []ManagedIntegrationRuntimeNodeStatus{ManagedIntegrationRuntimeNodeStatusAvailable, ManagedIntegrationRuntimeNodeStatusRecycling, ManagedIntegrationRuntimeNodeStatusStarting, ManagedIntegrationRuntimeNodeStatusUnavailable}
568}
569
570// MongoDbAuthenticationType enumerates the values for mongo db authentication type.
571type MongoDbAuthenticationType string
572
573const (
574	// MongoDbAuthenticationTypeAnonymous ...
575	MongoDbAuthenticationTypeAnonymous MongoDbAuthenticationType = "Anonymous"
576	// MongoDbAuthenticationTypeBasic ...
577	MongoDbAuthenticationTypeBasic MongoDbAuthenticationType = "Basic"
578)
579
580// PossibleMongoDbAuthenticationTypeValues returns an array of possible values for the MongoDbAuthenticationType const type.
581func PossibleMongoDbAuthenticationTypeValues() []MongoDbAuthenticationType {
582	return []MongoDbAuthenticationType{MongoDbAuthenticationTypeAnonymous, MongoDbAuthenticationTypeBasic}
583}
584
585// ODataAuthenticationType enumerates the values for o data authentication type.
586type ODataAuthenticationType string
587
588const (
589	// ODataAuthenticationTypeAnonymous ...
590	ODataAuthenticationTypeAnonymous ODataAuthenticationType = "Anonymous"
591	// ODataAuthenticationTypeBasic ...
592	ODataAuthenticationTypeBasic ODataAuthenticationType = "Basic"
593)
594
595// PossibleODataAuthenticationTypeValues returns an array of possible values for the ODataAuthenticationType const type.
596func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType {
597	return []ODataAuthenticationType{ODataAuthenticationTypeAnonymous, ODataAuthenticationTypeBasic}
598}
599
600// ParameterType enumerates the values for parameter type.
601type ParameterType string
602
603const (
604	// ParameterTypeArray ...
605	ParameterTypeArray ParameterType = "Array"
606	// ParameterTypeBool ...
607	ParameterTypeBool ParameterType = "Bool"
608	// ParameterTypeFloat ...
609	ParameterTypeFloat ParameterType = "Float"
610	// ParameterTypeInt ...
611	ParameterTypeInt ParameterType = "Int"
612	// ParameterTypeObject ...
613	ParameterTypeObject ParameterType = "Object"
614	// ParameterTypeSecureString ...
615	ParameterTypeSecureString ParameterType = "SecureString"
616	// ParameterTypeString ...
617	ParameterTypeString ParameterType = "String"
618)
619
620// PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.
621func PossibleParameterTypeValues() []ParameterType {
622	return []ParameterType{ParameterTypeArray, ParameterTypeBool, ParameterTypeFloat, ParameterTypeInt, ParameterTypeObject, ParameterTypeSecureString, ParameterTypeString}
623}
624
625// PhoenixAuthenticationType enumerates the values for phoenix authentication type.
626type PhoenixAuthenticationType string
627
628const (
629	// PhoenixAuthenticationTypeAnonymous ...
630	PhoenixAuthenticationTypeAnonymous PhoenixAuthenticationType = "Anonymous"
631	// PhoenixAuthenticationTypeUsernameAndPassword ...
632	PhoenixAuthenticationTypeUsernameAndPassword PhoenixAuthenticationType = "UsernameAndPassword"
633	// PhoenixAuthenticationTypeWindowsAzureHDInsightService ...
634	PhoenixAuthenticationTypeWindowsAzureHDInsightService PhoenixAuthenticationType = "WindowsAzureHDInsightService"
635)
636
637// PossiblePhoenixAuthenticationTypeValues returns an array of possible values for the PhoenixAuthenticationType const type.
638func PossiblePhoenixAuthenticationTypeValues() []PhoenixAuthenticationType {
639	return []PhoenixAuthenticationType{PhoenixAuthenticationTypeAnonymous, PhoenixAuthenticationTypeUsernameAndPassword, PhoenixAuthenticationTypeWindowsAzureHDInsightService}
640}
641
642// PipelineRunQueryFilterOperand enumerates the values for pipeline run query filter operand.
643type PipelineRunQueryFilterOperand string
644
645const (
646	// PipelineName ...
647	PipelineName PipelineRunQueryFilterOperand = "PipelineName"
648	// RunEnd ...
649	RunEnd PipelineRunQueryFilterOperand = "RunEnd"
650	// RunStart ...
651	RunStart PipelineRunQueryFilterOperand = "RunStart"
652	// Status ...
653	Status PipelineRunQueryFilterOperand = "Status"
654)
655
656// PossiblePipelineRunQueryFilterOperandValues returns an array of possible values for the PipelineRunQueryFilterOperand const type.
657func PossiblePipelineRunQueryFilterOperandValues() []PipelineRunQueryFilterOperand {
658	return []PipelineRunQueryFilterOperand{PipelineName, RunEnd, RunStart, Status}
659}
660
661// PipelineRunQueryFilterOperator enumerates the values for pipeline run query filter operator.
662type PipelineRunQueryFilterOperator string
663
664const (
665	// Equals ...
666	Equals PipelineRunQueryFilterOperator = "Equals"
667	// In ...
668	In PipelineRunQueryFilterOperator = "In"
669	// NotEquals ...
670	NotEquals PipelineRunQueryFilterOperator = "NotEquals"
671	// NotIn ...
672	NotIn PipelineRunQueryFilterOperator = "NotIn"
673)
674
675// PossiblePipelineRunQueryFilterOperatorValues returns an array of possible values for the PipelineRunQueryFilterOperator const type.
676func PossiblePipelineRunQueryFilterOperatorValues() []PipelineRunQueryFilterOperator {
677	return []PipelineRunQueryFilterOperator{Equals, In, NotEquals, NotIn}
678}
679
680// PipelineRunQueryOrder enumerates the values for pipeline run query order.
681type PipelineRunQueryOrder string
682
683const (
684	// ASC ...
685	ASC PipelineRunQueryOrder = "ASC"
686	// DESC ...
687	DESC PipelineRunQueryOrder = "DESC"
688)
689
690// PossiblePipelineRunQueryOrderValues returns an array of possible values for the PipelineRunQueryOrder const type.
691func PossiblePipelineRunQueryOrderValues() []PipelineRunQueryOrder {
692	return []PipelineRunQueryOrder{ASC, DESC}
693}
694
695// PipelineRunQueryOrderByField enumerates the values for pipeline run query order by field.
696type PipelineRunQueryOrderByField string
697
698const (
699	// PipelineRunQueryOrderByFieldRunEnd ...
700	PipelineRunQueryOrderByFieldRunEnd PipelineRunQueryOrderByField = "RunEnd"
701	// PipelineRunQueryOrderByFieldRunStart ...
702	PipelineRunQueryOrderByFieldRunStart PipelineRunQueryOrderByField = "RunStart"
703)
704
705// PossiblePipelineRunQueryOrderByFieldValues returns an array of possible values for the PipelineRunQueryOrderByField const type.
706func PossiblePipelineRunQueryOrderByFieldValues() []PipelineRunQueryOrderByField {
707	return []PipelineRunQueryOrderByField{PipelineRunQueryOrderByFieldRunEnd, PipelineRunQueryOrderByFieldRunStart}
708}
709
710// PolybaseSettingsRejectType enumerates the values for polybase settings reject type.
711type PolybaseSettingsRejectType string
712
713const (
714	// Percentage ...
715	Percentage PolybaseSettingsRejectType = "percentage"
716	// Value ...
717	Value PolybaseSettingsRejectType = "value"
718)
719
720// PossiblePolybaseSettingsRejectTypeValues returns an array of possible values for the PolybaseSettingsRejectType const type.
721func PossiblePolybaseSettingsRejectTypeValues() []PolybaseSettingsRejectType {
722	return []PolybaseSettingsRejectType{Percentage, Value}
723}
724
725// PrestoAuthenticationType enumerates the values for presto authentication type.
726type PrestoAuthenticationType string
727
728const (
729	// PrestoAuthenticationTypeAnonymous ...
730	PrestoAuthenticationTypeAnonymous PrestoAuthenticationType = "Anonymous"
731	// PrestoAuthenticationTypeLDAP ...
732	PrestoAuthenticationTypeLDAP PrestoAuthenticationType = "LDAP"
733)
734
735// PossiblePrestoAuthenticationTypeValues returns an array of possible values for the PrestoAuthenticationType const type.
736func PossiblePrestoAuthenticationTypeValues() []PrestoAuthenticationType {
737	return []PrestoAuthenticationType{PrestoAuthenticationTypeAnonymous, PrestoAuthenticationTypeLDAP}
738}
739
740// RecurrenceFrequency enumerates the values for recurrence frequency.
741type RecurrenceFrequency string
742
743const (
744	// Day ...
745	Day RecurrenceFrequency = "Day"
746	// Hour ...
747	Hour RecurrenceFrequency = "Hour"
748	// Minute ...
749	Minute RecurrenceFrequency = "Minute"
750	// Month ...
751	Month RecurrenceFrequency = "Month"
752	// NotSpecified ...
753	NotSpecified RecurrenceFrequency = "NotSpecified"
754	// Week ...
755	Week RecurrenceFrequency = "Week"
756	// Year ...
757	Year RecurrenceFrequency = "Year"
758)
759
760// PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type.
761func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency {
762	return []RecurrenceFrequency{Day, Hour, Minute, Month, NotSpecified, Week, Year}
763}
764
765// SalesforceSinkWriteBehavior enumerates the values for salesforce sink write behavior.
766type SalesforceSinkWriteBehavior string
767
768const (
769	// Insert ...
770	Insert SalesforceSinkWriteBehavior = "Insert"
771	// Upsert ...
772	Upsert SalesforceSinkWriteBehavior = "Upsert"
773)
774
775// PossibleSalesforceSinkWriteBehaviorValues returns an array of possible values for the SalesforceSinkWriteBehavior const type.
776func PossibleSalesforceSinkWriteBehaviorValues() []SalesforceSinkWriteBehavior {
777	return []SalesforceSinkWriteBehavior{Insert, Upsert}
778}
779
780// SalesforceSourceReadBehavior enumerates the values for salesforce source read behavior.
781type SalesforceSourceReadBehavior string
782
783const (
784	// Query ...
785	Query SalesforceSourceReadBehavior = "Query"
786	// QueryAll ...
787	QueryAll SalesforceSourceReadBehavior = "QueryAll"
788)
789
790// PossibleSalesforceSourceReadBehaviorValues returns an array of possible values for the SalesforceSourceReadBehavior const type.
791func PossibleSalesforceSourceReadBehaviorValues() []SalesforceSourceReadBehavior {
792	return []SalesforceSourceReadBehavior{Query, QueryAll}
793}
794
795// SapCloudForCustomerSinkWriteBehavior enumerates the values for sap cloud for customer sink write behavior.
796type SapCloudForCustomerSinkWriteBehavior string
797
798const (
799	// SapCloudForCustomerSinkWriteBehaviorInsert ...
800	SapCloudForCustomerSinkWriteBehaviorInsert SapCloudForCustomerSinkWriteBehavior = "Insert"
801	// SapCloudForCustomerSinkWriteBehaviorUpdate ...
802	SapCloudForCustomerSinkWriteBehaviorUpdate SapCloudForCustomerSinkWriteBehavior = "Update"
803)
804
805// PossibleSapCloudForCustomerSinkWriteBehaviorValues returns an array of possible values for the SapCloudForCustomerSinkWriteBehavior const type.
806func PossibleSapCloudForCustomerSinkWriteBehaviorValues() []SapCloudForCustomerSinkWriteBehavior {
807	return []SapCloudForCustomerSinkWriteBehavior{SapCloudForCustomerSinkWriteBehaviorInsert, SapCloudForCustomerSinkWriteBehaviorUpdate}
808}
809
810// SapHanaAuthenticationType enumerates the values for sap hana authentication type.
811type SapHanaAuthenticationType string
812
813const (
814	// SapHanaAuthenticationTypeBasic ...
815	SapHanaAuthenticationTypeBasic SapHanaAuthenticationType = "Basic"
816	// SapHanaAuthenticationTypeWindows ...
817	SapHanaAuthenticationTypeWindows SapHanaAuthenticationType = "Windows"
818)
819
820// PossibleSapHanaAuthenticationTypeValues returns an array of possible values for the SapHanaAuthenticationType const type.
821func PossibleSapHanaAuthenticationTypeValues() []SapHanaAuthenticationType {
822	return []SapHanaAuthenticationType{SapHanaAuthenticationTypeBasic, SapHanaAuthenticationTypeWindows}
823}
824
825// SelfHostedIntegrationRuntimeNodeStatus enumerates the values for self hosted integration runtime node
826// status.
827type SelfHostedIntegrationRuntimeNodeStatus string
828
829const (
830	// SelfHostedIntegrationRuntimeNodeStatusInitializeFailed ...
831	SelfHostedIntegrationRuntimeNodeStatusInitializeFailed SelfHostedIntegrationRuntimeNodeStatus = "InitializeFailed"
832	// SelfHostedIntegrationRuntimeNodeStatusInitializing ...
833	SelfHostedIntegrationRuntimeNodeStatusInitializing SelfHostedIntegrationRuntimeNodeStatus = "Initializing"
834	// SelfHostedIntegrationRuntimeNodeStatusLimited ...
835	SelfHostedIntegrationRuntimeNodeStatusLimited SelfHostedIntegrationRuntimeNodeStatus = "Limited"
836	// SelfHostedIntegrationRuntimeNodeStatusNeedRegistration ...
837	SelfHostedIntegrationRuntimeNodeStatusNeedRegistration SelfHostedIntegrationRuntimeNodeStatus = "NeedRegistration"
838	// SelfHostedIntegrationRuntimeNodeStatusOffline ...
839	SelfHostedIntegrationRuntimeNodeStatusOffline SelfHostedIntegrationRuntimeNodeStatus = "Offline"
840	// SelfHostedIntegrationRuntimeNodeStatusOnline ...
841	SelfHostedIntegrationRuntimeNodeStatusOnline SelfHostedIntegrationRuntimeNodeStatus = "Online"
842	// SelfHostedIntegrationRuntimeNodeStatusUpgrading ...
843	SelfHostedIntegrationRuntimeNodeStatusUpgrading SelfHostedIntegrationRuntimeNodeStatus = "Upgrading"
844)
845
846// PossibleSelfHostedIntegrationRuntimeNodeStatusValues returns an array of possible values for the SelfHostedIntegrationRuntimeNodeStatus const type.
847func PossibleSelfHostedIntegrationRuntimeNodeStatusValues() []SelfHostedIntegrationRuntimeNodeStatus {
848	return []SelfHostedIntegrationRuntimeNodeStatus{SelfHostedIntegrationRuntimeNodeStatusInitializeFailed, SelfHostedIntegrationRuntimeNodeStatusInitializing, SelfHostedIntegrationRuntimeNodeStatusLimited, SelfHostedIntegrationRuntimeNodeStatusNeedRegistration, SelfHostedIntegrationRuntimeNodeStatusOffline, SelfHostedIntegrationRuntimeNodeStatusOnline, SelfHostedIntegrationRuntimeNodeStatusUpgrading}
849}
850
851// ServiceNowAuthenticationType enumerates the values for service now authentication type.
852type ServiceNowAuthenticationType string
853
854const (
855	// ServiceNowAuthenticationTypeBasic ...
856	ServiceNowAuthenticationTypeBasic ServiceNowAuthenticationType = "Basic"
857	// ServiceNowAuthenticationTypeOAuth2 ...
858	ServiceNowAuthenticationTypeOAuth2 ServiceNowAuthenticationType = "OAuth2"
859)
860
861// PossibleServiceNowAuthenticationTypeValues returns an array of possible values for the ServiceNowAuthenticationType const type.
862func PossibleServiceNowAuthenticationTypeValues() []ServiceNowAuthenticationType {
863	return []ServiceNowAuthenticationType{ServiceNowAuthenticationTypeBasic, ServiceNowAuthenticationTypeOAuth2}
864}
865
866// SftpAuthenticationType enumerates the values for sftp authentication type.
867type SftpAuthenticationType string
868
869const (
870	// SftpAuthenticationTypeBasic ...
871	SftpAuthenticationTypeBasic SftpAuthenticationType = "Basic"
872	// SftpAuthenticationTypeSSHPublicKey ...
873	SftpAuthenticationTypeSSHPublicKey SftpAuthenticationType = "SshPublicKey"
874)
875
876// PossibleSftpAuthenticationTypeValues returns an array of possible values for the SftpAuthenticationType const type.
877func PossibleSftpAuthenticationTypeValues() []SftpAuthenticationType {
878	return []SftpAuthenticationType{SftpAuthenticationTypeBasic, SftpAuthenticationTypeSSHPublicKey}
879}
880
881// SparkAuthenticationType enumerates the values for spark authentication type.
882type SparkAuthenticationType string
883
884const (
885	// SparkAuthenticationTypeAnonymous ...
886	SparkAuthenticationTypeAnonymous SparkAuthenticationType = "Anonymous"
887	// SparkAuthenticationTypeUsername ...
888	SparkAuthenticationTypeUsername SparkAuthenticationType = "Username"
889	// SparkAuthenticationTypeUsernameAndPassword ...
890	SparkAuthenticationTypeUsernameAndPassword SparkAuthenticationType = "UsernameAndPassword"
891	// SparkAuthenticationTypeWindowsAzureHDInsightService ...
892	SparkAuthenticationTypeWindowsAzureHDInsightService SparkAuthenticationType = "WindowsAzureHDInsightService"
893)
894
895// PossibleSparkAuthenticationTypeValues returns an array of possible values for the SparkAuthenticationType const type.
896func PossibleSparkAuthenticationTypeValues() []SparkAuthenticationType {
897	return []SparkAuthenticationType{SparkAuthenticationTypeAnonymous, SparkAuthenticationTypeUsername, SparkAuthenticationTypeUsernameAndPassword, SparkAuthenticationTypeWindowsAzureHDInsightService}
898}
899
900// SparkServerType enumerates the values for spark server type.
901type SparkServerType string
902
903const (
904	// SharkServer ...
905	SharkServer SparkServerType = "SharkServer"
906	// SharkServer2 ...
907	SharkServer2 SparkServerType = "SharkServer2"
908	// SparkThriftServer ...
909	SparkThriftServer SparkServerType = "SparkThriftServer"
910)
911
912// PossibleSparkServerTypeValues returns an array of possible values for the SparkServerType const type.
913func PossibleSparkServerTypeValues() []SparkServerType {
914	return []SparkServerType{SharkServer, SharkServer2, SparkThriftServer}
915}
916
917// SparkThriftTransportProtocol enumerates the values for spark thrift transport protocol.
918type SparkThriftTransportProtocol string
919
920const (
921	// SparkThriftTransportProtocolBinary ...
922	SparkThriftTransportProtocolBinary SparkThriftTransportProtocol = "Binary"
923	// SparkThriftTransportProtocolHTTP ...
924	SparkThriftTransportProtocolHTTP SparkThriftTransportProtocol = "HTTP "
925	// SparkThriftTransportProtocolSASL ...
926	SparkThriftTransportProtocolSASL SparkThriftTransportProtocol = "SASL"
927)
928
929// PossibleSparkThriftTransportProtocolValues returns an array of possible values for the SparkThriftTransportProtocol const type.
930func PossibleSparkThriftTransportProtocolValues() []SparkThriftTransportProtocol {
931	return []SparkThriftTransportProtocol{SparkThriftTransportProtocolBinary, SparkThriftTransportProtocolHTTP, SparkThriftTransportProtocolSASL}
932}
933
934// SSISExecutionRuntime enumerates the values for ssis execution runtime.
935type SSISExecutionRuntime string
936
937const (
938	// X64 ...
939	X64 SSISExecutionRuntime = "x64"
940	// X86 ...
941	X86 SSISExecutionRuntime = "x86"
942)
943
944// PossibleSSISExecutionRuntimeValues returns an array of possible values for the SSISExecutionRuntime const type.
945func PossibleSSISExecutionRuntimeValues() []SSISExecutionRuntime {
946	return []SSISExecutionRuntime{X64, X86}
947}
948
949// StoredProcedureParameterType enumerates the values for stored procedure parameter type.
950type StoredProcedureParameterType string
951
952const (
953	// Boolean ...
954	Boolean StoredProcedureParameterType = "Boolean"
955	// Date ...
956	Date StoredProcedureParameterType = "Date"
957	// Decimal ...
958	Decimal StoredProcedureParameterType = "Decimal"
959	// GUID ...
960	GUID StoredProcedureParameterType = "Guid"
961	// Int ...
962	Int StoredProcedureParameterType = "Int"
963	// String ...
964	String StoredProcedureParameterType = "String"
965)
966
967// PossibleStoredProcedureParameterTypeValues returns an array of possible values for the StoredProcedureParameterType const type.
968func PossibleStoredProcedureParameterTypeValues() []StoredProcedureParameterType {
969	return []StoredProcedureParameterType{Boolean, Date, Decimal, GUID, Int, String}
970}
971
972// SybaseAuthenticationType enumerates the values for sybase authentication type.
973type SybaseAuthenticationType string
974
975const (
976	// SybaseAuthenticationTypeBasic ...
977	SybaseAuthenticationTypeBasic SybaseAuthenticationType = "Basic"
978	// SybaseAuthenticationTypeWindows ...
979	SybaseAuthenticationTypeWindows SybaseAuthenticationType = "Windows"
980)
981
982// PossibleSybaseAuthenticationTypeValues returns an array of possible values for the SybaseAuthenticationType const type.
983func PossibleSybaseAuthenticationTypeValues() []SybaseAuthenticationType {
984	return []SybaseAuthenticationType{SybaseAuthenticationTypeBasic, SybaseAuthenticationTypeWindows}
985}
986
987// TeradataAuthenticationType enumerates the values for teradata authentication type.
988type TeradataAuthenticationType string
989
990const (
991	// TeradataAuthenticationTypeBasic ...
992	TeradataAuthenticationTypeBasic TeradataAuthenticationType = "Basic"
993	// TeradataAuthenticationTypeWindows ...
994	TeradataAuthenticationTypeWindows TeradataAuthenticationType = "Windows"
995)
996
997// PossibleTeradataAuthenticationTypeValues returns an array of possible values for the TeradataAuthenticationType const type.
998func PossibleTeradataAuthenticationTypeValues() []TeradataAuthenticationType {
999	return []TeradataAuthenticationType{TeradataAuthenticationTypeBasic, TeradataAuthenticationTypeWindows}
1000}
1001
1002// TriggerRunStatus enumerates the values for trigger run status.
1003type TriggerRunStatus string
1004
1005const (
1006	// TriggerRunStatusFailed ...
1007	TriggerRunStatusFailed TriggerRunStatus = "Failed"
1008	// TriggerRunStatusInprogress ...
1009	TriggerRunStatusInprogress TriggerRunStatus = "Inprogress"
1010	// TriggerRunStatusSucceeded ...
1011	TriggerRunStatusSucceeded TriggerRunStatus = "Succeeded"
1012)
1013
1014// PossibleTriggerRunStatusValues returns an array of possible values for the TriggerRunStatus const type.
1015func PossibleTriggerRunStatusValues() []TriggerRunStatus {
1016	return []TriggerRunStatus{TriggerRunStatusFailed, TriggerRunStatusInprogress, TriggerRunStatusSucceeded}
1017}
1018
1019// TriggerRuntimeState enumerates the values for trigger runtime state.
1020type TriggerRuntimeState string
1021
1022const (
1023	// TriggerRuntimeStateDisabled ...
1024	TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled"
1025	// TriggerRuntimeStateStarted ...
1026	TriggerRuntimeStateStarted TriggerRuntimeState = "Started"
1027	// TriggerRuntimeStateStopped ...
1028	TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped"
1029)
1030
1031// PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type.
1032func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState {
1033	return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped}
1034}
1035
1036// TumblingWindowFrequency enumerates the values for tumbling window frequency.
1037type TumblingWindowFrequency string
1038
1039const (
1040	// TumblingWindowFrequencyHour ...
1041	TumblingWindowFrequencyHour TumblingWindowFrequency = "Hour"
1042	// TumblingWindowFrequencyMinute ...
1043	TumblingWindowFrequencyMinute TumblingWindowFrequency = "Minute"
1044)
1045
1046// PossibleTumblingWindowFrequencyValues returns an array of possible values for the TumblingWindowFrequency const type.
1047func PossibleTumblingWindowFrequencyValues() []TumblingWindowFrequency {
1048	return []TumblingWindowFrequency{TumblingWindowFrequencyHour, TumblingWindowFrequencyMinute}
1049}
1050
1051// Type enumerates the values for type.
1052type Type string
1053
1054const (
1055	// TypeAzureKeyVaultSecret ...
1056	TypeAzureKeyVaultSecret Type = "AzureKeyVaultSecret"
1057	// TypeSecretBase ...
1058	TypeSecretBase Type = "SecretBase"
1059	// TypeSecureString ...
1060	TypeSecureString Type = "SecureString"
1061)
1062
1063// PossibleTypeValues returns an array of possible values for the Type const type.
1064func PossibleTypeValues() []Type {
1065	return []Type{TypeAzureKeyVaultSecret, TypeSecretBase, TypeSecureString}
1066}
1067
1068// TypeBasicActivity enumerates the values for type basic activity.
1069type TypeBasicActivity string
1070
1071const (
1072	// TypeActivity ...
1073	TypeActivity TypeBasicActivity = "Activity"
1074	// TypeAzureMLBatchExecution ...
1075	TypeAzureMLBatchExecution TypeBasicActivity = "AzureMLBatchExecution"
1076	// TypeAzureMLUpdateResource ...
1077	TypeAzureMLUpdateResource TypeBasicActivity = "AzureMLUpdateResource"
1078	// TypeContainer ...
1079	TypeContainer TypeBasicActivity = "Container"
1080	// TypeCopy ...
1081	TypeCopy TypeBasicActivity = "Copy"
1082	// TypeCustom ...
1083	TypeCustom TypeBasicActivity = "Custom"
1084	// TypeDatabricksNotebook ...
1085	TypeDatabricksNotebook TypeBasicActivity = "DatabricksNotebook"
1086	// TypeDataLakeAnalyticsUSQL ...
1087	TypeDataLakeAnalyticsUSQL TypeBasicActivity = "DataLakeAnalyticsU-SQL"
1088	// TypeExecutePipeline ...
1089	TypeExecutePipeline TypeBasicActivity = "ExecutePipeline"
1090	// TypeExecuteSSISPackage ...
1091	TypeExecuteSSISPackage TypeBasicActivity = "ExecuteSSISPackage"
1092	// TypeExecution ...
1093	TypeExecution TypeBasicActivity = "Execution"
1094	// TypeFilter ...
1095	TypeFilter TypeBasicActivity = "Filter"
1096	// TypeForEach ...
1097	TypeForEach TypeBasicActivity = "ForEach"
1098	// TypeGetMetadata ...
1099	TypeGetMetadata TypeBasicActivity = "GetMetadata"
1100	// TypeHDInsightHive ...
1101	TypeHDInsightHive TypeBasicActivity = "HDInsightHive"
1102	// TypeHDInsightMapReduce ...
1103	TypeHDInsightMapReduce TypeBasicActivity = "HDInsightMapReduce"
1104	// TypeHDInsightPig ...
1105	TypeHDInsightPig TypeBasicActivity = "HDInsightPig"
1106	// TypeHDInsightSpark ...
1107	TypeHDInsightSpark TypeBasicActivity = "HDInsightSpark"
1108	// TypeHDInsightStreaming ...
1109	TypeHDInsightStreaming TypeBasicActivity = "HDInsightStreaming"
1110	// TypeIfCondition ...
1111	TypeIfCondition TypeBasicActivity = "IfCondition"
1112	// TypeLookup ...
1113	TypeLookup TypeBasicActivity = "Lookup"
1114	// TypeSQLServerStoredProcedure ...
1115	TypeSQLServerStoredProcedure TypeBasicActivity = "SqlServerStoredProcedure"
1116	// TypeUntil ...
1117	TypeUntil TypeBasicActivity = "Until"
1118	// TypeWait ...
1119	TypeWait TypeBasicActivity = "Wait"
1120	// TypeWebActivity ...
1121	TypeWebActivity TypeBasicActivity = "WebActivity"
1122)
1123
1124// PossibleTypeBasicActivityValues returns an array of possible values for the TypeBasicActivity const type.
1125func PossibleTypeBasicActivityValues() []TypeBasicActivity {
1126	return []TypeBasicActivity{TypeActivity, TypeAzureMLBatchExecution, TypeAzureMLUpdateResource, TypeContainer, TypeCopy, TypeCustom, TypeDatabricksNotebook, TypeDataLakeAnalyticsUSQL, TypeExecutePipeline, TypeExecuteSSISPackage, TypeExecution, TypeFilter, TypeForEach, TypeGetMetadata, TypeHDInsightHive, TypeHDInsightMapReduce, TypeHDInsightPig, TypeHDInsightSpark, TypeHDInsightStreaming, TypeIfCondition, TypeLookup, TypeSQLServerStoredProcedure, TypeUntil, TypeWait, TypeWebActivity}
1127}
1128
1129// TypeBasicCopySink enumerates the values for type basic copy sink.
1130type TypeBasicCopySink string
1131
1132const (
1133	// TypeAzureDataLakeStoreSink ...
1134	TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink"
1135	// TypeAzureQueueSink ...
1136	TypeAzureQueueSink TypeBasicCopySink = "AzureQueueSink"
1137	// TypeAzureSearchIndexSink ...
1138	TypeAzureSearchIndexSink TypeBasicCopySink = "AzureSearchIndexSink"
1139	// TypeAzureTableSink ...
1140	TypeAzureTableSink TypeBasicCopySink = "AzureTableSink"
1141	// TypeBlobSink ...
1142	TypeBlobSink TypeBasicCopySink = "BlobSink"
1143	// TypeCopySink ...
1144	TypeCopySink TypeBasicCopySink = "CopySink"
1145	// TypeDocumentDbCollectionSink ...
1146	TypeDocumentDbCollectionSink TypeBasicCopySink = "DocumentDbCollectionSink"
1147	// TypeDynamicsSink ...
1148	TypeDynamicsSink TypeBasicCopySink = "DynamicsSink"
1149	// TypeFileSystemSink ...
1150	TypeFileSystemSink TypeBasicCopySink = "FileSystemSink"
1151	// TypeOdbcSink ...
1152	TypeOdbcSink TypeBasicCopySink = "OdbcSink"
1153	// TypeOracleSink ...
1154	TypeOracleSink TypeBasicCopySink = "OracleSink"
1155	// TypeSalesforceSink ...
1156	TypeSalesforceSink TypeBasicCopySink = "SalesforceSink"
1157	// TypeSapCloudForCustomerSink ...
1158	TypeSapCloudForCustomerSink TypeBasicCopySink = "SapCloudForCustomerSink"
1159	// TypeSQLDWSink ...
1160	TypeSQLDWSink TypeBasicCopySink = "SqlDWSink"
1161	// TypeSQLSink ...
1162	TypeSQLSink TypeBasicCopySink = "SqlSink"
1163)
1164
1165// PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type.
1166func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink {
1167	return []TypeBasicCopySink{TypeAzureDataLakeStoreSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureTableSink, TypeBlobSink, TypeCopySink, TypeDocumentDbCollectionSink, TypeDynamicsSink, TypeFileSystemSink, TypeOdbcSink, TypeOracleSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLSink}
1168}
1169
1170// TypeBasicCopySource enumerates the values for type basic copy source.
1171type TypeBasicCopySource string
1172
1173const (
1174	// TypeAmazonMWSSource ...
1175	TypeAmazonMWSSource TypeBasicCopySource = "AmazonMWSSource"
1176	// TypeAmazonRedshiftSource ...
1177	TypeAmazonRedshiftSource TypeBasicCopySource = "AmazonRedshiftSource"
1178	// TypeAzureDataLakeStoreSource ...
1179	TypeAzureDataLakeStoreSource TypeBasicCopySource = "AzureDataLakeStoreSource"
1180	// TypeAzureMySQLSource ...
1181	TypeAzureMySQLSource TypeBasicCopySource = "AzureMySqlSource"
1182	// TypeAzurePostgreSQLSource ...
1183	TypeAzurePostgreSQLSource TypeBasicCopySource = "AzurePostgreSqlSource"
1184	// TypeAzureTableSource ...
1185	TypeAzureTableSource TypeBasicCopySource = "AzureTableSource"
1186	// TypeBlobSource ...
1187	TypeBlobSource TypeBasicCopySource = "BlobSource"
1188	// TypeCassandraSource ...
1189	TypeCassandraSource TypeBasicCopySource = "CassandraSource"
1190	// TypeConcurSource ...
1191	TypeConcurSource TypeBasicCopySource = "ConcurSource"
1192	// TypeCopySource ...
1193	TypeCopySource TypeBasicCopySource = "CopySource"
1194	// TypeCouchbaseSource ...
1195	TypeCouchbaseSource TypeBasicCopySource = "CouchbaseSource"
1196	// TypeDocumentDbCollectionSource ...
1197	TypeDocumentDbCollectionSource TypeBasicCopySource = "DocumentDbCollectionSource"
1198	// TypeDrillSource ...
1199	TypeDrillSource TypeBasicCopySource = "DrillSource"
1200	// TypeDynamicsSource ...
1201	TypeDynamicsSource TypeBasicCopySource = "DynamicsSource"
1202	// TypeEloquaSource ...
1203	TypeEloquaSource TypeBasicCopySource = "EloquaSource"
1204	// TypeFileSystemSource ...
1205	TypeFileSystemSource TypeBasicCopySource = "FileSystemSource"
1206	// TypeGoogleBigQuerySource ...
1207	TypeGoogleBigQuerySource TypeBasicCopySource = "GoogleBigQuerySource"
1208	// TypeGreenplumSource ...
1209	TypeGreenplumSource TypeBasicCopySource = "GreenplumSource"
1210	// TypeHBaseSource ...
1211	TypeHBaseSource TypeBasicCopySource = "HBaseSource"
1212	// TypeHdfsSource ...
1213	TypeHdfsSource TypeBasicCopySource = "HdfsSource"
1214	// TypeHiveSource ...
1215	TypeHiveSource TypeBasicCopySource = "HiveSource"
1216	// TypeHTTPSource ...
1217	TypeHTTPSource TypeBasicCopySource = "HttpSource"
1218	// TypeHubspotSource ...
1219	TypeHubspotSource TypeBasicCopySource = "HubspotSource"
1220	// TypeImpalaSource ...
1221	TypeImpalaSource TypeBasicCopySource = "ImpalaSource"
1222	// TypeJiraSource ...
1223	TypeJiraSource TypeBasicCopySource = "JiraSource"
1224	// TypeMagentoSource ...
1225	TypeMagentoSource TypeBasicCopySource = "MagentoSource"
1226	// TypeMariaDBSource ...
1227	TypeMariaDBSource TypeBasicCopySource = "MariaDBSource"
1228	// TypeMarketoSource ...
1229	TypeMarketoSource TypeBasicCopySource = "MarketoSource"
1230	// TypeMongoDbSource ...
1231	TypeMongoDbSource TypeBasicCopySource = "MongoDbSource"
1232	// TypeNetezzaSource ...
1233	TypeNetezzaSource TypeBasicCopySource = "NetezzaSource"
1234	// TypeOracleSource ...
1235	TypeOracleSource TypeBasicCopySource = "OracleSource"
1236	// TypePaypalSource ...
1237	TypePaypalSource TypeBasicCopySource = "PaypalSource"
1238	// TypePhoenixSource ...
1239	TypePhoenixSource TypeBasicCopySource = "PhoenixSource"
1240	// TypePrestoSource ...
1241	TypePrestoSource TypeBasicCopySource = "PrestoSource"
1242	// TypeQuickBooksSource ...
1243	TypeQuickBooksSource TypeBasicCopySource = "QuickBooksSource"
1244	// TypeRelationalSource ...
1245	TypeRelationalSource TypeBasicCopySource = "RelationalSource"
1246	// TypeResponsysSource ...
1247	TypeResponsysSource TypeBasicCopySource = "ResponsysSource"
1248	// TypeSalesforceMarketingCloudSource ...
1249	TypeSalesforceMarketingCloudSource TypeBasicCopySource = "SalesforceMarketingCloudSource"
1250	// TypeSalesforceSource ...
1251	TypeSalesforceSource TypeBasicCopySource = "SalesforceSource"
1252	// TypeSapCloudForCustomerSource ...
1253	TypeSapCloudForCustomerSource TypeBasicCopySource = "SapCloudForCustomerSource"
1254	// TypeSapEccSource ...
1255	TypeSapEccSource TypeBasicCopySource = "SapEccSource"
1256	// TypeServiceNowSource ...
1257	TypeServiceNowSource TypeBasicCopySource = "ServiceNowSource"
1258	// TypeShopifySource ...
1259	TypeShopifySource TypeBasicCopySource = "ShopifySource"
1260	// TypeSparkSource ...
1261	TypeSparkSource TypeBasicCopySource = "SparkSource"
1262	// TypeSQLDWSource ...
1263	TypeSQLDWSource TypeBasicCopySource = "SqlDWSource"
1264	// TypeSQLSource ...
1265	TypeSQLSource TypeBasicCopySource = "SqlSource"
1266	// TypeSquareSource ...
1267	TypeSquareSource TypeBasicCopySource = "SquareSource"
1268	// TypeVerticaSource ...
1269	TypeVerticaSource TypeBasicCopySource = "VerticaSource"
1270	// TypeWebSource ...
1271	TypeWebSource TypeBasicCopySource = "WebSource"
1272	// TypeXeroSource ...
1273	TypeXeroSource TypeBasicCopySource = "XeroSource"
1274	// TypeZohoSource ...
1275	TypeZohoSource TypeBasicCopySource = "ZohoSource"
1276)
1277
1278// PossibleTypeBasicCopySourceValues returns an array of possible values for the TypeBasicCopySource const type.
1279func PossibleTypeBasicCopySourceValues() []TypeBasicCopySource {
1280	return []TypeBasicCopySource{TypeAmazonMWSSource, TypeAmazonRedshiftSource, TypeAzureDataLakeStoreSource, TypeAzureMySQLSource, TypeAzurePostgreSQLSource, TypeAzureTableSource, TypeBlobSource, TypeCassandraSource, TypeConcurSource, TypeCopySource, TypeCouchbaseSource, TypeDocumentDbCollectionSource, TypeDrillSource, TypeDynamicsSource, TypeEloquaSource, TypeFileSystemSource, TypeGoogleBigQuerySource, TypeGreenplumSource, TypeHBaseSource, TypeHdfsSource, TypeHiveSource, TypeHTTPSource, TypeHubspotSource, TypeImpalaSource, TypeJiraSource, TypeMagentoSource, TypeMariaDBSource, TypeMarketoSource, TypeMongoDbSource, TypeNetezzaSource, TypeOracleSource, TypePaypalSource, TypePhoenixSource, TypePrestoSource, TypeQuickBooksSource, TypeRelationalSource, TypeResponsysSource, TypeSalesforceMarketingCloudSource, TypeSalesforceSource, TypeSapCloudForCustomerSource, TypeSapEccSource, TypeServiceNowSource, TypeShopifySource, TypeSparkSource, TypeSQLDWSource, TypeSQLSource, TypeSquareSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource}
1281}
1282
1283// TypeBasicCopyTranslator enumerates the values for type basic copy translator.
1284type TypeBasicCopyTranslator string
1285
1286const (
1287	// TypeCopyTranslator ...
1288	TypeCopyTranslator TypeBasicCopyTranslator = "CopyTranslator"
1289	// TypeTabularTranslator ...
1290	TypeTabularTranslator TypeBasicCopyTranslator = "TabularTranslator"
1291)
1292
1293// PossibleTypeBasicCopyTranslatorValues returns an array of possible values for the TypeBasicCopyTranslator const type.
1294func PossibleTypeBasicCopyTranslatorValues() []TypeBasicCopyTranslator {
1295	return []TypeBasicCopyTranslator{TypeCopyTranslator, TypeTabularTranslator}
1296}
1297
1298// TypeBasicDataset enumerates the values for type basic dataset.
1299type TypeBasicDataset string
1300
1301const (
1302	// TypeAmazonMWSObject ...
1303	TypeAmazonMWSObject TypeBasicDataset = "AmazonMWSObject"
1304	// TypeAmazonS3Object ...
1305	TypeAmazonS3Object TypeBasicDataset = "AmazonS3Object"
1306	// TypeAzureBlob ...
1307	TypeAzureBlob TypeBasicDataset = "AzureBlob"
1308	// TypeAzureDataLakeStoreFile ...
1309	TypeAzureDataLakeStoreFile TypeBasicDataset = "AzureDataLakeStoreFile"
1310	// TypeAzureMySQLTable ...
1311	TypeAzureMySQLTable TypeBasicDataset = "AzureMySqlTable"
1312	// TypeAzurePostgreSQLTable ...
1313	TypeAzurePostgreSQLTable TypeBasicDataset = "AzurePostgreSqlTable"
1314	// TypeAzureSearchIndex ...
1315	TypeAzureSearchIndex TypeBasicDataset = "AzureSearchIndex"
1316	// TypeAzureSQLDWTable ...
1317	TypeAzureSQLDWTable TypeBasicDataset = "AzureSqlDWTable"
1318	// TypeAzureSQLTable ...
1319	TypeAzureSQLTable TypeBasicDataset = "AzureSqlTable"
1320	// TypeAzureTable ...
1321	TypeAzureTable TypeBasicDataset = "AzureTable"
1322	// TypeCassandraTable ...
1323	TypeCassandraTable TypeBasicDataset = "CassandraTable"
1324	// TypeConcurObject ...
1325	TypeConcurObject TypeBasicDataset = "ConcurObject"
1326	// TypeCouchbaseTable ...
1327	TypeCouchbaseTable TypeBasicDataset = "CouchbaseTable"
1328	// TypeCustomDataset ...
1329	TypeCustomDataset TypeBasicDataset = "CustomDataset"
1330	// TypeDataset ...
1331	TypeDataset TypeBasicDataset = "Dataset"
1332	// TypeDocumentDbCollection ...
1333	TypeDocumentDbCollection TypeBasicDataset = "DocumentDbCollection"
1334	// TypeDrillTable ...
1335	TypeDrillTable TypeBasicDataset = "DrillTable"
1336	// TypeDynamicsEntity ...
1337	TypeDynamicsEntity TypeBasicDataset = "DynamicsEntity"
1338	// TypeEloquaObject ...
1339	TypeEloquaObject TypeBasicDataset = "EloquaObject"
1340	// TypeFileShare ...
1341	TypeFileShare TypeBasicDataset = "FileShare"
1342	// TypeGoogleBigQueryObject ...
1343	TypeGoogleBigQueryObject TypeBasicDataset = "GoogleBigQueryObject"
1344	// TypeGreenplumTable ...
1345	TypeGreenplumTable TypeBasicDataset = "GreenplumTable"
1346	// TypeHBaseObject ...
1347	TypeHBaseObject TypeBasicDataset = "HBaseObject"
1348	// TypeHiveObject ...
1349	TypeHiveObject TypeBasicDataset = "HiveObject"
1350	// TypeHTTPFile ...
1351	TypeHTTPFile TypeBasicDataset = "HttpFile"
1352	// TypeHubspotObject ...
1353	TypeHubspotObject TypeBasicDataset = "HubspotObject"
1354	// TypeImpalaObject ...
1355	TypeImpalaObject TypeBasicDataset = "ImpalaObject"
1356	// TypeJiraObject ...
1357	TypeJiraObject TypeBasicDataset = "JiraObject"
1358	// TypeMagentoObject ...
1359	TypeMagentoObject TypeBasicDataset = "MagentoObject"
1360	// TypeMariaDBTable ...
1361	TypeMariaDBTable TypeBasicDataset = "MariaDBTable"
1362	// TypeMarketoObject ...
1363	TypeMarketoObject TypeBasicDataset = "MarketoObject"
1364	// TypeMongoDbCollection ...
1365	TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection"
1366	// TypeNetezzaTable ...
1367	TypeNetezzaTable TypeBasicDataset = "NetezzaTable"
1368	// TypeODataResource ...
1369	TypeODataResource TypeBasicDataset = "ODataResource"
1370	// TypeOracleTable ...
1371	TypeOracleTable TypeBasicDataset = "OracleTable"
1372	// TypePaypalObject ...
1373	TypePaypalObject TypeBasicDataset = "PaypalObject"
1374	// TypePhoenixObject ...
1375	TypePhoenixObject TypeBasicDataset = "PhoenixObject"
1376	// TypePrestoObject ...
1377	TypePrestoObject TypeBasicDataset = "PrestoObject"
1378	// TypeQuickBooksObject ...
1379	TypeQuickBooksObject TypeBasicDataset = "QuickBooksObject"
1380	// TypeRelationalTable ...
1381	TypeRelationalTable TypeBasicDataset = "RelationalTable"
1382	// TypeResponsysObject ...
1383	TypeResponsysObject TypeBasicDataset = "ResponsysObject"
1384	// TypeSalesforceMarketingCloudObject ...
1385	TypeSalesforceMarketingCloudObject TypeBasicDataset = "SalesforceMarketingCloudObject"
1386	// TypeSalesforceObject ...
1387	TypeSalesforceObject TypeBasicDataset = "SalesforceObject"
1388	// TypeSapCloudForCustomerResource ...
1389	TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource"
1390	// TypeSapEccResource ...
1391	TypeSapEccResource TypeBasicDataset = "SapEccResource"
1392	// TypeServiceNowObject ...
1393	TypeServiceNowObject TypeBasicDataset = "ServiceNowObject"
1394	// TypeShopifyObject ...
1395	TypeShopifyObject TypeBasicDataset = "ShopifyObject"
1396	// TypeSparkObject ...
1397	TypeSparkObject TypeBasicDataset = "SparkObject"
1398	// TypeSQLServerTable ...
1399	TypeSQLServerTable TypeBasicDataset = "SqlServerTable"
1400	// TypeSquareObject ...
1401	TypeSquareObject TypeBasicDataset = "SquareObject"
1402	// TypeVerticaTable ...
1403	TypeVerticaTable TypeBasicDataset = "VerticaTable"
1404	// TypeWebTable ...
1405	TypeWebTable TypeBasicDataset = "WebTable"
1406	// TypeXeroObject ...
1407	TypeXeroObject TypeBasicDataset = "XeroObject"
1408	// TypeZohoObject ...
1409	TypeZohoObject TypeBasicDataset = "ZohoObject"
1410)
1411
1412// PossibleTypeBasicDatasetValues returns an array of possible values for the TypeBasicDataset const type.
1413func PossibleTypeBasicDatasetValues() []TypeBasicDataset {
1414	return []TypeBasicDataset{TypeAmazonMWSObject, TypeAmazonS3Object, TypeAzureBlob, TypeAzureDataLakeStoreFile, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLTable, TypeAzureTable, TypeCassandraTable, TypeConcurObject, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeJiraObject, TypeMagentoObject, TypeMariaDBTable, TypeMarketoObject, TypeMongoDbCollection, TypeNetezzaTable, TypeODataResource, TypeOracleTable, TypePaypalObject, TypePhoenixObject, TypePrestoObject, TypeQuickBooksObject, TypeRelationalTable, TypeResponsysObject, TypeSalesforceMarketingCloudObject, TypeSalesforceObject, TypeSapCloudForCustomerResource, TypeSapEccResource, TypeServiceNowObject, TypeShopifyObject, TypeSparkObject, TypeSQLServerTable, TypeSquareObject, TypeVerticaTable, TypeWebTable, TypeXeroObject, TypeZohoObject}
1415}
1416
1417// TypeBasicDatasetCompression enumerates the values for type basic dataset compression.
1418type TypeBasicDatasetCompression string
1419
1420const (
1421	// TypeBZip2 ...
1422	TypeBZip2 TypeBasicDatasetCompression = "BZip2"
1423	// TypeDatasetCompression ...
1424	TypeDatasetCompression TypeBasicDatasetCompression = "DatasetCompression"
1425	// TypeDeflate ...
1426	TypeDeflate TypeBasicDatasetCompression = "Deflate"
1427	// TypeGZip ...
1428	TypeGZip TypeBasicDatasetCompression = "GZip"
1429	// TypeZipDeflate ...
1430	TypeZipDeflate TypeBasicDatasetCompression = "ZipDeflate"
1431)
1432
1433// PossibleTypeBasicDatasetCompressionValues returns an array of possible values for the TypeBasicDatasetCompression const type.
1434func PossibleTypeBasicDatasetCompressionValues() []TypeBasicDatasetCompression {
1435	return []TypeBasicDatasetCompression{TypeBZip2, TypeDatasetCompression, TypeDeflate, TypeGZip, TypeZipDeflate}
1436}
1437
1438// TypeBasicDatasetStorageFormat enumerates the values for type basic dataset storage format.
1439type TypeBasicDatasetStorageFormat string
1440
1441const (
1442	// TypeAvroFormat ...
1443	TypeAvroFormat TypeBasicDatasetStorageFormat = "AvroFormat"
1444	// TypeDatasetStorageFormat ...
1445	TypeDatasetStorageFormat TypeBasicDatasetStorageFormat = "DatasetStorageFormat"
1446	// TypeJSONFormat ...
1447	TypeJSONFormat TypeBasicDatasetStorageFormat = "JsonFormat"
1448	// TypeOrcFormat ...
1449	TypeOrcFormat TypeBasicDatasetStorageFormat = "OrcFormat"
1450	// TypeParquetFormat ...
1451	TypeParquetFormat TypeBasicDatasetStorageFormat = "ParquetFormat"
1452	// TypeTextFormat ...
1453	TypeTextFormat TypeBasicDatasetStorageFormat = "TextFormat"
1454)
1455
1456// PossibleTypeBasicDatasetStorageFormatValues returns an array of possible values for the TypeBasicDatasetStorageFormat const type.
1457func PossibleTypeBasicDatasetStorageFormatValues() []TypeBasicDatasetStorageFormat {
1458	return []TypeBasicDatasetStorageFormat{TypeAvroFormat, TypeDatasetStorageFormat, TypeJSONFormat, TypeOrcFormat, TypeParquetFormat, TypeTextFormat}
1459}
1460
1461// TypeBasicIntegrationRuntime enumerates the values for type basic integration runtime.
1462type TypeBasicIntegrationRuntime string
1463
1464const (
1465	// TypeIntegrationRuntime ...
1466	TypeIntegrationRuntime TypeBasicIntegrationRuntime = "IntegrationRuntime"
1467	// TypeManaged ...
1468	TypeManaged TypeBasicIntegrationRuntime = "Managed"
1469	// TypeSelfHosted ...
1470	TypeSelfHosted TypeBasicIntegrationRuntime = "SelfHosted"
1471)
1472
1473// PossibleTypeBasicIntegrationRuntimeValues returns an array of possible values for the TypeBasicIntegrationRuntime const type.
1474func PossibleTypeBasicIntegrationRuntimeValues() []TypeBasicIntegrationRuntime {
1475	return []TypeBasicIntegrationRuntime{TypeIntegrationRuntime, TypeManaged, TypeSelfHosted}
1476}
1477
1478// TypeBasicIntegrationRuntimeStatus enumerates the values for type basic integration runtime status.
1479type TypeBasicIntegrationRuntimeStatus string
1480
1481const (
1482	// TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus ...
1483	TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus TypeBasicIntegrationRuntimeStatus = "IntegrationRuntimeStatus"
1484	// TypeBasicIntegrationRuntimeStatusTypeManaged ...
1485	TypeBasicIntegrationRuntimeStatusTypeManaged TypeBasicIntegrationRuntimeStatus = "Managed"
1486	// TypeBasicIntegrationRuntimeStatusTypeSelfHosted ...
1487	TypeBasicIntegrationRuntimeStatusTypeSelfHosted TypeBasicIntegrationRuntimeStatus = "SelfHosted"
1488)
1489
1490// PossibleTypeBasicIntegrationRuntimeStatusValues returns an array of possible values for the TypeBasicIntegrationRuntimeStatus const type.
1491func PossibleTypeBasicIntegrationRuntimeStatusValues() []TypeBasicIntegrationRuntimeStatus {
1492	return []TypeBasicIntegrationRuntimeStatus{TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus, TypeBasicIntegrationRuntimeStatusTypeManaged, TypeBasicIntegrationRuntimeStatusTypeSelfHosted}
1493}
1494
1495// TypeBasicLinkedService enumerates the values for type basic linked service.
1496type TypeBasicLinkedService string
1497
1498const (
1499	// TypeAmazonMWS ...
1500	TypeAmazonMWS TypeBasicLinkedService = "AmazonMWS"
1501	// TypeAmazonRedshift ...
1502	TypeAmazonRedshift TypeBasicLinkedService = "AmazonRedshift"
1503	// TypeAmazonS3 ...
1504	TypeAmazonS3 TypeBasicLinkedService = "AmazonS3"
1505	// TypeAzureBatch ...
1506	TypeAzureBatch TypeBasicLinkedService = "AzureBatch"
1507	// TypeAzureDatabricks ...
1508	TypeAzureDatabricks TypeBasicLinkedService = "AzureDatabricks"
1509	// TypeAzureDataLakeAnalytics ...
1510	TypeAzureDataLakeAnalytics TypeBasicLinkedService = "AzureDataLakeAnalytics"
1511	// TypeAzureDataLakeStore ...
1512	TypeAzureDataLakeStore TypeBasicLinkedService = "AzureDataLakeStore"
1513	// TypeAzureKeyVault ...
1514	TypeAzureKeyVault TypeBasicLinkedService = "AzureKeyVault"
1515	// TypeAzureML ...
1516	TypeAzureML TypeBasicLinkedService = "AzureML"
1517	// TypeAzureMySQL ...
1518	TypeAzureMySQL TypeBasicLinkedService = "AzureMySql"
1519	// TypeAzurePostgreSQL ...
1520	TypeAzurePostgreSQL TypeBasicLinkedService = "AzurePostgreSql"
1521	// TypeAzureSearch ...
1522	TypeAzureSearch TypeBasicLinkedService = "AzureSearch"
1523	// TypeAzureSQLDatabase ...
1524	TypeAzureSQLDatabase TypeBasicLinkedService = "AzureSqlDatabase"
1525	// TypeAzureSQLDW ...
1526	TypeAzureSQLDW TypeBasicLinkedService = "AzureSqlDW"
1527	// TypeAzureStorage ...
1528	TypeAzureStorage TypeBasicLinkedService = "AzureStorage"
1529	// TypeCassandra ...
1530	TypeCassandra TypeBasicLinkedService = "Cassandra"
1531	// TypeConcur ...
1532	TypeConcur TypeBasicLinkedService = "Concur"
1533	// TypeCosmosDb ...
1534	TypeCosmosDb TypeBasicLinkedService = "CosmosDb"
1535	// TypeCouchbase ...
1536	TypeCouchbase TypeBasicLinkedService = "Couchbase"
1537	// TypeCustomDataSource ...
1538	TypeCustomDataSource TypeBasicLinkedService = "CustomDataSource"
1539	// TypeDb2 ...
1540	TypeDb2 TypeBasicLinkedService = "Db2"
1541	// TypeDrill ...
1542	TypeDrill TypeBasicLinkedService = "Drill"
1543	// TypeDynamics ...
1544	TypeDynamics TypeBasicLinkedService = "Dynamics"
1545	// TypeEloqua ...
1546	TypeEloqua TypeBasicLinkedService = "Eloqua"
1547	// TypeFileServer ...
1548	TypeFileServer TypeBasicLinkedService = "FileServer"
1549	// TypeFtpServer ...
1550	TypeFtpServer TypeBasicLinkedService = "FtpServer"
1551	// TypeGoogleBigQuery ...
1552	TypeGoogleBigQuery TypeBasicLinkedService = "GoogleBigQuery"
1553	// TypeGreenplum ...
1554	TypeGreenplum TypeBasicLinkedService = "Greenplum"
1555	// TypeHBase ...
1556	TypeHBase TypeBasicLinkedService = "HBase"
1557	// TypeHdfs ...
1558	TypeHdfs TypeBasicLinkedService = "Hdfs"
1559	// TypeHDInsight ...
1560	TypeHDInsight TypeBasicLinkedService = "HDInsight"
1561	// TypeHDInsightOnDemand ...
1562	TypeHDInsightOnDemand TypeBasicLinkedService = "HDInsightOnDemand"
1563	// TypeHive ...
1564	TypeHive TypeBasicLinkedService = "Hive"
1565	// TypeHTTPServer ...
1566	TypeHTTPServer TypeBasicLinkedService = "HttpServer"
1567	// TypeHubspot ...
1568	TypeHubspot TypeBasicLinkedService = "Hubspot"
1569	// TypeImpala ...
1570	TypeImpala TypeBasicLinkedService = "Impala"
1571	// TypeJira ...
1572	TypeJira TypeBasicLinkedService = "Jira"
1573	// TypeLinkedService ...
1574	TypeLinkedService TypeBasicLinkedService = "LinkedService"
1575	// TypeMagento ...
1576	TypeMagento TypeBasicLinkedService = "Magento"
1577	// TypeMariaDB ...
1578	TypeMariaDB TypeBasicLinkedService = "MariaDB"
1579	// TypeMarketo ...
1580	TypeMarketo TypeBasicLinkedService = "Marketo"
1581	// TypeMongoDb ...
1582	TypeMongoDb TypeBasicLinkedService = "MongoDb"
1583	// TypeMySQL ...
1584	TypeMySQL TypeBasicLinkedService = "MySql"
1585	// TypeNetezza ...
1586	TypeNetezza TypeBasicLinkedService = "Netezza"
1587	// TypeOData ...
1588	TypeOData TypeBasicLinkedService = "OData"
1589	// TypeOdbc ...
1590	TypeOdbc TypeBasicLinkedService = "Odbc"
1591	// TypeOracle ...
1592	TypeOracle TypeBasicLinkedService = "Oracle"
1593	// TypePaypal ...
1594	TypePaypal TypeBasicLinkedService = "Paypal"
1595	// TypePhoenix ...
1596	TypePhoenix TypeBasicLinkedService = "Phoenix"
1597	// TypePostgreSQL ...
1598	TypePostgreSQL TypeBasicLinkedService = "PostgreSql"
1599	// TypePresto ...
1600	TypePresto TypeBasicLinkedService = "Presto"
1601	// TypeQuickBooks ...
1602	TypeQuickBooks TypeBasicLinkedService = "QuickBooks"
1603	// TypeResponsys ...
1604	TypeResponsys TypeBasicLinkedService = "Responsys"
1605	// TypeSalesforce ...
1606	TypeSalesforce TypeBasicLinkedService = "Salesforce"
1607	// TypeSalesforceMarketingCloud ...
1608	TypeSalesforceMarketingCloud TypeBasicLinkedService = "SalesforceMarketingCloud"
1609	// TypeSapBW ...
1610	TypeSapBW TypeBasicLinkedService = "SapBW"
1611	// TypeSapCloudForCustomer ...
1612	TypeSapCloudForCustomer TypeBasicLinkedService = "SapCloudForCustomer"
1613	// TypeSapEcc ...
1614	TypeSapEcc TypeBasicLinkedService = "SapEcc"
1615	// TypeSapHana ...
1616	TypeSapHana TypeBasicLinkedService = "SapHana"
1617	// TypeServiceNow ...
1618	TypeServiceNow TypeBasicLinkedService = "ServiceNow"
1619	// TypeSftp ...
1620	TypeSftp TypeBasicLinkedService = "Sftp"
1621	// TypeShopify ...
1622	TypeShopify TypeBasicLinkedService = "Shopify"
1623	// TypeSpark ...
1624	TypeSpark TypeBasicLinkedService = "Spark"
1625	// TypeSQLServer ...
1626	TypeSQLServer TypeBasicLinkedService = "SqlServer"
1627	// TypeSquare ...
1628	TypeSquare TypeBasicLinkedService = "Square"
1629	// TypeSybase ...
1630	TypeSybase TypeBasicLinkedService = "Sybase"
1631	// TypeTeradata ...
1632	TypeTeradata TypeBasicLinkedService = "Teradata"
1633	// TypeVertica ...
1634	TypeVertica TypeBasicLinkedService = "Vertica"
1635	// TypeWeb ...
1636	TypeWeb TypeBasicLinkedService = "Web"
1637	// TypeXero ...
1638	TypeXero TypeBasicLinkedService = "Xero"
1639	// TypeZoho ...
1640	TypeZoho TypeBasicLinkedService = "Zoho"
1641)
1642
1643// PossibleTypeBasicLinkedServiceValues returns an array of possible values for the TypeBasicLinkedService const type.
1644func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService {
1645	return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureDatabricks, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureKeyVault, TypeAzureML, TypeAzureMySQL, TypeAzurePostgreSQL, TypeAzureSearch, TypeAzureSQLDatabase, TypeAzureSQLDW, TypeAzureStorage, TypeCassandra, TypeConcur, TypeCosmosDb, TypeCouchbase, TypeCustomDataSource, TypeDb2, TypeDrill, TypeDynamics, TypeEloqua, TypeFileServer, TypeFtpServer, TypeGoogleBigQuery, TypeGreenplum, TypeHBase, TypeHdfs, TypeHDInsight, TypeHDInsightOnDemand, TypeHive, TypeHTTPServer, TypeHubspot, TypeImpala, TypeJira, TypeLinkedService, TypeMagento, TypeMariaDB, TypeMarketo, TypeMongoDb, TypeMySQL, TypeNetezza, TypeOData, TypeOdbc, TypeOracle, TypePaypal, TypePhoenix, TypePostgreSQL, TypePresto, TypeQuickBooks, TypeResponsys, TypeSalesforce, TypeSalesforceMarketingCloud, TypeSapBW, TypeSapCloudForCustomer, TypeSapEcc, TypeSapHana, TypeServiceNow, TypeSftp, TypeShopify, TypeSpark, TypeSQLServer, TypeSquare, TypeSybase, TypeTeradata, TypeVertica, TypeWeb, TypeXero, TypeZoho}
1646}
1647
1648// TypeBasicTrigger enumerates the values for type basic trigger.
1649type TypeBasicTrigger string
1650
1651const (
1652	// TypeBlobTrigger ...
1653	TypeBlobTrigger TypeBasicTrigger = "BlobTrigger"
1654	// TypeMultiplePipelineTrigger ...
1655	TypeMultiplePipelineTrigger TypeBasicTrigger = "MultiplePipelineTrigger"
1656	// TypeScheduleTrigger ...
1657	TypeScheduleTrigger TypeBasicTrigger = "ScheduleTrigger"
1658	// TypeTrigger ...
1659	TypeTrigger TypeBasicTrigger = "Trigger"
1660	// TypeTumblingWindowTrigger ...
1661	TypeTumblingWindowTrigger TypeBasicTrigger = "TumblingWindowTrigger"
1662)
1663
1664// PossibleTypeBasicTriggerValues returns an array of possible values for the TypeBasicTrigger const type.
1665func PossibleTypeBasicTriggerValues() []TypeBasicTrigger {
1666	return []TypeBasicTrigger{TypeBlobTrigger, TypeMultiplePipelineTrigger, TypeScheduleTrigger, TypeTrigger, TypeTumblingWindowTrigger}
1667}
1668
1669// WebActivityMethod enumerates the values for web activity method.
1670type WebActivityMethod string
1671
1672const (
1673	// DELETE ...
1674	DELETE WebActivityMethod = "DELETE"
1675	// GET ...
1676	GET WebActivityMethod = "GET"
1677	// POST ...
1678	POST WebActivityMethod = "POST"
1679	// PUT ...
1680	PUT WebActivityMethod = "PUT"
1681)
1682
1683// PossibleWebActivityMethodValues returns an array of possible values for the WebActivityMethod const type.
1684func PossibleWebActivityMethodValues() []WebActivityMethod {
1685	return []WebActivityMethod{DELETE, GET, POST, PUT}
1686}
1687
1688// BasicActivity a pipeline activity.
1689type BasicActivity interface {
1690	AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool)
1691	AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool)
1692	AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool)
1693	AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool)
1694	AsGetMetadataActivity() (*GetMetadataActivity, bool)
1695	AsWebActivity() (*WebActivity, bool)
1696	AsLookupActivity() (*LookupActivity, bool)
1697	AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool)
1698	AsCustomActivity() (*CustomActivity, bool)
1699	AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool)
1700	AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool)
1701	AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool)
1702	AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool)
1703	AsHDInsightPigActivity() (*HDInsightPigActivity, bool)
1704	AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool)
1705	AsCopyActivity() (*CopyActivity, bool)
1706	AsExecutionActivity() (*ExecutionActivity, bool)
1707	AsBasicExecutionActivity() (BasicExecutionActivity, bool)
1708	AsFilterActivity() (*FilterActivity, bool)
1709	AsUntilActivity() (*UntilActivity, bool)
1710	AsWaitActivity() (*WaitActivity, bool)
1711	AsForEachActivity() (*ForEachActivity, bool)
1712	AsIfConditionActivity() (*IfConditionActivity, bool)
1713	AsExecutePipelineActivity() (*ExecutePipelineActivity, bool)
1714	AsControlActivity() (*ControlActivity, bool)
1715	AsBasicControlActivity() (BasicControlActivity, bool)
1716	AsActivity() (*Activity, bool)
1717}
1718
1719// Activity a pipeline activity.
1720type Activity struct {
1721	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
1722	AdditionalProperties map[string]interface{} `json:""`
1723	// Name - Activity name.
1724	Name *string `json:"name,omitempty"`
1725	// Description - Activity description.
1726	Description *string `json:"description,omitempty"`
1727	// DependsOn - Activity depends on condition.
1728	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
1729	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
1730	Type TypeBasicActivity `json:"type,omitempty"`
1731}
1732
1733func unmarshalBasicActivity(body []byte) (BasicActivity, error) {
1734	var m map[string]interface{}
1735	err := json.Unmarshal(body, &m)
1736	if err != nil {
1737		return nil, err
1738	}
1739
1740	switch m["type"] {
1741	case string(TypeDatabricksNotebook):
1742		var dna DatabricksNotebookActivity
1743		err := json.Unmarshal(body, &dna)
1744		return dna, err
1745	case string(TypeDataLakeAnalyticsUSQL):
1746		var dlaua DataLakeAnalyticsUSQLActivity
1747		err := json.Unmarshal(body, &dlaua)
1748		return dlaua, err
1749	case string(TypeAzureMLUpdateResource):
1750		var amura AzureMLUpdateResourceActivity
1751		err := json.Unmarshal(body, &amura)
1752		return amura, err
1753	case string(TypeAzureMLBatchExecution):
1754		var ambea AzureMLBatchExecutionActivity
1755		err := json.Unmarshal(body, &ambea)
1756		return ambea, err
1757	case string(TypeGetMetadata):
1758		var gma GetMetadataActivity
1759		err := json.Unmarshal(body, &gma)
1760		return gma, err
1761	case string(TypeWebActivity):
1762		var wa WebActivity
1763		err := json.Unmarshal(body, &wa)
1764		return wa, err
1765	case string(TypeLookup):
1766		var la LookupActivity
1767		err := json.Unmarshal(body, &la)
1768		return la, err
1769	case string(TypeSQLServerStoredProcedure):
1770		var ssspa SQLServerStoredProcedureActivity
1771		err := json.Unmarshal(body, &ssspa)
1772		return ssspa, err
1773	case string(TypeCustom):
1774		var ca CustomActivity
1775		err := json.Unmarshal(body, &ca)
1776		return ca, err
1777	case string(TypeExecuteSSISPackage):
1778		var espa ExecuteSSISPackageActivity
1779		err := json.Unmarshal(body, &espa)
1780		return espa, err
1781	case string(TypeHDInsightSpark):
1782		var hisa HDInsightSparkActivity
1783		err := json.Unmarshal(body, &hisa)
1784		return hisa, err
1785	case string(TypeHDInsightStreaming):
1786		var hisa HDInsightStreamingActivity
1787		err := json.Unmarshal(body, &hisa)
1788		return hisa, err
1789	case string(TypeHDInsightMapReduce):
1790		var himra HDInsightMapReduceActivity
1791		err := json.Unmarshal(body, &himra)
1792		return himra, err
1793	case string(TypeHDInsightPig):
1794		var hipa HDInsightPigActivity
1795		err := json.Unmarshal(body, &hipa)
1796		return hipa, err
1797	case string(TypeHDInsightHive):
1798		var hiha HDInsightHiveActivity
1799		err := json.Unmarshal(body, &hiha)
1800		return hiha, err
1801	case string(TypeCopy):
1802		var ca CopyActivity
1803		err := json.Unmarshal(body, &ca)
1804		return ca, err
1805	case string(TypeExecution):
1806		var ea ExecutionActivity
1807		err := json.Unmarshal(body, &ea)
1808		return ea, err
1809	case string(TypeFilter):
1810		var fa FilterActivity
1811		err := json.Unmarshal(body, &fa)
1812		return fa, err
1813	case string(TypeUntil):
1814		var ua UntilActivity
1815		err := json.Unmarshal(body, &ua)
1816		return ua, err
1817	case string(TypeWait):
1818		var wa WaitActivity
1819		err := json.Unmarshal(body, &wa)
1820		return wa, err
1821	case string(TypeForEach):
1822		var fea ForEachActivity
1823		err := json.Unmarshal(body, &fea)
1824		return fea, err
1825	case string(TypeIfCondition):
1826		var ica IfConditionActivity
1827		err := json.Unmarshal(body, &ica)
1828		return ica, err
1829	case string(TypeExecutePipeline):
1830		var epa ExecutePipelineActivity
1831		err := json.Unmarshal(body, &epa)
1832		return epa, err
1833	case string(TypeContainer):
1834		var ca ControlActivity
1835		err := json.Unmarshal(body, &ca)
1836		return ca, err
1837	default:
1838		var a Activity
1839		err := json.Unmarshal(body, &a)
1840		return a, err
1841	}
1842}
1843func unmarshalBasicActivityArray(body []byte) ([]BasicActivity, error) {
1844	var rawMessages []*json.RawMessage
1845	err := json.Unmarshal(body, &rawMessages)
1846	if err != nil {
1847		return nil, err
1848	}
1849
1850	aArray := make([]BasicActivity, len(rawMessages))
1851
1852	for index, rawMessage := range rawMessages {
1853		a, err := unmarshalBasicActivity(*rawMessage)
1854		if err != nil {
1855			return nil, err
1856		}
1857		aArray[index] = a
1858	}
1859	return aArray, nil
1860}
1861
1862// MarshalJSON is the custom marshaler for Activity.
1863func (a Activity) MarshalJSON() ([]byte, error) {
1864	a.Type = TypeActivity
1865	objectMap := make(map[string]interface{})
1866	if a.Name != nil {
1867		objectMap["name"] = a.Name
1868	}
1869	if a.Description != nil {
1870		objectMap["description"] = a.Description
1871	}
1872	if a.DependsOn != nil {
1873		objectMap["dependsOn"] = a.DependsOn
1874	}
1875	if a.Type != "" {
1876		objectMap["type"] = a.Type
1877	}
1878	for k, v := range a.AdditionalProperties {
1879		objectMap[k] = v
1880	}
1881	return json.Marshal(objectMap)
1882}
1883
1884// AsDatabricksNotebookActivity is the BasicActivity implementation for Activity.
1885func (a Activity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
1886	return nil, false
1887}
1888
1889// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for Activity.
1890func (a Activity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
1891	return nil, false
1892}
1893
1894// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for Activity.
1895func (a Activity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
1896	return nil, false
1897}
1898
1899// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for Activity.
1900func (a Activity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
1901	return nil, false
1902}
1903
1904// AsGetMetadataActivity is the BasicActivity implementation for Activity.
1905func (a Activity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
1906	return nil, false
1907}
1908
1909// AsWebActivity is the BasicActivity implementation for Activity.
1910func (a Activity) AsWebActivity() (*WebActivity, bool) {
1911	return nil, false
1912}
1913
1914// AsLookupActivity is the BasicActivity implementation for Activity.
1915func (a Activity) AsLookupActivity() (*LookupActivity, bool) {
1916	return nil, false
1917}
1918
1919// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for Activity.
1920func (a Activity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
1921	return nil, false
1922}
1923
1924// AsCustomActivity is the BasicActivity implementation for Activity.
1925func (a Activity) AsCustomActivity() (*CustomActivity, bool) {
1926	return nil, false
1927}
1928
1929// AsExecuteSSISPackageActivity is the BasicActivity implementation for Activity.
1930func (a Activity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
1931	return nil, false
1932}
1933
1934// AsHDInsightSparkActivity is the BasicActivity implementation for Activity.
1935func (a Activity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
1936	return nil, false
1937}
1938
1939// AsHDInsightStreamingActivity is the BasicActivity implementation for Activity.
1940func (a Activity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
1941	return nil, false
1942}
1943
1944// AsHDInsightMapReduceActivity is the BasicActivity implementation for Activity.
1945func (a Activity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
1946	return nil, false
1947}
1948
1949// AsHDInsightPigActivity is the BasicActivity implementation for Activity.
1950func (a Activity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
1951	return nil, false
1952}
1953
1954// AsHDInsightHiveActivity is the BasicActivity implementation for Activity.
1955func (a Activity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
1956	return nil, false
1957}
1958
1959// AsCopyActivity is the BasicActivity implementation for Activity.
1960func (a Activity) AsCopyActivity() (*CopyActivity, bool) {
1961	return nil, false
1962}
1963
1964// AsExecutionActivity is the BasicActivity implementation for Activity.
1965func (a Activity) AsExecutionActivity() (*ExecutionActivity, bool) {
1966	return nil, false
1967}
1968
1969// AsBasicExecutionActivity is the BasicActivity implementation for Activity.
1970func (a Activity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
1971	return nil, false
1972}
1973
1974// AsFilterActivity is the BasicActivity implementation for Activity.
1975func (a Activity) AsFilterActivity() (*FilterActivity, bool) {
1976	return nil, false
1977}
1978
1979// AsUntilActivity is the BasicActivity implementation for Activity.
1980func (a Activity) AsUntilActivity() (*UntilActivity, bool) {
1981	return nil, false
1982}
1983
1984// AsWaitActivity is the BasicActivity implementation for Activity.
1985func (a Activity) AsWaitActivity() (*WaitActivity, bool) {
1986	return nil, false
1987}
1988
1989// AsForEachActivity is the BasicActivity implementation for Activity.
1990func (a Activity) AsForEachActivity() (*ForEachActivity, bool) {
1991	return nil, false
1992}
1993
1994// AsIfConditionActivity is the BasicActivity implementation for Activity.
1995func (a Activity) AsIfConditionActivity() (*IfConditionActivity, bool) {
1996	return nil, false
1997}
1998
1999// AsExecutePipelineActivity is the BasicActivity implementation for Activity.
2000func (a Activity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
2001	return nil, false
2002}
2003
2004// AsControlActivity is the BasicActivity implementation for Activity.
2005func (a Activity) AsControlActivity() (*ControlActivity, bool) {
2006	return nil, false
2007}
2008
2009// AsBasicControlActivity is the BasicActivity implementation for Activity.
2010func (a Activity) AsBasicControlActivity() (BasicControlActivity, bool) {
2011	return nil, false
2012}
2013
2014// AsActivity is the BasicActivity implementation for Activity.
2015func (a Activity) AsActivity() (*Activity, bool) {
2016	return &a, true
2017}
2018
2019// AsBasicActivity is the BasicActivity implementation for Activity.
2020func (a Activity) AsBasicActivity() (BasicActivity, bool) {
2021	return &a, true
2022}
2023
2024// ActivityDependency activity dependency information.
2025type ActivityDependency struct {
2026	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
2027	AdditionalProperties map[string]interface{} `json:""`
2028	// Activity - Activity name.
2029	Activity *string `json:"activity,omitempty"`
2030	// DependencyConditions - Match-Condition for the dependency.
2031	DependencyConditions *[]DependencyCondition `json:"dependencyConditions,omitempty"`
2032}
2033
2034// MarshalJSON is the custom marshaler for ActivityDependency.
2035func (ad ActivityDependency) MarshalJSON() ([]byte, error) {
2036	objectMap := make(map[string]interface{})
2037	if ad.Activity != nil {
2038		objectMap["activity"] = ad.Activity
2039	}
2040	if ad.DependencyConditions != nil {
2041		objectMap["dependencyConditions"] = ad.DependencyConditions
2042	}
2043	for k, v := range ad.AdditionalProperties {
2044		objectMap[k] = v
2045	}
2046	return json.Marshal(objectMap)
2047}
2048
2049// ActivityPolicy execution policy for an activity.
2050type ActivityPolicy struct {
2051	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
2052	AdditionalProperties map[string]interface{} `json:""`
2053	// Timeout - Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
2054	Timeout interface{} `json:"timeout,omitempty"`
2055	// Retry - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
2056	Retry interface{} `json:"retry,omitempty"`
2057	// RetryIntervalInSeconds - Interval between each retry attempt (in seconds). The default is 30 sec.
2058	RetryIntervalInSeconds *int32 `json:"retryIntervalInSeconds,omitempty"`
2059	// SecureOutput - When set to true, Output from activity is considered as secure and will not be logged to monitoring.
2060	SecureOutput *bool `json:"secureOutput,omitempty"`
2061}
2062
2063// MarshalJSON is the custom marshaler for ActivityPolicy.
2064func (ap ActivityPolicy) MarshalJSON() ([]byte, error) {
2065	objectMap := make(map[string]interface{})
2066	objectMap["timeout"] = ap.Timeout
2067	objectMap["retry"] = ap.Retry
2068	if ap.RetryIntervalInSeconds != nil {
2069		objectMap["retryIntervalInSeconds"] = ap.RetryIntervalInSeconds
2070	}
2071	if ap.SecureOutput != nil {
2072		objectMap["secureOutput"] = ap.SecureOutput
2073	}
2074	for k, v := range ap.AdditionalProperties {
2075		objectMap[k] = v
2076	}
2077	return json.Marshal(objectMap)
2078}
2079
2080// ActivityRun information about an activity run in a pipeline.
2081type ActivityRun struct {
2082	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
2083	AdditionalProperties map[string]interface{} `json:""`
2084	// PipelineName - The name of the pipeline.
2085	PipelineName *string `json:"pipelineName,omitempty"`
2086	// PipelineRunID - The id of the pipeline run.
2087	PipelineRunID *string `json:"pipelineRunId,omitempty"`
2088	// ActivityName - The name of the activity.
2089	ActivityName *string `json:"activityName,omitempty"`
2090	// ActivityType - The type of the activity.
2091	ActivityType *string `json:"activityType,omitempty"`
2092	// ActivityRunID - The id of the activity run.
2093	ActivityRunID *string `json:"activityRunId,omitempty"`
2094	// LinkedServiceName - The name of the compute linked service.
2095	LinkedServiceName *string `json:"linkedServiceName,omitempty"`
2096	// Status - The status of the activity run.
2097	Status *string `json:"status,omitempty"`
2098	// ActivityRunStart - The start time of the activity run in 'ISO 8601' format.
2099	ActivityRunStart *date.Time `json:"activityRunStart,omitempty"`
2100	// ActivityRunEnd - The end time of the activity run in 'ISO 8601' format.
2101	ActivityRunEnd *date.Time `json:"activityRunEnd,omitempty"`
2102	// DurationInMs - The duration of the activity run.
2103	DurationInMs *int32 `json:"durationInMs,omitempty"`
2104	// Input - The input for the activity.
2105	Input interface{} `json:"input,omitempty"`
2106	// Output - The output for the activity.
2107	Output interface{} `json:"output,omitempty"`
2108	// Error - The error if any from the activity run.
2109	Error interface{} `json:"error,omitempty"`
2110}
2111
2112// MarshalJSON is the custom marshaler for ActivityRun.
2113func (ar ActivityRun) MarshalJSON() ([]byte, error) {
2114	objectMap := make(map[string]interface{})
2115	if ar.PipelineName != nil {
2116		objectMap["pipelineName"] = ar.PipelineName
2117	}
2118	if ar.PipelineRunID != nil {
2119		objectMap["pipelineRunId"] = ar.PipelineRunID
2120	}
2121	if ar.ActivityName != nil {
2122		objectMap["activityName"] = ar.ActivityName
2123	}
2124	if ar.ActivityType != nil {
2125		objectMap["activityType"] = ar.ActivityType
2126	}
2127	if ar.ActivityRunID != nil {
2128		objectMap["activityRunId"] = ar.ActivityRunID
2129	}
2130	if ar.LinkedServiceName != nil {
2131		objectMap["linkedServiceName"] = ar.LinkedServiceName
2132	}
2133	if ar.Status != nil {
2134		objectMap["status"] = ar.Status
2135	}
2136	if ar.ActivityRunStart != nil {
2137		objectMap["activityRunStart"] = ar.ActivityRunStart
2138	}
2139	if ar.ActivityRunEnd != nil {
2140		objectMap["activityRunEnd"] = ar.ActivityRunEnd
2141	}
2142	if ar.DurationInMs != nil {
2143		objectMap["durationInMs"] = ar.DurationInMs
2144	}
2145	objectMap["input"] = ar.Input
2146	objectMap["output"] = ar.Output
2147	objectMap["error"] = ar.Error
2148	for k, v := range ar.AdditionalProperties {
2149		objectMap[k] = v
2150	}
2151	return json.Marshal(objectMap)
2152}
2153
2154// ActivityRunsListResponse a list activity runs.
2155type ActivityRunsListResponse struct {
2156	autorest.Response `json:"-"`
2157	// Value - List of activity runs.
2158	Value *[]ActivityRun `json:"value,omitempty"`
2159	// NextLink - The link to the next page of results, if any remaining results exist.
2160	NextLink *string `json:"nextLink,omitempty"`
2161}
2162
2163// ActivityRunsListResponseIterator provides access to a complete listing of ActivityRun values.
2164type ActivityRunsListResponseIterator struct {
2165	i    int
2166	page ActivityRunsListResponsePage
2167}
2168
2169// Next advances to the next value.  If there was an error making
2170// the request the iterator does not advance and the error is returned.
2171func (iter *ActivityRunsListResponseIterator) Next() error {
2172	iter.i++
2173	if iter.i < len(iter.page.Values()) {
2174		return nil
2175	}
2176	err := iter.page.Next()
2177	if err != nil {
2178		iter.i--
2179		return err
2180	}
2181	iter.i = 0
2182	return nil
2183}
2184
2185// NotDone returns true if the enumeration should be started or is not yet complete.
2186func (iter ActivityRunsListResponseIterator) NotDone() bool {
2187	return iter.page.NotDone() && iter.i < len(iter.page.Values())
2188}
2189
2190// Response returns the raw server response from the last page request.
2191func (iter ActivityRunsListResponseIterator) Response() ActivityRunsListResponse {
2192	return iter.page.Response()
2193}
2194
2195// Value returns the current value or a zero-initialized value if the
2196// iterator has advanced beyond the end of the collection.
2197func (iter ActivityRunsListResponseIterator) Value() ActivityRun {
2198	if !iter.page.NotDone() {
2199		return ActivityRun{}
2200	}
2201	return iter.page.Values()[iter.i]
2202}
2203
2204// IsEmpty returns true if the ListResult contains no values.
2205func (arlr ActivityRunsListResponse) IsEmpty() bool {
2206	return arlr.Value == nil || len(*arlr.Value) == 0
2207}
2208
2209// activityRunsListResponsePreparer prepares a request to retrieve the next set of results.
2210// It returns nil if no more results exist.
2211func (arlr ActivityRunsListResponse) activityRunsListResponsePreparer() (*http.Request, error) {
2212	if arlr.NextLink == nil || len(to.String(arlr.NextLink)) < 1 {
2213		return nil, nil
2214	}
2215	return autorest.Prepare(&http.Request{},
2216		autorest.AsJSON(),
2217		autorest.AsGet(),
2218		autorest.WithBaseURL(to.String(arlr.NextLink)))
2219}
2220
2221// ActivityRunsListResponsePage contains a page of ActivityRun values.
2222type ActivityRunsListResponsePage struct {
2223	fn   func(ActivityRunsListResponse) (ActivityRunsListResponse, error)
2224	arlr ActivityRunsListResponse
2225}
2226
2227// Next advances to the next page of values.  If there was an error making
2228// the request the page does not advance and the error is returned.
2229func (page *ActivityRunsListResponsePage) Next() error {
2230	next, err := page.fn(page.arlr)
2231	if err != nil {
2232		return err
2233	}
2234	page.arlr = next
2235	return nil
2236}
2237
2238// NotDone returns true if the page enumeration should be started or is not yet complete.
2239func (page ActivityRunsListResponsePage) NotDone() bool {
2240	return !page.arlr.IsEmpty()
2241}
2242
2243// Response returns the raw server response from the last page request.
2244func (page ActivityRunsListResponsePage) Response() ActivityRunsListResponse {
2245	return page.arlr
2246}
2247
2248// Values returns the slice of values for the current page or nil if there are no values.
2249func (page ActivityRunsListResponsePage) Values() []ActivityRun {
2250	if page.arlr.IsEmpty() {
2251		return nil
2252	}
2253	return *page.arlr.Value
2254}
2255
2256// AmazonMWSLinkedService amazon Marketplace Web Service linked service.
2257type AmazonMWSLinkedService struct {
2258	// AmazonMWSLinkedServiceTypeProperties - Amazon Marketplace Web Service linked service properties.
2259	*AmazonMWSLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
2260	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
2261	AdditionalProperties map[string]interface{} `json:""`
2262	// ConnectVia - The integration runtime reference.
2263	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
2264	// Description - Linked service description.
2265	Description *string `json:"description,omitempty"`
2266	// Parameters - Parameters for linked service.
2267	Parameters map[string]*ParameterSpecification `json:"parameters"`
2268	// Annotations - List of tags that can be used for describing the Dataset.
2269	Annotations *[]interface{} `json:"annotations,omitempty"`
2270	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
2271	Type TypeBasicLinkedService `json:"type,omitempty"`
2272}
2273
2274// MarshalJSON is the custom marshaler for AmazonMWSLinkedService.
2275func (amls AmazonMWSLinkedService) MarshalJSON() ([]byte, error) {
2276	amls.Type = TypeAmazonMWS
2277	objectMap := make(map[string]interface{})
2278	if amls.AmazonMWSLinkedServiceTypeProperties != nil {
2279		objectMap["typeProperties"] = amls.AmazonMWSLinkedServiceTypeProperties
2280	}
2281	if amls.ConnectVia != nil {
2282		objectMap["connectVia"] = amls.ConnectVia
2283	}
2284	if amls.Description != nil {
2285		objectMap["description"] = amls.Description
2286	}
2287	if amls.Parameters != nil {
2288		objectMap["parameters"] = amls.Parameters
2289	}
2290	if amls.Annotations != nil {
2291		objectMap["annotations"] = amls.Annotations
2292	}
2293	if amls.Type != "" {
2294		objectMap["type"] = amls.Type
2295	}
2296	for k, v := range amls.AdditionalProperties {
2297		objectMap[k] = v
2298	}
2299	return json.Marshal(objectMap)
2300}
2301
2302// AsResponsysLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2303func (amls AmazonMWSLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
2304	return nil, false
2305}
2306
2307// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2308func (amls AmazonMWSLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
2309	return nil, false
2310}
2311
2312// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2313func (amls AmazonMWSLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
2314	return nil, false
2315}
2316
2317// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2318func (amls AmazonMWSLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
2319	return nil, false
2320}
2321
2322// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2323func (amls AmazonMWSLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
2324	return nil, false
2325}
2326
2327// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2328func (amls AmazonMWSLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
2329	return nil, false
2330}
2331
2332// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2333func (amls AmazonMWSLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
2334	return nil, false
2335}
2336
2337// AsZohoLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2338func (amls AmazonMWSLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
2339	return nil, false
2340}
2341
2342// AsXeroLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2343func (amls AmazonMWSLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
2344	return nil, false
2345}
2346
2347// AsSquareLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2348func (amls AmazonMWSLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
2349	return nil, false
2350}
2351
2352// AsSparkLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2353func (amls AmazonMWSLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
2354	return nil, false
2355}
2356
2357// AsShopifyLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2358func (amls AmazonMWSLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
2359	return nil, false
2360}
2361
2362// AsServiceNowLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2363func (amls AmazonMWSLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
2364	return nil, false
2365}
2366
2367// AsQuickBooksLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2368func (amls AmazonMWSLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
2369	return nil, false
2370}
2371
2372// AsPrestoLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2373func (amls AmazonMWSLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
2374	return nil, false
2375}
2376
2377// AsPhoenixLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2378func (amls AmazonMWSLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
2379	return nil, false
2380}
2381
2382// AsPaypalLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2383func (amls AmazonMWSLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
2384	return nil, false
2385}
2386
2387// AsMarketoLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2388func (amls AmazonMWSLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
2389	return nil, false
2390}
2391
2392// AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2393func (amls AmazonMWSLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
2394	return nil, false
2395}
2396
2397// AsMagentoLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2398func (amls AmazonMWSLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
2399	return nil, false
2400}
2401
2402// AsJiraLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2403func (amls AmazonMWSLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
2404	return nil, false
2405}
2406
2407// AsImpalaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2408func (amls AmazonMWSLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
2409	return nil, false
2410}
2411
2412// AsHubspotLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2413func (amls AmazonMWSLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
2414	return nil, false
2415}
2416
2417// AsHiveLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2418func (amls AmazonMWSLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
2419	return nil, false
2420}
2421
2422// AsHBaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2423func (amls AmazonMWSLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
2424	return nil, false
2425}
2426
2427// AsGreenplumLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2428func (amls AmazonMWSLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
2429	return nil, false
2430}
2431
2432// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2433func (amls AmazonMWSLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
2434	return nil, false
2435}
2436
2437// AsEloquaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2438func (amls AmazonMWSLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
2439	return nil, false
2440}
2441
2442// AsDrillLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2443func (amls AmazonMWSLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
2444	return nil, false
2445}
2446
2447// AsCouchbaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2448func (amls AmazonMWSLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
2449	return nil, false
2450}
2451
2452// AsConcurLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2453func (amls AmazonMWSLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
2454	return nil, false
2455}
2456
2457// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2458func (amls AmazonMWSLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
2459	return nil, false
2460}
2461
2462// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2463func (amls AmazonMWSLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
2464	return &amls, true
2465}
2466
2467// AsSapHanaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2468func (amls AmazonMWSLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
2469	return nil, false
2470}
2471
2472// AsSapBWLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2473func (amls AmazonMWSLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
2474	return nil, false
2475}
2476
2477// AsSftpServerLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2478func (amls AmazonMWSLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
2479	return nil, false
2480}
2481
2482// AsFtpServerLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2483func (amls AmazonMWSLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
2484	return nil, false
2485}
2486
2487// AsHTTPLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2488func (amls AmazonMWSLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
2489	return nil, false
2490}
2491
2492// AsAzureSearchLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2493func (amls AmazonMWSLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
2494	return nil, false
2495}
2496
2497// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2498func (amls AmazonMWSLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
2499	return nil, false
2500}
2501
2502// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2503func (amls AmazonMWSLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
2504	return nil, false
2505}
2506
2507// AsAmazonS3LinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2508func (amls AmazonMWSLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
2509	return nil, false
2510}
2511
2512// AsSapEccLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2513func (amls AmazonMWSLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
2514	return nil, false
2515}
2516
2517// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2518func (amls AmazonMWSLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
2519	return nil, false
2520}
2521
2522// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2523func (amls AmazonMWSLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
2524	return nil, false
2525}
2526
2527// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2528func (amls AmazonMWSLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
2529	return nil, false
2530}
2531
2532// AsMongoDbLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2533func (amls AmazonMWSLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
2534	return nil, false
2535}
2536
2537// AsCassandraLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2538func (amls AmazonMWSLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
2539	return nil, false
2540}
2541
2542// AsWebLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2543func (amls AmazonMWSLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
2544	return nil, false
2545}
2546
2547// AsODataLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2548func (amls AmazonMWSLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
2549	return nil, false
2550}
2551
2552// AsHdfsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2553func (amls AmazonMWSLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
2554	return nil, false
2555}
2556
2557// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2558func (amls AmazonMWSLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
2559	return nil, false
2560}
2561
2562// AsAzureMLLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2563func (amls AmazonMWSLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
2564	return nil, false
2565}
2566
2567// AsTeradataLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2568func (amls AmazonMWSLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
2569	return nil, false
2570}
2571
2572// AsDb2LinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2573func (amls AmazonMWSLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
2574	return nil, false
2575}
2576
2577// AsSybaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2578func (amls AmazonMWSLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
2579	return nil, false
2580}
2581
2582// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2583func (amls AmazonMWSLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
2584	return nil, false
2585}
2586
2587// AsMySQLLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2588func (amls AmazonMWSLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
2589	return nil, false
2590}
2591
2592// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2593func (amls AmazonMWSLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
2594	return nil, false
2595}
2596
2597// AsOracleLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2598func (amls AmazonMWSLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
2599	return nil, false
2600}
2601
2602// AsFileServerLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2603func (amls AmazonMWSLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
2604	return nil, false
2605}
2606
2607// AsHDInsightLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2608func (amls AmazonMWSLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
2609	return nil, false
2610}
2611
2612// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2613func (amls AmazonMWSLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
2614	return nil, false
2615}
2616
2617// AsCosmosDbLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2618func (amls AmazonMWSLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
2619	return nil, false
2620}
2621
2622// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2623func (amls AmazonMWSLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
2624	return nil, false
2625}
2626
2627// AsAzureBatchLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2628func (amls AmazonMWSLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
2629	return nil, false
2630}
2631
2632// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2633func (amls AmazonMWSLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
2634	return nil, false
2635}
2636
2637// AsSQLServerLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2638func (amls AmazonMWSLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
2639	return nil, false
2640}
2641
2642// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2643func (amls AmazonMWSLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
2644	return nil, false
2645}
2646
2647// AsAzureStorageLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2648func (amls AmazonMWSLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
2649	return nil, false
2650}
2651
2652// AsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2653func (amls AmazonMWSLinkedService) AsLinkedService() (*LinkedService, bool) {
2654	return nil, false
2655}
2656
2657// AsBasicLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService.
2658func (amls AmazonMWSLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
2659	return &amls, true
2660}
2661
2662// UnmarshalJSON is the custom unmarshaler for AmazonMWSLinkedService struct.
2663func (amls *AmazonMWSLinkedService) UnmarshalJSON(body []byte) error {
2664	var m map[string]*json.RawMessage
2665	err := json.Unmarshal(body, &m)
2666	if err != nil {
2667		return err
2668	}
2669	for k, v := range m {
2670		switch k {
2671		case "typeProperties":
2672			if v != nil {
2673				var amazonMWSLinkedServiceTypeProperties AmazonMWSLinkedServiceTypeProperties
2674				err = json.Unmarshal(*v, &amazonMWSLinkedServiceTypeProperties)
2675				if err != nil {
2676					return err
2677				}
2678				amls.AmazonMWSLinkedServiceTypeProperties = &amazonMWSLinkedServiceTypeProperties
2679			}
2680		default:
2681			if v != nil {
2682				var additionalProperties interface{}
2683				err = json.Unmarshal(*v, &additionalProperties)
2684				if err != nil {
2685					return err
2686				}
2687				if amls.AdditionalProperties == nil {
2688					amls.AdditionalProperties = make(map[string]interface{})
2689				}
2690				amls.AdditionalProperties[k] = additionalProperties
2691			}
2692		case "connectVia":
2693			if v != nil {
2694				var connectVia IntegrationRuntimeReference
2695				err = json.Unmarshal(*v, &connectVia)
2696				if err != nil {
2697					return err
2698				}
2699				amls.ConnectVia = &connectVia
2700			}
2701		case "description":
2702			if v != nil {
2703				var description string
2704				err = json.Unmarshal(*v, &description)
2705				if err != nil {
2706					return err
2707				}
2708				amls.Description = &description
2709			}
2710		case "parameters":
2711			if v != nil {
2712				var parameters map[string]*ParameterSpecification
2713				err = json.Unmarshal(*v, &parameters)
2714				if err != nil {
2715					return err
2716				}
2717				amls.Parameters = parameters
2718			}
2719		case "annotations":
2720			if v != nil {
2721				var annotations []interface{}
2722				err = json.Unmarshal(*v, &annotations)
2723				if err != nil {
2724					return err
2725				}
2726				amls.Annotations = &annotations
2727			}
2728		case "type":
2729			if v != nil {
2730				var typeVar TypeBasicLinkedService
2731				err = json.Unmarshal(*v, &typeVar)
2732				if err != nil {
2733					return err
2734				}
2735				amls.Type = typeVar
2736			}
2737		}
2738	}
2739
2740	return nil
2741}
2742
2743// AmazonMWSLinkedServiceTypeProperties amazon Marketplace Web Service linked service properties.
2744type AmazonMWSLinkedServiceTypeProperties struct {
2745	// Endpoint - The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com)
2746	Endpoint interface{} `json:"endpoint,omitempty"`
2747	// MarketplaceID - The Amazon Marketplace ID you want to retrieve data from. To retrive data from multiple Marketplace IDs, seperate them with a comma (,). (i.e. A2EUQ1WTGCTBG2)
2748	MarketplaceID interface{} `json:"marketplaceID,omitempty"`
2749	// SellerID - The Amazon seller ID.
2750	SellerID interface{} `json:"sellerID,omitempty"`
2751	// MwsAuthToken - The Amazon MWS authentication token.
2752	MwsAuthToken BasicSecretBase `json:"mwsAuthToken,omitempty"`
2753	// AccessKeyID - The access key id used to access data.
2754	AccessKeyID interface{} `json:"accessKeyId,omitempty"`
2755	// SecretKey - The secret key used to access data.
2756	SecretKey BasicSecretBase `json:"secretKey,omitempty"`
2757	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
2758	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
2759	// 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.
2760	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
2761	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
2762	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
2763	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
2764	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
2765}
2766
2767// UnmarshalJSON is the custom unmarshaler for AmazonMWSLinkedServiceTypeProperties struct.
2768func (amlstp *AmazonMWSLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
2769	var m map[string]*json.RawMessage
2770	err := json.Unmarshal(body, &m)
2771	if err != nil {
2772		return err
2773	}
2774	for k, v := range m {
2775		switch k {
2776		case "endpoint":
2777			if v != nil {
2778				var endpoint interface{}
2779				err = json.Unmarshal(*v, &endpoint)
2780				if err != nil {
2781					return err
2782				}
2783				amlstp.Endpoint = endpoint
2784			}
2785		case "marketplaceID":
2786			if v != nil {
2787				var marketplaceID interface{}
2788				err = json.Unmarshal(*v, &marketplaceID)
2789				if err != nil {
2790					return err
2791				}
2792				amlstp.MarketplaceID = marketplaceID
2793			}
2794		case "sellerID":
2795			if v != nil {
2796				var sellerID interface{}
2797				err = json.Unmarshal(*v, &sellerID)
2798				if err != nil {
2799					return err
2800				}
2801				amlstp.SellerID = sellerID
2802			}
2803		case "mwsAuthToken":
2804			if v != nil {
2805				mwsAuthToken, err := unmarshalBasicSecretBase(*v)
2806				if err != nil {
2807					return err
2808				}
2809				amlstp.MwsAuthToken = mwsAuthToken
2810			}
2811		case "accessKeyId":
2812			if v != nil {
2813				var accessKeyID interface{}
2814				err = json.Unmarshal(*v, &accessKeyID)
2815				if err != nil {
2816					return err
2817				}
2818				amlstp.AccessKeyID = accessKeyID
2819			}
2820		case "secretKey":
2821			if v != nil {
2822				secretKey, err := unmarshalBasicSecretBase(*v)
2823				if err != nil {
2824					return err
2825				}
2826				amlstp.SecretKey = secretKey
2827			}
2828		case "useEncryptedEndpoints":
2829			if v != nil {
2830				var useEncryptedEndpoints interface{}
2831				err = json.Unmarshal(*v, &useEncryptedEndpoints)
2832				if err != nil {
2833					return err
2834				}
2835				amlstp.UseEncryptedEndpoints = useEncryptedEndpoints
2836			}
2837		case "useHostVerification":
2838			if v != nil {
2839				var useHostVerification interface{}
2840				err = json.Unmarshal(*v, &useHostVerification)
2841				if err != nil {
2842					return err
2843				}
2844				amlstp.UseHostVerification = useHostVerification
2845			}
2846		case "usePeerVerification":
2847			if v != nil {
2848				var usePeerVerification interface{}
2849				err = json.Unmarshal(*v, &usePeerVerification)
2850				if err != nil {
2851					return err
2852				}
2853				amlstp.UsePeerVerification = usePeerVerification
2854			}
2855		case "encryptedCredential":
2856			if v != nil {
2857				var encryptedCredential interface{}
2858				err = json.Unmarshal(*v, &encryptedCredential)
2859				if err != nil {
2860					return err
2861				}
2862				amlstp.EncryptedCredential = encryptedCredential
2863			}
2864		}
2865	}
2866
2867	return nil
2868}
2869
2870// AmazonMWSObjectDataset amazon Marketplace Web Service dataset.
2871type AmazonMWSObjectDataset struct {
2872	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
2873	AdditionalProperties map[string]interface{} `json:""`
2874	// Description - Dataset description.
2875	Description *string `json:"description,omitempty"`
2876	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
2877	Structure interface{} `json:"structure,omitempty"`
2878	// LinkedServiceName - Linked service reference.
2879	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
2880	// Parameters - Parameters for dataset.
2881	Parameters map[string]*ParameterSpecification `json:"parameters"`
2882	// Annotations - List of tags that can be used for describing the Dataset.
2883	Annotations *[]interface{} `json:"annotations,omitempty"`
2884	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
2885	Type TypeBasicDataset `json:"type,omitempty"`
2886}
2887
2888// MarshalJSON is the custom marshaler for AmazonMWSObjectDataset.
2889func (amod AmazonMWSObjectDataset) MarshalJSON() ([]byte, error) {
2890	amod.Type = TypeAmazonMWSObject
2891	objectMap := make(map[string]interface{})
2892	if amod.Description != nil {
2893		objectMap["description"] = amod.Description
2894	}
2895	objectMap["structure"] = amod.Structure
2896	if amod.LinkedServiceName != nil {
2897		objectMap["linkedServiceName"] = amod.LinkedServiceName
2898	}
2899	if amod.Parameters != nil {
2900		objectMap["parameters"] = amod.Parameters
2901	}
2902	if amod.Annotations != nil {
2903		objectMap["annotations"] = amod.Annotations
2904	}
2905	if amod.Type != "" {
2906		objectMap["type"] = amod.Type
2907	}
2908	for k, v := range amod.AdditionalProperties {
2909		objectMap[k] = v
2910	}
2911	return json.Marshal(objectMap)
2912}
2913
2914// AsResponsysObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2915func (amod AmazonMWSObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
2916	return nil, false
2917}
2918
2919// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2920func (amod AmazonMWSObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
2921	return nil, false
2922}
2923
2924// AsVerticaTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2925func (amod AmazonMWSObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
2926	return nil, false
2927}
2928
2929// AsNetezzaTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2930func (amod AmazonMWSObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
2931	return nil, false
2932}
2933
2934// AsZohoObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2935func (amod AmazonMWSObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
2936	return nil, false
2937}
2938
2939// AsXeroObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2940func (amod AmazonMWSObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
2941	return nil, false
2942}
2943
2944// AsSquareObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2945func (amod AmazonMWSObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
2946	return nil, false
2947}
2948
2949// AsSparkObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2950func (amod AmazonMWSObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
2951	return nil, false
2952}
2953
2954// AsShopifyObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2955func (amod AmazonMWSObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
2956	return nil, false
2957}
2958
2959// AsServiceNowObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2960func (amod AmazonMWSObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
2961	return nil, false
2962}
2963
2964// AsQuickBooksObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2965func (amod AmazonMWSObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
2966	return nil, false
2967}
2968
2969// AsPrestoObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2970func (amod AmazonMWSObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
2971	return nil, false
2972}
2973
2974// AsPhoenixObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2975func (amod AmazonMWSObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
2976	return nil, false
2977}
2978
2979// AsPaypalObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2980func (amod AmazonMWSObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
2981	return nil, false
2982}
2983
2984// AsMarketoObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2985func (amod AmazonMWSObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
2986	return nil, false
2987}
2988
2989// AsMariaDBTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2990func (amod AmazonMWSObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
2991	return nil, false
2992}
2993
2994// AsMagentoObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
2995func (amod AmazonMWSObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
2996	return nil, false
2997}
2998
2999// AsJiraObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3000func (amod AmazonMWSObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
3001	return nil, false
3002}
3003
3004// AsImpalaObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3005func (amod AmazonMWSObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
3006	return nil, false
3007}
3008
3009// AsHubspotObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3010func (amod AmazonMWSObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
3011	return nil, false
3012}
3013
3014// AsHiveObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3015func (amod AmazonMWSObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
3016	return nil, false
3017}
3018
3019// AsHBaseObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3020func (amod AmazonMWSObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
3021	return nil, false
3022}
3023
3024// AsGreenplumTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3025func (amod AmazonMWSObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
3026	return nil, false
3027}
3028
3029// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3030func (amod AmazonMWSObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
3031	return nil, false
3032}
3033
3034// AsEloquaObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3035func (amod AmazonMWSObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
3036	return nil, false
3037}
3038
3039// AsDrillTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3040func (amod AmazonMWSObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
3041	return nil, false
3042}
3043
3044// AsCouchbaseTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3045func (amod AmazonMWSObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
3046	return nil, false
3047}
3048
3049// AsConcurObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3050func (amod AmazonMWSObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
3051	return nil, false
3052}
3053
3054// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3055func (amod AmazonMWSObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
3056	return nil, false
3057}
3058
3059// AsAmazonMWSObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3060func (amod AmazonMWSObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
3061	return &amod, true
3062}
3063
3064// AsHTTPDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3065func (amod AmazonMWSObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
3066	return nil, false
3067}
3068
3069// AsAzureSearchIndexDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3070func (amod AmazonMWSObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
3071	return nil, false
3072}
3073
3074// AsWebTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3075func (amod AmazonMWSObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
3076	return nil, false
3077}
3078
3079// AsSQLServerTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3080func (amod AmazonMWSObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
3081	return nil, false
3082}
3083
3084// AsSapEccResourceDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3085func (amod AmazonMWSObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
3086	return nil, false
3087}
3088
3089// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3090func (amod AmazonMWSObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
3091	return nil, false
3092}
3093
3094// AsSalesforceObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3095func (amod AmazonMWSObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
3096	return nil, false
3097}
3098
3099// AsRelationalTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3100func (amod AmazonMWSObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
3101	return nil, false
3102}
3103
3104// AsAzureMySQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3105func (amod AmazonMWSObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
3106	return nil, false
3107}
3108
3109// AsOracleTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3110func (amod AmazonMWSObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
3111	return nil, false
3112}
3113
3114// AsODataResourceDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3115func (amod AmazonMWSObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
3116	return nil, false
3117}
3118
3119// AsMongoDbCollectionDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3120func (amod AmazonMWSObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
3121	return nil, false
3122}
3123
3124// AsFileShareDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3125func (amod AmazonMWSObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
3126	return nil, false
3127}
3128
3129// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3130func (amod AmazonMWSObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
3131	return nil, false
3132}
3133
3134// AsDynamicsEntityDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3135func (amod AmazonMWSObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
3136	return nil, false
3137}
3138
3139// AsDocumentDbCollectionDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3140func (amod AmazonMWSObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
3141	return nil, false
3142}
3143
3144// AsCustomDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3145func (amod AmazonMWSObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
3146	return nil, false
3147}
3148
3149// AsCassandraTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3150func (amod AmazonMWSObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
3151	return nil, false
3152}
3153
3154// AsAzureSQLDWTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3155func (amod AmazonMWSObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
3156	return nil, false
3157}
3158
3159// AsAzureSQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3160func (amod AmazonMWSObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
3161	return nil, false
3162}
3163
3164// AsAzureTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3165func (amod AmazonMWSObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
3166	return nil, false
3167}
3168
3169// AsAzureBlobDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3170func (amod AmazonMWSObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
3171	return nil, false
3172}
3173
3174// AsAmazonS3Dataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3175func (amod AmazonMWSObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
3176	return nil, false
3177}
3178
3179// AsDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3180func (amod AmazonMWSObjectDataset) AsDataset() (*Dataset, bool) {
3181	return nil, false
3182}
3183
3184// AsBasicDataset is the BasicDataset implementation for AmazonMWSObjectDataset.
3185func (amod AmazonMWSObjectDataset) AsBasicDataset() (BasicDataset, bool) {
3186	return &amod, true
3187}
3188
3189// AmazonMWSSource a copy activity Amazon Marketplace Web Service source.
3190type AmazonMWSSource struct {
3191	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
3192	Query interface{} `json:"query,omitempty"`
3193	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
3194	AdditionalProperties map[string]interface{} `json:""`
3195	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
3196	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
3197	// 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])).
3198	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
3199	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
3200	Type TypeBasicCopySource `json:"type,omitempty"`
3201}
3202
3203// MarshalJSON is the custom marshaler for AmazonMWSSource.
3204func (ams AmazonMWSSource) MarshalJSON() ([]byte, error) {
3205	ams.Type = TypeAmazonMWSSource
3206	objectMap := make(map[string]interface{})
3207	objectMap["query"] = ams.Query
3208	objectMap["sourceRetryCount"] = ams.SourceRetryCount
3209	objectMap["sourceRetryWait"] = ams.SourceRetryWait
3210	if ams.Type != "" {
3211		objectMap["type"] = ams.Type
3212	}
3213	for k, v := range ams.AdditionalProperties {
3214		objectMap[k] = v
3215	}
3216	return json.Marshal(objectMap)
3217}
3218
3219// AsAmazonRedshiftSource is the BasicCopySource implementation for AmazonMWSSource.
3220func (ams AmazonMWSSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
3221	return nil, false
3222}
3223
3224// AsResponsysSource is the BasicCopySource implementation for AmazonMWSSource.
3225func (ams AmazonMWSSource) AsResponsysSource() (*ResponsysSource, bool) {
3226	return nil, false
3227}
3228
3229// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AmazonMWSSource.
3230func (ams AmazonMWSSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
3231	return nil, false
3232}
3233
3234// AsVerticaSource is the BasicCopySource implementation for AmazonMWSSource.
3235func (ams AmazonMWSSource) AsVerticaSource() (*VerticaSource, bool) {
3236	return nil, false
3237}
3238
3239// AsNetezzaSource is the BasicCopySource implementation for AmazonMWSSource.
3240func (ams AmazonMWSSource) AsNetezzaSource() (*NetezzaSource, bool) {
3241	return nil, false
3242}
3243
3244// AsZohoSource is the BasicCopySource implementation for AmazonMWSSource.
3245func (ams AmazonMWSSource) AsZohoSource() (*ZohoSource, bool) {
3246	return nil, false
3247}
3248
3249// AsXeroSource is the BasicCopySource implementation for AmazonMWSSource.
3250func (ams AmazonMWSSource) AsXeroSource() (*XeroSource, bool) {
3251	return nil, false
3252}
3253
3254// AsSquareSource is the BasicCopySource implementation for AmazonMWSSource.
3255func (ams AmazonMWSSource) AsSquareSource() (*SquareSource, bool) {
3256	return nil, false
3257}
3258
3259// AsSparkSource is the BasicCopySource implementation for AmazonMWSSource.
3260func (ams AmazonMWSSource) AsSparkSource() (*SparkSource, bool) {
3261	return nil, false
3262}
3263
3264// AsShopifySource is the BasicCopySource implementation for AmazonMWSSource.
3265func (ams AmazonMWSSource) AsShopifySource() (*ShopifySource, bool) {
3266	return nil, false
3267}
3268
3269// AsServiceNowSource is the BasicCopySource implementation for AmazonMWSSource.
3270func (ams AmazonMWSSource) AsServiceNowSource() (*ServiceNowSource, bool) {
3271	return nil, false
3272}
3273
3274// AsQuickBooksSource is the BasicCopySource implementation for AmazonMWSSource.
3275func (ams AmazonMWSSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
3276	return nil, false
3277}
3278
3279// AsPrestoSource is the BasicCopySource implementation for AmazonMWSSource.
3280func (ams AmazonMWSSource) AsPrestoSource() (*PrestoSource, bool) {
3281	return nil, false
3282}
3283
3284// AsPhoenixSource is the BasicCopySource implementation for AmazonMWSSource.
3285func (ams AmazonMWSSource) AsPhoenixSource() (*PhoenixSource, bool) {
3286	return nil, false
3287}
3288
3289// AsPaypalSource is the BasicCopySource implementation for AmazonMWSSource.
3290func (ams AmazonMWSSource) AsPaypalSource() (*PaypalSource, bool) {
3291	return nil, false
3292}
3293
3294// AsMarketoSource is the BasicCopySource implementation for AmazonMWSSource.
3295func (ams AmazonMWSSource) AsMarketoSource() (*MarketoSource, bool) {
3296	return nil, false
3297}
3298
3299// AsMariaDBSource is the BasicCopySource implementation for AmazonMWSSource.
3300func (ams AmazonMWSSource) AsMariaDBSource() (*MariaDBSource, bool) {
3301	return nil, false
3302}
3303
3304// AsMagentoSource is the BasicCopySource implementation for AmazonMWSSource.
3305func (ams AmazonMWSSource) AsMagentoSource() (*MagentoSource, bool) {
3306	return nil, false
3307}
3308
3309// AsJiraSource is the BasicCopySource implementation for AmazonMWSSource.
3310func (ams AmazonMWSSource) AsJiraSource() (*JiraSource, bool) {
3311	return nil, false
3312}
3313
3314// AsImpalaSource is the BasicCopySource implementation for AmazonMWSSource.
3315func (ams AmazonMWSSource) AsImpalaSource() (*ImpalaSource, bool) {
3316	return nil, false
3317}
3318
3319// AsHubspotSource is the BasicCopySource implementation for AmazonMWSSource.
3320func (ams AmazonMWSSource) AsHubspotSource() (*HubspotSource, bool) {
3321	return nil, false
3322}
3323
3324// AsHiveSource is the BasicCopySource implementation for AmazonMWSSource.
3325func (ams AmazonMWSSource) AsHiveSource() (*HiveSource, bool) {
3326	return nil, false
3327}
3328
3329// AsHBaseSource is the BasicCopySource implementation for AmazonMWSSource.
3330func (ams AmazonMWSSource) AsHBaseSource() (*HBaseSource, bool) {
3331	return nil, false
3332}
3333
3334// AsGreenplumSource is the BasicCopySource implementation for AmazonMWSSource.
3335func (ams AmazonMWSSource) AsGreenplumSource() (*GreenplumSource, bool) {
3336	return nil, false
3337}
3338
3339// AsGoogleBigQuerySource is the BasicCopySource implementation for AmazonMWSSource.
3340func (ams AmazonMWSSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
3341	return nil, false
3342}
3343
3344// AsEloquaSource is the BasicCopySource implementation for AmazonMWSSource.
3345func (ams AmazonMWSSource) AsEloquaSource() (*EloquaSource, bool) {
3346	return nil, false
3347}
3348
3349// AsDrillSource is the BasicCopySource implementation for AmazonMWSSource.
3350func (ams AmazonMWSSource) AsDrillSource() (*DrillSource, bool) {
3351	return nil, false
3352}
3353
3354// AsCouchbaseSource is the BasicCopySource implementation for AmazonMWSSource.
3355func (ams AmazonMWSSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
3356	return nil, false
3357}
3358
3359// AsConcurSource is the BasicCopySource implementation for AmazonMWSSource.
3360func (ams AmazonMWSSource) AsConcurSource() (*ConcurSource, bool) {
3361	return nil, false
3362}
3363
3364// AsAzurePostgreSQLSource is the BasicCopySource implementation for AmazonMWSSource.
3365func (ams AmazonMWSSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
3366	return nil, false
3367}
3368
3369// AsAmazonMWSSource is the BasicCopySource implementation for AmazonMWSSource.
3370func (ams AmazonMWSSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
3371	return &ams, true
3372}
3373
3374// AsHTTPSource is the BasicCopySource implementation for AmazonMWSSource.
3375func (ams AmazonMWSSource) AsHTTPSource() (*HTTPSource, bool) {
3376	return nil, false
3377}
3378
3379// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AmazonMWSSource.
3380func (ams AmazonMWSSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
3381	return nil, false
3382}
3383
3384// AsMongoDbSource is the BasicCopySource implementation for AmazonMWSSource.
3385func (ams AmazonMWSSource) AsMongoDbSource() (*MongoDbSource, bool) {
3386	return nil, false
3387}
3388
3389// AsCassandraSource is the BasicCopySource implementation for AmazonMWSSource.
3390func (ams AmazonMWSSource) AsCassandraSource() (*CassandraSource, bool) {
3391	return nil, false
3392}
3393
3394// AsWebSource is the BasicCopySource implementation for AmazonMWSSource.
3395func (ams AmazonMWSSource) AsWebSource() (*WebSource, bool) {
3396	return nil, false
3397}
3398
3399// AsOracleSource is the BasicCopySource implementation for AmazonMWSSource.
3400func (ams AmazonMWSSource) AsOracleSource() (*OracleSource, bool) {
3401	return nil, false
3402}
3403
3404// AsAzureMySQLSource is the BasicCopySource implementation for AmazonMWSSource.
3405func (ams AmazonMWSSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
3406	return nil, false
3407}
3408
3409// AsHdfsSource is the BasicCopySource implementation for AmazonMWSSource.
3410func (ams AmazonMWSSource) AsHdfsSource() (*HdfsSource, bool) {
3411	return nil, false
3412}
3413
3414// AsFileSystemSource is the BasicCopySource implementation for AmazonMWSSource.
3415func (ams AmazonMWSSource) AsFileSystemSource() (*FileSystemSource, bool) {
3416	return nil, false
3417}
3418
3419// AsSQLDWSource is the BasicCopySource implementation for AmazonMWSSource.
3420func (ams AmazonMWSSource) AsSQLDWSource() (*SQLDWSource, bool) {
3421	return nil, false
3422}
3423
3424// AsSQLSource is the BasicCopySource implementation for AmazonMWSSource.
3425func (ams AmazonMWSSource) AsSQLSource() (*SQLSource, bool) {
3426	return nil, false
3427}
3428
3429// AsSapEccSource is the BasicCopySource implementation for AmazonMWSSource.
3430func (ams AmazonMWSSource) AsSapEccSource() (*SapEccSource, bool) {
3431	return nil, false
3432}
3433
3434// AsSapCloudForCustomerSource is the BasicCopySource implementation for AmazonMWSSource.
3435func (ams AmazonMWSSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
3436	return nil, false
3437}
3438
3439// AsSalesforceSource is the BasicCopySource implementation for AmazonMWSSource.
3440func (ams AmazonMWSSource) AsSalesforceSource() (*SalesforceSource, bool) {
3441	return nil, false
3442}
3443
3444// AsRelationalSource is the BasicCopySource implementation for AmazonMWSSource.
3445func (ams AmazonMWSSource) AsRelationalSource() (*RelationalSource, bool) {
3446	return nil, false
3447}
3448
3449// AsDynamicsSource is the BasicCopySource implementation for AmazonMWSSource.
3450func (ams AmazonMWSSource) AsDynamicsSource() (*DynamicsSource, bool) {
3451	return nil, false
3452}
3453
3454// AsDocumentDbCollectionSource is the BasicCopySource implementation for AmazonMWSSource.
3455func (ams AmazonMWSSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
3456	return nil, false
3457}
3458
3459// AsBlobSource is the BasicCopySource implementation for AmazonMWSSource.
3460func (ams AmazonMWSSource) AsBlobSource() (*BlobSource, bool) {
3461	return nil, false
3462}
3463
3464// AsAzureTableSource is the BasicCopySource implementation for AmazonMWSSource.
3465func (ams AmazonMWSSource) AsAzureTableSource() (*AzureTableSource, bool) {
3466	return nil, false
3467}
3468
3469// AsCopySource is the BasicCopySource implementation for AmazonMWSSource.
3470func (ams AmazonMWSSource) AsCopySource() (*CopySource, bool) {
3471	return nil, false
3472}
3473
3474// AsBasicCopySource is the BasicCopySource implementation for AmazonMWSSource.
3475func (ams AmazonMWSSource) AsBasicCopySource() (BasicCopySource, bool) {
3476	return &ams, true
3477}
3478
3479// AmazonRedshiftLinkedService linked service for Amazon Redshift.
3480type AmazonRedshiftLinkedService struct {
3481	// AmazonRedshiftLinkedServiceTypeProperties - Amazon Redshift linked service properties.
3482	*AmazonRedshiftLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
3483	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
3484	AdditionalProperties map[string]interface{} `json:""`
3485	// ConnectVia - The integration runtime reference.
3486	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
3487	// Description - Linked service description.
3488	Description *string `json:"description,omitempty"`
3489	// Parameters - Parameters for linked service.
3490	Parameters map[string]*ParameterSpecification `json:"parameters"`
3491	// Annotations - List of tags that can be used for describing the Dataset.
3492	Annotations *[]interface{} `json:"annotations,omitempty"`
3493	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
3494	Type TypeBasicLinkedService `json:"type,omitempty"`
3495}
3496
3497// MarshalJSON is the custom marshaler for AmazonRedshiftLinkedService.
3498func (arls AmazonRedshiftLinkedService) MarshalJSON() ([]byte, error) {
3499	arls.Type = TypeAmazonRedshift
3500	objectMap := make(map[string]interface{})
3501	if arls.AmazonRedshiftLinkedServiceTypeProperties != nil {
3502		objectMap["typeProperties"] = arls.AmazonRedshiftLinkedServiceTypeProperties
3503	}
3504	if arls.ConnectVia != nil {
3505		objectMap["connectVia"] = arls.ConnectVia
3506	}
3507	if arls.Description != nil {
3508		objectMap["description"] = arls.Description
3509	}
3510	if arls.Parameters != nil {
3511		objectMap["parameters"] = arls.Parameters
3512	}
3513	if arls.Annotations != nil {
3514		objectMap["annotations"] = arls.Annotations
3515	}
3516	if arls.Type != "" {
3517		objectMap["type"] = arls.Type
3518	}
3519	for k, v := range arls.AdditionalProperties {
3520		objectMap[k] = v
3521	}
3522	return json.Marshal(objectMap)
3523}
3524
3525// AsResponsysLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3526func (arls AmazonRedshiftLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
3527	return nil, false
3528}
3529
3530// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3531func (arls AmazonRedshiftLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
3532	return nil, false
3533}
3534
3535// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3536func (arls AmazonRedshiftLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
3537	return nil, false
3538}
3539
3540// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3541func (arls AmazonRedshiftLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
3542	return nil, false
3543}
3544
3545// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3546func (arls AmazonRedshiftLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
3547	return nil, false
3548}
3549
3550// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3551func (arls AmazonRedshiftLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
3552	return nil, false
3553}
3554
3555// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3556func (arls AmazonRedshiftLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
3557	return nil, false
3558}
3559
3560// AsZohoLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3561func (arls AmazonRedshiftLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
3562	return nil, false
3563}
3564
3565// AsXeroLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3566func (arls AmazonRedshiftLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
3567	return nil, false
3568}
3569
3570// AsSquareLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3571func (arls AmazonRedshiftLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
3572	return nil, false
3573}
3574
3575// AsSparkLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3576func (arls AmazonRedshiftLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
3577	return nil, false
3578}
3579
3580// AsShopifyLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3581func (arls AmazonRedshiftLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
3582	return nil, false
3583}
3584
3585// AsServiceNowLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3586func (arls AmazonRedshiftLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
3587	return nil, false
3588}
3589
3590// AsQuickBooksLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3591func (arls AmazonRedshiftLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
3592	return nil, false
3593}
3594
3595// AsPrestoLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3596func (arls AmazonRedshiftLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
3597	return nil, false
3598}
3599
3600// AsPhoenixLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3601func (arls AmazonRedshiftLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
3602	return nil, false
3603}
3604
3605// AsPaypalLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3606func (arls AmazonRedshiftLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
3607	return nil, false
3608}
3609
3610// AsMarketoLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3611func (arls AmazonRedshiftLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
3612	return nil, false
3613}
3614
3615// AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3616func (arls AmazonRedshiftLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
3617	return nil, false
3618}
3619
3620// AsMagentoLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3621func (arls AmazonRedshiftLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
3622	return nil, false
3623}
3624
3625// AsJiraLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3626func (arls AmazonRedshiftLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
3627	return nil, false
3628}
3629
3630// AsImpalaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3631func (arls AmazonRedshiftLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
3632	return nil, false
3633}
3634
3635// AsHubspotLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3636func (arls AmazonRedshiftLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
3637	return nil, false
3638}
3639
3640// AsHiveLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3641func (arls AmazonRedshiftLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
3642	return nil, false
3643}
3644
3645// AsHBaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3646func (arls AmazonRedshiftLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
3647	return nil, false
3648}
3649
3650// AsGreenplumLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3651func (arls AmazonRedshiftLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
3652	return nil, false
3653}
3654
3655// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3656func (arls AmazonRedshiftLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
3657	return nil, false
3658}
3659
3660// AsEloquaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3661func (arls AmazonRedshiftLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
3662	return nil, false
3663}
3664
3665// AsDrillLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3666func (arls AmazonRedshiftLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
3667	return nil, false
3668}
3669
3670// AsCouchbaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3671func (arls AmazonRedshiftLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
3672	return nil, false
3673}
3674
3675// AsConcurLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3676func (arls AmazonRedshiftLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
3677	return nil, false
3678}
3679
3680// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3681func (arls AmazonRedshiftLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
3682	return nil, false
3683}
3684
3685// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3686func (arls AmazonRedshiftLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
3687	return nil, false
3688}
3689
3690// AsSapHanaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3691func (arls AmazonRedshiftLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
3692	return nil, false
3693}
3694
3695// AsSapBWLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3696func (arls AmazonRedshiftLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
3697	return nil, false
3698}
3699
3700// AsSftpServerLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3701func (arls AmazonRedshiftLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
3702	return nil, false
3703}
3704
3705// AsFtpServerLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3706func (arls AmazonRedshiftLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
3707	return nil, false
3708}
3709
3710// AsHTTPLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3711func (arls AmazonRedshiftLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
3712	return nil, false
3713}
3714
3715// AsAzureSearchLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3716func (arls AmazonRedshiftLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
3717	return nil, false
3718}
3719
3720// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3721func (arls AmazonRedshiftLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
3722	return nil, false
3723}
3724
3725// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3726func (arls AmazonRedshiftLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
3727	return &arls, true
3728}
3729
3730// AsAmazonS3LinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3731func (arls AmazonRedshiftLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
3732	return nil, false
3733}
3734
3735// AsSapEccLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3736func (arls AmazonRedshiftLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
3737	return nil, false
3738}
3739
3740// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3741func (arls AmazonRedshiftLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
3742	return nil, false
3743}
3744
3745// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3746func (arls AmazonRedshiftLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
3747	return nil, false
3748}
3749
3750// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3751func (arls AmazonRedshiftLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
3752	return nil, false
3753}
3754
3755// AsMongoDbLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3756func (arls AmazonRedshiftLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
3757	return nil, false
3758}
3759
3760// AsCassandraLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3761func (arls AmazonRedshiftLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
3762	return nil, false
3763}
3764
3765// AsWebLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3766func (arls AmazonRedshiftLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
3767	return nil, false
3768}
3769
3770// AsODataLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3771func (arls AmazonRedshiftLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
3772	return nil, false
3773}
3774
3775// AsHdfsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3776func (arls AmazonRedshiftLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
3777	return nil, false
3778}
3779
3780// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3781func (arls AmazonRedshiftLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
3782	return nil, false
3783}
3784
3785// AsAzureMLLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3786func (arls AmazonRedshiftLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
3787	return nil, false
3788}
3789
3790// AsTeradataLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3791func (arls AmazonRedshiftLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
3792	return nil, false
3793}
3794
3795// AsDb2LinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3796func (arls AmazonRedshiftLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
3797	return nil, false
3798}
3799
3800// AsSybaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3801func (arls AmazonRedshiftLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
3802	return nil, false
3803}
3804
3805// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3806func (arls AmazonRedshiftLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
3807	return nil, false
3808}
3809
3810// AsMySQLLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3811func (arls AmazonRedshiftLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
3812	return nil, false
3813}
3814
3815// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3816func (arls AmazonRedshiftLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
3817	return nil, false
3818}
3819
3820// AsOracleLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3821func (arls AmazonRedshiftLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
3822	return nil, false
3823}
3824
3825// AsFileServerLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3826func (arls AmazonRedshiftLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
3827	return nil, false
3828}
3829
3830// AsHDInsightLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3831func (arls AmazonRedshiftLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
3832	return nil, false
3833}
3834
3835// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3836func (arls AmazonRedshiftLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
3837	return nil, false
3838}
3839
3840// AsCosmosDbLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3841func (arls AmazonRedshiftLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
3842	return nil, false
3843}
3844
3845// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3846func (arls AmazonRedshiftLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
3847	return nil, false
3848}
3849
3850// AsAzureBatchLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3851func (arls AmazonRedshiftLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
3852	return nil, false
3853}
3854
3855// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3856func (arls AmazonRedshiftLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
3857	return nil, false
3858}
3859
3860// AsSQLServerLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3861func (arls AmazonRedshiftLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
3862	return nil, false
3863}
3864
3865// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3866func (arls AmazonRedshiftLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
3867	return nil, false
3868}
3869
3870// AsAzureStorageLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3871func (arls AmazonRedshiftLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
3872	return nil, false
3873}
3874
3875// AsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3876func (arls AmazonRedshiftLinkedService) AsLinkedService() (*LinkedService, bool) {
3877	return nil, false
3878}
3879
3880// AsBasicLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService.
3881func (arls AmazonRedshiftLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
3882	return &arls, true
3883}
3884
3885// UnmarshalJSON is the custom unmarshaler for AmazonRedshiftLinkedService struct.
3886func (arls *AmazonRedshiftLinkedService) UnmarshalJSON(body []byte) error {
3887	var m map[string]*json.RawMessage
3888	err := json.Unmarshal(body, &m)
3889	if err != nil {
3890		return err
3891	}
3892	for k, v := range m {
3893		switch k {
3894		case "typeProperties":
3895			if v != nil {
3896				var amazonRedshiftLinkedServiceTypeProperties AmazonRedshiftLinkedServiceTypeProperties
3897				err = json.Unmarshal(*v, &amazonRedshiftLinkedServiceTypeProperties)
3898				if err != nil {
3899					return err
3900				}
3901				arls.AmazonRedshiftLinkedServiceTypeProperties = &amazonRedshiftLinkedServiceTypeProperties
3902			}
3903		default:
3904			if v != nil {
3905				var additionalProperties interface{}
3906				err = json.Unmarshal(*v, &additionalProperties)
3907				if err != nil {
3908					return err
3909				}
3910				if arls.AdditionalProperties == nil {
3911					arls.AdditionalProperties = make(map[string]interface{})
3912				}
3913				arls.AdditionalProperties[k] = additionalProperties
3914			}
3915		case "connectVia":
3916			if v != nil {
3917				var connectVia IntegrationRuntimeReference
3918				err = json.Unmarshal(*v, &connectVia)
3919				if err != nil {
3920					return err
3921				}
3922				arls.ConnectVia = &connectVia
3923			}
3924		case "description":
3925			if v != nil {
3926				var description string
3927				err = json.Unmarshal(*v, &description)
3928				if err != nil {
3929					return err
3930				}
3931				arls.Description = &description
3932			}
3933		case "parameters":
3934			if v != nil {
3935				var parameters map[string]*ParameterSpecification
3936				err = json.Unmarshal(*v, &parameters)
3937				if err != nil {
3938					return err
3939				}
3940				arls.Parameters = parameters
3941			}
3942		case "annotations":
3943			if v != nil {
3944				var annotations []interface{}
3945				err = json.Unmarshal(*v, &annotations)
3946				if err != nil {
3947					return err
3948				}
3949				arls.Annotations = &annotations
3950			}
3951		case "type":
3952			if v != nil {
3953				var typeVar TypeBasicLinkedService
3954				err = json.Unmarshal(*v, &typeVar)
3955				if err != nil {
3956					return err
3957				}
3958				arls.Type = typeVar
3959			}
3960		}
3961	}
3962
3963	return nil
3964}
3965
3966// AmazonRedshiftLinkedServiceTypeProperties amazon Redshift linked service properties.
3967type AmazonRedshiftLinkedServiceTypeProperties struct {
3968	// Server - The name of the Amazon Redshift server. Type: string (or Expression with resultType string).
3969	Server interface{} `json:"server,omitempty"`
3970	// Username - The username of the Amazon Redshift source. Type: string (or Expression with resultType string).
3971	Username interface{} `json:"username,omitempty"`
3972	// Password - The password of the Amazon Redshift source.
3973	Password BasicSecretBase `json:"password,omitempty"`
3974	// Database - The database name of the Amazon Redshift source. Type: string (or Expression with resultType string).
3975	Database interface{} `json:"database,omitempty"`
3976	// Port - The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer).
3977	Port interface{} `json:"port,omitempty"`
3978	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
3979	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
3980}
3981
3982// UnmarshalJSON is the custom unmarshaler for AmazonRedshiftLinkedServiceTypeProperties struct.
3983func (arlstp *AmazonRedshiftLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
3984	var m map[string]*json.RawMessage
3985	err := json.Unmarshal(body, &m)
3986	if err != nil {
3987		return err
3988	}
3989	for k, v := range m {
3990		switch k {
3991		case "server":
3992			if v != nil {
3993				var server interface{}
3994				err = json.Unmarshal(*v, &server)
3995				if err != nil {
3996					return err
3997				}
3998				arlstp.Server = server
3999			}
4000		case "username":
4001			if v != nil {
4002				var username interface{}
4003				err = json.Unmarshal(*v, &username)
4004				if err != nil {
4005					return err
4006				}
4007				arlstp.Username = username
4008			}
4009		case "password":
4010			if v != nil {
4011				password, err := unmarshalBasicSecretBase(*v)
4012				if err != nil {
4013					return err
4014				}
4015				arlstp.Password = password
4016			}
4017		case "database":
4018			if v != nil {
4019				var databaseVar interface{}
4020				err = json.Unmarshal(*v, &databaseVar)
4021				if err != nil {
4022					return err
4023				}
4024				arlstp.Database = databaseVar
4025			}
4026		case "port":
4027			if v != nil {
4028				var port interface{}
4029				err = json.Unmarshal(*v, &port)
4030				if err != nil {
4031					return err
4032				}
4033				arlstp.Port = port
4034			}
4035		case "encryptedCredential":
4036			if v != nil {
4037				var encryptedCredential interface{}
4038				err = json.Unmarshal(*v, &encryptedCredential)
4039				if err != nil {
4040					return err
4041				}
4042				arlstp.EncryptedCredential = encryptedCredential
4043			}
4044		}
4045	}
4046
4047	return nil
4048}
4049
4050// AmazonRedshiftSource a copy activity source for Amazon Redshift Source.
4051type AmazonRedshiftSource struct {
4052	// Query - Database query. Type: string (or Expression with resultType string).
4053	Query interface{} `json:"query,omitempty"`
4054	// RedshiftUnloadSettings - The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3.
4055	RedshiftUnloadSettings *RedshiftUnloadSettings `json:"redshiftUnloadSettings,omitempty"`
4056	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
4057	AdditionalProperties map[string]interface{} `json:""`
4058	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
4059	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
4060	// 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])).
4061	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
4062	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
4063	Type TypeBasicCopySource `json:"type,omitempty"`
4064}
4065
4066// MarshalJSON is the custom marshaler for AmazonRedshiftSource.
4067func (ars AmazonRedshiftSource) MarshalJSON() ([]byte, error) {
4068	ars.Type = TypeAmazonRedshiftSource
4069	objectMap := make(map[string]interface{})
4070	objectMap["query"] = ars.Query
4071	if ars.RedshiftUnloadSettings != nil {
4072		objectMap["redshiftUnloadSettings"] = ars.RedshiftUnloadSettings
4073	}
4074	objectMap["sourceRetryCount"] = ars.SourceRetryCount
4075	objectMap["sourceRetryWait"] = ars.SourceRetryWait
4076	if ars.Type != "" {
4077		objectMap["type"] = ars.Type
4078	}
4079	for k, v := range ars.AdditionalProperties {
4080		objectMap[k] = v
4081	}
4082	return json.Marshal(objectMap)
4083}
4084
4085// AsAmazonRedshiftSource is the BasicCopySource implementation for AmazonRedshiftSource.
4086func (ars AmazonRedshiftSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
4087	return &ars, true
4088}
4089
4090// AsResponsysSource is the BasicCopySource implementation for AmazonRedshiftSource.
4091func (ars AmazonRedshiftSource) AsResponsysSource() (*ResponsysSource, bool) {
4092	return nil, false
4093}
4094
4095// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AmazonRedshiftSource.
4096func (ars AmazonRedshiftSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
4097	return nil, false
4098}
4099
4100// AsVerticaSource is the BasicCopySource implementation for AmazonRedshiftSource.
4101func (ars AmazonRedshiftSource) AsVerticaSource() (*VerticaSource, bool) {
4102	return nil, false
4103}
4104
4105// AsNetezzaSource is the BasicCopySource implementation for AmazonRedshiftSource.
4106func (ars AmazonRedshiftSource) AsNetezzaSource() (*NetezzaSource, bool) {
4107	return nil, false
4108}
4109
4110// AsZohoSource is the BasicCopySource implementation for AmazonRedshiftSource.
4111func (ars AmazonRedshiftSource) AsZohoSource() (*ZohoSource, bool) {
4112	return nil, false
4113}
4114
4115// AsXeroSource is the BasicCopySource implementation for AmazonRedshiftSource.
4116func (ars AmazonRedshiftSource) AsXeroSource() (*XeroSource, bool) {
4117	return nil, false
4118}
4119
4120// AsSquareSource is the BasicCopySource implementation for AmazonRedshiftSource.
4121func (ars AmazonRedshiftSource) AsSquareSource() (*SquareSource, bool) {
4122	return nil, false
4123}
4124
4125// AsSparkSource is the BasicCopySource implementation for AmazonRedshiftSource.
4126func (ars AmazonRedshiftSource) AsSparkSource() (*SparkSource, bool) {
4127	return nil, false
4128}
4129
4130// AsShopifySource is the BasicCopySource implementation for AmazonRedshiftSource.
4131func (ars AmazonRedshiftSource) AsShopifySource() (*ShopifySource, bool) {
4132	return nil, false
4133}
4134
4135// AsServiceNowSource is the BasicCopySource implementation for AmazonRedshiftSource.
4136func (ars AmazonRedshiftSource) AsServiceNowSource() (*ServiceNowSource, bool) {
4137	return nil, false
4138}
4139
4140// AsQuickBooksSource is the BasicCopySource implementation for AmazonRedshiftSource.
4141func (ars AmazonRedshiftSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
4142	return nil, false
4143}
4144
4145// AsPrestoSource is the BasicCopySource implementation for AmazonRedshiftSource.
4146func (ars AmazonRedshiftSource) AsPrestoSource() (*PrestoSource, bool) {
4147	return nil, false
4148}
4149
4150// AsPhoenixSource is the BasicCopySource implementation for AmazonRedshiftSource.
4151func (ars AmazonRedshiftSource) AsPhoenixSource() (*PhoenixSource, bool) {
4152	return nil, false
4153}
4154
4155// AsPaypalSource is the BasicCopySource implementation for AmazonRedshiftSource.
4156func (ars AmazonRedshiftSource) AsPaypalSource() (*PaypalSource, bool) {
4157	return nil, false
4158}
4159
4160// AsMarketoSource is the BasicCopySource implementation for AmazonRedshiftSource.
4161func (ars AmazonRedshiftSource) AsMarketoSource() (*MarketoSource, bool) {
4162	return nil, false
4163}
4164
4165// AsMariaDBSource is the BasicCopySource implementation for AmazonRedshiftSource.
4166func (ars AmazonRedshiftSource) AsMariaDBSource() (*MariaDBSource, bool) {
4167	return nil, false
4168}
4169
4170// AsMagentoSource is the BasicCopySource implementation for AmazonRedshiftSource.
4171func (ars AmazonRedshiftSource) AsMagentoSource() (*MagentoSource, bool) {
4172	return nil, false
4173}
4174
4175// AsJiraSource is the BasicCopySource implementation for AmazonRedshiftSource.
4176func (ars AmazonRedshiftSource) AsJiraSource() (*JiraSource, bool) {
4177	return nil, false
4178}
4179
4180// AsImpalaSource is the BasicCopySource implementation for AmazonRedshiftSource.
4181func (ars AmazonRedshiftSource) AsImpalaSource() (*ImpalaSource, bool) {
4182	return nil, false
4183}
4184
4185// AsHubspotSource is the BasicCopySource implementation for AmazonRedshiftSource.
4186func (ars AmazonRedshiftSource) AsHubspotSource() (*HubspotSource, bool) {
4187	return nil, false
4188}
4189
4190// AsHiveSource is the BasicCopySource implementation for AmazonRedshiftSource.
4191func (ars AmazonRedshiftSource) AsHiveSource() (*HiveSource, bool) {
4192	return nil, false
4193}
4194
4195// AsHBaseSource is the BasicCopySource implementation for AmazonRedshiftSource.
4196func (ars AmazonRedshiftSource) AsHBaseSource() (*HBaseSource, bool) {
4197	return nil, false
4198}
4199
4200// AsGreenplumSource is the BasicCopySource implementation for AmazonRedshiftSource.
4201func (ars AmazonRedshiftSource) AsGreenplumSource() (*GreenplumSource, bool) {
4202	return nil, false
4203}
4204
4205// AsGoogleBigQuerySource is the BasicCopySource implementation for AmazonRedshiftSource.
4206func (ars AmazonRedshiftSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
4207	return nil, false
4208}
4209
4210// AsEloquaSource is the BasicCopySource implementation for AmazonRedshiftSource.
4211func (ars AmazonRedshiftSource) AsEloquaSource() (*EloquaSource, bool) {
4212	return nil, false
4213}
4214
4215// AsDrillSource is the BasicCopySource implementation for AmazonRedshiftSource.
4216func (ars AmazonRedshiftSource) AsDrillSource() (*DrillSource, bool) {
4217	return nil, false
4218}
4219
4220// AsCouchbaseSource is the BasicCopySource implementation for AmazonRedshiftSource.
4221func (ars AmazonRedshiftSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
4222	return nil, false
4223}
4224
4225// AsConcurSource is the BasicCopySource implementation for AmazonRedshiftSource.
4226func (ars AmazonRedshiftSource) AsConcurSource() (*ConcurSource, bool) {
4227	return nil, false
4228}
4229
4230// AsAzurePostgreSQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
4231func (ars AmazonRedshiftSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
4232	return nil, false
4233}
4234
4235// AsAmazonMWSSource is the BasicCopySource implementation for AmazonRedshiftSource.
4236func (ars AmazonRedshiftSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
4237	return nil, false
4238}
4239
4240// AsHTTPSource is the BasicCopySource implementation for AmazonRedshiftSource.
4241func (ars AmazonRedshiftSource) AsHTTPSource() (*HTTPSource, bool) {
4242	return nil, false
4243}
4244
4245// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AmazonRedshiftSource.
4246func (ars AmazonRedshiftSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
4247	return nil, false
4248}
4249
4250// AsMongoDbSource is the BasicCopySource implementation for AmazonRedshiftSource.
4251func (ars AmazonRedshiftSource) AsMongoDbSource() (*MongoDbSource, bool) {
4252	return nil, false
4253}
4254
4255// AsCassandraSource is the BasicCopySource implementation for AmazonRedshiftSource.
4256func (ars AmazonRedshiftSource) AsCassandraSource() (*CassandraSource, bool) {
4257	return nil, false
4258}
4259
4260// AsWebSource is the BasicCopySource implementation for AmazonRedshiftSource.
4261func (ars AmazonRedshiftSource) AsWebSource() (*WebSource, bool) {
4262	return nil, false
4263}
4264
4265// AsOracleSource is the BasicCopySource implementation for AmazonRedshiftSource.
4266func (ars AmazonRedshiftSource) AsOracleSource() (*OracleSource, bool) {
4267	return nil, false
4268}
4269
4270// AsAzureMySQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
4271func (ars AmazonRedshiftSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
4272	return nil, false
4273}
4274
4275// AsHdfsSource is the BasicCopySource implementation for AmazonRedshiftSource.
4276func (ars AmazonRedshiftSource) AsHdfsSource() (*HdfsSource, bool) {
4277	return nil, false
4278}
4279
4280// AsFileSystemSource is the BasicCopySource implementation for AmazonRedshiftSource.
4281func (ars AmazonRedshiftSource) AsFileSystemSource() (*FileSystemSource, bool) {
4282	return nil, false
4283}
4284
4285// AsSQLDWSource is the BasicCopySource implementation for AmazonRedshiftSource.
4286func (ars AmazonRedshiftSource) AsSQLDWSource() (*SQLDWSource, bool) {
4287	return nil, false
4288}
4289
4290// AsSQLSource is the BasicCopySource implementation for AmazonRedshiftSource.
4291func (ars AmazonRedshiftSource) AsSQLSource() (*SQLSource, bool) {
4292	return nil, false
4293}
4294
4295// AsSapEccSource is the BasicCopySource implementation for AmazonRedshiftSource.
4296func (ars AmazonRedshiftSource) AsSapEccSource() (*SapEccSource, bool) {
4297	return nil, false
4298}
4299
4300// AsSapCloudForCustomerSource is the BasicCopySource implementation for AmazonRedshiftSource.
4301func (ars AmazonRedshiftSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
4302	return nil, false
4303}
4304
4305// AsSalesforceSource is the BasicCopySource implementation for AmazonRedshiftSource.
4306func (ars AmazonRedshiftSource) AsSalesforceSource() (*SalesforceSource, bool) {
4307	return nil, false
4308}
4309
4310// AsRelationalSource is the BasicCopySource implementation for AmazonRedshiftSource.
4311func (ars AmazonRedshiftSource) AsRelationalSource() (*RelationalSource, bool) {
4312	return nil, false
4313}
4314
4315// AsDynamicsSource is the BasicCopySource implementation for AmazonRedshiftSource.
4316func (ars AmazonRedshiftSource) AsDynamicsSource() (*DynamicsSource, bool) {
4317	return nil, false
4318}
4319
4320// AsDocumentDbCollectionSource is the BasicCopySource implementation for AmazonRedshiftSource.
4321func (ars AmazonRedshiftSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
4322	return nil, false
4323}
4324
4325// AsBlobSource is the BasicCopySource implementation for AmazonRedshiftSource.
4326func (ars AmazonRedshiftSource) AsBlobSource() (*BlobSource, bool) {
4327	return nil, false
4328}
4329
4330// AsAzureTableSource is the BasicCopySource implementation for AmazonRedshiftSource.
4331func (ars AmazonRedshiftSource) AsAzureTableSource() (*AzureTableSource, bool) {
4332	return nil, false
4333}
4334
4335// AsCopySource is the BasicCopySource implementation for AmazonRedshiftSource.
4336func (ars AmazonRedshiftSource) AsCopySource() (*CopySource, bool) {
4337	return nil, false
4338}
4339
4340// AsBasicCopySource is the BasicCopySource implementation for AmazonRedshiftSource.
4341func (ars AmazonRedshiftSource) AsBasicCopySource() (BasicCopySource, bool) {
4342	return &ars, true
4343}
4344
4345// AmazonS3Dataset a single Amazon Simple Storage Service (S3) object or a set of S3 objects.
4346type AmazonS3Dataset struct {
4347	// AmazonS3DatasetTypeProperties - Amazon S3 dataset properties.
4348	*AmazonS3DatasetTypeProperties `json:"typeProperties,omitempty"`
4349	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
4350	AdditionalProperties map[string]interface{} `json:""`
4351	// Description - Dataset description.
4352	Description *string `json:"description,omitempty"`
4353	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
4354	Structure interface{} `json:"structure,omitempty"`
4355	// LinkedServiceName - Linked service reference.
4356	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
4357	// Parameters - Parameters for dataset.
4358	Parameters map[string]*ParameterSpecification `json:"parameters"`
4359	// Annotations - List of tags that can be used for describing the Dataset.
4360	Annotations *[]interface{} `json:"annotations,omitempty"`
4361	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
4362	Type TypeBasicDataset `json:"type,omitempty"`
4363}
4364
4365// MarshalJSON is the custom marshaler for AmazonS3Dataset.
4366func (asd AmazonS3Dataset) MarshalJSON() ([]byte, error) {
4367	asd.Type = TypeAmazonS3Object
4368	objectMap := make(map[string]interface{})
4369	if asd.AmazonS3DatasetTypeProperties != nil {
4370		objectMap["typeProperties"] = asd.AmazonS3DatasetTypeProperties
4371	}
4372	if asd.Description != nil {
4373		objectMap["description"] = asd.Description
4374	}
4375	objectMap["structure"] = asd.Structure
4376	if asd.LinkedServiceName != nil {
4377		objectMap["linkedServiceName"] = asd.LinkedServiceName
4378	}
4379	if asd.Parameters != nil {
4380		objectMap["parameters"] = asd.Parameters
4381	}
4382	if asd.Annotations != nil {
4383		objectMap["annotations"] = asd.Annotations
4384	}
4385	if asd.Type != "" {
4386		objectMap["type"] = asd.Type
4387	}
4388	for k, v := range asd.AdditionalProperties {
4389		objectMap[k] = v
4390	}
4391	return json.Marshal(objectMap)
4392}
4393
4394// AsResponsysObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4395func (asd AmazonS3Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
4396	return nil, false
4397}
4398
4399// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4400func (asd AmazonS3Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
4401	return nil, false
4402}
4403
4404// AsVerticaTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4405func (asd AmazonS3Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
4406	return nil, false
4407}
4408
4409// AsNetezzaTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4410func (asd AmazonS3Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
4411	return nil, false
4412}
4413
4414// AsZohoObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4415func (asd AmazonS3Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
4416	return nil, false
4417}
4418
4419// AsXeroObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4420func (asd AmazonS3Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
4421	return nil, false
4422}
4423
4424// AsSquareObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4425func (asd AmazonS3Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
4426	return nil, false
4427}
4428
4429// AsSparkObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4430func (asd AmazonS3Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
4431	return nil, false
4432}
4433
4434// AsShopifyObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4435func (asd AmazonS3Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
4436	return nil, false
4437}
4438
4439// AsServiceNowObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4440func (asd AmazonS3Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
4441	return nil, false
4442}
4443
4444// AsQuickBooksObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4445func (asd AmazonS3Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
4446	return nil, false
4447}
4448
4449// AsPrestoObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4450func (asd AmazonS3Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
4451	return nil, false
4452}
4453
4454// AsPhoenixObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4455func (asd AmazonS3Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
4456	return nil, false
4457}
4458
4459// AsPaypalObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4460func (asd AmazonS3Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
4461	return nil, false
4462}
4463
4464// AsMarketoObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4465func (asd AmazonS3Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
4466	return nil, false
4467}
4468
4469// AsMariaDBTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4470func (asd AmazonS3Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
4471	return nil, false
4472}
4473
4474// AsMagentoObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4475func (asd AmazonS3Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
4476	return nil, false
4477}
4478
4479// AsJiraObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4480func (asd AmazonS3Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
4481	return nil, false
4482}
4483
4484// AsImpalaObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4485func (asd AmazonS3Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
4486	return nil, false
4487}
4488
4489// AsHubspotObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4490func (asd AmazonS3Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
4491	return nil, false
4492}
4493
4494// AsHiveObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4495func (asd AmazonS3Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
4496	return nil, false
4497}
4498
4499// AsHBaseObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4500func (asd AmazonS3Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
4501	return nil, false
4502}
4503
4504// AsGreenplumTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4505func (asd AmazonS3Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
4506	return nil, false
4507}
4508
4509// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4510func (asd AmazonS3Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
4511	return nil, false
4512}
4513
4514// AsEloquaObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4515func (asd AmazonS3Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
4516	return nil, false
4517}
4518
4519// AsDrillTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4520func (asd AmazonS3Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
4521	return nil, false
4522}
4523
4524// AsCouchbaseTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4525func (asd AmazonS3Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
4526	return nil, false
4527}
4528
4529// AsConcurObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4530func (asd AmazonS3Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
4531	return nil, false
4532}
4533
4534// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4535func (asd AmazonS3Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
4536	return nil, false
4537}
4538
4539// AsAmazonMWSObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4540func (asd AmazonS3Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
4541	return nil, false
4542}
4543
4544// AsHTTPDataset is the BasicDataset implementation for AmazonS3Dataset.
4545func (asd AmazonS3Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
4546	return nil, false
4547}
4548
4549// AsAzureSearchIndexDataset is the BasicDataset implementation for AmazonS3Dataset.
4550func (asd AmazonS3Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
4551	return nil, false
4552}
4553
4554// AsWebTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4555func (asd AmazonS3Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
4556	return nil, false
4557}
4558
4559// AsSQLServerTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4560func (asd AmazonS3Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
4561	return nil, false
4562}
4563
4564// AsSapEccResourceDataset is the BasicDataset implementation for AmazonS3Dataset.
4565func (asd AmazonS3Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
4566	return nil, false
4567}
4568
4569// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AmazonS3Dataset.
4570func (asd AmazonS3Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
4571	return nil, false
4572}
4573
4574// AsSalesforceObjectDataset is the BasicDataset implementation for AmazonS3Dataset.
4575func (asd AmazonS3Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
4576	return nil, false
4577}
4578
4579// AsRelationalTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4580func (asd AmazonS3Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
4581	return nil, false
4582}
4583
4584// AsAzureMySQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4585func (asd AmazonS3Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
4586	return nil, false
4587}
4588
4589// AsOracleTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4590func (asd AmazonS3Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
4591	return nil, false
4592}
4593
4594// AsODataResourceDataset is the BasicDataset implementation for AmazonS3Dataset.
4595func (asd AmazonS3Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
4596	return nil, false
4597}
4598
4599// AsMongoDbCollectionDataset is the BasicDataset implementation for AmazonS3Dataset.
4600func (asd AmazonS3Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
4601	return nil, false
4602}
4603
4604// AsFileShareDataset is the BasicDataset implementation for AmazonS3Dataset.
4605func (asd AmazonS3Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
4606	return nil, false
4607}
4608
4609// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AmazonS3Dataset.
4610func (asd AmazonS3Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
4611	return nil, false
4612}
4613
4614// AsDynamicsEntityDataset is the BasicDataset implementation for AmazonS3Dataset.
4615func (asd AmazonS3Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
4616	return nil, false
4617}
4618
4619// AsDocumentDbCollectionDataset is the BasicDataset implementation for AmazonS3Dataset.
4620func (asd AmazonS3Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
4621	return nil, false
4622}
4623
4624// AsCustomDataset is the BasicDataset implementation for AmazonS3Dataset.
4625func (asd AmazonS3Dataset) AsCustomDataset() (*CustomDataset, bool) {
4626	return nil, false
4627}
4628
4629// AsCassandraTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4630func (asd AmazonS3Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
4631	return nil, false
4632}
4633
4634// AsAzureSQLDWTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4635func (asd AmazonS3Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
4636	return nil, false
4637}
4638
4639// AsAzureSQLTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4640func (asd AmazonS3Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
4641	return nil, false
4642}
4643
4644// AsAzureTableDataset is the BasicDataset implementation for AmazonS3Dataset.
4645func (asd AmazonS3Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
4646	return nil, false
4647}
4648
4649// AsAzureBlobDataset is the BasicDataset implementation for AmazonS3Dataset.
4650func (asd AmazonS3Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
4651	return nil, false
4652}
4653
4654// AsAmazonS3Dataset is the BasicDataset implementation for AmazonS3Dataset.
4655func (asd AmazonS3Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
4656	return &asd, true
4657}
4658
4659// AsDataset is the BasicDataset implementation for AmazonS3Dataset.
4660func (asd AmazonS3Dataset) AsDataset() (*Dataset, bool) {
4661	return nil, false
4662}
4663
4664// AsBasicDataset is the BasicDataset implementation for AmazonS3Dataset.
4665func (asd AmazonS3Dataset) AsBasicDataset() (BasicDataset, bool) {
4666	return &asd, true
4667}
4668
4669// UnmarshalJSON is the custom unmarshaler for AmazonS3Dataset struct.
4670func (asd *AmazonS3Dataset) UnmarshalJSON(body []byte) error {
4671	var m map[string]*json.RawMessage
4672	err := json.Unmarshal(body, &m)
4673	if err != nil {
4674		return err
4675	}
4676	for k, v := range m {
4677		switch k {
4678		case "typeProperties":
4679			if v != nil {
4680				var amazonS3DatasetTypeProperties AmazonS3DatasetTypeProperties
4681				err = json.Unmarshal(*v, &amazonS3DatasetTypeProperties)
4682				if err != nil {
4683					return err
4684				}
4685				asd.AmazonS3DatasetTypeProperties = &amazonS3DatasetTypeProperties
4686			}
4687		default:
4688			if v != nil {
4689				var additionalProperties interface{}
4690				err = json.Unmarshal(*v, &additionalProperties)
4691				if err != nil {
4692					return err
4693				}
4694				if asd.AdditionalProperties == nil {
4695					asd.AdditionalProperties = make(map[string]interface{})
4696				}
4697				asd.AdditionalProperties[k] = additionalProperties
4698			}
4699		case "description":
4700			if v != nil {
4701				var description string
4702				err = json.Unmarshal(*v, &description)
4703				if err != nil {
4704					return err
4705				}
4706				asd.Description = &description
4707			}
4708		case "structure":
4709			if v != nil {
4710				var structure interface{}
4711				err = json.Unmarshal(*v, &structure)
4712				if err != nil {
4713					return err
4714				}
4715				asd.Structure = structure
4716			}
4717		case "linkedServiceName":
4718			if v != nil {
4719				var linkedServiceName LinkedServiceReference
4720				err = json.Unmarshal(*v, &linkedServiceName)
4721				if err != nil {
4722					return err
4723				}
4724				asd.LinkedServiceName = &linkedServiceName
4725			}
4726		case "parameters":
4727			if v != nil {
4728				var parameters map[string]*ParameterSpecification
4729				err = json.Unmarshal(*v, &parameters)
4730				if err != nil {
4731					return err
4732				}
4733				asd.Parameters = parameters
4734			}
4735		case "annotations":
4736			if v != nil {
4737				var annotations []interface{}
4738				err = json.Unmarshal(*v, &annotations)
4739				if err != nil {
4740					return err
4741				}
4742				asd.Annotations = &annotations
4743			}
4744		case "type":
4745			if v != nil {
4746				var typeVar TypeBasicDataset
4747				err = json.Unmarshal(*v, &typeVar)
4748				if err != nil {
4749					return err
4750				}
4751				asd.Type = typeVar
4752			}
4753		}
4754	}
4755
4756	return nil
4757}
4758
4759// AmazonS3DatasetTypeProperties amazon S3 dataset properties.
4760type AmazonS3DatasetTypeProperties struct {
4761	// BucketName - The name of the Amazon S3 bucket. Type: string (or Expression with resultType string).
4762	BucketName interface{} `json:"bucketName,omitempty"`
4763	// Key - The key of the Amazon S3 object. Type: string (or Expression with resultType string).
4764	Key interface{} `json:"key,omitempty"`
4765	// Prefix - The prefix filter for the S3 object name. Type: string (or Expression with resultType string).
4766	Prefix interface{} `json:"prefix,omitempty"`
4767	// Version - The version for the S3 object. Type: string (or Expression with resultType string).
4768	Version interface{} `json:"version,omitempty"`
4769	// Format - The format of files.
4770	Format BasicDatasetStorageFormat `json:"format,omitempty"`
4771	// Compression - The data compression method used for the Amazon S3 object.
4772	Compression BasicDatasetCompression `json:"compression,omitempty"`
4773}
4774
4775// UnmarshalJSON is the custom unmarshaler for AmazonS3DatasetTypeProperties struct.
4776func (asdtp *AmazonS3DatasetTypeProperties) UnmarshalJSON(body []byte) error {
4777	var m map[string]*json.RawMessage
4778	err := json.Unmarshal(body, &m)
4779	if err != nil {
4780		return err
4781	}
4782	for k, v := range m {
4783		switch k {
4784		case "bucketName":
4785			if v != nil {
4786				var bucketName interface{}
4787				err = json.Unmarshal(*v, &bucketName)
4788				if err != nil {
4789					return err
4790				}
4791				asdtp.BucketName = bucketName
4792			}
4793		case "key":
4794			if v != nil {
4795				var key interface{}
4796				err = json.Unmarshal(*v, &key)
4797				if err != nil {
4798					return err
4799				}
4800				asdtp.Key = key
4801			}
4802		case "prefix":
4803			if v != nil {
4804				var prefix interface{}
4805				err = json.Unmarshal(*v, &prefix)
4806				if err != nil {
4807					return err
4808				}
4809				asdtp.Prefix = prefix
4810			}
4811		case "version":
4812			if v != nil {
4813				var version interface{}
4814				err = json.Unmarshal(*v, &version)
4815				if err != nil {
4816					return err
4817				}
4818				asdtp.Version = version
4819			}
4820		case "format":
4821			if v != nil {
4822				formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
4823				if err != nil {
4824					return err
4825				}
4826				asdtp.Format = formatVar
4827			}
4828		case "compression":
4829			if v != nil {
4830				compression, err := unmarshalBasicDatasetCompression(*v)
4831				if err != nil {
4832					return err
4833				}
4834				asdtp.Compression = compression
4835			}
4836		}
4837	}
4838
4839	return nil
4840}
4841
4842// AmazonS3LinkedService linked service for Amazon S3.
4843type AmazonS3LinkedService struct {
4844	// AmazonS3LinkedServiceTypeProperties - Amazon S3 linked service properties.
4845	*AmazonS3LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
4846	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
4847	AdditionalProperties map[string]interface{} `json:""`
4848	// ConnectVia - The integration runtime reference.
4849	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
4850	// Description - Linked service description.
4851	Description *string `json:"description,omitempty"`
4852	// Parameters - Parameters for linked service.
4853	Parameters map[string]*ParameterSpecification `json:"parameters"`
4854	// Annotations - List of tags that can be used for describing the Dataset.
4855	Annotations *[]interface{} `json:"annotations,omitempty"`
4856	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
4857	Type TypeBasicLinkedService `json:"type,omitempty"`
4858}
4859
4860// MarshalJSON is the custom marshaler for AmazonS3LinkedService.
4861func (asls AmazonS3LinkedService) MarshalJSON() ([]byte, error) {
4862	asls.Type = TypeAmazonS3
4863	objectMap := make(map[string]interface{})
4864	if asls.AmazonS3LinkedServiceTypeProperties != nil {
4865		objectMap["typeProperties"] = asls.AmazonS3LinkedServiceTypeProperties
4866	}
4867	if asls.ConnectVia != nil {
4868		objectMap["connectVia"] = asls.ConnectVia
4869	}
4870	if asls.Description != nil {
4871		objectMap["description"] = asls.Description
4872	}
4873	if asls.Parameters != nil {
4874		objectMap["parameters"] = asls.Parameters
4875	}
4876	if asls.Annotations != nil {
4877		objectMap["annotations"] = asls.Annotations
4878	}
4879	if asls.Type != "" {
4880		objectMap["type"] = asls.Type
4881	}
4882	for k, v := range asls.AdditionalProperties {
4883		objectMap[k] = v
4884	}
4885	return json.Marshal(objectMap)
4886}
4887
4888// AsResponsysLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4889func (asls AmazonS3LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
4890	return nil, false
4891}
4892
4893// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4894func (asls AmazonS3LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
4895	return nil, false
4896}
4897
4898// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4899func (asls AmazonS3LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
4900	return nil, false
4901}
4902
4903// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4904func (asls AmazonS3LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
4905	return nil, false
4906}
4907
4908// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4909func (asls AmazonS3LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
4910	return nil, false
4911}
4912
4913// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4914func (asls AmazonS3LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
4915	return nil, false
4916}
4917
4918// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4919func (asls AmazonS3LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
4920	return nil, false
4921}
4922
4923// AsZohoLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4924func (asls AmazonS3LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
4925	return nil, false
4926}
4927
4928// AsXeroLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4929func (asls AmazonS3LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
4930	return nil, false
4931}
4932
4933// AsSquareLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4934func (asls AmazonS3LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
4935	return nil, false
4936}
4937
4938// AsSparkLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4939func (asls AmazonS3LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
4940	return nil, false
4941}
4942
4943// AsShopifyLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4944func (asls AmazonS3LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
4945	return nil, false
4946}
4947
4948// AsServiceNowLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4949func (asls AmazonS3LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
4950	return nil, false
4951}
4952
4953// AsQuickBooksLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4954func (asls AmazonS3LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
4955	return nil, false
4956}
4957
4958// AsPrestoLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4959func (asls AmazonS3LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
4960	return nil, false
4961}
4962
4963// AsPhoenixLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4964func (asls AmazonS3LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
4965	return nil, false
4966}
4967
4968// AsPaypalLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4969func (asls AmazonS3LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
4970	return nil, false
4971}
4972
4973// AsMarketoLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4974func (asls AmazonS3LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
4975	return nil, false
4976}
4977
4978// AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4979func (asls AmazonS3LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
4980	return nil, false
4981}
4982
4983// AsMagentoLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4984func (asls AmazonS3LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
4985	return nil, false
4986}
4987
4988// AsJiraLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4989func (asls AmazonS3LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
4990	return nil, false
4991}
4992
4993// AsImpalaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4994func (asls AmazonS3LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
4995	return nil, false
4996}
4997
4998// AsHubspotLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
4999func (asls AmazonS3LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
5000	return nil, false
5001}
5002
5003// AsHiveLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5004func (asls AmazonS3LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
5005	return nil, false
5006}
5007
5008// AsHBaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5009func (asls AmazonS3LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
5010	return nil, false
5011}
5012
5013// AsGreenplumLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5014func (asls AmazonS3LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
5015	return nil, false
5016}
5017
5018// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5019func (asls AmazonS3LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
5020	return nil, false
5021}
5022
5023// AsEloquaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5024func (asls AmazonS3LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
5025	return nil, false
5026}
5027
5028// AsDrillLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5029func (asls AmazonS3LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
5030	return nil, false
5031}
5032
5033// AsCouchbaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5034func (asls AmazonS3LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
5035	return nil, false
5036}
5037
5038// AsConcurLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5039func (asls AmazonS3LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
5040	return nil, false
5041}
5042
5043// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5044func (asls AmazonS3LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
5045	return nil, false
5046}
5047
5048// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5049func (asls AmazonS3LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
5050	return nil, false
5051}
5052
5053// AsSapHanaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5054func (asls AmazonS3LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
5055	return nil, false
5056}
5057
5058// AsSapBWLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5059func (asls AmazonS3LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
5060	return nil, false
5061}
5062
5063// AsSftpServerLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5064func (asls AmazonS3LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
5065	return nil, false
5066}
5067
5068// AsFtpServerLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5069func (asls AmazonS3LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
5070	return nil, false
5071}
5072
5073// AsHTTPLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5074func (asls AmazonS3LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
5075	return nil, false
5076}
5077
5078// AsAzureSearchLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5079func (asls AmazonS3LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
5080	return nil, false
5081}
5082
5083// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5084func (asls AmazonS3LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
5085	return nil, false
5086}
5087
5088// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5089func (asls AmazonS3LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
5090	return nil, false
5091}
5092
5093// AsAmazonS3LinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5094func (asls AmazonS3LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
5095	return &asls, true
5096}
5097
5098// AsSapEccLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5099func (asls AmazonS3LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
5100	return nil, false
5101}
5102
5103// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5104func (asls AmazonS3LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
5105	return nil, false
5106}
5107
5108// AsSalesforceLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5109func (asls AmazonS3LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
5110	return nil, false
5111}
5112
5113// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5114func (asls AmazonS3LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
5115	return nil, false
5116}
5117
5118// AsMongoDbLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5119func (asls AmazonS3LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
5120	return nil, false
5121}
5122
5123// AsCassandraLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5124func (asls AmazonS3LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
5125	return nil, false
5126}
5127
5128// AsWebLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5129func (asls AmazonS3LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
5130	return nil, false
5131}
5132
5133// AsODataLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5134func (asls AmazonS3LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
5135	return nil, false
5136}
5137
5138// AsHdfsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5139func (asls AmazonS3LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
5140	return nil, false
5141}
5142
5143// AsOdbcLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5144func (asls AmazonS3LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
5145	return nil, false
5146}
5147
5148// AsAzureMLLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5149func (asls AmazonS3LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
5150	return nil, false
5151}
5152
5153// AsTeradataLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5154func (asls AmazonS3LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
5155	return nil, false
5156}
5157
5158// AsDb2LinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5159func (asls AmazonS3LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
5160	return nil, false
5161}
5162
5163// AsSybaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5164func (asls AmazonS3LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
5165	return nil, false
5166}
5167
5168// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5169func (asls AmazonS3LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
5170	return nil, false
5171}
5172
5173// AsMySQLLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5174func (asls AmazonS3LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
5175	return nil, false
5176}
5177
5178// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5179func (asls AmazonS3LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
5180	return nil, false
5181}
5182
5183// AsOracleLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5184func (asls AmazonS3LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
5185	return nil, false
5186}
5187
5188// AsFileServerLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5189func (asls AmazonS3LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
5190	return nil, false
5191}
5192
5193// AsHDInsightLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5194func (asls AmazonS3LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
5195	return nil, false
5196}
5197
5198// AsDynamicsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5199func (asls AmazonS3LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
5200	return nil, false
5201}
5202
5203// AsCosmosDbLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5204func (asls AmazonS3LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
5205	return nil, false
5206}
5207
5208// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5209func (asls AmazonS3LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
5210	return nil, false
5211}
5212
5213// AsAzureBatchLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5214func (asls AmazonS3LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
5215	return nil, false
5216}
5217
5218// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5219func (asls AmazonS3LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
5220	return nil, false
5221}
5222
5223// AsSQLServerLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5224func (asls AmazonS3LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
5225	return nil, false
5226}
5227
5228// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5229func (asls AmazonS3LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
5230	return nil, false
5231}
5232
5233// AsAzureStorageLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5234func (asls AmazonS3LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
5235	return nil, false
5236}
5237
5238// AsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5239func (asls AmazonS3LinkedService) AsLinkedService() (*LinkedService, bool) {
5240	return nil, false
5241}
5242
5243// AsBasicLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService.
5244func (asls AmazonS3LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
5245	return &asls, true
5246}
5247
5248// UnmarshalJSON is the custom unmarshaler for AmazonS3LinkedService struct.
5249func (asls *AmazonS3LinkedService) UnmarshalJSON(body []byte) error {
5250	var m map[string]*json.RawMessage
5251	err := json.Unmarshal(body, &m)
5252	if err != nil {
5253		return err
5254	}
5255	for k, v := range m {
5256		switch k {
5257		case "typeProperties":
5258			if v != nil {
5259				var amazonS3LinkedServiceTypeProperties AmazonS3LinkedServiceTypeProperties
5260				err = json.Unmarshal(*v, &amazonS3LinkedServiceTypeProperties)
5261				if err != nil {
5262					return err
5263				}
5264				asls.AmazonS3LinkedServiceTypeProperties = &amazonS3LinkedServiceTypeProperties
5265			}
5266		default:
5267			if v != nil {
5268				var additionalProperties interface{}
5269				err = json.Unmarshal(*v, &additionalProperties)
5270				if err != nil {
5271					return err
5272				}
5273				if asls.AdditionalProperties == nil {
5274					asls.AdditionalProperties = make(map[string]interface{})
5275				}
5276				asls.AdditionalProperties[k] = additionalProperties
5277			}
5278		case "connectVia":
5279			if v != nil {
5280				var connectVia IntegrationRuntimeReference
5281				err = json.Unmarshal(*v, &connectVia)
5282				if err != nil {
5283					return err
5284				}
5285				asls.ConnectVia = &connectVia
5286			}
5287		case "description":
5288			if v != nil {
5289				var description string
5290				err = json.Unmarshal(*v, &description)
5291				if err != nil {
5292					return err
5293				}
5294				asls.Description = &description
5295			}
5296		case "parameters":
5297			if v != nil {
5298				var parameters map[string]*ParameterSpecification
5299				err = json.Unmarshal(*v, &parameters)
5300				if err != nil {
5301					return err
5302				}
5303				asls.Parameters = parameters
5304			}
5305		case "annotations":
5306			if v != nil {
5307				var annotations []interface{}
5308				err = json.Unmarshal(*v, &annotations)
5309				if err != nil {
5310					return err
5311				}
5312				asls.Annotations = &annotations
5313			}
5314		case "type":
5315			if v != nil {
5316				var typeVar TypeBasicLinkedService
5317				err = json.Unmarshal(*v, &typeVar)
5318				if err != nil {
5319					return err
5320				}
5321				asls.Type = typeVar
5322			}
5323		}
5324	}
5325
5326	return nil
5327}
5328
5329// AmazonS3LinkedServiceTypeProperties amazon S3 linked service properties.
5330type AmazonS3LinkedServiceTypeProperties struct {
5331	// AccessKeyID - The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string).
5332	AccessKeyID interface{} `json:"accessKeyId,omitempty"`
5333	// SecretAccessKey - The secret access key of the Amazon S3 Identity and Access Management (IAM) user.
5334	SecretAccessKey BasicSecretBase `json:"secretAccessKey,omitempty"`
5335	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
5336	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
5337}
5338
5339// UnmarshalJSON is the custom unmarshaler for AmazonS3LinkedServiceTypeProperties struct.
5340func (aslstp *AmazonS3LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
5341	var m map[string]*json.RawMessage
5342	err := json.Unmarshal(body, &m)
5343	if err != nil {
5344		return err
5345	}
5346	for k, v := range m {
5347		switch k {
5348		case "accessKeyId":
5349			if v != nil {
5350				var accessKeyID interface{}
5351				err = json.Unmarshal(*v, &accessKeyID)
5352				if err != nil {
5353					return err
5354				}
5355				aslstp.AccessKeyID = accessKeyID
5356			}
5357		case "secretAccessKey":
5358			if v != nil {
5359				secretAccessKey, err := unmarshalBasicSecretBase(*v)
5360				if err != nil {
5361					return err
5362				}
5363				aslstp.SecretAccessKey = secretAccessKey
5364			}
5365		case "encryptedCredential":
5366			if v != nil {
5367				var encryptedCredential interface{}
5368				err = json.Unmarshal(*v, &encryptedCredential)
5369				if err != nil {
5370					return err
5371				}
5372				aslstp.EncryptedCredential = encryptedCredential
5373			}
5374		}
5375	}
5376
5377	return nil
5378}
5379
5380// AvroFormat the data stored in Avro format.
5381type AvroFormat struct {
5382	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
5383	AdditionalProperties map[string]interface{} `json:""`
5384	// Serializer - Serializer. Type: string (or Expression with resultType string).
5385	Serializer interface{} `json:"serializer,omitempty"`
5386	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
5387	Deserializer interface{} `json:"deserializer,omitempty"`
5388	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
5389	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
5390}
5391
5392// MarshalJSON is the custom marshaler for AvroFormat.
5393func (af AvroFormat) MarshalJSON() ([]byte, error) {
5394	af.Type = TypeAvroFormat
5395	objectMap := make(map[string]interface{})
5396	objectMap["serializer"] = af.Serializer
5397	objectMap["deserializer"] = af.Deserializer
5398	if af.Type != "" {
5399		objectMap["type"] = af.Type
5400	}
5401	for k, v := range af.AdditionalProperties {
5402		objectMap[k] = v
5403	}
5404	return json.Marshal(objectMap)
5405}
5406
5407// AsParquetFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5408func (af AvroFormat) AsParquetFormat() (*ParquetFormat, bool) {
5409	return nil, false
5410}
5411
5412// AsOrcFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5413func (af AvroFormat) AsOrcFormat() (*OrcFormat, bool) {
5414	return nil, false
5415}
5416
5417// AsAvroFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5418func (af AvroFormat) AsAvroFormat() (*AvroFormat, bool) {
5419	return &af, true
5420}
5421
5422// AsJSONFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5423func (af AvroFormat) AsJSONFormat() (*JSONFormat, bool) {
5424	return nil, false
5425}
5426
5427// AsTextFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5428func (af AvroFormat) AsTextFormat() (*TextFormat, bool) {
5429	return nil, false
5430}
5431
5432// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5433func (af AvroFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
5434	return nil, false
5435}
5436
5437// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for AvroFormat.
5438func (af AvroFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
5439	return &af, true
5440}
5441
5442// AzureBatchLinkedService azure Batch linked service.
5443type AzureBatchLinkedService struct {
5444	// AzureBatchLinkedServiceTypeProperties - Azure Batch linked service properties.
5445	*AzureBatchLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
5446	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
5447	AdditionalProperties map[string]interface{} `json:""`
5448	// ConnectVia - The integration runtime reference.
5449	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
5450	// Description - Linked service description.
5451	Description *string `json:"description,omitempty"`
5452	// Parameters - Parameters for linked service.
5453	Parameters map[string]*ParameterSpecification `json:"parameters"`
5454	// Annotations - List of tags that can be used for describing the Dataset.
5455	Annotations *[]interface{} `json:"annotations,omitempty"`
5456	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
5457	Type TypeBasicLinkedService `json:"type,omitempty"`
5458}
5459
5460// MarshalJSON is the custom marshaler for AzureBatchLinkedService.
5461func (abls AzureBatchLinkedService) MarshalJSON() ([]byte, error) {
5462	abls.Type = TypeAzureBatch
5463	objectMap := make(map[string]interface{})
5464	if abls.AzureBatchLinkedServiceTypeProperties != nil {
5465		objectMap["typeProperties"] = abls.AzureBatchLinkedServiceTypeProperties
5466	}
5467	if abls.ConnectVia != nil {
5468		objectMap["connectVia"] = abls.ConnectVia
5469	}
5470	if abls.Description != nil {
5471		objectMap["description"] = abls.Description
5472	}
5473	if abls.Parameters != nil {
5474		objectMap["parameters"] = abls.Parameters
5475	}
5476	if abls.Annotations != nil {
5477		objectMap["annotations"] = abls.Annotations
5478	}
5479	if abls.Type != "" {
5480		objectMap["type"] = abls.Type
5481	}
5482	for k, v := range abls.AdditionalProperties {
5483		objectMap[k] = v
5484	}
5485	return json.Marshal(objectMap)
5486}
5487
5488// AsResponsysLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5489func (abls AzureBatchLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
5490	return nil, false
5491}
5492
5493// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5494func (abls AzureBatchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
5495	return nil, false
5496}
5497
5498// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5499func (abls AzureBatchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
5500	return nil, false
5501}
5502
5503// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5504func (abls AzureBatchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
5505	return nil, false
5506}
5507
5508// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5509func (abls AzureBatchLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
5510	return nil, false
5511}
5512
5513// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5514func (abls AzureBatchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
5515	return nil, false
5516}
5517
5518// AsVerticaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5519func (abls AzureBatchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
5520	return nil, false
5521}
5522
5523// AsZohoLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5524func (abls AzureBatchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
5525	return nil, false
5526}
5527
5528// AsXeroLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5529func (abls AzureBatchLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
5530	return nil, false
5531}
5532
5533// AsSquareLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5534func (abls AzureBatchLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
5535	return nil, false
5536}
5537
5538// AsSparkLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5539func (abls AzureBatchLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
5540	return nil, false
5541}
5542
5543// AsShopifyLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5544func (abls AzureBatchLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
5545	return nil, false
5546}
5547
5548// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5549func (abls AzureBatchLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
5550	return nil, false
5551}
5552
5553// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5554func (abls AzureBatchLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
5555	return nil, false
5556}
5557
5558// AsPrestoLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5559func (abls AzureBatchLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
5560	return nil, false
5561}
5562
5563// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5564func (abls AzureBatchLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
5565	return nil, false
5566}
5567
5568// AsPaypalLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5569func (abls AzureBatchLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
5570	return nil, false
5571}
5572
5573// AsMarketoLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5574func (abls AzureBatchLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
5575	return nil, false
5576}
5577
5578// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5579func (abls AzureBatchLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
5580	return nil, false
5581}
5582
5583// AsMagentoLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5584func (abls AzureBatchLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
5585	return nil, false
5586}
5587
5588// AsJiraLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5589func (abls AzureBatchLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
5590	return nil, false
5591}
5592
5593// AsImpalaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5594func (abls AzureBatchLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
5595	return nil, false
5596}
5597
5598// AsHubspotLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5599func (abls AzureBatchLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
5600	return nil, false
5601}
5602
5603// AsHiveLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5604func (abls AzureBatchLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
5605	return nil, false
5606}
5607
5608// AsHBaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5609func (abls AzureBatchLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
5610	return nil, false
5611}
5612
5613// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5614func (abls AzureBatchLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
5615	return nil, false
5616}
5617
5618// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5619func (abls AzureBatchLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
5620	return nil, false
5621}
5622
5623// AsEloquaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5624func (abls AzureBatchLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
5625	return nil, false
5626}
5627
5628// AsDrillLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5629func (abls AzureBatchLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
5630	return nil, false
5631}
5632
5633// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5634func (abls AzureBatchLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
5635	return nil, false
5636}
5637
5638// AsConcurLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5639func (abls AzureBatchLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
5640	return nil, false
5641}
5642
5643// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5644func (abls AzureBatchLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
5645	return nil, false
5646}
5647
5648// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5649func (abls AzureBatchLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
5650	return nil, false
5651}
5652
5653// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5654func (abls AzureBatchLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
5655	return nil, false
5656}
5657
5658// AsSapBWLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5659func (abls AzureBatchLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
5660	return nil, false
5661}
5662
5663// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5664func (abls AzureBatchLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
5665	return nil, false
5666}
5667
5668// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5669func (abls AzureBatchLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
5670	return nil, false
5671}
5672
5673// AsHTTPLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5674func (abls AzureBatchLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
5675	return nil, false
5676}
5677
5678// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5679func (abls AzureBatchLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
5680	return nil, false
5681}
5682
5683// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5684func (abls AzureBatchLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
5685	return nil, false
5686}
5687
5688// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5689func (abls AzureBatchLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
5690	return nil, false
5691}
5692
5693// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5694func (abls AzureBatchLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
5695	return nil, false
5696}
5697
5698// AsSapEccLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5699func (abls AzureBatchLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
5700	return nil, false
5701}
5702
5703// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5704func (abls AzureBatchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
5705	return nil, false
5706}
5707
5708// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5709func (abls AzureBatchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
5710	return nil, false
5711}
5712
5713// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5714func (abls AzureBatchLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
5715	return nil, false
5716}
5717
5718// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5719func (abls AzureBatchLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
5720	return nil, false
5721}
5722
5723// AsCassandraLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5724func (abls AzureBatchLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
5725	return nil, false
5726}
5727
5728// AsWebLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5729func (abls AzureBatchLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
5730	return nil, false
5731}
5732
5733// AsODataLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5734func (abls AzureBatchLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
5735	return nil, false
5736}
5737
5738// AsHdfsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5739func (abls AzureBatchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
5740	return nil, false
5741}
5742
5743// AsOdbcLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5744func (abls AzureBatchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
5745	return nil, false
5746}
5747
5748// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5749func (abls AzureBatchLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
5750	return nil, false
5751}
5752
5753// AsTeradataLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5754func (abls AzureBatchLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
5755	return nil, false
5756}
5757
5758// AsDb2LinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5759func (abls AzureBatchLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
5760	return nil, false
5761}
5762
5763// AsSybaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5764func (abls AzureBatchLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
5765	return nil, false
5766}
5767
5768// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5769func (abls AzureBatchLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
5770	return nil, false
5771}
5772
5773// AsMySQLLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5774func (abls AzureBatchLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
5775	return nil, false
5776}
5777
5778// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5779func (abls AzureBatchLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
5780	return nil, false
5781}
5782
5783// AsOracleLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5784func (abls AzureBatchLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
5785	return nil, false
5786}
5787
5788// AsFileServerLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5789func (abls AzureBatchLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
5790	return nil, false
5791}
5792
5793// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5794func (abls AzureBatchLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
5795	return nil, false
5796}
5797
5798// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5799func (abls AzureBatchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
5800	return nil, false
5801}
5802
5803// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5804func (abls AzureBatchLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
5805	return nil, false
5806}
5807
5808// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5809func (abls AzureBatchLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
5810	return nil, false
5811}
5812
5813// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5814func (abls AzureBatchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
5815	return &abls, true
5816}
5817
5818// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5819func (abls AzureBatchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
5820	return nil, false
5821}
5822
5823// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5824func (abls AzureBatchLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
5825	return nil, false
5826}
5827
5828// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5829func (abls AzureBatchLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
5830	return nil, false
5831}
5832
5833// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5834func (abls AzureBatchLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
5835	return nil, false
5836}
5837
5838// AsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5839func (abls AzureBatchLinkedService) AsLinkedService() (*LinkedService, bool) {
5840	return nil, false
5841}
5842
5843// AsBasicLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService.
5844func (abls AzureBatchLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
5845	return &abls, true
5846}
5847
5848// UnmarshalJSON is the custom unmarshaler for AzureBatchLinkedService struct.
5849func (abls *AzureBatchLinkedService) UnmarshalJSON(body []byte) error {
5850	var m map[string]*json.RawMessage
5851	err := json.Unmarshal(body, &m)
5852	if err != nil {
5853		return err
5854	}
5855	for k, v := range m {
5856		switch k {
5857		case "typeProperties":
5858			if v != nil {
5859				var azureBatchLinkedServiceTypeProperties AzureBatchLinkedServiceTypeProperties
5860				err = json.Unmarshal(*v, &azureBatchLinkedServiceTypeProperties)
5861				if err != nil {
5862					return err
5863				}
5864				abls.AzureBatchLinkedServiceTypeProperties = &azureBatchLinkedServiceTypeProperties
5865			}
5866		default:
5867			if v != nil {
5868				var additionalProperties interface{}
5869				err = json.Unmarshal(*v, &additionalProperties)
5870				if err != nil {
5871					return err
5872				}
5873				if abls.AdditionalProperties == nil {
5874					abls.AdditionalProperties = make(map[string]interface{})
5875				}
5876				abls.AdditionalProperties[k] = additionalProperties
5877			}
5878		case "connectVia":
5879			if v != nil {
5880				var connectVia IntegrationRuntimeReference
5881				err = json.Unmarshal(*v, &connectVia)
5882				if err != nil {
5883					return err
5884				}
5885				abls.ConnectVia = &connectVia
5886			}
5887		case "description":
5888			if v != nil {
5889				var description string
5890				err = json.Unmarshal(*v, &description)
5891				if err != nil {
5892					return err
5893				}
5894				abls.Description = &description
5895			}
5896		case "parameters":
5897			if v != nil {
5898				var parameters map[string]*ParameterSpecification
5899				err = json.Unmarshal(*v, &parameters)
5900				if err != nil {
5901					return err
5902				}
5903				abls.Parameters = parameters
5904			}
5905		case "annotations":
5906			if v != nil {
5907				var annotations []interface{}
5908				err = json.Unmarshal(*v, &annotations)
5909				if err != nil {
5910					return err
5911				}
5912				abls.Annotations = &annotations
5913			}
5914		case "type":
5915			if v != nil {
5916				var typeVar TypeBasicLinkedService
5917				err = json.Unmarshal(*v, &typeVar)
5918				if err != nil {
5919					return err
5920				}
5921				abls.Type = typeVar
5922			}
5923		}
5924	}
5925
5926	return nil
5927}
5928
5929// AzureBatchLinkedServiceTypeProperties azure Batch linked service properties.
5930type AzureBatchLinkedServiceTypeProperties struct {
5931	// AccountName - The Azure Batch account name. Type: string (or Expression with resultType string).
5932	AccountName interface{} `json:"accountName,omitempty"`
5933	// AccessKey - The Azure Batch account access key.
5934	AccessKey BasicSecretBase `json:"accessKey,omitempty"`
5935	// BatchURI - The Azure Batch URI. Type: string (or Expression with resultType string).
5936	BatchURI interface{} `json:"batchUri,omitempty"`
5937	// PoolName - The Azure Batch pool name. Type: string (or Expression with resultType string).
5938	PoolName interface{} `json:"poolName,omitempty"`
5939	// LinkedServiceName - The Azure Storage linked service reference.
5940	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
5941	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
5942	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
5943}
5944
5945// UnmarshalJSON is the custom unmarshaler for AzureBatchLinkedServiceTypeProperties struct.
5946func (ablstp *AzureBatchLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
5947	var m map[string]*json.RawMessage
5948	err := json.Unmarshal(body, &m)
5949	if err != nil {
5950		return err
5951	}
5952	for k, v := range m {
5953		switch k {
5954		case "accountName":
5955			if v != nil {
5956				var accountName interface{}
5957				err = json.Unmarshal(*v, &accountName)
5958				if err != nil {
5959					return err
5960				}
5961				ablstp.AccountName = accountName
5962			}
5963		case "accessKey":
5964			if v != nil {
5965				accessKey, err := unmarshalBasicSecretBase(*v)
5966				if err != nil {
5967					return err
5968				}
5969				ablstp.AccessKey = accessKey
5970			}
5971		case "batchUri":
5972			if v != nil {
5973				var batchURI interface{}
5974				err = json.Unmarshal(*v, &batchURI)
5975				if err != nil {
5976					return err
5977				}
5978				ablstp.BatchURI = batchURI
5979			}
5980		case "poolName":
5981			if v != nil {
5982				var poolName interface{}
5983				err = json.Unmarshal(*v, &poolName)
5984				if err != nil {
5985					return err
5986				}
5987				ablstp.PoolName = poolName
5988			}
5989		case "linkedServiceName":
5990			if v != nil {
5991				var linkedServiceName LinkedServiceReference
5992				err = json.Unmarshal(*v, &linkedServiceName)
5993				if err != nil {
5994					return err
5995				}
5996				ablstp.LinkedServiceName = &linkedServiceName
5997			}
5998		case "encryptedCredential":
5999			if v != nil {
6000				var encryptedCredential interface{}
6001				err = json.Unmarshal(*v, &encryptedCredential)
6002				if err != nil {
6003					return err
6004				}
6005				ablstp.EncryptedCredential = encryptedCredential
6006			}
6007		}
6008	}
6009
6010	return nil
6011}
6012
6013// AzureBlobDataset the Azure Blob storage.
6014type AzureBlobDataset struct {
6015	// AzureBlobDatasetTypeProperties - Azure Blob dataset properties.
6016	*AzureBlobDatasetTypeProperties `json:"typeProperties,omitempty"`
6017	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
6018	AdditionalProperties map[string]interface{} `json:""`
6019	// Description - Dataset description.
6020	Description *string `json:"description,omitempty"`
6021	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
6022	Structure interface{} `json:"structure,omitempty"`
6023	// LinkedServiceName - Linked service reference.
6024	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
6025	// Parameters - Parameters for dataset.
6026	Parameters map[string]*ParameterSpecification `json:"parameters"`
6027	// Annotations - List of tags that can be used for describing the Dataset.
6028	Annotations *[]interface{} `json:"annotations,omitempty"`
6029	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
6030	Type TypeBasicDataset `json:"type,omitempty"`
6031}
6032
6033// MarshalJSON is the custom marshaler for AzureBlobDataset.
6034func (abd AzureBlobDataset) MarshalJSON() ([]byte, error) {
6035	abd.Type = TypeAzureBlob
6036	objectMap := make(map[string]interface{})
6037	if abd.AzureBlobDatasetTypeProperties != nil {
6038		objectMap["typeProperties"] = abd.AzureBlobDatasetTypeProperties
6039	}
6040	if abd.Description != nil {
6041		objectMap["description"] = abd.Description
6042	}
6043	objectMap["structure"] = abd.Structure
6044	if abd.LinkedServiceName != nil {
6045		objectMap["linkedServiceName"] = abd.LinkedServiceName
6046	}
6047	if abd.Parameters != nil {
6048		objectMap["parameters"] = abd.Parameters
6049	}
6050	if abd.Annotations != nil {
6051		objectMap["annotations"] = abd.Annotations
6052	}
6053	if abd.Type != "" {
6054		objectMap["type"] = abd.Type
6055	}
6056	for k, v := range abd.AdditionalProperties {
6057		objectMap[k] = v
6058	}
6059	return json.Marshal(objectMap)
6060}
6061
6062// AsResponsysObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6063func (abd AzureBlobDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
6064	return nil, false
6065}
6066
6067// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6068func (abd AzureBlobDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
6069	return nil, false
6070}
6071
6072// AsVerticaTableDataset is the BasicDataset implementation for AzureBlobDataset.
6073func (abd AzureBlobDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
6074	return nil, false
6075}
6076
6077// AsNetezzaTableDataset is the BasicDataset implementation for AzureBlobDataset.
6078func (abd AzureBlobDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
6079	return nil, false
6080}
6081
6082// AsZohoObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6083func (abd AzureBlobDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
6084	return nil, false
6085}
6086
6087// AsXeroObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6088func (abd AzureBlobDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
6089	return nil, false
6090}
6091
6092// AsSquareObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6093func (abd AzureBlobDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
6094	return nil, false
6095}
6096
6097// AsSparkObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6098func (abd AzureBlobDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
6099	return nil, false
6100}
6101
6102// AsShopifyObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6103func (abd AzureBlobDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
6104	return nil, false
6105}
6106
6107// AsServiceNowObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6108func (abd AzureBlobDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
6109	return nil, false
6110}
6111
6112// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6113func (abd AzureBlobDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
6114	return nil, false
6115}
6116
6117// AsPrestoObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6118func (abd AzureBlobDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
6119	return nil, false
6120}
6121
6122// AsPhoenixObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6123func (abd AzureBlobDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
6124	return nil, false
6125}
6126
6127// AsPaypalObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6128func (abd AzureBlobDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
6129	return nil, false
6130}
6131
6132// AsMarketoObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6133func (abd AzureBlobDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
6134	return nil, false
6135}
6136
6137// AsMariaDBTableDataset is the BasicDataset implementation for AzureBlobDataset.
6138func (abd AzureBlobDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
6139	return nil, false
6140}
6141
6142// AsMagentoObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6143func (abd AzureBlobDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
6144	return nil, false
6145}
6146
6147// AsJiraObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6148func (abd AzureBlobDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
6149	return nil, false
6150}
6151
6152// AsImpalaObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6153func (abd AzureBlobDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
6154	return nil, false
6155}
6156
6157// AsHubspotObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6158func (abd AzureBlobDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
6159	return nil, false
6160}
6161
6162// AsHiveObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6163func (abd AzureBlobDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
6164	return nil, false
6165}
6166
6167// AsHBaseObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6168func (abd AzureBlobDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
6169	return nil, false
6170}
6171
6172// AsGreenplumTableDataset is the BasicDataset implementation for AzureBlobDataset.
6173func (abd AzureBlobDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
6174	return nil, false
6175}
6176
6177// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6178func (abd AzureBlobDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
6179	return nil, false
6180}
6181
6182// AsEloquaObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6183func (abd AzureBlobDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
6184	return nil, false
6185}
6186
6187// AsDrillTableDataset is the BasicDataset implementation for AzureBlobDataset.
6188func (abd AzureBlobDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
6189	return nil, false
6190}
6191
6192// AsCouchbaseTableDataset is the BasicDataset implementation for AzureBlobDataset.
6193func (abd AzureBlobDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
6194	return nil, false
6195}
6196
6197// AsConcurObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6198func (abd AzureBlobDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
6199	return nil, false
6200}
6201
6202// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
6203func (abd AzureBlobDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
6204	return nil, false
6205}
6206
6207// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6208func (abd AzureBlobDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
6209	return nil, false
6210}
6211
6212// AsHTTPDataset is the BasicDataset implementation for AzureBlobDataset.
6213func (abd AzureBlobDataset) AsHTTPDataset() (*HTTPDataset, bool) {
6214	return nil, false
6215}
6216
6217// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureBlobDataset.
6218func (abd AzureBlobDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
6219	return nil, false
6220}
6221
6222// AsWebTableDataset is the BasicDataset implementation for AzureBlobDataset.
6223func (abd AzureBlobDataset) AsWebTableDataset() (*WebTableDataset, bool) {
6224	return nil, false
6225}
6226
6227// AsSQLServerTableDataset is the BasicDataset implementation for AzureBlobDataset.
6228func (abd AzureBlobDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
6229	return nil, false
6230}
6231
6232// AsSapEccResourceDataset is the BasicDataset implementation for AzureBlobDataset.
6233func (abd AzureBlobDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
6234	return nil, false
6235}
6236
6237// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureBlobDataset.
6238func (abd AzureBlobDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
6239	return nil, false
6240}
6241
6242// AsSalesforceObjectDataset is the BasicDataset implementation for AzureBlobDataset.
6243func (abd AzureBlobDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
6244	return nil, false
6245}
6246
6247// AsRelationalTableDataset is the BasicDataset implementation for AzureBlobDataset.
6248func (abd AzureBlobDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
6249	return nil, false
6250}
6251
6252// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
6253func (abd AzureBlobDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
6254	return nil, false
6255}
6256
6257// AsOracleTableDataset is the BasicDataset implementation for AzureBlobDataset.
6258func (abd AzureBlobDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
6259	return nil, false
6260}
6261
6262// AsODataResourceDataset is the BasicDataset implementation for AzureBlobDataset.
6263func (abd AzureBlobDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
6264	return nil, false
6265}
6266
6267// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureBlobDataset.
6268func (abd AzureBlobDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
6269	return nil, false
6270}
6271
6272// AsFileShareDataset is the BasicDataset implementation for AzureBlobDataset.
6273func (abd AzureBlobDataset) AsFileShareDataset() (*FileShareDataset, bool) {
6274	return nil, false
6275}
6276
6277// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureBlobDataset.
6278func (abd AzureBlobDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
6279	return nil, false
6280}
6281
6282// AsDynamicsEntityDataset is the BasicDataset implementation for AzureBlobDataset.
6283func (abd AzureBlobDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
6284	return nil, false
6285}
6286
6287// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureBlobDataset.
6288func (abd AzureBlobDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
6289	return nil, false
6290}
6291
6292// AsCustomDataset is the BasicDataset implementation for AzureBlobDataset.
6293func (abd AzureBlobDataset) AsCustomDataset() (*CustomDataset, bool) {
6294	return nil, false
6295}
6296
6297// AsCassandraTableDataset is the BasicDataset implementation for AzureBlobDataset.
6298func (abd AzureBlobDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
6299	return nil, false
6300}
6301
6302// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureBlobDataset.
6303func (abd AzureBlobDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
6304	return nil, false
6305}
6306
6307// AsAzureSQLTableDataset is the BasicDataset implementation for AzureBlobDataset.
6308func (abd AzureBlobDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
6309	return nil, false
6310}
6311
6312// AsAzureTableDataset is the BasicDataset implementation for AzureBlobDataset.
6313func (abd AzureBlobDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
6314	return nil, false
6315}
6316
6317// AsAzureBlobDataset is the BasicDataset implementation for AzureBlobDataset.
6318func (abd AzureBlobDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
6319	return &abd, true
6320}
6321
6322// AsAmazonS3Dataset is the BasicDataset implementation for AzureBlobDataset.
6323func (abd AzureBlobDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
6324	return nil, false
6325}
6326
6327// AsDataset is the BasicDataset implementation for AzureBlobDataset.
6328func (abd AzureBlobDataset) AsDataset() (*Dataset, bool) {
6329	return nil, false
6330}
6331
6332// AsBasicDataset is the BasicDataset implementation for AzureBlobDataset.
6333func (abd AzureBlobDataset) AsBasicDataset() (BasicDataset, bool) {
6334	return &abd, true
6335}
6336
6337// UnmarshalJSON is the custom unmarshaler for AzureBlobDataset struct.
6338func (abd *AzureBlobDataset) UnmarshalJSON(body []byte) error {
6339	var m map[string]*json.RawMessage
6340	err := json.Unmarshal(body, &m)
6341	if err != nil {
6342		return err
6343	}
6344	for k, v := range m {
6345		switch k {
6346		case "typeProperties":
6347			if v != nil {
6348				var azureBlobDatasetTypeProperties AzureBlobDatasetTypeProperties
6349				err = json.Unmarshal(*v, &azureBlobDatasetTypeProperties)
6350				if err != nil {
6351					return err
6352				}
6353				abd.AzureBlobDatasetTypeProperties = &azureBlobDatasetTypeProperties
6354			}
6355		default:
6356			if v != nil {
6357				var additionalProperties interface{}
6358				err = json.Unmarshal(*v, &additionalProperties)
6359				if err != nil {
6360					return err
6361				}
6362				if abd.AdditionalProperties == nil {
6363					abd.AdditionalProperties = make(map[string]interface{})
6364				}
6365				abd.AdditionalProperties[k] = additionalProperties
6366			}
6367		case "description":
6368			if v != nil {
6369				var description string
6370				err = json.Unmarshal(*v, &description)
6371				if err != nil {
6372					return err
6373				}
6374				abd.Description = &description
6375			}
6376		case "structure":
6377			if v != nil {
6378				var structure interface{}
6379				err = json.Unmarshal(*v, &structure)
6380				if err != nil {
6381					return err
6382				}
6383				abd.Structure = structure
6384			}
6385		case "linkedServiceName":
6386			if v != nil {
6387				var linkedServiceName LinkedServiceReference
6388				err = json.Unmarshal(*v, &linkedServiceName)
6389				if err != nil {
6390					return err
6391				}
6392				abd.LinkedServiceName = &linkedServiceName
6393			}
6394		case "parameters":
6395			if v != nil {
6396				var parameters map[string]*ParameterSpecification
6397				err = json.Unmarshal(*v, &parameters)
6398				if err != nil {
6399					return err
6400				}
6401				abd.Parameters = parameters
6402			}
6403		case "annotations":
6404			if v != nil {
6405				var annotations []interface{}
6406				err = json.Unmarshal(*v, &annotations)
6407				if err != nil {
6408					return err
6409				}
6410				abd.Annotations = &annotations
6411			}
6412		case "type":
6413			if v != nil {
6414				var typeVar TypeBasicDataset
6415				err = json.Unmarshal(*v, &typeVar)
6416				if err != nil {
6417					return err
6418				}
6419				abd.Type = typeVar
6420			}
6421		}
6422	}
6423
6424	return nil
6425}
6426
6427// AzureBlobDatasetTypeProperties azure Blob dataset properties.
6428type AzureBlobDatasetTypeProperties struct {
6429	// FolderPath - The path of the Azure Blob storage. Type: string (or Expression with resultType string).
6430	FolderPath interface{} `json:"folderPath,omitempty"`
6431	// TableRootLocation - The root of blob path. Type: string (or Expression with resultType string).
6432	TableRootLocation interface{} `json:"tableRootLocation,omitempty"`
6433	// FileName - The name of the Azure Blob. Type: string (or Expression with resultType string).
6434	FileName interface{} `json:"fileName,omitempty"`
6435	// Format - The format of the Azure Blob storage.
6436	Format BasicDatasetStorageFormat `json:"format,omitempty"`
6437	// Compression - The data compression method used for the blob storage.
6438	Compression BasicDatasetCompression `json:"compression,omitempty"`
6439}
6440
6441// UnmarshalJSON is the custom unmarshaler for AzureBlobDatasetTypeProperties struct.
6442func (abdtp *AzureBlobDatasetTypeProperties) UnmarshalJSON(body []byte) error {
6443	var m map[string]*json.RawMessage
6444	err := json.Unmarshal(body, &m)
6445	if err != nil {
6446		return err
6447	}
6448	for k, v := range m {
6449		switch k {
6450		case "folderPath":
6451			if v != nil {
6452				var folderPath interface{}
6453				err = json.Unmarshal(*v, &folderPath)
6454				if err != nil {
6455					return err
6456				}
6457				abdtp.FolderPath = folderPath
6458			}
6459		case "tableRootLocation":
6460			if v != nil {
6461				var tableRootLocation interface{}
6462				err = json.Unmarshal(*v, &tableRootLocation)
6463				if err != nil {
6464					return err
6465				}
6466				abdtp.TableRootLocation = tableRootLocation
6467			}
6468		case "fileName":
6469			if v != nil {
6470				var fileName interface{}
6471				err = json.Unmarshal(*v, &fileName)
6472				if err != nil {
6473					return err
6474				}
6475				abdtp.FileName = fileName
6476			}
6477		case "format":
6478			if v != nil {
6479				formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
6480				if err != nil {
6481					return err
6482				}
6483				abdtp.Format = formatVar
6484			}
6485		case "compression":
6486			if v != nil {
6487				compression, err := unmarshalBasicDatasetCompression(*v)
6488				if err != nil {
6489					return err
6490				}
6491				abdtp.Compression = compression
6492			}
6493		}
6494	}
6495
6496	return nil
6497}
6498
6499// AzureDatabricksLinkedService azure Databricks linked service.
6500type AzureDatabricksLinkedService struct {
6501	// AzureDatabricksLinkedServiceTypeProperties - Azure Databricks linked service properties.
6502	*AzureDatabricksLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
6503	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
6504	AdditionalProperties map[string]interface{} `json:""`
6505	// ConnectVia - The integration runtime reference.
6506	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
6507	// Description - Linked service description.
6508	Description *string `json:"description,omitempty"`
6509	// Parameters - Parameters for linked service.
6510	Parameters map[string]*ParameterSpecification `json:"parameters"`
6511	// Annotations - List of tags that can be used for describing the Dataset.
6512	Annotations *[]interface{} `json:"annotations,omitempty"`
6513	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
6514	Type TypeBasicLinkedService `json:"type,omitempty"`
6515}
6516
6517// MarshalJSON is the custom marshaler for AzureDatabricksLinkedService.
6518func (adls AzureDatabricksLinkedService) MarshalJSON() ([]byte, error) {
6519	adls.Type = TypeAzureDatabricks
6520	objectMap := make(map[string]interface{})
6521	if adls.AzureDatabricksLinkedServiceTypeProperties != nil {
6522		objectMap["typeProperties"] = adls.AzureDatabricksLinkedServiceTypeProperties
6523	}
6524	if adls.ConnectVia != nil {
6525		objectMap["connectVia"] = adls.ConnectVia
6526	}
6527	if adls.Description != nil {
6528		objectMap["description"] = adls.Description
6529	}
6530	if adls.Parameters != nil {
6531		objectMap["parameters"] = adls.Parameters
6532	}
6533	if adls.Annotations != nil {
6534		objectMap["annotations"] = adls.Annotations
6535	}
6536	if adls.Type != "" {
6537		objectMap["type"] = adls.Type
6538	}
6539	for k, v := range adls.AdditionalProperties {
6540		objectMap[k] = v
6541	}
6542	return json.Marshal(objectMap)
6543}
6544
6545// AsResponsysLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6546func (adls AzureDatabricksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
6547	return nil, false
6548}
6549
6550// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6551func (adls AzureDatabricksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
6552	return &adls, true
6553}
6554
6555// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6556func (adls AzureDatabricksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
6557	return nil, false
6558}
6559
6560// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6561func (adls AzureDatabricksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
6562	return nil, false
6563}
6564
6565// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6566func (adls AzureDatabricksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
6567	return nil, false
6568}
6569
6570// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6571func (adls AzureDatabricksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
6572	return nil, false
6573}
6574
6575// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6576func (adls AzureDatabricksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
6577	return nil, false
6578}
6579
6580// AsZohoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6581func (adls AzureDatabricksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
6582	return nil, false
6583}
6584
6585// AsXeroLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6586func (adls AzureDatabricksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
6587	return nil, false
6588}
6589
6590// AsSquareLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6591func (adls AzureDatabricksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
6592	return nil, false
6593}
6594
6595// AsSparkLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6596func (adls AzureDatabricksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
6597	return nil, false
6598}
6599
6600// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6601func (adls AzureDatabricksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
6602	return nil, false
6603}
6604
6605// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6606func (adls AzureDatabricksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
6607	return nil, false
6608}
6609
6610// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6611func (adls AzureDatabricksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
6612	return nil, false
6613}
6614
6615// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6616func (adls AzureDatabricksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
6617	return nil, false
6618}
6619
6620// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6621func (adls AzureDatabricksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
6622	return nil, false
6623}
6624
6625// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6626func (adls AzureDatabricksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
6627	return nil, false
6628}
6629
6630// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6631func (adls AzureDatabricksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
6632	return nil, false
6633}
6634
6635// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6636func (adls AzureDatabricksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
6637	return nil, false
6638}
6639
6640// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6641func (adls AzureDatabricksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
6642	return nil, false
6643}
6644
6645// AsJiraLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6646func (adls AzureDatabricksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
6647	return nil, false
6648}
6649
6650// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6651func (adls AzureDatabricksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
6652	return nil, false
6653}
6654
6655// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6656func (adls AzureDatabricksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
6657	return nil, false
6658}
6659
6660// AsHiveLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6661func (adls AzureDatabricksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
6662	return nil, false
6663}
6664
6665// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6666func (adls AzureDatabricksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
6667	return nil, false
6668}
6669
6670// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6671func (adls AzureDatabricksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
6672	return nil, false
6673}
6674
6675// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6676func (adls AzureDatabricksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
6677	return nil, false
6678}
6679
6680// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6681func (adls AzureDatabricksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
6682	return nil, false
6683}
6684
6685// AsDrillLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6686func (adls AzureDatabricksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
6687	return nil, false
6688}
6689
6690// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6691func (adls AzureDatabricksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
6692	return nil, false
6693}
6694
6695// AsConcurLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6696func (adls AzureDatabricksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
6697	return nil, false
6698}
6699
6700// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6701func (adls AzureDatabricksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
6702	return nil, false
6703}
6704
6705// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6706func (adls AzureDatabricksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
6707	return nil, false
6708}
6709
6710// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6711func (adls AzureDatabricksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
6712	return nil, false
6713}
6714
6715// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6716func (adls AzureDatabricksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
6717	return nil, false
6718}
6719
6720// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6721func (adls AzureDatabricksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
6722	return nil, false
6723}
6724
6725// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6726func (adls AzureDatabricksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
6727	return nil, false
6728}
6729
6730// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6731func (adls AzureDatabricksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
6732	return nil, false
6733}
6734
6735// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6736func (adls AzureDatabricksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
6737	return nil, false
6738}
6739
6740// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6741func (adls AzureDatabricksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
6742	return nil, false
6743}
6744
6745// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6746func (adls AzureDatabricksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
6747	return nil, false
6748}
6749
6750// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6751func (adls AzureDatabricksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
6752	return nil, false
6753}
6754
6755// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6756func (adls AzureDatabricksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
6757	return nil, false
6758}
6759
6760// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6761func (adls AzureDatabricksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
6762	return nil, false
6763}
6764
6765// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6766func (adls AzureDatabricksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
6767	return nil, false
6768}
6769
6770// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6771func (adls AzureDatabricksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
6772	return nil, false
6773}
6774
6775// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6776func (adls AzureDatabricksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
6777	return nil, false
6778}
6779
6780// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6781func (adls AzureDatabricksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
6782	return nil, false
6783}
6784
6785// AsWebLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6786func (adls AzureDatabricksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
6787	return nil, false
6788}
6789
6790// AsODataLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6791func (adls AzureDatabricksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
6792	return nil, false
6793}
6794
6795// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6796func (adls AzureDatabricksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
6797	return nil, false
6798}
6799
6800// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6801func (adls AzureDatabricksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
6802	return nil, false
6803}
6804
6805// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6806func (adls AzureDatabricksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
6807	return nil, false
6808}
6809
6810// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6811func (adls AzureDatabricksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
6812	return nil, false
6813}
6814
6815// AsDb2LinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6816func (adls AzureDatabricksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
6817	return nil, false
6818}
6819
6820// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6821func (adls AzureDatabricksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
6822	return nil, false
6823}
6824
6825// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6826func (adls AzureDatabricksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
6827	return nil, false
6828}
6829
6830// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6831func (adls AzureDatabricksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
6832	return nil, false
6833}
6834
6835// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6836func (adls AzureDatabricksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
6837	return nil, false
6838}
6839
6840// AsOracleLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6841func (adls AzureDatabricksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
6842	return nil, false
6843}
6844
6845// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6846func (adls AzureDatabricksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
6847	return nil, false
6848}
6849
6850// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6851func (adls AzureDatabricksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
6852	return nil, false
6853}
6854
6855// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6856func (adls AzureDatabricksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
6857	return nil, false
6858}
6859
6860// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6861func (adls AzureDatabricksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
6862	return nil, false
6863}
6864
6865// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6866func (adls AzureDatabricksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
6867	return nil, false
6868}
6869
6870// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6871func (adls AzureDatabricksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
6872	return nil, false
6873}
6874
6875// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6876func (adls AzureDatabricksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
6877	return nil, false
6878}
6879
6880// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6881func (adls AzureDatabricksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
6882	return nil, false
6883}
6884
6885// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6886func (adls AzureDatabricksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
6887	return nil, false
6888}
6889
6890// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6891func (adls AzureDatabricksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
6892	return nil, false
6893}
6894
6895// AsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6896func (adls AzureDatabricksLinkedService) AsLinkedService() (*LinkedService, bool) {
6897	return nil, false
6898}
6899
6900// AsBasicLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService.
6901func (adls AzureDatabricksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
6902	return &adls, true
6903}
6904
6905// UnmarshalJSON is the custom unmarshaler for AzureDatabricksLinkedService struct.
6906func (adls *AzureDatabricksLinkedService) UnmarshalJSON(body []byte) error {
6907	var m map[string]*json.RawMessage
6908	err := json.Unmarshal(body, &m)
6909	if err != nil {
6910		return err
6911	}
6912	for k, v := range m {
6913		switch k {
6914		case "typeProperties":
6915			if v != nil {
6916				var azureDatabricksLinkedServiceTypeProperties AzureDatabricksLinkedServiceTypeProperties
6917				err = json.Unmarshal(*v, &azureDatabricksLinkedServiceTypeProperties)
6918				if err != nil {
6919					return err
6920				}
6921				adls.AzureDatabricksLinkedServiceTypeProperties = &azureDatabricksLinkedServiceTypeProperties
6922			}
6923		default:
6924			if v != nil {
6925				var additionalProperties interface{}
6926				err = json.Unmarshal(*v, &additionalProperties)
6927				if err != nil {
6928					return err
6929				}
6930				if adls.AdditionalProperties == nil {
6931					adls.AdditionalProperties = make(map[string]interface{})
6932				}
6933				adls.AdditionalProperties[k] = additionalProperties
6934			}
6935		case "connectVia":
6936			if v != nil {
6937				var connectVia IntegrationRuntimeReference
6938				err = json.Unmarshal(*v, &connectVia)
6939				if err != nil {
6940					return err
6941				}
6942				adls.ConnectVia = &connectVia
6943			}
6944		case "description":
6945			if v != nil {
6946				var description string
6947				err = json.Unmarshal(*v, &description)
6948				if err != nil {
6949					return err
6950				}
6951				adls.Description = &description
6952			}
6953		case "parameters":
6954			if v != nil {
6955				var parameters map[string]*ParameterSpecification
6956				err = json.Unmarshal(*v, &parameters)
6957				if err != nil {
6958					return err
6959				}
6960				adls.Parameters = parameters
6961			}
6962		case "annotations":
6963			if v != nil {
6964				var annotations []interface{}
6965				err = json.Unmarshal(*v, &annotations)
6966				if err != nil {
6967					return err
6968				}
6969				adls.Annotations = &annotations
6970			}
6971		case "type":
6972			if v != nil {
6973				var typeVar TypeBasicLinkedService
6974				err = json.Unmarshal(*v, &typeVar)
6975				if err != nil {
6976					return err
6977				}
6978				adls.Type = typeVar
6979			}
6980		}
6981	}
6982
6983	return nil
6984}
6985
6986// AzureDatabricksLinkedServiceTypeProperties azure Databricks linked service properties.
6987type AzureDatabricksLinkedServiceTypeProperties struct {
6988	// Domain - <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string).
6989	Domain interface{} `json:"domain,omitempty"`
6990	// AccessToken - Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string).
6991	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
6992	// ExistingClusterID - The id of an existing cluster that will be used for all runs of this job. Type: string (or Expression with resultType string).
6993	ExistingClusterID interface{} `json:"existingClusterId,omitempty"`
6994	// NewClusterVersion - The Spark version of new cluster. Type: string (or Expression with resultType string).
6995	NewClusterVersion interface{} `json:"newClusterVersion,omitempty"`
6996	// NewClusterNumOfWorker - Number of worker nodes that new cluster should have. A string formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string (or Expression with resultType string).
6997	NewClusterNumOfWorker interface{} `json:"newClusterNumOfWorker,omitempty"`
6998	// NewClusterNodeType - The node types of new cluster. Type: string (or Expression with resultType string).
6999	NewClusterNodeType interface{} `json:"newClusterNodeType,omitempty"`
7000	// NewClusterSparkConf - a set of optional, user-specified Spark configuration key-value pairs.
7001	NewClusterSparkConf map[string]interface{} `json:"newClusterSparkConf"`
7002	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
7003	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
7004}
7005
7006// MarshalJSON is the custom marshaler for AzureDatabricksLinkedServiceTypeProperties.
7007func (adlstp AzureDatabricksLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) {
7008	objectMap := make(map[string]interface{})
7009	objectMap["domain"] = adlstp.Domain
7010	objectMap["accessToken"] = adlstp.AccessToken
7011	objectMap["existingClusterId"] = adlstp.ExistingClusterID
7012	objectMap["newClusterVersion"] = adlstp.NewClusterVersion
7013	objectMap["newClusterNumOfWorker"] = adlstp.NewClusterNumOfWorker
7014	objectMap["newClusterNodeType"] = adlstp.NewClusterNodeType
7015	if adlstp.NewClusterSparkConf != nil {
7016		objectMap["newClusterSparkConf"] = adlstp.NewClusterSparkConf
7017	}
7018	objectMap["encryptedCredential"] = adlstp.EncryptedCredential
7019	return json.Marshal(objectMap)
7020}
7021
7022// UnmarshalJSON is the custom unmarshaler for AzureDatabricksLinkedServiceTypeProperties struct.
7023func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
7024	var m map[string]*json.RawMessage
7025	err := json.Unmarshal(body, &m)
7026	if err != nil {
7027		return err
7028	}
7029	for k, v := range m {
7030		switch k {
7031		case "domain":
7032			if v != nil {
7033				var domain interface{}
7034				err = json.Unmarshal(*v, &domain)
7035				if err != nil {
7036					return err
7037				}
7038				adlstp.Domain = domain
7039			}
7040		case "accessToken":
7041			if v != nil {
7042				accessToken, err := unmarshalBasicSecretBase(*v)
7043				if err != nil {
7044					return err
7045				}
7046				adlstp.AccessToken = accessToken
7047			}
7048		case "existingClusterId":
7049			if v != nil {
7050				var existingClusterID interface{}
7051				err = json.Unmarshal(*v, &existingClusterID)
7052				if err != nil {
7053					return err
7054				}
7055				adlstp.ExistingClusterID = existingClusterID
7056			}
7057		case "newClusterVersion":
7058			if v != nil {
7059				var newClusterVersion interface{}
7060				err = json.Unmarshal(*v, &newClusterVersion)
7061				if err != nil {
7062					return err
7063				}
7064				adlstp.NewClusterVersion = newClusterVersion
7065			}
7066		case "newClusterNumOfWorker":
7067			if v != nil {
7068				var newClusterNumOfWorker interface{}
7069				err = json.Unmarshal(*v, &newClusterNumOfWorker)
7070				if err != nil {
7071					return err
7072				}
7073				adlstp.NewClusterNumOfWorker = newClusterNumOfWorker
7074			}
7075		case "newClusterNodeType":
7076			if v != nil {
7077				var newClusterNodeType interface{}
7078				err = json.Unmarshal(*v, &newClusterNodeType)
7079				if err != nil {
7080					return err
7081				}
7082				adlstp.NewClusterNodeType = newClusterNodeType
7083			}
7084		case "newClusterSparkConf":
7085			if v != nil {
7086				var newClusterSparkConf map[string]interface{}
7087				err = json.Unmarshal(*v, &newClusterSparkConf)
7088				if err != nil {
7089					return err
7090				}
7091				adlstp.NewClusterSparkConf = newClusterSparkConf
7092			}
7093		case "encryptedCredential":
7094			if v != nil {
7095				var encryptedCredential interface{}
7096				err = json.Unmarshal(*v, &encryptedCredential)
7097				if err != nil {
7098					return err
7099				}
7100				adlstp.EncryptedCredential = encryptedCredential
7101			}
7102		}
7103	}
7104
7105	return nil
7106}
7107
7108// AzureDataLakeAnalyticsLinkedService azure Data Lake Analytics linked service.
7109type AzureDataLakeAnalyticsLinkedService struct {
7110	// AzureDataLakeAnalyticsLinkedServiceTypeProperties - Azure Data Lake Analytics linked service properties.
7111	*AzureDataLakeAnalyticsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
7112	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
7113	AdditionalProperties map[string]interface{} `json:""`
7114	// ConnectVia - The integration runtime reference.
7115	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
7116	// Description - Linked service description.
7117	Description *string `json:"description,omitempty"`
7118	// Parameters - Parameters for linked service.
7119	Parameters map[string]*ParameterSpecification `json:"parameters"`
7120	// Annotations - List of tags that can be used for describing the Dataset.
7121	Annotations *[]interface{} `json:"annotations,omitempty"`
7122	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
7123	Type TypeBasicLinkedService `json:"type,omitempty"`
7124}
7125
7126// MarshalJSON is the custom marshaler for AzureDataLakeAnalyticsLinkedService.
7127func (adlals AzureDataLakeAnalyticsLinkedService) MarshalJSON() ([]byte, error) {
7128	adlals.Type = TypeAzureDataLakeAnalytics
7129	objectMap := make(map[string]interface{})
7130	if adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties != nil {
7131		objectMap["typeProperties"] = adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties
7132	}
7133	if adlals.ConnectVia != nil {
7134		objectMap["connectVia"] = adlals.ConnectVia
7135	}
7136	if adlals.Description != nil {
7137		objectMap["description"] = adlals.Description
7138	}
7139	if adlals.Parameters != nil {
7140		objectMap["parameters"] = adlals.Parameters
7141	}
7142	if adlals.Annotations != nil {
7143		objectMap["annotations"] = adlals.Annotations
7144	}
7145	if adlals.Type != "" {
7146		objectMap["type"] = adlals.Type
7147	}
7148	for k, v := range adlals.AdditionalProperties {
7149		objectMap[k] = v
7150	}
7151	return json.Marshal(objectMap)
7152}
7153
7154// AsResponsysLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7155func (adlals AzureDataLakeAnalyticsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
7156	return nil, false
7157}
7158
7159// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7160func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
7161	return nil, false
7162}
7163
7164// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7165func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
7166	return &adlals, true
7167}
7168
7169// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7170func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
7171	return nil, false
7172}
7173
7174// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7175func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
7176	return nil, false
7177}
7178
7179// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7180func (adlals AzureDataLakeAnalyticsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
7181	return nil, false
7182}
7183
7184// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7185func (adlals AzureDataLakeAnalyticsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
7186	return nil, false
7187}
7188
7189// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7190func (adlals AzureDataLakeAnalyticsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
7191	return nil, false
7192}
7193
7194// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7195func (adlals AzureDataLakeAnalyticsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
7196	return nil, false
7197}
7198
7199// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7200func (adlals AzureDataLakeAnalyticsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
7201	return nil, false
7202}
7203
7204// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7205func (adlals AzureDataLakeAnalyticsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
7206	return nil, false
7207}
7208
7209// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7210func (adlals AzureDataLakeAnalyticsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
7211	return nil, false
7212}
7213
7214// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7215func (adlals AzureDataLakeAnalyticsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
7216	return nil, false
7217}
7218
7219// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7220func (adlals AzureDataLakeAnalyticsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
7221	return nil, false
7222}
7223
7224// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7225func (adlals AzureDataLakeAnalyticsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
7226	return nil, false
7227}
7228
7229// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7230func (adlals AzureDataLakeAnalyticsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
7231	return nil, false
7232}
7233
7234// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7235func (adlals AzureDataLakeAnalyticsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
7236	return nil, false
7237}
7238
7239// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7240func (adlals AzureDataLakeAnalyticsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
7241	return nil, false
7242}
7243
7244// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7245func (adlals AzureDataLakeAnalyticsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
7246	return nil, false
7247}
7248
7249// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7250func (adlals AzureDataLakeAnalyticsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
7251	return nil, false
7252}
7253
7254// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7255func (adlals AzureDataLakeAnalyticsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
7256	return nil, false
7257}
7258
7259// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7260func (adlals AzureDataLakeAnalyticsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
7261	return nil, false
7262}
7263
7264// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7265func (adlals AzureDataLakeAnalyticsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
7266	return nil, false
7267}
7268
7269// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7270func (adlals AzureDataLakeAnalyticsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
7271	return nil, false
7272}
7273
7274// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7275func (adlals AzureDataLakeAnalyticsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
7276	return nil, false
7277}
7278
7279// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7280func (adlals AzureDataLakeAnalyticsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
7281	return nil, false
7282}
7283
7284// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7285func (adlals AzureDataLakeAnalyticsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
7286	return nil, false
7287}
7288
7289// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7290func (adlals AzureDataLakeAnalyticsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
7291	return nil, false
7292}
7293
7294// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7295func (adlals AzureDataLakeAnalyticsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
7296	return nil, false
7297}
7298
7299// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7300func (adlals AzureDataLakeAnalyticsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
7301	return nil, false
7302}
7303
7304// AsConcurLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7305func (adlals AzureDataLakeAnalyticsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
7306	return nil, false
7307}
7308
7309// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7310func (adlals AzureDataLakeAnalyticsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
7311	return nil, false
7312}
7313
7314// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7315func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
7316	return nil, false
7317}
7318
7319// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7320func (adlals AzureDataLakeAnalyticsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
7321	return nil, false
7322}
7323
7324// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7325func (adlals AzureDataLakeAnalyticsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
7326	return nil, false
7327}
7328
7329// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7330func (adlals AzureDataLakeAnalyticsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
7331	return nil, false
7332}
7333
7334// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7335func (adlals AzureDataLakeAnalyticsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
7336	return nil, false
7337}
7338
7339// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7340func (adlals AzureDataLakeAnalyticsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
7341	return nil, false
7342}
7343
7344// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7345func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
7346	return nil, false
7347}
7348
7349// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7350func (adlals AzureDataLakeAnalyticsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
7351	return nil, false
7352}
7353
7354// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7355func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
7356	return nil, false
7357}
7358
7359// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7360func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
7361	return nil, false
7362}
7363
7364// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7365func (adlals AzureDataLakeAnalyticsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
7366	return nil, false
7367}
7368
7369// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7370func (adlals AzureDataLakeAnalyticsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
7371	return nil, false
7372}
7373
7374// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7375func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
7376	return nil, false
7377}
7378
7379// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7380func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
7381	return nil, false
7382}
7383
7384// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7385func (adlals AzureDataLakeAnalyticsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
7386	return nil, false
7387}
7388
7389// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7390func (adlals AzureDataLakeAnalyticsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
7391	return nil, false
7392}
7393
7394// AsWebLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7395func (adlals AzureDataLakeAnalyticsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
7396	return nil, false
7397}
7398
7399// AsODataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7400func (adlals AzureDataLakeAnalyticsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
7401	return nil, false
7402}
7403
7404// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7405func (adlals AzureDataLakeAnalyticsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
7406	return nil, false
7407}
7408
7409// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7410func (adlals AzureDataLakeAnalyticsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
7411	return nil, false
7412}
7413
7414// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7415func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
7416	return nil, false
7417}
7418
7419// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7420func (adlals AzureDataLakeAnalyticsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
7421	return nil, false
7422}
7423
7424// AsDb2LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7425func (adlals AzureDataLakeAnalyticsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
7426	return nil, false
7427}
7428
7429// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7430func (adlals AzureDataLakeAnalyticsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
7431	return nil, false
7432}
7433
7434// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7435func (adlals AzureDataLakeAnalyticsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
7436	return nil, false
7437}
7438
7439// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7440func (adlals AzureDataLakeAnalyticsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
7441	return nil, false
7442}
7443
7444// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7445func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
7446	return nil, false
7447}
7448
7449// AsOracleLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7450func (adlals AzureDataLakeAnalyticsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
7451	return nil, false
7452}
7453
7454// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7455func (adlals AzureDataLakeAnalyticsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
7456	return nil, false
7457}
7458
7459// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7460func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
7461	return nil, false
7462}
7463
7464// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7465func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
7466	return nil, false
7467}
7468
7469// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7470func (adlals AzureDataLakeAnalyticsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
7471	return nil, false
7472}
7473
7474// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7475func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
7476	return nil, false
7477}
7478
7479// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7480func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
7481	return nil, false
7482}
7483
7484// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7485func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
7486	return nil, false
7487}
7488
7489// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7490func (adlals AzureDataLakeAnalyticsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
7491	return nil, false
7492}
7493
7494// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7495func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
7496	return nil, false
7497}
7498
7499// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7500func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
7501	return nil, false
7502}
7503
7504// AsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7505func (adlals AzureDataLakeAnalyticsLinkedService) AsLinkedService() (*LinkedService, bool) {
7506	return nil, false
7507}
7508
7509// AsBasicLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService.
7510func (adlals AzureDataLakeAnalyticsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
7511	return &adlals, true
7512}
7513
7514// UnmarshalJSON is the custom unmarshaler for AzureDataLakeAnalyticsLinkedService struct.
7515func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) error {
7516	var m map[string]*json.RawMessage
7517	err := json.Unmarshal(body, &m)
7518	if err != nil {
7519		return err
7520	}
7521	for k, v := range m {
7522		switch k {
7523		case "typeProperties":
7524			if v != nil {
7525				var azureDataLakeAnalyticsLinkedServiceTypeProperties AzureDataLakeAnalyticsLinkedServiceTypeProperties
7526				err = json.Unmarshal(*v, &azureDataLakeAnalyticsLinkedServiceTypeProperties)
7527				if err != nil {
7528					return err
7529				}
7530				adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties = &azureDataLakeAnalyticsLinkedServiceTypeProperties
7531			}
7532		default:
7533			if v != nil {
7534				var additionalProperties interface{}
7535				err = json.Unmarshal(*v, &additionalProperties)
7536				if err != nil {
7537					return err
7538				}
7539				if adlals.AdditionalProperties == nil {
7540					adlals.AdditionalProperties = make(map[string]interface{})
7541				}
7542				adlals.AdditionalProperties[k] = additionalProperties
7543			}
7544		case "connectVia":
7545			if v != nil {
7546				var connectVia IntegrationRuntimeReference
7547				err = json.Unmarshal(*v, &connectVia)
7548				if err != nil {
7549					return err
7550				}
7551				adlals.ConnectVia = &connectVia
7552			}
7553		case "description":
7554			if v != nil {
7555				var description string
7556				err = json.Unmarshal(*v, &description)
7557				if err != nil {
7558					return err
7559				}
7560				adlals.Description = &description
7561			}
7562		case "parameters":
7563			if v != nil {
7564				var parameters map[string]*ParameterSpecification
7565				err = json.Unmarshal(*v, &parameters)
7566				if err != nil {
7567					return err
7568				}
7569				adlals.Parameters = parameters
7570			}
7571		case "annotations":
7572			if v != nil {
7573				var annotations []interface{}
7574				err = json.Unmarshal(*v, &annotations)
7575				if err != nil {
7576					return err
7577				}
7578				adlals.Annotations = &annotations
7579			}
7580		case "type":
7581			if v != nil {
7582				var typeVar TypeBasicLinkedService
7583				err = json.Unmarshal(*v, &typeVar)
7584				if err != nil {
7585					return err
7586				}
7587				adlals.Type = typeVar
7588			}
7589		}
7590	}
7591
7592	return nil
7593}
7594
7595// AzureDataLakeAnalyticsLinkedServiceTypeProperties azure Data Lake Analytics linked service properties.
7596type AzureDataLakeAnalyticsLinkedServiceTypeProperties struct {
7597	// AccountName - The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string).
7598	AccountName interface{} `json:"accountName,omitempty"`
7599	// ServicePrincipalID - The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string).
7600	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
7601	// ServicePrincipalKey - The Key of the application used to authenticate against the Azure Data Lake Analytics account.
7602	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
7603	// Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
7604	Tenant interface{} `json:"tenant,omitempty"`
7605	// SubscriptionID - Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).
7606	SubscriptionID interface{} `json:"subscriptionId,omitempty"`
7607	// ResourceGroupName - Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string).
7608	ResourceGroupName interface{} `json:"resourceGroupName,omitempty"`
7609	// DataLakeAnalyticsURI - Azure Data Lake Analytics URI Type: string (or Expression with resultType string).
7610	DataLakeAnalyticsURI interface{} `json:"dataLakeAnalyticsUri,omitempty"`
7611	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
7612	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
7613}
7614
7615// UnmarshalJSON is the custom unmarshaler for AzureDataLakeAnalyticsLinkedServiceTypeProperties struct.
7616func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
7617	var m map[string]*json.RawMessage
7618	err := json.Unmarshal(body, &m)
7619	if err != nil {
7620		return err
7621	}
7622	for k, v := range m {
7623		switch k {
7624		case "accountName":
7625			if v != nil {
7626				var accountName interface{}
7627				err = json.Unmarshal(*v, &accountName)
7628				if err != nil {
7629					return err
7630				}
7631				adlalstp.AccountName = accountName
7632			}
7633		case "servicePrincipalId":
7634			if v != nil {
7635				var servicePrincipalID interface{}
7636				err = json.Unmarshal(*v, &servicePrincipalID)
7637				if err != nil {
7638					return err
7639				}
7640				adlalstp.ServicePrincipalID = servicePrincipalID
7641			}
7642		case "servicePrincipalKey":
7643			if v != nil {
7644				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
7645				if err != nil {
7646					return err
7647				}
7648				adlalstp.ServicePrincipalKey = servicePrincipalKey
7649			}
7650		case "tenant":
7651			if v != nil {
7652				var tenant interface{}
7653				err = json.Unmarshal(*v, &tenant)
7654				if err != nil {
7655					return err
7656				}
7657				adlalstp.Tenant = tenant
7658			}
7659		case "subscriptionId":
7660			if v != nil {
7661				var subscriptionID interface{}
7662				err = json.Unmarshal(*v, &subscriptionID)
7663				if err != nil {
7664					return err
7665				}
7666				adlalstp.SubscriptionID = subscriptionID
7667			}
7668		case "resourceGroupName":
7669			if v != nil {
7670				var resourceGroupName interface{}
7671				err = json.Unmarshal(*v, &resourceGroupName)
7672				if err != nil {
7673					return err
7674				}
7675				adlalstp.ResourceGroupName = resourceGroupName
7676			}
7677		case "dataLakeAnalyticsUri":
7678			if v != nil {
7679				var dataLakeAnalyticsURI interface{}
7680				err = json.Unmarshal(*v, &dataLakeAnalyticsURI)
7681				if err != nil {
7682					return err
7683				}
7684				adlalstp.DataLakeAnalyticsURI = dataLakeAnalyticsURI
7685			}
7686		case "encryptedCredential":
7687			if v != nil {
7688				var encryptedCredential interface{}
7689				err = json.Unmarshal(*v, &encryptedCredential)
7690				if err != nil {
7691					return err
7692				}
7693				adlalstp.EncryptedCredential = encryptedCredential
7694			}
7695		}
7696	}
7697
7698	return nil
7699}
7700
7701// AzureDataLakeStoreDataset azure Data Lake Store dataset.
7702type AzureDataLakeStoreDataset struct {
7703	// AzureDataLakeStoreDatasetTypeProperties - Azure Data Lake Store dataset properties.
7704	*AzureDataLakeStoreDatasetTypeProperties `json:"typeProperties,omitempty"`
7705	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
7706	AdditionalProperties map[string]interface{} `json:""`
7707	// Description - Dataset description.
7708	Description *string `json:"description,omitempty"`
7709	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
7710	Structure interface{} `json:"structure,omitempty"`
7711	// LinkedServiceName - Linked service reference.
7712	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
7713	// Parameters - Parameters for dataset.
7714	Parameters map[string]*ParameterSpecification `json:"parameters"`
7715	// Annotations - List of tags that can be used for describing the Dataset.
7716	Annotations *[]interface{} `json:"annotations,omitempty"`
7717	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
7718	Type TypeBasicDataset `json:"type,omitempty"`
7719}
7720
7721// MarshalJSON is the custom marshaler for AzureDataLakeStoreDataset.
7722func (adlsd AzureDataLakeStoreDataset) MarshalJSON() ([]byte, error) {
7723	adlsd.Type = TypeAzureDataLakeStoreFile
7724	objectMap := make(map[string]interface{})
7725	if adlsd.AzureDataLakeStoreDatasetTypeProperties != nil {
7726		objectMap["typeProperties"] = adlsd.AzureDataLakeStoreDatasetTypeProperties
7727	}
7728	if adlsd.Description != nil {
7729		objectMap["description"] = adlsd.Description
7730	}
7731	objectMap["structure"] = adlsd.Structure
7732	if adlsd.LinkedServiceName != nil {
7733		objectMap["linkedServiceName"] = adlsd.LinkedServiceName
7734	}
7735	if adlsd.Parameters != nil {
7736		objectMap["parameters"] = adlsd.Parameters
7737	}
7738	if adlsd.Annotations != nil {
7739		objectMap["annotations"] = adlsd.Annotations
7740	}
7741	if adlsd.Type != "" {
7742		objectMap["type"] = adlsd.Type
7743	}
7744	for k, v := range adlsd.AdditionalProperties {
7745		objectMap[k] = v
7746	}
7747	return json.Marshal(objectMap)
7748}
7749
7750// AsResponsysObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7751func (adlsd AzureDataLakeStoreDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
7752	return nil, false
7753}
7754
7755// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7756func (adlsd AzureDataLakeStoreDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
7757	return nil, false
7758}
7759
7760// AsVerticaTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7761func (adlsd AzureDataLakeStoreDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
7762	return nil, false
7763}
7764
7765// AsNetezzaTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7766func (adlsd AzureDataLakeStoreDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
7767	return nil, false
7768}
7769
7770// AsZohoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7771func (adlsd AzureDataLakeStoreDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
7772	return nil, false
7773}
7774
7775// AsXeroObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7776func (adlsd AzureDataLakeStoreDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
7777	return nil, false
7778}
7779
7780// AsSquareObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7781func (adlsd AzureDataLakeStoreDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
7782	return nil, false
7783}
7784
7785// AsSparkObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7786func (adlsd AzureDataLakeStoreDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
7787	return nil, false
7788}
7789
7790// AsShopifyObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7791func (adlsd AzureDataLakeStoreDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
7792	return nil, false
7793}
7794
7795// AsServiceNowObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7796func (adlsd AzureDataLakeStoreDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
7797	return nil, false
7798}
7799
7800// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7801func (adlsd AzureDataLakeStoreDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
7802	return nil, false
7803}
7804
7805// AsPrestoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7806func (adlsd AzureDataLakeStoreDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
7807	return nil, false
7808}
7809
7810// AsPhoenixObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7811func (adlsd AzureDataLakeStoreDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
7812	return nil, false
7813}
7814
7815// AsPaypalObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7816func (adlsd AzureDataLakeStoreDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
7817	return nil, false
7818}
7819
7820// AsMarketoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7821func (adlsd AzureDataLakeStoreDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
7822	return nil, false
7823}
7824
7825// AsMariaDBTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7826func (adlsd AzureDataLakeStoreDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
7827	return nil, false
7828}
7829
7830// AsMagentoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7831func (adlsd AzureDataLakeStoreDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
7832	return nil, false
7833}
7834
7835// AsJiraObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7836func (adlsd AzureDataLakeStoreDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
7837	return nil, false
7838}
7839
7840// AsImpalaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7841func (adlsd AzureDataLakeStoreDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
7842	return nil, false
7843}
7844
7845// AsHubspotObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7846func (adlsd AzureDataLakeStoreDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
7847	return nil, false
7848}
7849
7850// AsHiveObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7851func (adlsd AzureDataLakeStoreDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
7852	return nil, false
7853}
7854
7855// AsHBaseObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7856func (adlsd AzureDataLakeStoreDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
7857	return nil, false
7858}
7859
7860// AsGreenplumTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7861func (adlsd AzureDataLakeStoreDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
7862	return nil, false
7863}
7864
7865// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7866func (adlsd AzureDataLakeStoreDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
7867	return nil, false
7868}
7869
7870// AsEloquaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7871func (adlsd AzureDataLakeStoreDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
7872	return nil, false
7873}
7874
7875// AsDrillTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7876func (adlsd AzureDataLakeStoreDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
7877	return nil, false
7878}
7879
7880// AsCouchbaseTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7881func (adlsd AzureDataLakeStoreDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
7882	return nil, false
7883}
7884
7885// AsConcurObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7886func (adlsd AzureDataLakeStoreDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
7887	return nil, false
7888}
7889
7890// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7891func (adlsd AzureDataLakeStoreDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
7892	return nil, false
7893}
7894
7895// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7896func (adlsd AzureDataLakeStoreDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
7897	return nil, false
7898}
7899
7900// AsHTTPDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7901func (adlsd AzureDataLakeStoreDataset) AsHTTPDataset() (*HTTPDataset, bool) {
7902	return nil, false
7903}
7904
7905// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7906func (adlsd AzureDataLakeStoreDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
7907	return nil, false
7908}
7909
7910// AsWebTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7911func (adlsd AzureDataLakeStoreDataset) AsWebTableDataset() (*WebTableDataset, bool) {
7912	return nil, false
7913}
7914
7915// AsSQLServerTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7916func (adlsd AzureDataLakeStoreDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
7917	return nil, false
7918}
7919
7920// AsSapEccResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7921func (adlsd AzureDataLakeStoreDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
7922	return nil, false
7923}
7924
7925// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7926func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
7927	return nil, false
7928}
7929
7930// AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7931func (adlsd AzureDataLakeStoreDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
7932	return nil, false
7933}
7934
7935// AsRelationalTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7936func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
7937	return nil, false
7938}
7939
7940// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7941func (adlsd AzureDataLakeStoreDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
7942	return nil, false
7943}
7944
7945// AsOracleTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7946func (adlsd AzureDataLakeStoreDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
7947	return nil, false
7948}
7949
7950// AsODataResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7951func (adlsd AzureDataLakeStoreDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
7952	return nil, false
7953}
7954
7955// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7956func (adlsd AzureDataLakeStoreDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
7957	return nil, false
7958}
7959
7960// AsFileShareDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7961func (adlsd AzureDataLakeStoreDataset) AsFileShareDataset() (*FileShareDataset, bool) {
7962	return nil, false
7963}
7964
7965// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7966func (adlsd AzureDataLakeStoreDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
7967	return &adlsd, true
7968}
7969
7970// AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7971func (adlsd AzureDataLakeStoreDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
7972	return nil, false
7973}
7974
7975// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7976func (adlsd AzureDataLakeStoreDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
7977	return nil, false
7978}
7979
7980// AsCustomDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7981func (adlsd AzureDataLakeStoreDataset) AsCustomDataset() (*CustomDataset, bool) {
7982	return nil, false
7983}
7984
7985// AsCassandraTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7986func (adlsd AzureDataLakeStoreDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
7987	return nil, false
7988}
7989
7990// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7991func (adlsd AzureDataLakeStoreDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
7992	return nil, false
7993}
7994
7995// AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
7996func (adlsd AzureDataLakeStoreDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
7997	return nil, false
7998}
7999
8000// AsAzureTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
8001func (adlsd AzureDataLakeStoreDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
8002	return nil, false
8003}
8004
8005// AsAzureBlobDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
8006func (adlsd AzureDataLakeStoreDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
8007	return nil, false
8008}
8009
8010// AsAmazonS3Dataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
8011func (adlsd AzureDataLakeStoreDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
8012	return nil, false
8013}
8014
8015// AsDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
8016func (adlsd AzureDataLakeStoreDataset) AsDataset() (*Dataset, bool) {
8017	return nil, false
8018}
8019
8020// AsBasicDataset is the BasicDataset implementation for AzureDataLakeStoreDataset.
8021func (adlsd AzureDataLakeStoreDataset) AsBasicDataset() (BasicDataset, bool) {
8022	return &adlsd, true
8023}
8024
8025// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreDataset struct.
8026func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error {
8027	var m map[string]*json.RawMessage
8028	err := json.Unmarshal(body, &m)
8029	if err != nil {
8030		return err
8031	}
8032	for k, v := range m {
8033		switch k {
8034		case "typeProperties":
8035			if v != nil {
8036				var azureDataLakeStoreDatasetTypeProperties AzureDataLakeStoreDatasetTypeProperties
8037				err = json.Unmarshal(*v, &azureDataLakeStoreDatasetTypeProperties)
8038				if err != nil {
8039					return err
8040				}
8041				adlsd.AzureDataLakeStoreDatasetTypeProperties = &azureDataLakeStoreDatasetTypeProperties
8042			}
8043		default:
8044			if v != nil {
8045				var additionalProperties interface{}
8046				err = json.Unmarshal(*v, &additionalProperties)
8047				if err != nil {
8048					return err
8049				}
8050				if adlsd.AdditionalProperties == nil {
8051					adlsd.AdditionalProperties = make(map[string]interface{})
8052				}
8053				adlsd.AdditionalProperties[k] = additionalProperties
8054			}
8055		case "description":
8056			if v != nil {
8057				var description string
8058				err = json.Unmarshal(*v, &description)
8059				if err != nil {
8060					return err
8061				}
8062				adlsd.Description = &description
8063			}
8064		case "structure":
8065			if v != nil {
8066				var structure interface{}
8067				err = json.Unmarshal(*v, &structure)
8068				if err != nil {
8069					return err
8070				}
8071				adlsd.Structure = structure
8072			}
8073		case "linkedServiceName":
8074			if v != nil {
8075				var linkedServiceName LinkedServiceReference
8076				err = json.Unmarshal(*v, &linkedServiceName)
8077				if err != nil {
8078					return err
8079				}
8080				adlsd.LinkedServiceName = &linkedServiceName
8081			}
8082		case "parameters":
8083			if v != nil {
8084				var parameters map[string]*ParameterSpecification
8085				err = json.Unmarshal(*v, &parameters)
8086				if err != nil {
8087					return err
8088				}
8089				adlsd.Parameters = parameters
8090			}
8091		case "annotations":
8092			if v != nil {
8093				var annotations []interface{}
8094				err = json.Unmarshal(*v, &annotations)
8095				if err != nil {
8096					return err
8097				}
8098				adlsd.Annotations = &annotations
8099			}
8100		case "type":
8101			if v != nil {
8102				var typeVar TypeBasicDataset
8103				err = json.Unmarshal(*v, &typeVar)
8104				if err != nil {
8105					return err
8106				}
8107				adlsd.Type = typeVar
8108			}
8109		}
8110	}
8111
8112	return nil
8113}
8114
8115// AzureDataLakeStoreDatasetTypeProperties azure Data Lake Store dataset properties.
8116type AzureDataLakeStoreDatasetTypeProperties struct {
8117	// FolderPath - Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string).
8118	FolderPath interface{} `json:"folderPath,omitempty"`
8119	// FileName - The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string).
8120	FileName interface{} `json:"fileName,omitempty"`
8121	// Format - The format of the Data Lake Store.
8122	Format BasicDatasetStorageFormat `json:"format,omitempty"`
8123	// Compression - The data compression method used for the item(s) in the Azure Data Lake Store.
8124	Compression BasicDatasetCompression `json:"compression,omitempty"`
8125}
8126
8127// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreDatasetTypeProperties struct.
8128func (adlsdtp *AzureDataLakeStoreDatasetTypeProperties) UnmarshalJSON(body []byte) error {
8129	var m map[string]*json.RawMessage
8130	err := json.Unmarshal(body, &m)
8131	if err != nil {
8132		return err
8133	}
8134	for k, v := range m {
8135		switch k {
8136		case "folderPath":
8137			if v != nil {
8138				var folderPath interface{}
8139				err = json.Unmarshal(*v, &folderPath)
8140				if err != nil {
8141					return err
8142				}
8143				adlsdtp.FolderPath = folderPath
8144			}
8145		case "fileName":
8146			if v != nil {
8147				var fileName interface{}
8148				err = json.Unmarshal(*v, &fileName)
8149				if err != nil {
8150					return err
8151				}
8152				adlsdtp.FileName = fileName
8153			}
8154		case "format":
8155			if v != nil {
8156				formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
8157				if err != nil {
8158					return err
8159				}
8160				adlsdtp.Format = formatVar
8161			}
8162		case "compression":
8163			if v != nil {
8164				compression, err := unmarshalBasicDatasetCompression(*v)
8165				if err != nil {
8166					return err
8167				}
8168				adlsdtp.Compression = compression
8169			}
8170		}
8171	}
8172
8173	return nil
8174}
8175
8176// AzureDataLakeStoreLinkedService azure Data Lake Store linked service.
8177type AzureDataLakeStoreLinkedService struct {
8178	// AzureDataLakeStoreLinkedServiceTypeProperties - Azure Data Lake Store linked service properties.
8179	*AzureDataLakeStoreLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
8180	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
8181	AdditionalProperties map[string]interface{} `json:""`
8182	// ConnectVia - The integration runtime reference.
8183	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
8184	// Description - Linked service description.
8185	Description *string `json:"description,omitempty"`
8186	// Parameters - Parameters for linked service.
8187	Parameters map[string]*ParameterSpecification `json:"parameters"`
8188	// Annotations - List of tags that can be used for describing the Dataset.
8189	Annotations *[]interface{} `json:"annotations,omitempty"`
8190	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
8191	Type TypeBasicLinkedService `json:"type,omitempty"`
8192}
8193
8194// MarshalJSON is the custom marshaler for AzureDataLakeStoreLinkedService.
8195func (adlsls AzureDataLakeStoreLinkedService) MarshalJSON() ([]byte, error) {
8196	adlsls.Type = TypeAzureDataLakeStore
8197	objectMap := make(map[string]interface{})
8198	if adlsls.AzureDataLakeStoreLinkedServiceTypeProperties != nil {
8199		objectMap["typeProperties"] = adlsls.AzureDataLakeStoreLinkedServiceTypeProperties
8200	}
8201	if adlsls.ConnectVia != nil {
8202		objectMap["connectVia"] = adlsls.ConnectVia
8203	}
8204	if adlsls.Description != nil {
8205		objectMap["description"] = adlsls.Description
8206	}
8207	if adlsls.Parameters != nil {
8208		objectMap["parameters"] = adlsls.Parameters
8209	}
8210	if adlsls.Annotations != nil {
8211		objectMap["annotations"] = adlsls.Annotations
8212	}
8213	if adlsls.Type != "" {
8214		objectMap["type"] = adlsls.Type
8215	}
8216	for k, v := range adlsls.AdditionalProperties {
8217		objectMap[k] = v
8218	}
8219	return json.Marshal(objectMap)
8220}
8221
8222// AsResponsysLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8223func (adlsls AzureDataLakeStoreLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
8224	return nil, false
8225}
8226
8227// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8228func (adlsls AzureDataLakeStoreLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
8229	return nil, false
8230}
8231
8232// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8233func (adlsls AzureDataLakeStoreLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
8234	return nil, false
8235}
8236
8237// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8238func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
8239	return nil, false
8240}
8241
8242// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8243func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
8244	return nil, false
8245}
8246
8247// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8248func (adlsls AzureDataLakeStoreLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
8249	return nil, false
8250}
8251
8252// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8253func (adlsls AzureDataLakeStoreLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
8254	return nil, false
8255}
8256
8257// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8258func (adlsls AzureDataLakeStoreLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
8259	return nil, false
8260}
8261
8262// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8263func (adlsls AzureDataLakeStoreLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
8264	return nil, false
8265}
8266
8267// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8268func (adlsls AzureDataLakeStoreLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
8269	return nil, false
8270}
8271
8272// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8273func (adlsls AzureDataLakeStoreLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
8274	return nil, false
8275}
8276
8277// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8278func (adlsls AzureDataLakeStoreLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
8279	return nil, false
8280}
8281
8282// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8283func (adlsls AzureDataLakeStoreLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
8284	return nil, false
8285}
8286
8287// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8288func (adlsls AzureDataLakeStoreLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
8289	return nil, false
8290}
8291
8292// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8293func (adlsls AzureDataLakeStoreLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
8294	return nil, false
8295}
8296
8297// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8298func (adlsls AzureDataLakeStoreLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
8299	return nil, false
8300}
8301
8302// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8303func (adlsls AzureDataLakeStoreLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
8304	return nil, false
8305}
8306
8307// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8308func (adlsls AzureDataLakeStoreLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
8309	return nil, false
8310}
8311
8312// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8313func (adlsls AzureDataLakeStoreLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
8314	return nil, false
8315}
8316
8317// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8318func (adlsls AzureDataLakeStoreLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
8319	return nil, false
8320}
8321
8322// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8323func (adlsls AzureDataLakeStoreLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
8324	return nil, false
8325}
8326
8327// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8328func (adlsls AzureDataLakeStoreLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
8329	return nil, false
8330}
8331
8332// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8333func (adlsls AzureDataLakeStoreLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
8334	return nil, false
8335}
8336
8337// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8338func (adlsls AzureDataLakeStoreLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
8339	return nil, false
8340}
8341
8342// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8343func (adlsls AzureDataLakeStoreLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
8344	return nil, false
8345}
8346
8347// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8348func (adlsls AzureDataLakeStoreLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
8349	return nil, false
8350}
8351
8352// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8353func (adlsls AzureDataLakeStoreLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
8354	return nil, false
8355}
8356
8357// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8358func (adlsls AzureDataLakeStoreLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
8359	return nil, false
8360}
8361
8362// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8363func (adlsls AzureDataLakeStoreLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
8364	return nil, false
8365}
8366
8367// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8368func (adlsls AzureDataLakeStoreLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
8369	return nil, false
8370}
8371
8372// AsConcurLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8373func (adlsls AzureDataLakeStoreLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
8374	return nil, false
8375}
8376
8377// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8378func (adlsls AzureDataLakeStoreLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
8379	return nil, false
8380}
8381
8382// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8383func (adlsls AzureDataLakeStoreLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
8384	return nil, false
8385}
8386
8387// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8388func (adlsls AzureDataLakeStoreLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
8389	return nil, false
8390}
8391
8392// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8393func (adlsls AzureDataLakeStoreLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
8394	return nil, false
8395}
8396
8397// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8398func (adlsls AzureDataLakeStoreLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
8399	return nil, false
8400}
8401
8402// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8403func (adlsls AzureDataLakeStoreLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
8404	return nil, false
8405}
8406
8407// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8408func (adlsls AzureDataLakeStoreLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
8409	return nil, false
8410}
8411
8412// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8413func (adlsls AzureDataLakeStoreLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
8414	return nil, false
8415}
8416
8417// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8418func (adlsls AzureDataLakeStoreLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
8419	return nil, false
8420}
8421
8422// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8423func (adlsls AzureDataLakeStoreLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
8424	return nil, false
8425}
8426
8427// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8428func (adlsls AzureDataLakeStoreLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
8429	return nil, false
8430}
8431
8432// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8433func (adlsls AzureDataLakeStoreLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
8434	return nil, false
8435}
8436
8437// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8438func (adlsls AzureDataLakeStoreLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
8439	return nil, false
8440}
8441
8442// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8443func (adlsls AzureDataLakeStoreLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
8444	return nil, false
8445}
8446
8447// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8448func (adlsls AzureDataLakeStoreLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
8449	return &adlsls, true
8450}
8451
8452// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8453func (adlsls AzureDataLakeStoreLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
8454	return nil, false
8455}
8456
8457// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8458func (adlsls AzureDataLakeStoreLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
8459	return nil, false
8460}
8461
8462// AsWebLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8463func (adlsls AzureDataLakeStoreLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
8464	return nil, false
8465}
8466
8467// AsODataLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8468func (adlsls AzureDataLakeStoreLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
8469	return nil, false
8470}
8471
8472// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8473func (adlsls AzureDataLakeStoreLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
8474	return nil, false
8475}
8476
8477// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8478func (adlsls AzureDataLakeStoreLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
8479	return nil, false
8480}
8481
8482// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8483func (adlsls AzureDataLakeStoreLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
8484	return nil, false
8485}
8486
8487// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8488func (adlsls AzureDataLakeStoreLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
8489	return nil, false
8490}
8491
8492// AsDb2LinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8493func (adlsls AzureDataLakeStoreLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
8494	return nil, false
8495}
8496
8497// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8498func (adlsls AzureDataLakeStoreLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
8499	return nil, false
8500}
8501
8502// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8503func (adlsls AzureDataLakeStoreLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
8504	return nil, false
8505}
8506
8507// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8508func (adlsls AzureDataLakeStoreLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
8509	return nil, false
8510}
8511
8512// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8513func (adlsls AzureDataLakeStoreLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
8514	return nil, false
8515}
8516
8517// AsOracleLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8518func (adlsls AzureDataLakeStoreLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
8519	return nil, false
8520}
8521
8522// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8523func (adlsls AzureDataLakeStoreLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
8524	return nil, false
8525}
8526
8527// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8528func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
8529	return nil, false
8530}
8531
8532// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8533func (adlsls AzureDataLakeStoreLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
8534	return nil, false
8535}
8536
8537// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8538func (adlsls AzureDataLakeStoreLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
8539	return nil, false
8540}
8541
8542// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8543func (adlsls AzureDataLakeStoreLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
8544	return nil, false
8545}
8546
8547// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8548func (adlsls AzureDataLakeStoreLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
8549	return nil, false
8550}
8551
8552// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8553func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
8554	return nil, false
8555}
8556
8557// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8558func (adlsls AzureDataLakeStoreLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
8559	return nil, false
8560}
8561
8562// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8563func (adlsls AzureDataLakeStoreLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
8564	return nil, false
8565}
8566
8567// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8568func (adlsls AzureDataLakeStoreLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
8569	return nil, false
8570}
8571
8572// AsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8573func (adlsls AzureDataLakeStoreLinkedService) AsLinkedService() (*LinkedService, bool) {
8574	return nil, false
8575}
8576
8577// AsBasicLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService.
8578func (adlsls AzureDataLakeStoreLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
8579	return &adlsls, true
8580}
8581
8582// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreLinkedService struct.
8583func (adlsls *AzureDataLakeStoreLinkedService) UnmarshalJSON(body []byte) error {
8584	var m map[string]*json.RawMessage
8585	err := json.Unmarshal(body, &m)
8586	if err != nil {
8587		return err
8588	}
8589	for k, v := range m {
8590		switch k {
8591		case "typeProperties":
8592			if v != nil {
8593				var azureDataLakeStoreLinkedServiceTypeProperties AzureDataLakeStoreLinkedServiceTypeProperties
8594				err = json.Unmarshal(*v, &azureDataLakeStoreLinkedServiceTypeProperties)
8595				if err != nil {
8596					return err
8597				}
8598				adlsls.AzureDataLakeStoreLinkedServiceTypeProperties = &azureDataLakeStoreLinkedServiceTypeProperties
8599			}
8600		default:
8601			if v != nil {
8602				var additionalProperties interface{}
8603				err = json.Unmarshal(*v, &additionalProperties)
8604				if err != nil {
8605					return err
8606				}
8607				if adlsls.AdditionalProperties == nil {
8608					adlsls.AdditionalProperties = make(map[string]interface{})
8609				}
8610				adlsls.AdditionalProperties[k] = additionalProperties
8611			}
8612		case "connectVia":
8613			if v != nil {
8614				var connectVia IntegrationRuntimeReference
8615				err = json.Unmarshal(*v, &connectVia)
8616				if err != nil {
8617					return err
8618				}
8619				adlsls.ConnectVia = &connectVia
8620			}
8621		case "description":
8622			if v != nil {
8623				var description string
8624				err = json.Unmarshal(*v, &description)
8625				if err != nil {
8626					return err
8627				}
8628				adlsls.Description = &description
8629			}
8630		case "parameters":
8631			if v != nil {
8632				var parameters map[string]*ParameterSpecification
8633				err = json.Unmarshal(*v, &parameters)
8634				if err != nil {
8635					return err
8636				}
8637				adlsls.Parameters = parameters
8638			}
8639		case "annotations":
8640			if v != nil {
8641				var annotations []interface{}
8642				err = json.Unmarshal(*v, &annotations)
8643				if err != nil {
8644					return err
8645				}
8646				adlsls.Annotations = &annotations
8647			}
8648		case "type":
8649			if v != nil {
8650				var typeVar TypeBasicLinkedService
8651				err = json.Unmarshal(*v, &typeVar)
8652				if err != nil {
8653					return err
8654				}
8655				adlsls.Type = typeVar
8656			}
8657		}
8658	}
8659
8660	return nil
8661}
8662
8663// AzureDataLakeStoreLinkedServiceTypeProperties azure Data Lake Store linked service properties.
8664type AzureDataLakeStoreLinkedServiceTypeProperties struct {
8665	// DataLakeStoreURI - Data Lake Store service URI. Type: string (or Expression with resultType string).
8666	DataLakeStoreURI interface{} `json:"dataLakeStoreUri,omitempty"`
8667	// ServicePrincipalID - The ID of the application used to authenticate against the Azure Data Lake Store account. Type: string (or Expression with resultType string).
8668	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
8669	// ServicePrincipalKey - The Key of the application used to authenticate against the Azure Data Lake Store account.
8670	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
8671	// Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
8672	Tenant interface{} `json:"tenant,omitempty"`
8673	// AccountName - Data Lake Store account name. Type: string (or Expression with resultType string).
8674	AccountName interface{} `json:"accountName,omitempty"`
8675	// SubscriptionID - Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).
8676	SubscriptionID interface{} `json:"subscriptionId,omitempty"`
8677	// ResourceGroupName - Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string).
8678	ResourceGroupName interface{} `json:"resourceGroupName,omitempty"`
8679	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
8680	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
8681}
8682
8683// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreLinkedServiceTypeProperties struct.
8684func (adlslstp *AzureDataLakeStoreLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
8685	var m map[string]*json.RawMessage
8686	err := json.Unmarshal(body, &m)
8687	if err != nil {
8688		return err
8689	}
8690	for k, v := range m {
8691		switch k {
8692		case "dataLakeStoreUri":
8693			if v != nil {
8694				var dataLakeStoreURI interface{}
8695				err = json.Unmarshal(*v, &dataLakeStoreURI)
8696				if err != nil {
8697					return err
8698				}
8699				adlslstp.DataLakeStoreURI = dataLakeStoreURI
8700			}
8701		case "servicePrincipalId":
8702			if v != nil {
8703				var servicePrincipalID interface{}
8704				err = json.Unmarshal(*v, &servicePrincipalID)
8705				if err != nil {
8706					return err
8707				}
8708				adlslstp.ServicePrincipalID = servicePrincipalID
8709			}
8710		case "servicePrincipalKey":
8711			if v != nil {
8712				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
8713				if err != nil {
8714					return err
8715				}
8716				adlslstp.ServicePrincipalKey = servicePrincipalKey
8717			}
8718		case "tenant":
8719			if v != nil {
8720				var tenant interface{}
8721				err = json.Unmarshal(*v, &tenant)
8722				if err != nil {
8723					return err
8724				}
8725				adlslstp.Tenant = tenant
8726			}
8727		case "accountName":
8728			if v != nil {
8729				var accountName interface{}
8730				err = json.Unmarshal(*v, &accountName)
8731				if err != nil {
8732					return err
8733				}
8734				adlslstp.AccountName = accountName
8735			}
8736		case "subscriptionId":
8737			if v != nil {
8738				var subscriptionID interface{}
8739				err = json.Unmarshal(*v, &subscriptionID)
8740				if err != nil {
8741					return err
8742				}
8743				adlslstp.SubscriptionID = subscriptionID
8744			}
8745		case "resourceGroupName":
8746			if v != nil {
8747				var resourceGroupName interface{}
8748				err = json.Unmarshal(*v, &resourceGroupName)
8749				if err != nil {
8750					return err
8751				}
8752				adlslstp.ResourceGroupName = resourceGroupName
8753			}
8754		case "encryptedCredential":
8755			if v != nil {
8756				var encryptedCredential interface{}
8757				err = json.Unmarshal(*v, &encryptedCredential)
8758				if err != nil {
8759					return err
8760				}
8761				adlslstp.EncryptedCredential = encryptedCredential
8762			}
8763		}
8764	}
8765
8766	return nil
8767}
8768
8769// AzureDataLakeStoreSink a copy activity Azure Data Lake Store sink.
8770type AzureDataLakeStoreSink struct {
8771	// CopyBehavior - The type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'
8772	CopyBehavior CopyBehaviorType `json:"copyBehavior,omitempty"`
8773	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
8774	AdditionalProperties map[string]interface{} `json:""`
8775	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
8776	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
8777	// 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])).
8778	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
8779	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
8780	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
8781	// 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])).
8782	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
8783	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
8784	Type TypeBasicCopySink `json:"type,omitempty"`
8785}
8786
8787// MarshalJSON is the custom marshaler for AzureDataLakeStoreSink.
8788func (adlss AzureDataLakeStoreSink) MarshalJSON() ([]byte, error) {
8789	adlss.Type = TypeAzureDataLakeStoreSink
8790	objectMap := make(map[string]interface{})
8791	if adlss.CopyBehavior != "" {
8792		objectMap["copyBehavior"] = adlss.CopyBehavior
8793	}
8794	objectMap["writeBatchSize"] = adlss.WriteBatchSize
8795	objectMap["writeBatchTimeout"] = adlss.WriteBatchTimeout
8796	objectMap["sinkRetryCount"] = adlss.SinkRetryCount
8797	objectMap["sinkRetryWait"] = adlss.SinkRetryWait
8798	if adlss.Type != "" {
8799		objectMap["type"] = adlss.Type
8800	}
8801	for k, v := range adlss.AdditionalProperties {
8802		objectMap[k] = v
8803	}
8804	return json.Marshal(objectMap)
8805}
8806
8807// AsSalesforceSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8808func (adlss AzureDataLakeStoreSink) AsSalesforceSink() (*SalesforceSink, bool) {
8809	return nil, false
8810}
8811
8812// AsDynamicsSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8813func (adlss AzureDataLakeStoreSink) AsDynamicsSink() (*DynamicsSink, bool) {
8814	return nil, false
8815}
8816
8817// AsOdbcSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8818func (adlss AzureDataLakeStoreSink) AsOdbcSink() (*OdbcSink, bool) {
8819	return nil, false
8820}
8821
8822// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8823func (adlss AzureDataLakeStoreSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
8824	return nil, false
8825}
8826
8827// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8828func (adlss AzureDataLakeStoreSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
8829	return &adlss, true
8830}
8831
8832// AsOracleSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8833func (adlss AzureDataLakeStoreSink) AsOracleSink() (*OracleSink, bool) {
8834	return nil, false
8835}
8836
8837// AsSQLDWSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8838func (adlss AzureDataLakeStoreSink) AsSQLDWSink() (*SQLDWSink, bool) {
8839	return nil, false
8840}
8841
8842// AsSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8843func (adlss AzureDataLakeStoreSink) AsSQLSink() (*SQLSink, bool) {
8844	return nil, false
8845}
8846
8847// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8848func (adlss AzureDataLakeStoreSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
8849	return nil, false
8850}
8851
8852// AsFileSystemSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8853func (adlss AzureDataLakeStoreSink) AsFileSystemSink() (*FileSystemSink, bool) {
8854	return nil, false
8855}
8856
8857// AsBlobSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8858func (adlss AzureDataLakeStoreSink) AsBlobSink() (*BlobSink, bool) {
8859	return nil, false
8860}
8861
8862// AsAzureTableSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8863func (adlss AzureDataLakeStoreSink) AsAzureTableSink() (*AzureTableSink, bool) {
8864	return nil, false
8865}
8866
8867// AsAzureQueueSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8868func (adlss AzureDataLakeStoreSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
8869	return nil, false
8870}
8871
8872// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8873func (adlss AzureDataLakeStoreSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
8874	return nil, false
8875}
8876
8877// AsCopySink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8878func (adlss AzureDataLakeStoreSink) AsCopySink() (*CopySink, bool) {
8879	return nil, false
8880}
8881
8882// AsBasicCopySink is the BasicCopySink implementation for AzureDataLakeStoreSink.
8883func (adlss AzureDataLakeStoreSink) AsBasicCopySink() (BasicCopySink, bool) {
8884	return &adlss, true
8885}
8886
8887// AzureDataLakeStoreSource a copy activity Azure Data Lake source.
8888type AzureDataLakeStoreSource struct {
8889	// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
8890	Recursive interface{} `json:"recursive,omitempty"`
8891	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
8892	AdditionalProperties map[string]interface{} `json:""`
8893	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
8894	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
8895	// 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])).
8896	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
8897	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
8898	Type TypeBasicCopySource `json:"type,omitempty"`
8899}
8900
8901// MarshalJSON is the custom marshaler for AzureDataLakeStoreSource.
8902func (adlss AzureDataLakeStoreSource) MarshalJSON() ([]byte, error) {
8903	adlss.Type = TypeAzureDataLakeStoreSource
8904	objectMap := make(map[string]interface{})
8905	objectMap["recursive"] = adlss.Recursive
8906	objectMap["sourceRetryCount"] = adlss.SourceRetryCount
8907	objectMap["sourceRetryWait"] = adlss.SourceRetryWait
8908	if adlss.Type != "" {
8909		objectMap["type"] = adlss.Type
8910	}
8911	for k, v := range adlss.AdditionalProperties {
8912		objectMap[k] = v
8913	}
8914	return json.Marshal(objectMap)
8915}
8916
8917// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8918func (adlss AzureDataLakeStoreSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
8919	return nil, false
8920}
8921
8922// AsResponsysSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8923func (adlss AzureDataLakeStoreSource) AsResponsysSource() (*ResponsysSource, bool) {
8924	return nil, false
8925}
8926
8927// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8928func (adlss AzureDataLakeStoreSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
8929	return nil, false
8930}
8931
8932// AsVerticaSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8933func (adlss AzureDataLakeStoreSource) AsVerticaSource() (*VerticaSource, bool) {
8934	return nil, false
8935}
8936
8937// AsNetezzaSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8938func (adlss AzureDataLakeStoreSource) AsNetezzaSource() (*NetezzaSource, bool) {
8939	return nil, false
8940}
8941
8942// AsZohoSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8943func (adlss AzureDataLakeStoreSource) AsZohoSource() (*ZohoSource, bool) {
8944	return nil, false
8945}
8946
8947// AsXeroSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8948func (adlss AzureDataLakeStoreSource) AsXeroSource() (*XeroSource, bool) {
8949	return nil, false
8950}
8951
8952// AsSquareSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8953func (adlss AzureDataLakeStoreSource) AsSquareSource() (*SquareSource, bool) {
8954	return nil, false
8955}
8956
8957// AsSparkSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8958func (adlss AzureDataLakeStoreSource) AsSparkSource() (*SparkSource, bool) {
8959	return nil, false
8960}
8961
8962// AsShopifySource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8963func (adlss AzureDataLakeStoreSource) AsShopifySource() (*ShopifySource, bool) {
8964	return nil, false
8965}
8966
8967// AsServiceNowSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8968func (adlss AzureDataLakeStoreSource) AsServiceNowSource() (*ServiceNowSource, bool) {
8969	return nil, false
8970}
8971
8972// AsQuickBooksSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8973func (adlss AzureDataLakeStoreSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
8974	return nil, false
8975}
8976
8977// AsPrestoSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8978func (adlss AzureDataLakeStoreSource) AsPrestoSource() (*PrestoSource, bool) {
8979	return nil, false
8980}
8981
8982// AsPhoenixSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8983func (adlss AzureDataLakeStoreSource) AsPhoenixSource() (*PhoenixSource, bool) {
8984	return nil, false
8985}
8986
8987// AsPaypalSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8988func (adlss AzureDataLakeStoreSource) AsPaypalSource() (*PaypalSource, bool) {
8989	return nil, false
8990}
8991
8992// AsMarketoSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8993func (adlss AzureDataLakeStoreSource) AsMarketoSource() (*MarketoSource, bool) {
8994	return nil, false
8995}
8996
8997// AsMariaDBSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
8998func (adlss AzureDataLakeStoreSource) AsMariaDBSource() (*MariaDBSource, bool) {
8999	return nil, false
9000}
9001
9002// AsMagentoSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9003func (adlss AzureDataLakeStoreSource) AsMagentoSource() (*MagentoSource, bool) {
9004	return nil, false
9005}
9006
9007// AsJiraSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9008func (adlss AzureDataLakeStoreSource) AsJiraSource() (*JiraSource, bool) {
9009	return nil, false
9010}
9011
9012// AsImpalaSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9013func (adlss AzureDataLakeStoreSource) AsImpalaSource() (*ImpalaSource, bool) {
9014	return nil, false
9015}
9016
9017// AsHubspotSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9018func (adlss AzureDataLakeStoreSource) AsHubspotSource() (*HubspotSource, bool) {
9019	return nil, false
9020}
9021
9022// AsHiveSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9023func (adlss AzureDataLakeStoreSource) AsHiveSource() (*HiveSource, bool) {
9024	return nil, false
9025}
9026
9027// AsHBaseSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9028func (adlss AzureDataLakeStoreSource) AsHBaseSource() (*HBaseSource, bool) {
9029	return nil, false
9030}
9031
9032// AsGreenplumSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9033func (adlss AzureDataLakeStoreSource) AsGreenplumSource() (*GreenplumSource, bool) {
9034	return nil, false
9035}
9036
9037// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9038func (adlss AzureDataLakeStoreSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
9039	return nil, false
9040}
9041
9042// AsEloquaSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9043func (adlss AzureDataLakeStoreSource) AsEloquaSource() (*EloquaSource, bool) {
9044	return nil, false
9045}
9046
9047// AsDrillSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9048func (adlss AzureDataLakeStoreSource) AsDrillSource() (*DrillSource, bool) {
9049	return nil, false
9050}
9051
9052// AsCouchbaseSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9053func (adlss AzureDataLakeStoreSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
9054	return nil, false
9055}
9056
9057// AsConcurSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9058func (adlss AzureDataLakeStoreSource) AsConcurSource() (*ConcurSource, bool) {
9059	return nil, false
9060}
9061
9062// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9063func (adlss AzureDataLakeStoreSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
9064	return nil, false
9065}
9066
9067// AsAmazonMWSSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9068func (adlss AzureDataLakeStoreSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
9069	return nil, false
9070}
9071
9072// AsHTTPSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9073func (adlss AzureDataLakeStoreSource) AsHTTPSource() (*HTTPSource, bool) {
9074	return nil, false
9075}
9076
9077// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9078func (adlss AzureDataLakeStoreSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
9079	return &adlss, true
9080}
9081
9082// AsMongoDbSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9083func (adlss AzureDataLakeStoreSource) AsMongoDbSource() (*MongoDbSource, bool) {
9084	return nil, false
9085}
9086
9087// AsCassandraSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9088func (adlss AzureDataLakeStoreSource) AsCassandraSource() (*CassandraSource, bool) {
9089	return nil, false
9090}
9091
9092// AsWebSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9093func (adlss AzureDataLakeStoreSource) AsWebSource() (*WebSource, bool) {
9094	return nil, false
9095}
9096
9097// AsOracleSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9098func (adlss AzureDataLakeStoreSource) AsOracleSource() (*OracleSource, bool) {
9099	return nil, false
9100}
9101
9102// AsAzureMySQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9103func (adlss AzureDataLakeStoreSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
9104	return nil, false
9105}
9106
9107// AsHdfsSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9108func (adlss AzureDataLakeStoreSource) AsHdfsSource() (*HdfsSource, bool) {
9109	return nil, false
9110}
9111
9112// AsFileSystemSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9113func (adlss AzureDataLakeStoreSource) AsFileSystemSource() (*FileSystemSource, bool) {
9114	return nil, false
9115}
9116
9117// AsSQLDWSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9118func (adlss AzureDataLakeStoreSource) AsSQLDWSource() (*SQLDWSource, bool) {
9119	return nil, false
9120}
9121
9122// AsSQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9123func (adlss AzureDataLakeStoreSource) AsSQLSource() (*SQLSource, bool) {
9124	return nil, false
9125}
9126
9127// AsSapEccSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9128func (adlss AzureDataLakeStoreSource) AsSapEccSource() (*SapEccSource, bool) {
9129	return nil, false
9130}
9131
9132// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9133func (adlss AzureDataLakeStoreSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
9134	return nil, false
9135}
9136
9137// AsSalesforceSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9138func (adlss AzureDataLakeStoreSource) AsSalesforceSource() (*SalesforceSource, bool) {
9139	return nil, false
9140}
9141
9142// AsRelationalSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9143func (adlss AzureDataLakeStoreSource) AsRelationalSource() (*RelationalSource, bool) {
9144	return nil, false
9145}
9146
9147// AsDynamicsSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9148func (adlss AzureDataLakeStoreSource) AsDynamicsSource() (*DynamicsSource, bool) {
9149	return nil, false
9150}
9151
9152// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9153func (adlss AzureDataLakeStoreSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
9154	return nil, false
9155}
9156
9157// AsBlobSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9158func (adlss AzureDataLakeStoreSource) AsBlobSource() (*BlobSource, bool) {
9159	return nil, false
9160}
9161
9162// AsAzureTableSource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9163func (adlss AzureDataLakeStoreSource) AsAzureTableSource() (*AzureTableSource, bool) {
9164	return nil, false
9165}
9166
9167// AsCopySource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9168func (adlss AzureDataLakeStoreSource) AsCopySource() (*CopySource, bool) {
9169	return nil, false
9170}
9171
9172// AsBasicCopySource is the BasicCopySource implementation for AzureDataLakeStoreSource.
9173func (adlss AzureDataLakeStoreSource) AsBasicCopySource() (BasicCopySource, bool) {
9174	return &adlss, true
9175}
9176
9177// AzureKeyVaultLinkedService azure Key Vault linked service.
9178type AzureKeyVaultLinkedService struct {
9179	// AzureKeyVaultLinkedServiceTypeProperties - Azure Key Vault linked service properties.
9180	*AzureKeyVaultLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
9181	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
9182	AdditionalProperties map[string]interface{} `json:""`
9183	// ConnectVia - The integration runtime reference.
9184	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
9185	// Description - Linked service description.
9186	Description *string `json:"description,omitempty"`
9187	// Parameters - Parameters for linked service.
9188	Parameters map[string]*ParameterSpecification `json:"parameters"`
9189	// Annotations - List of tags that can be used for describing the Dataset.
9190	Annotations *[]interface{} `json:"annotations,omitempty"`
9191	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
9192	Type TypeBasicLinkedService `json:"type,omitempty"`
9193}
9194
9195// MarshalJSON is the custom marshaler for AzureKeyVaultLinkedService.
9196func (akvls AzureKeyVaultLinkedService) MarshalJSON() ([]byte, error) {
9197	akvls.Type = TypeAzureKeyVault
9198	objectMap := make(map[string]interface{})
9199	if akvls.AzureKeyVaultLinkedServiceTypeProperties != nil {
9200		objectMap["typeProperties"] = akvls.AzureKeyVaultLinkedServiceTypeProperties
9201	}
9202	if akvls.ConnectVia != nil {
9203		objectMap["connectVia"] = akvls.ConnectVia
9204	}
9205	if akvls.Description != nil {
9206		objectMap["description"] = akvls.Description
9207	}
9208	if akvls.Parameters != nil {
9209		objectMap["parameters"] = akvls.Parameters
9210	}
9211	if akvls.Annotations != nil {
9212		objectMap["annotations"] = akvls.Annotations
9213	}
9214	if akvls.Type != "" {
9215		objectMap["type"] = akvls.Type
9216	}
9217	for k, v := range akvls.AdditionalProperties {
9218		objectMap[k] = v
9219	}
9220	return json.Marshal(objectMap)
9221}
9222
9223// AsResponsysLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9224func (akvls AzureKeyVaultLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
9225	return nil, false
9226}
9227
9228// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9229func (akvls AzureKeyVaultLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
9230	return nil, false
9231}
9232
9233// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9234func (akvls AzureKeyVaultLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
9235	return nil, false
9236}
9237
9238// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9239func (akvls AzureKeyVaultLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
9240	return nil, false
9241}
9242
9243// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9244func (akvls AzureKeyVaultLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
9245	return nil, false
9246}
9247
9248// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9249func (akvls AzureKeyVaultLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
9250	return nil, false
9251}
9252
9253// AsVerticaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9254func (akvls AzureKeyVaultLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
9255	return nil, false
9256}
9257
9258// AsZohoLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9259func (akvls AzureKeyVaultLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
9260	return nil, false
9261}
9262
9263// AsXeroLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9264func (akvls AzureKeyVaultLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
9265	return nil, false
9266}
9267
9268// AsSquareLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9269func (akvls AzureKeyVaultLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
9270	return nil, false
9271}
9272
9273// AsSparkLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9274func (akvls AzureKeyVaultLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
9275	return nil, false
9276}
9277
9278// AsShopifyLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9279func (akvls AzureKeyVaultLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
9280	return nil, false
9281}
9282
9283// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9284func (akvls AzureKeyVaultLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
9285	return nil, false
9286}
9287
9288// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9289func (akvls AzureKeyVaultLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
9290	return nil, false
9291}
9292
9293// AsPrestoLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9294func (akvls AzureKeyVaultLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
9295	return nil, false
9296}
9297
9298// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9299func (akvls AzureKeyVaultLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
9300	return nil, false
9301}
9302
9303// AsPaypalLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9304func (akvls AzureKeyVaultLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
9305	return nil, false
9306}
9307
9308// AsMarketoLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9309func (akvls AzureKeyVaultLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
9310	return nil, false
9311}
9312
9313// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9314func (akvls AzureKeyVaultLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
9315	return nil, false
9316}
9317
9318// AsMagentoLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9319func (akvls AzureKeyVaultLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
9320	return nil, false
9321}
9322
9323// AsJiraLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9324func (akvls AzureKeyVaultLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
9325	return nil, false
9326}
9327
9328// AsImpalaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9329func (akvls AzureKeyVaultLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
9330	return nil, false
9331}
9332
9333// AsHubspotLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9334func (akvls AzureKeyVaultLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
9335	return nil, false
9336}
9337
9338// AsHiveLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9339func (akvls AzureKeyVaultLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
9340	return nil, false
9341}
9342
9343// AsHBaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9344func (akvls AzureKeyVaultLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
9345	return nil, false
9346}
9347
9348// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9349func (akvls AzureKeyVaultLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
9350	return nil, false
9351}
9352
9353// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9354func (akvls AzureKeyVaultLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
9355	return nil, false
9356}
9357
9358// AsEloquaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9359func (akvls AzureKeyVaultLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
9360	return nil, false
9361}
9362
9363// AsDrillLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9364func (akvls AzureKeyVaultLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
9365	return nil, false
9366}
9367
9368// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9369func (akvls AzureKeyVaultLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
9370	return nil, false
9371}
9372
9373// AsConcurLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9374func (akvls AzureKeyVaultLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
9375	return nil, false
9376}
9377
9378// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9379func (akvls AzureKeyVaultLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
9380	return nil, false
9381}
9382
9383// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9384func (akvls AzureKeyVaultLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
9385	return nil, false
9386}
9387
9388// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9389func (akvls AzureKeyVaultLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
9390	return nil, false
9391}
9392
9393// AsSapBWLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9394func (akvls AzureKeyVaultLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
9395	return nil, false
9396}
9397
9398// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9399func (akvls AzureKeyVaultLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
9400	return nil, false
9401}
9402
9403// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9404func (akvls AzureKeyVaultLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
9405	return nil, false
9406}
9407
9408// AsHTTPLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9409func (akvls AzureKeyVaultLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
9410	return nil, false
9411}
9412
9413// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9414func (akvls AzureKeyVaultLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
9415	return nil, false
9416}
9417
9418// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9419func (akvls AzureKeyVaultLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
9420	return nil, false
9421}
9422
9423// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9424func (akvls AzureKeyVaultLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
9425	return nil, false
9426}
9427
9428// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9429func (akvls AzureKeyVaultLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
9430	return nil, false
9431}
9432
9433// AsSapEccLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9434func (akvls AzureKeyVaultLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
9435	return nil, false
9436}
9437
9438// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9439func (akvls AzureKeyVaultLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
9440	return nil, false
9441}
9442
9443// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9444func (akvls AzureKeyVaultLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
9445	return nil, false
9446}
9447
9448// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9449func (akvls AzureKeyVaultLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
9450	return nil, false
9451}
9452
9453// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9454func (akvls AzureKeyVaultLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
9455	return nil, false
9456}
9457
9458// AsCassandraLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9459func (akvls AzureKeyVaultLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
9460	return nil, false
9461}
9462
9463// AsWebLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9464func (akvls AzureKeyVaultLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
9465	return nil, false
9466}
9467
9468// AsODataLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9469func (akvls AzureKeyVaultLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
9470	return nil, false
9471}
9472
9473// AsHdfsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9474func (akvls AzureKeyVaultLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
9475	return nil, false
9476}
9477
9478// AsOdbcLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9479func (akvls AzureKeyVaultLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
9480	return nil, false
9481}
9482
9483// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9484func (akvls AzureKeyVaultLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
9485	return nil, false
9486}
9487
9488// AsTeradataLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9489func (akvls AzureKeyVaultLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
9490	return nil, false
9491}
9492
9493// AsDb2LinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9494func (akvls AzureKeyVaultLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
9495	return nil, false
9496}
9497
9498// AsSybaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9499func (akvls AzureKeyVaultLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
9500	return nil, false
9501}
9502
9503// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9504func (akvls AzureKeyVaultLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
9505	return nil, false
9506}
9507
9508// AsMySQLLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9509func (akvls AzureKeyVaultLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
9510	return nil, false
9511}
9512
9513// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9514func (akvls AzureKeyVaultLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
9515	return nil, false
9516}
9517
9518// AsOracleLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9519func (akvls AzureKeyVaultLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
9520	return nil, false
9521}
9522
9523// AsFileServerLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9524func (akvls AzureKeyVaultLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
9525	return nil, false
9526}
9527
9528// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9529func (akvls AzureKeyVaultLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
9530	return nil, false
9531}
9532
9533// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9534func (akvls AzureKeyVaultLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
9535	return nil, false
9536}
9537
9538// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9539func (akvls AzureKeyVaultLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
9540	return nil, false
9541}
9542
9543// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9544func (akvls AzureKeyVaultLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
9545	return &akvls, true
9546}
9547
9548// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9549func (akvls AzureKeyVaultLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
9550	return nil, false
9551}
9552
9553// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9554func (akvls AzureKeyVaultLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
9555	return nil, false
9556}
9557
9558// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9559func (akvls AzureKeyVaultLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
9560	return nil, false
9561}
9562
9563// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9564func (akvls AzureKeyVaultLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
9565	return nil, false
9566}
9567
9568// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9569func (akvls AzureKeyVaultLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
9570	return nil, false
9571}
9572
9573// AsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9574func (akvls AzureKeyVaultLinkedService) AsLinkedService() (*LinkedService, bool) {
9575	return nil, false
9576}
9577
9578// AsBasicLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService.
9579func (akvls AzureKeyVaultLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
9580	return &akvls, true
9581}
9582
9583// UnmarshalJSON is the custom unmarshaler for AzureKeyVaultLinkedService struct.
9584func (akvls *AzureKeyVaultLinkedService) UnmarshalJSON(body []byte) error {
9585	var m map[string]*json.RawMessage
9586	err := json.Unmarshal(body, &m)
9587	if err != nil {
9588		return err
9589	}
9590	for k, v := range m {
9591		switch k {
9592		case "typeProperties":
9593			if v != nil {
9594				var azureKeyVaultLinkedServiceTypeProperties AzureKeyVaultLinkedServiceTypeProperties
9595				err = json.Unmarshal(*v, &azureKeyVaultLinkedServiceTypeProperties)
9596				if err != nil {
9597					return err
9598				}
9599				akvls.AzureKeyVaultLinkedServiceTypeProperties = &azureKeyVaultLinkedServiceTypeProperties
9600			}
9601		default:
9602			if v != nil {
9603				var additionalProperties interface{}
9604				err = json.Unmarshal(*v, &additionalProperties)
9605				if err != nil {
9606					return err
9607				}
9608				if akvls.AdditionalProperties == nil {
9609					akvls.AdditionalProperties = make(map[string]interface{})
9610				}
9611				akvls.AdditionalProperties[k] = additionalProperties
9612			}
9613		case "connectVia":
9614			if v != nil {
9615				var connectVia IntegrationRuntimeReference
9616				err = json.Unmarshal(*v, &connectVia)
9617				if err != nil {
9618					return err
9619				}
9620				akvls.ConnectVia = &connectVia
9621			}
9622		case "description":
9623			if v != nil {
9624				var description string
9625				err = json.Unmarshal(*v, &description)
9626				if err != nil {
9627					return err
9628				}
9629				akvls.Description = &description
9630			}
9631		case "parameters":
9632			if v != nil {
9633				var parameters map[string]*ParameterSpecification
9634				err = json.Unmarshal(*v, &parameters)
9635				if err != nil {
9636					return err
9637				}
9638				akvls.Parameters = parameters
9639			}
9640		case "annotations":
9641			if v != nil {
9642				var annotations []interface{}
9643				err = json.Unmarshal(*v, &annotations)
9644				if err != nil {
9645					return err
9646				}
9647				akvls.Annotations = &annotations
9648			}
9649		case "type":
9650			if v != nil {
9651				var typeVar TypeBasicLinkedService
9652				err = json.Unmarshal(*v, &typeVar)
9653				if err != nil {
9654					return err
9655				}
9656				akvls.Type = typeVar
9657			}
9658		}
9659	}
9660
9661	return nil
9662}
9663
9664// AzureKeyVaultLinkedServiceTypeProperties azure Key Vault linked service properties.
9665type AzureKeyVaultLinkedServiceTypeProperties struct {
9666	// BaseURL - The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string).
9667	BaseURL interface{} `json:"baseUrl,omitempty"`
9668}
9669
9670// AzureKeyVaultSecretReference azure Key Vault secret reference.
9671type AzureKeyVaultSecretReference struct {
9672	// Store - The Azure Key Vault linked service reference.
9673	Store *LinkedServiceReference `json:"store,omitempty"`
9674	// SecretName - The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
9675	SecretName interface{} `json:"secretName,omitempty"`
9676	// SecretVersion - The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
9677	SecretVersion interface{} `json:"secretVersion,omitempty"`
9678	// Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret'
9679	Type Type `json:"type,omitempty"`
9680}
9681
9682// MarshalJSON is the custom marshaler for AzureKeyVaultSecretReference.
9683func (akvsr AzureKeyVaultSecretReference) MarshalJSON() ([]byte, error) {
9684	akvsr.Type = TypeAzureKeyVaultSecret
9685	objectMap := make(map[string]interface{})
9686	if akvsr.Store != nil {
9687		objectMap["store"] = akvsr.Store
9688	}
9689	objectMap["secretName"] = akvsr.SecretName
9690	objectMap["secretVersion"] = akvsr.SecretVersion
9691	if akvsr.Type != "" {
9692		objectMap["type"] = akvsr.Type
9693	}
9694	return json.Marshal(objectMap)
9695}
9696
9697// AsSecureString is the BasicSecretBase implementation for AzureKeyVaultSecretReference.
9698func (akvsr AzureKeyVaultSecretReference) AsSecureString() (*SecureString, bool) {
9699	return nil, false
9700}
9701
9702// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for AzureKeyVaultSecretReference.
9703func (akvsr AzureKeyVaultSecretReference) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) {
9704	return &akvsr, true
9705}
9706
9707// AsSecretBase is the BasicSecretBase implementation for AzureKeyVaultSecretReference.
9708func (akvsr AzureKeyVaultSecretReference) AsSecretBase() (*SecretBase, bool) {
9709	return nil, false
9710}
9711
9712// AsBasicSecretBase is the BasicSecretBase implementation for AzureKeyVaultSecretReference.
9713func (akvsr AzureKeyVaultSecretReference) AsBasicSecretBase() (BasicSecretBase, bool) {
9714	return &akvsr, true
9715}
9716
9717// AzureMLBatchExecutionActivity azure ML Batch Execution activity.
9718type AzureMLBatchExecutionActivity struct {
9719	// AzureMLBatchExecutionActivityTypeProperties - Azure ML Batch Execution activity properties.
9720	*AzureMLBatchExecutionActivityTypeProperties `json:"typeProperties,omitempty"`
9721	// LinkedServiceName - Linked service reference.
9722	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
9723	// Policy - Activity policy.
9724	Policy *ActivityPolicy `json:"policy,omitempty"`
9725	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
9726	AdditionalProperties map[string]interface{} `json:""`
9727	// Name - Activity name.
9728	Name *string `json:"name,omitempty"`
9729	// Description - Activity description.
9730	Description *string `json:"description,omitempty"`
9731	// DependsOn - Activity depends on condition.
9732	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
9733	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
9734	Type TypeBasicActivity `json:"type,omitempty"`
9735}
9736
9737// MarshalJSON is the custom marshaler for AzureMLBatchExecutionActivity.
9738func (ambea AzureMLBatchExecutionActivity) MarshalJSON() ([]byte, error) {
9739	ambea.Type = TypeAzureMLBatchExecution
9740	objectMap := make(map[string]interface{})
9741	if ambea.AzureMLBatchExecutionActivityTypeProperties != nil {
9742		objectMap["typeProperties"] = ambea.AzureMLBatchExecutionActivityTypeProperties
9743	}
9744	if ambea.LinkedServiceName != nil {
9745		objectMap["linkedServiceName"] = ambea.LinkedServiceName
9746	}
9747	if ambea.Policy != nil {
9748		objectMap["policy"] = ambea.Policy
9749	}
9750	if ambea.Name != nil {
9751		objectMap["name"] = ambea.Name
9752	}
9753	if ambea.Description != nil {
9754		objectMap["description"] = ambea.Description
9755	}
9756	if ambea.DependsOn != nil {
9757		objectMap["dependsOn"] = ambea.DependsOn
9758	}
9759	if ambea.Type != "" {
9760		objectMap["type"] = ambea.Type
9761	}
9762	for k, v := range ambea.AdditionalProperties {
9763		objectMap[k] = v
9764	}
9765	return json.Marshal(objectMap)
9766}
9767
9768// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9769func (ambea AzureMLBatchExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
9770	return nil, false
9771}
9772
9773// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9774func (ambea AzureMLBatchExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
9775	return nil, false
9776}
9777
9778// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9779func (ambea AzureMLBatchExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
9780	return nil, false
9781}
9782
9783// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9784func (ambea AzureMLBatchExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
9785	return &ambea, true
9786}
9787
9788// AsGetMetadataActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9789func (ambea AzureMLBatchExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
9790	return nil, false
9791}
9792
9793// AsWebActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9794func (ambea AzureMLBatchExecutionActivity) AsWebActivity() (*WebActivity, bool) {
9795	return nil, false
9796}
9797
9798// AsLookupActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9799func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, bool) {
9800	return nil, false
9801}
9802
9803// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9804func (ambea AzureMLBatchExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
9805	return nil, false
9806}
9807
9808// AsCustomActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9809func (ambea AzureMLBatchExecutionActivity) AsCustomActivity() (*CustomActivity, bool) {
9810	return nil, false
9811}
9812
9813// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9814func (ambea AzureMLBatchExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
9815	return nil, false
9816}
9817
9818// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9819func (ambea AzureMLBatchExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
9820	return nil, false
9821}
9822
9823// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9824func (ambea AzureMLBatchExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
9825	return nil, false
9826}
9827
9828// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9829func (ambea AzureMLBatchExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
9830	return nil, false
9831}
9832
9833// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9834func (ambea AzureMLBatchExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
9835	return nil, false
9836}
9837
9838// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9839func (ambea AzureMLBatchExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
9840	return nil, false
9841}
9842
9843// AsCopyActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9844func (ambea AzureMLBatchExecutionActivity) AsCopyActivity() (*CopyActivity, bool) {
9845	return nil, false
9846}
9847
9848// AsExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9849func (ambea AzureMLBatchExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
9850	return nil, false
9851}
9852
9853// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9854func (ambea AzureMLBatchExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
9855	return &ambea, true
9856}
9857
9858// AsFilterActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9859func (ambea AzureMLBatchExecutionActivity) AsFilterActivity() (*FilterActivity, bool) {
9860	return nil, false
9861}
9862
9863// AsUntilActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9864func (ambea AzureMLBatchExecutionActivity) AsUntilActivity() (*UntilActivity, bool) {
9865	return nil, false
9866}
9867
9868// AsWaitActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9869func (ambea AzureMLBatchExecutionActivity) AsWaitActivity() (*WaitActivity, bool) {
9870	return nil, false
9871}
9872
9873// AsForEachActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9874func (ambea AzureMLBatchExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) {
9875	return nil, false
9876}
9877
9878// AsIfConditionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9879func (ambea AzureMLBatchExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
9880	return nil, false
9881}
9882
9883// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9884func (ambea AzureMLBatchExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
9885	return nil, false
9886}
9887
9888// AsControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9889func (ambea AzureMLBatchExecutionActivity) AsControlActivity() (*ControlActivity, bool) {
9890	return nil, false
9891}
9892
9893// AsBasicControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9894func (ambea AzureMLBatchExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
9895	return nil, false
9896}
9897
9898// AsActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9899func (ambea AzureMLBatchExecutionActivity) AsActivity() (*Activity, bool) {
9900	return nil, false
9901}
9902
9903// AsBasicActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity.
9904func (ambea AzureMLBatchExecutionActivity) AsBasicActivity() (BasicActivity, bool) {
9905	return &ambea, true
9906}
9907
9908// UnmarshalJSON is the custom unmarshaler for AzureMLBatchExecutionActivity struct.
9909func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error {
9910	var m map[string]*json.RawMessage
9911	err := json.Unmarshal(body, &m)
9912	if err != nil {
9913		return err
9914	}
9915	for k, v := range m {
9916		switch k {
9917		case "typeProperties":
9918			if v != nil {
9919				var azureMLBatchExecutionActivityTypeProperties AzureMLBatchExecutionActivityTypeProperties
9920				err = json.Unmarshal(*v, &azureMLBatchExecutionActivityTypeProperties)
9921				if err != nil {
9922					return err
9923				}
9924				ambea.AzureMLBatchExecutionActivityTypeProperties = &azureMLBatchExecutionActivityTypeProperties
9925			}
9926		case "linkedServiceName":
9927			if v != nil {
9928				var linkedServiceName LinkedServiceReference
9929				err = json.Unmarshal(*v, &linkedServiceName)
9930				if err != nil {
9931					return err
9932				}
9933				ambea.LinkedServiceName = &linkedServiceName
9934			}
9935		case "policy":
9936			if v != nil {
9937				var policy ActivityPolicy
9938				err = json.Unmarshal(*v, &policy)
9939				if err != nil {
9940					return err
9941				}
9942				ambea.Policy = &policy
9943			}
9944		default:
9945			if v != nil {
9946				var additionalProperties interface{}
9947				err = json.Unmarshal(*v, &additionalProperties)
9948				if err != nil {
9949					return err
9950				}
9951				if ambea.AdditionalProperties == nil {
9952					ambea.AdditionalProperties = make(map[string]interface{})
9953				}
9954				ambea.AdditionalProperties[k] = additionalProperties
9955			}
9956		case "name":
9957			if v != nil {
9958				var name string
9959				err = json.Unmarshal(*v, &name)
9960				if err != nil {
9961					return err
9962				}
9963				ambea.Name = &name
9964			}
9965		case "description":
9966			if v != nil {
9967				var description string
9968				err = json.Unmarshal(*v, &description)
9969				if err != nil {
9970					return err
9971				}
9972				ambea.Description = &description
9973			}
9974		case "dependsOn":
9975			if v != nil {
9976				var dependsOn []ActivityDependency
9977				err = json.Unmarshal(*v, &dependsOn)
9978				if err != nil {
9979					return err
9980				}
9981				ambea.DependsOn = &dependsOn
9982			}
9983		case "type":
9984			if v != nil {
9985				var typeVar TypeBasicActivity
9986				err = json.Unmarshal(*v, &typeVar)
9987				if err != nil {
9988					return err
9989				}
9990				ambea.Type = typeVar
9991			}
9992		}
9993	}
9994
9995	return nil
9996}
9997
9998// AzureMLBatchExecutionActivityTypeProperties azure ML Batch Execution activity properties.
9999type AzureMLBatchExecutionActivityTypeProperties struct {
10000	// GlobalParameters - Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request.
10001	GlobalParameters map[string]interface{} `json:"globalParameters"`
10002	// WebServiceOutputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request.
10003	WebServiceOutputs map[string]*AzureMLWebServiceFile `json:"webServiceOutputs"`
10004	// WebServiceInputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request.
10005	WebServiceInputs map[string]*AzureMLWebServiceFile `json:"webServiceInputs"`
10006}
10007
10008// MarshalJSON is the custom marshaler for AzureMLBatchExecutionActivityTypeProperties.
10009func (ambeatp AzureMLBatchExecutionActivityTypeProperties) MarshalJSON() ([]byte, error) {
10010	objectMap := make(map[string]interface{})
10011	if ambeatp.GlobalParameters != nil {
10012		objectMap["globalParameters"] = ambeatp.GlobalParameters
10013	}
10014	if ambeatp.WebServiceOutputs != nil {
10015		objectMap["webServiceOutputs"] = ambeatp.WebServiceOutputs
10016	}
10017	if ambeatp.WebServiceInputs != nil {
10018		objectMap["webServiceInputs"] = ambeatp.WebServiceInputs
10019	}
10020	return json.Marshal(objectMap)
10021}
10022
10023// AzureMLLinkedService azure ML Web Service linked service.
10024type AzureMLLinkedService struct {
10025	// AzureMLLinkedServiceTypeProperties - Azure ML Web Service linked service properties.
10026	*AzureMLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
10027	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
10028	AdditionalProperties map[string]interface{} `json:""`
10029	// ConnectVia - The integration runtime reference.
10030	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
10031	// Description - Linked service description.
10032	Description *string `json:"description,omitempty"`
10033	// Parameters - Parameters for linked service.
10034	Parameters map[string]*ParameterSpecification `json:"parameters"`
10035	// Annotations - List of tags that can be used for describing the Dataset.
10036	Annotations *[]interface{} `json:"annotations,omitempty"`
10037	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
10038	Type TypeBasicLinkedService `json:"type,omitempty"`
10039}
10040
10041// MarshalJSON is the custom marshaler for AzureMLLinkedService.
10042func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) {
10043	amls.Type = TypeAzureML
10044	objectMap := make(map[string]interface{})
10045	if amls.AzureMLLinkedServiceTypeProperties != nil {
10046		objectMap["typeProperties"] = amls.AzureMLLinkedServiceTypeProperties
10047	}
10048	if amls.ConnectVia != nil {
10049		objectMap["connectVia"] = amls.ConnectVia
10050	}
10051	if amls.Description != nil {
10052		objectMap["description"] = amls.Description
10053	}
10054	if amls.Parameters != nil {
10055		objectMap["parameters"] = amls.Parameters
10056	}
10057	if amls.Annotations != nil {
10058		objectMap["annotations"] = amls.Annotations
10059	}
10060	if amls.Type != "" {
10061		objectMap["type"] = amls.Type
10062	}
10063	for k, v := range amls.AdditionalProperties {
10064		objectMap[k] = v
10065	}
10066	return json.Marshal(objectMap)
10067}
10068
10069// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10070func (amls AzureMLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
10071	return nil, false
10072}
10073
10074// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10075func (amls AzureMLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
10076	return nil, false
10077}
10078
10079// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10080func (amls AzureMLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
10081	return nil, false
10082}
10083
10084// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10085func (amls AzureMLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
10086	return nil, false
10087}
10088
10089// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10090func (amls AzureMLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
10091	return nil, false
10092}
10093
10094// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10095func (amls AzureMLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
10096	return nil, false
10097}
10098
10099// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10100func (amls AzureMLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
10101	return nil, false
10102}
10103
10104// AsZohoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10105func (amls AzureMLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
10106	return nil, false
10107}
10108
10109// AsXeroLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10110func (amls AzureMLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
10111	return nil, false
10112}
10113
10114// AsSquareLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10115func (amls AzureMLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
10116	return nil, false
10117}
10118
10119// AsSparkLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10120func (amls AzureMLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
10121	return nil, false
10122}
10123
10124// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10125func (amls AzureMLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
10126	return nil, false
10127}
10128
10129// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10130func (amls AzureMLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
10131	return nil, false
10132}
10133
10134// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10135func (amls AzureMLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
10136	return nil, false
10137}
10138
10139// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10140func (amls AzureMLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
10141	return nil, false
10142}
10143
10144// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10145func (amls AzureMLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
10146	return nil, false
10147}
10148
10149// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10150func (amls AzureMLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
10151	return nil, false
10152}
10153
10154// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10155func (amls AzureMLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
10156	return nil, false
10157}
10158
10159// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10160func (amls AzureMLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
10161	return nil, false
10162}
10163
10164// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10165func (amls AzureMLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
10166	return nil, false
10167}
10168
10169// AsJiraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10170func (amls AzureMLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
10171	return nil, false
10172}
10173
10174// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10175func (amls AzureMLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
10176	return nil, false
10177}
10178
10179// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10180func (amls AzureMLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
10181	return nil, false
10182}
10183
10184// AsHiveLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10185func (amls AzureMLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
10186	return nil, false
10187}
10188
10189// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10190func (amls AzureMLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
10191	return nil, false
10192}
10193
10194// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10195func (amls AzureMLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
10196	return nil, false
10197}
10198
10199// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10200func (amls AzureMLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
10201	return nil, false
10202}
10203
10204// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10205func (amls AzureMLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
10206	return nil, false
10207}
10208
10209// AsDrillLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10210func (amls AzureMLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
10211	return nil, false
10212}
10213
10214// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10215func (amls AzureMLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
10216	return nil, false
10217}
10218
10219// AsConcurLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10220func (amls AzureMLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
10221	return nil, false
10222}
10223
10224// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10225func (amls AzureMLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
10226	return nil, false
10227}
10228
10229// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10230func (amls AzureMLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
10231	return nil, false
10232}
10233
10234// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10235func (amls AzureMLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
10236	return nil, false
10237}
10238
10239// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10240func (amls AzureMLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
10241	return nil, false
10242}
10243
10244// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10245func (amls AzureMLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
10246	return nil, false
10247}
10248
10249// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10250func (amls AzureMLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
10251	return nil, false
10252}
10253
10254// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10255func (amls AzureMLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
10256	return nil, false
10257}
10258
10259// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10260func (amls AzureMLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
10261	return nil, false
10262}
10263
10264// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10265func (amls AzureMLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
10266	return nil, false
10267}
10268
10269// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10270func (amls AzureMLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
10271	return nil, false
10272}
10273
10274// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10275func (amls AzureMLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
10276	return nil, false
10277}
10278
10279// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10280func (amls AzureMLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
10281	return nil, false
10282}
10283
10284// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10285func (amls AzureMLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
10286	return nil, false
10287}
10288
10289// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10290func (amls AzureMLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
10291	return nil, false
10292}
10293
10294// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10295func (amls AzureMLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
10296	return nil, false
10297}
10298
10299// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10300func (amls AzureMLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
10301	return nil, false
10302}
10303
10304// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10305func (amls AzureMLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
10306	return nil, false
10307}
10308
10309// AsWebLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10310func (amls AzureMLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
10311	return nil, false
10312}
10313
10314// AsODataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10315func (amls AzureMLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
10316	return nil, false
10317}
10318
10319// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10320func (amls AzureMLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
10321	return nil, false
10322}
10323
10324// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10325func (amls AzureMLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
10326	return nil, false
10327}
10328
10329// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10330func (amls AzureMLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
10331	return &amls, true
10332}
10333
10334// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10335func (amls AzureMLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
10336	return nil, false
10337}
10338
10339// AsDb2LinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10340func (amls AzureMLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
10341	return nil, false
10342}
10343
10344// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10345func (amls AzureMLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
10346	return nil, false
10347}
10348
10349// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10350func (amls AzureMLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
10351	return nil, false
10352}
10353
10354// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10355func (amls AzureMLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
10356	return nil, false
10357}
10358
10359// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10360func (amls AzureMLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
10361	return nil, false
10362}
10363
10364// AsOracleLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10365func (amls AzureMLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
10366	return nil, false
10367}
10368
10369// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10370func (amls AzureMLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
10371	return nil, false
10372}
10373
10374// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10375func (amls AzureMLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
10376	return nil, false
10377}
10378
10379// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10380func (amls AzureMLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
10381	return nil, false
10382}
10383
10384// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10385func (amls AzureMLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
10386	return nil, false
10387}
10388
10389// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10390func (amls AzureMLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
10391	return nil, false
10392}
10393
10394// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10395func (amls AzureMLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
10396	return nil, false
10397}
10398
10399// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10400func (amls AzureMLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
10401	return nil, false
10402}
10403
10404// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10405func (amls AzureMLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
10406	return nil, false
10407}
10408
10409// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10410func (amls AzureMLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
10411	return nil, false
10412}
10413
10414// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10415func (amls AzureMLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
10416	return nil, false
10417}
10418
10419// AsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10420func (amls AzureMLLinkedService) AsLinkedService() (*LinkedService, bool) {
10421	return nil, false
10422}
10423
10424// AsBasicLinkedService is the BasicLinkedService implementation for AzureMLLinkedService.
10425func (amls AzureMLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
10426	return &amls, true
10427}
10428
10429// UnmarshalJSON is the custom unmarshaler for AzureMLLinkedService struct.
10430func (amls *AzureMLLinkedService) UnmarshalJSON(body []byte) error {
10431	var m map[string]*json.RawMessage
10432	err := json.Unmarshal(body, &m)
10433	if err != nil {
10434		return err
10435	}
10436	for k, v := range m {
10437		switch k {
10438		case "typeProperties":
10439			if v != nil {
10440				var azureMLLinkedServiceTypeProperties AzureMLLinkedServiceTypeProperties
10441				err = json.Unmarshal(*v, &azureMLLinkedServiceTypeProperties)
10442				if err != nil {
10443					return err
10444				}
10445				amls.AzureMLLinkedServiceTypeProperties = &azureMLLinkedServiceTypeProperties
10446			}
10447		default:
10448			if v != nil {
10449				var additionalProperties interface{}
10450				err = json.Unmarshal(*v, &additionalProperties)
10451				if err != nil {
10452					return err
10453				}
10454				if amls.AdditionalProperties == nil {
10455					amls.AdditionalProperties = make(map[string]interface{})
10456				}
10457				amls.AdditionalProperties[k] = additionalProperties
10458			}
10459		case "connectVia":
10460			if v != nil {
10461				var connectVia IntegrationRuntimeReference
10462				err = json.Unmarshal(*v, &connectVia)
10463				if err != nil {
10464					return err
10465				}
10466				amls.ConnectVia = &connectVia
10467			}
10468		case "description":
10469			if v != nil {
10470				var description string
10471				err = json.Unmarshal(*v, &description)
10472				if err != nil {
10473					return err
10474				}
10475				amls.Description = &description
10476			}
10477		case "parameters":
10478			if v != nil {
10479				var parameters map[string]*ParameterSpecification
10480				err = json.Unmarshal(*v, &parameters)
10481				if err != nil {
10482					return err
10483				}
10484				amls.Parameters = parameters
10485			}
10486		case "annotations":
10487			if v != nil {
10488				var annotations []interface{}
10489				err = json.Unmarshal(*v, &annotations)
10490				if err != nil {
10491					return err
10492				}
10493				amls.Annotations = &annotations
10494			}
10495		case "type":
10496			if v != nil {
10497				var typeVar TypeBasicLinkedService
10498				err = json.Unmarshal(*v, &typeVar)
10499				if err != nil {
10500					return err
10501				}
10502				amls.Type = typeVar
10503			}
10504		}
10505	}
10506
10507	return nil
10508}
10509
10510// AzureMLLinkedServiceTypeProperties azure ML Web Service linked service properties.
10511type AzureMLLinkedServiceTypeProperties struct {
10512	// MlEndpoint - The Batch Execution REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string).
10513	MlEndpoint interface{} `json:"mlEndpoint,omitempty"`
10514	// APIKey - The API key for accessing the Azure ML model endpoint.
10515	APIKey BasicSecretBase `json:"apiKey,omitempty"`
10516	// UpdateResourceEndpoint - The Update Resource REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string).
10517	UpdateResourceEndpoint interface{} `json:"updateResourceEndpoint,omitempty"`
10518	// ServicePrincipalID - The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service. Type: string (or Expression with resultType string).
10519	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
10520	// ServicePrincipalKey - The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service.
10521	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
10522	// Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
10523	Tenant interface{} `json:"tenant,omitempty"`
10524	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
10525	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
10526}
10527
10528// UnmarshalJSON is the custom unmarshaler for AzureMLLinkedServiceTypeProperties struct.
10529func (amlstp *AzureMLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
10530	var m map[string]*json.RawMessage
10531	err := json.Unmarshal(body, &m)
10532	if err != nil {
10533		return err
10534	}
10535	for k, v := range m {
10536		switch k {
10537		case "mlEndpoint":
10538			if v != nil {
10539				var mlEndpoint interface{}
10540				err = json.Unmarshal(*v, &mlEndpoint)
10541				if err != nil {
10542					return err
10543				}
10544				amlstp.MlEndpoint = mlEndpoint
10545			}
10546		case "apiKey":
10547			if v != nil {
10548				APIKey, err := unmarshalBasicSecretBase(*v)
10549				if err != nil {
10550					return err
10551				}
10552				amlstp.APIKey = APIKey
10553			}
10554		case "updateResourceEndpoint":
10555			if v != nil {
10556				var updateResourceEndpoint interface{}
10557				err = json.Unmarshal(*v, &updateResourceEndpoint)
10558				if err != nil {
10559					return err
10560				}
10561				amlstp.UpdateResourceEndpoint = updateResourceEndpoint
10562			}
10563		case "servicePrincipalId":
10564			if v != nil {
10565				var servicePrincipalID interface{}
10566				err = json.Unmarshal(*v, &servicePrincipalID)
10567				if err != nil {
10568					return err
10569				}
10570				amlstp.ServicePrincipalID = servicePrincipalID
10571			}
10572		case "servicePrincipalKey":
10573			if v != nil {
10574				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
10575				if err != nil {
10576					return err
10577				}
10578				amlstp.ServicePrincipalKey = servicePrincipalKey
10579			}
10580		case "tenant":
10581			if v != nil {
10582				var tenant interface{}
10583				err = json.Unmarshal(*v, &tenant)
10584				if err != nil {
10585					return err
10586				}
10587				amlstp.Tenant = tenant
10588			}
10589		case "encryptedCredential":
10590			if v != nil {
10591				var encryptedCredential interface{}
10592				err = json.Unmarshal(*v, &encryptedCredential)
10593				if err != nil {
10594					return err
10595				}
10596				amlstp.EncryptedCredential = encryptedCredential
10597			}
10598		}
10599	}
10600
10601	return nil
10602}
10603
10604// AzureMLUpdateResourceActivity azure ML Update Resource management activity.
10605type AzureMLUpdateResourceActivity struct {
10606	// AzureMLUpdateResourceActivityTypeProperties - Azure ML Update Resource management activity properties.
10607	*AzureMLUpdateResourceActivityTypeProperties `json:"typeProperties,omitempty"`
10608	// LinkedServiceName - Linked service reference.
10609	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
10610	// Policy - Activity policy.
10611	Policy *ActivityPolicy `json:"policy,omitempty"`
10612	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
10613	AdditionalProperties map[string]interface{} `json:""`
10614	// Name - Activity name.
10615	Name *string `json:"name,omitempty"`
10616	// Description - Activity description.
10617	Description *string `json:"description,omitempty"`
10618	// DependsOn - Activity depends on condition.
10619	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
10620	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
10621	Type TypeBasicActivity `json:"type,omitempty"`
10622}
10623
10624// MarshalJSON is the custom marshaler for AzureMLUpdateResourceActivity.
10625func (amura AzureMLUpdateResourceActivity) MarshalJSON() ([]byte, error) {
10626	amura.Type = TypeAzureMLUpdateResource
10627	objectMap := make(map[string]interface{})
10628	if amura.AzureMLUpdateResourceActivityTypeProperties != nil {
10629		objectMap["typeProperties"] = amura.AzureMLUpdateResourceActivityTypeProperties
10630	}
10631	if amura.LinkedServiceName != nil {
10632		objectMap["linkedServiceName"] = amura.LinkedServiceName
10633	}
10634	if amura.Policy != nil {
10635		objectMap["policy"] = amura.Policy
10636	}
10637	if amura.Name != nil {
10638		objectMap["name"] = amura.Name
10639	}
10640	if amura.Description != nil {
10641		objectMap["description"] = amura.Description
10642	}
10643	if amura.DependsOn != nil {
10644		objectMap["dependsOn"] = amura.DependsOn
10645	}
10646	if amura.Type != "" {
10647		objectMap["type"] = amura.Type
10648	}
10649	for k, v := range amura.AdditionalProperties {
10650		objectMap[k] = v
10651	}
10652	return json.Marshal(objectMap)
10653}
10654
10655// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10656func (amura AzureMLUpdateResourceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
10657	return nil, false
10658}
10659
10660// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10661func (amura AzureMLUpdateResourceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
10662	return nil, false
10663}
10664
10665// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10666func (amura AzureMLUpdateResourceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
10667	return &amura, true
10668}
10669
10670// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10671func (amura AzureMLUpdateResourceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
10672	return nil, false
10673}
10674
10675// AsGetMetadataActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10676func (amura AzureMLUpdateResourceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
10677	return nil, false
10678}
10679
10680// AsWebActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10681func (amura AzureMLUpdateResourceActivity) AsWebActivity() (*WebActivity, bool) {
10682	return nil, false
10683}
10684
10685// AsLookupActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10686func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, bool) {
10687	return nil, false
10688}
10689
10690// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10691func (amura AzureMLUpdateResourceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
10692	return nil, false
10693}
10694
10695// AsCustomActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10696func (amura AzureMLUpdateResourceActivity) AsCustomActivity() (*CustomActivity, bool) {
10697	return nil, false
10698}
10699
10700// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10701func (amura AzureMLUpdateResourceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
10702	return nil, false
10703}
10704
10705// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10706func (amura AzureMLUpdateResourceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
10707	return nil, false
10708}
10709
10710// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10711func (amura AzureMLUpdateResourceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
10712	return nil, false
10713}
10714
10715// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10716func (amura AzureMLUpdateResourceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
10717	return nil, false
10718}
10719
10720// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10721func (amura AzureMLUpdateResourceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
10722	return nil, false
10723}
10724
10725// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10726func (amura AzureMLUpdateResourceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
10727	return nil, false
10728}
10729
10730// AsCopyActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10731func (amura AzureMLUpdateResourceActivity) AsCopyActivity() (*CopyActivity, bool) {
10732	return nil, false
10733}
10734
10735// AsExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10736func (amura AzureMLUpdateResourceActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
10737	return nil, false
10738}
10739
10740// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10741func (amura AzureMLUpdateResourceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
10742	return &amura, true
10743}
10744
10745// AsFilterActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10746func (amura AzureMLUpdateResourceActivity) AsFilterActivity() (*FilterActivity, bool) {
10747	return nil, false
10748}
10749
10750// AsUntilActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10751func (amura AzureMLUpdateResourceActivity) AsUntilActivity() (*UntilActivity, bool) {
10752	return nil, false
10753}
10754
10755// AsWaitActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10756func (amura AzureMLUpdateResourceActivity) AsWaitActivity() (*WaitActivity, bool) {
10757	return nil, false
10758}
10759
10760// AsForEachActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10761func (amura AzureMLUpdateResourceActivity) AsForEachActivity() (*ForEachActivity, bool) {
10762	return nil, false
10763}
10764
10765// AsIfConditionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10766func (amura AzureMLUpdateResourceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
10767	return nil, false
10768}
10769
10770// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10771func (amura AzureMLUpdateResourceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
10772	return nil, false
10773}
10774
10775// AsControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10776func (amura AzureMLUpdateResourceActivity) AsControlActivity() (*ControlActivity, bool) {
10777	return nil, false
10778}
10779
10780// AsBasicControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10781func (amura AzureMLUpdateResourceActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
10782	return nil, false
10783}
10784
10785// AsActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10786func (amura AzureMLUpdateResourceActivity) AsActivity() (*Activity, bool) {
10787	return nil, false
10788}
10789
10790// AsBasicActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity.
10791func (amura AzureMLUpdateResourceActivity) AsBasicActivity() (BasicActivity, bool) {
10792	return &amura, true
10793}
10794
10795// UnmarshalJSON is the custom unmarshaler for AzureMLUpdateResourceActivity struct.
10796func (amura *AzureMLUpdateResourceActivity) UnmarshalJSON(body []byte) error {
10797	var m map[string]*json.RawMessage
10798	err := json.Unmarshal(body, &m)
10799	if err != nil {
10800		return err
10801	}
10802	for k, v := range m {
10803		switch k {
10804		case "typeProperties":
10805			if v != nil {
10806				var azureMLUpdateResourceActivityTypeProperties AzureMLUpdateResourceActivityTypeProperties
10807				err = json.Unmarshal(*v, &azureMLUpdateResourceActivityTypeProperties)
10808				if err != nil {
10809					return err
10810				}
10811				amura.AzureMLUpdateResourceActivityTypeProperties = &azureMLUpdateResourceActivityTypeProperties
10812			}
10813		case "linkedServiceName":
10814			if v != nil {
10815				var linkedServiceName LinkedServiceReference
10816				err = json.Unmarshal(*v, &linkedServiceName)
10817				if err != nil {
10818					return err
10819				}
10820				amura.LinkedServiceName = &linkedServiceName
10821			}
10822		case "policy":
10823			if v != nil {
10824				var policy ActivityPolicy
10825				err = json.Unmarshal(*v, &policy)
10826				if err != nil {
10827					return err
10828				}
10829				amura.Policy = &policy
10830			}
10831		default:
10832			if v != nil {
10833				var additionalProperties interface{}
10834				err = json.Unmarshal(*v, &additionalProperties)
10835				if err != nil {
10836					return err
10837				}
10838				if amura.AdditionalProperties == nil {
10839					amura.AdditionalProperties = make(map[string]interface{})
10840				}
10841				amura.AdditionalProperties[k] = additionalProperties
10842			}
10843		case "name":
10844			if v != nil {
10845				var name string
10846				err = json.Unmarshal(*v, &name)
10847				if err != nil {
10848					return err
10849				}
10850				amura.Name = &name
10851			}
10852		case "description":
10853			if v != nil {
10854				var description string
10855				err = json.Unmarshal(*v, &description)
10856				if err != nil {
10857					return err
10858				}
10859				amura.Description = &description
10860			}
10861		case "dependsOn":
10862			if v != nil {
10863				var dependsOn []ActivityDependency
10864				err = json.Unmarshal(*v, &dependsOn)
10865				if err != nil {
10866					return err
10867				}
10868				amura.DependsOn = &dependsOn
10869			}
10870		case "type":
10871			if v != nil {
10872				var typeVar TypeBasicActivity
10873				err = json.Unmarshal(*v, &typeVar)
10874				if err != nil {
10875					return err
10876				}
10877				amura.Type = typeVar
10878			}
10879		}
10880	}
10881
10882	return nil
10883}
10884
10885// AzureMLUpdateResourceActivityTypeProperties azure ML Update Resource activity properties.
10886type AzureMLUpdateResourceActivityTypeProperties struct {
10887	// TrainedModelName - Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string).
10888	TrainedModelName interface{} `json:"trainedModelName,omitempty"`
10889	// TrainedModelLinkedServiceName - Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.
10890	TrainedModelLinkedServiceName *LinkedServiceReference `json:"trainedModelLinkedServiceName,omitempty"`
10891	// TrainedModelFilePath - The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation.  Type: string (or Expression with resultType string).
10892	TrainedModelFilePath interface{} `json:"trainedModelFilePath,omitempty"`
10893}
10894
10895// AzureMLWebServiceFile azure ML WebService Input/Output file
10896type AzureMLWebServiceFile struct {
10897	// FilePath - The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string).
10898	FilePath interface{} `json:"filePath,omitempty"`
10899	// LinkedServiceName - Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located.
10900	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
10901}
10902
10903// AzureMySQLLinkedService azure MySQL database linked service.
10904type AzureMySQLLinkedService struct {
10905	// AzureMySQLLinkedServiceTypeProperties - Azure MySQL database linked service properties.
10906	*AzureMySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
10907	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
10908	AdditionalProperties map[string]interface{} `json:""`
10909	// ConnectVia - The integration runtime reference.
10910	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
10911	// Description - Linked service description.
10912	Description *string `json:"description,omitempty"`
10913	// Parameters - Parameters for linked service.
10914	Parameters map[string]*ParameterSpecification `json:"parameters"`
10915	// Annotations - List of tags that can be used for describing the Dataset.
10916	Annotations *[]interface{} `json:"annotations,omitempty"`
10917	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
10918	Type TypeBasicLinkedService `json:"type,omitempty"`
10919}
10920
10921// MarshalJSON is the custom marshaler for AzureMySQLLinkedService.
10922func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) {
10923	amsls.Type = TypeAzureMySQL
10924	objectMap := make(map[string]interface{})
10925	if amsls.AzureMySQLLinkedServiceTypeProperties != nil {
10926		objectMap["typeProperties"] = amsls.AzureMySQLLinkedServiceTypeProperties
10927	}
10928	if amsls.ConnectVia != nil {
10929		objectMap["connectVia"] = amsls.ConnectVia
10930	}
10931	if amsls.Description != nil {
10932		objectMap["description"] = amsls.Description
10933	}
10934	if amsls.Parameters != nil {
10935		objectMap["parameters"] = amsls.Parameters
10936	}
10937	if amsls.Annotations != nil {
10938		objectMap["annotations"] = amsls.Annotations
10939	}
10940	if amsls.Type != "" {
10941		objectMap["type"] = amsls.Type
10942	}
10943	for k, v := range amsls.AdditionalProperties {
10944		objectMap[k] = v
10945	}
10946	return json.Marshal(objectMap)
10947}
10948
10949// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10950func (amsls AzureMySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
10951	return nil, false
10952}
10953
10954// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10955func (amsls AzureMySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
10956	return nil, false
10957}
10958
10959// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10960func (amsls AzureMySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
10961	return nil, false
10962}
10963
10964// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10965func (amsls AzureMySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
10966	return nil, false
10967}
10968
10969// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10970func (amsls AzureMySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
10971	return nil, false
10972}
10973
10974// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10975func (amsls AzureMySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
10976	return nil, false
10977}
10978
10979// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10980func (amsls AzureMySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
10981	return nil, false
10982}
10983
10984// AsZohoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10985func (amsls AzureMySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
10986	return nil, false
10987}
10988
10989// AsXeroLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10990func (amsls AzureMySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
10991	return nil, false
10992}
10993
10994// AsSquareLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
10995func (amsls AzureMySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
10996	return nil, false
10997}
10998
10999// AsSparkLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11000func (amsls AzureMySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
11001	return nil, false
11002}
11003
11004// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11005func (amsls AzureMySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
11006	return nil, false
11007}
11008
11009// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11010func (amsls AzureMySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
11011	return nil, false
11012}
11013
11014// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11015func (amsls AzureMySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
11016	return nil, false
11017}
11018
11019// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11020func (amsls AzureMySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
11021	return nil, false
11022}
11023
11024// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11025func (amsls AzureMySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
11026	return nil, false
11027}
11028
11029// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11030func (amsls AzureMySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
11031	return nil, false
11032}
11033
11034// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11035func (amsls AzureMySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
11036	return nil, false
11037}
11038
11039// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11040func (amsls AzureMySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
11041	return nil, false
11042}
11043
11044// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11045func (amsls AzureMySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
11046	return nil, false
11047}
11048
11049// AsJiraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11050func (amsls AzureMySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
11051	return nil, false
11052}
11053
11054// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11055func (amsls AzureMySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
11056	return nil, false
11057}
11058
11059// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11060func (amsls AzureMySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
11061	return nil, false
11062}
11063
11064// AsHiveLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11065func (amsls AzureMySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
11066	return nil, false
11067}
11068
11069// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11070func (amsls AzureMySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
11071	return nil, false
11072}
11073
11074// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11075func (amsls AzureMySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
11076	return nil, false
11077}
11078
11079// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11080func (amsls AzureMySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
11081	return nil, false
11082}
11083
11084// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11085func (amsls AzureMySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
11086	return nil, false
11087}
11088
11089// AsDrillLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11090func (amsls AzureMySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
11091	return nil, false
11092}
11093
11094// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11095func (amsls AzureMySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
11096	return nil, false
11097}
11098
11099// AsConcurLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11100func (amsls AzureMySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
11101	return nil, false
11102}
11103
11104// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11105func (amsls AzureMySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
11106	return nil, false
11107}
11108
11109// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11110func (amsls AzureMySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
11111	return nil, false
11112}
11113
11114// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11115func (amsls AzureMySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
11116	return nil, false
11117}
11118
11119// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11120func (amsls AzureMySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
11121	return nil, false
11122}
11123
11124// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11125func (amsls AzureMySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
11126	return nil, false
11127}
11128
11129// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11130func (amsls AzureMySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
11131	return nil, false
11132}
11133
11134// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11135func (amsls AzureMySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
11136	return nil, false
11137}
11138
11139// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11140func (amsls AzureMySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
11141	return nil, false
11142}
11143
11144// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11145func (amsls AzureMySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
11146	return nil, false
11147}
11148
11149// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11150func (amsls AzureMySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
11151	return nil, false
11152}
11153
11154// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11155func (amsls AzureMySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
11156	return nil, false
11157}
11158
11159// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11160func (amsls AzureMySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
11161	return nil, false
11162}
11163
11164// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11165func (amsls AzureMySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
11166	return nil, false
11167}
11168
11169// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11170func (amsls AzureMySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
11171	return nil, false
11172}
11173
11174// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11175func (amsls AzureMySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
11176	return nil, false
11177}
11178
11179// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11180func (amsls AzureMySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
11181	return nil, false
11182}
11183
11184// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11185func (amsls AzureMySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
11186	return nil, false
11187}
11188
11189// AsWebLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11190func (amsls AzureMySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
11191	return nil, false
11192}
11193
11194// AsODataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11195func (amsls AzureMySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
11196	return nil, false
11197}
11198
11199// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11200func (amsls AzureMySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
11201	return nil, false
11202}
11203
11204// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11205func (amsls AzureMySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
11206	return nil, false
11207}
11208
11209// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11210func (amsls AzureMySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
11211	return nil, false
11212}
11213
11214// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11215func (amsls AzureMySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
11216	return nil, false
11217}
11218
11219// AsDb2LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11220func (amsls AzureMySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
11221	return nil, false
11222}
11223
11224// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11225func (amsls AzureMySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
11226	return nil, false
11227}
11228
11229// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11230func (amsls AzureMySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
11231	return nil, false
11232}
11233
11234// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11235func (amsls AzureMySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
11236	return nil, false
11237}
11238
11239// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11240func (amsls AzureMySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
11241	return &amsls, true
11242}
11243
11244// AsOracleLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11245func (amsls AzureMySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
11246	return nil, false
11247}
11248
11249// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11250func (amsls AzureMySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
11251	return nil, false
11252}
11253
11254// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11255func (amsls AzureMySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
11256	return nil, false
11257}
11258
11259// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11260func (amsls AzureMySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
11261	return nil, false
11262}
11263
11264// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11265func (amsls AzureMySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
11266	return nil, false
11267}
11268
11269// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11270func (amsls AzureMySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
11271	return nil, false
11272}
11273
11274// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11275func (amsls AzureMySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
11276	return nil, false
11277}
11278
11279// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11280func (amsls AzureMySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
11281	return nil, false
11282}
11283
11284// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11285func (amsls AzureMySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
11286	return nil, false
11287}
11288
11289// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11290func (amsls AzureMySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
11291	return nil, false
11292}
11293
11294// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11295func (amsls AzureMySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
11296	return nil, false
11297}
11298
11299// AsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11300func (amsls AzureMySQLLinkedService) AsLinkedService() (*LinkedService, bool) {
11301	return nil, false
11302}
11303
11304// AsBasicLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService.
11305func (amsls AzureMySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
11306	return &amsls, true
11307}
11308
11309// UnmarshalJSON is the custom unmarshaler for AzureMySQLLinkedService struct.
11310func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error {
11311	var m map[string]*json.RawMessage
11312	err := json.Unmarshal(body, &m)
11313	if err != nil {
11314		return err
11315	}
11316	for k, v := range m {
11317		switch k {
11318		case "typeProperties":
11319			if v != nil {
11320				var azureMySQLLinkedServiceTypeProperties AzureMySQLLinkedServiceTypeProperties
11321				err = json.Unmarshal(*v, &azureMySQLLinkedServiceTypeProperties)
11322				if err != nil {
11323					return err
11324				}
11325				amsls.AzureMySQLLinkedServiceTypeProperties = &azureMySQLLinkedServiceTypeProperties
11326			}
11327		default:
11328			if v != nil {
11329				var additionalProperties interface{}
11330				err = json.Unmarshal(*v, &additionalProperties)
11331				if err != nil {
11332					return err
11333				}
11334				if amsls.AdditionalProperties == nil {
11335					amsls.AdditionalProperties = make(map[string]interface{})
11336				}
11337				amsls.AdditionalProperties[k] = additionalProperties
11338			}
11339		case "connectVia":
11340			if v != nil {
11341				var connectVia IntegrationRuntimeReference
11342				err = json.Unmarshal(*v, &connectVia)
11343				if err != nil {
11344					return err
11345				}
11346				amsls.ConnectVia = &connectVia
11347			}
11348		case "description":
11349			if v != nil {
11350				var description string
11351				err = json.Unmarshal(*v, &description)
11352				if err != nil {
11353					return err
11354				}
11355				amsls.Description = &description
11356			}
11357		case "parameters":
11358			if v != nil {
11359				var parameters map[string]*ParameterSpecification
11360				err = json.Unmarshal(*v, &parameters)
11361				if err != nil {
11362					return err
11363				}
11364				amsls.Parameters = parameters
11365			}
11366		case "annotations":
11367			if v != nil {
11368				var annotations []interface{}
11369				err = json.Unmarshal(*v, &annotations)
11370				if err != nil {
11371					return err
11372				}
11373				amsls.Annotations = &annotations
11374			}
11375		case "type":
11376			if v != nil {
11377				var typeVar TypeBasicLinkedService
11378				err = json.Unmarshal(*v, &typeVar)
11379				if err != nil {
11380					return err
11381				}
11382				amsls.Type = typeVar
11383			}
11384		}
11385	}
11386
11387	return nil
11388}
11389
11390// AzureMySQLLinkedServiceTypeProperties azure MySQL database linked service properties.
11391type AzureMySQLLinkedServiceTypeProperties struct {
11392	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
11393	ConnectionString interface{} `json:"connectionString,omitempty"`
11394	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
11395	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
11396}
11397
11398// AzureMySQLSource a copy activity Azure MySQL source.
11399type AzureMySQLSource struct {
11400	// Query - Database query. Type: string (or Expression with resultType string).
11401	Query interface{} `json:"query,omitempty"`
11402	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
11403	AdditionalProperties map[string]interface{} `json:""`
11404	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
11405	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
11406	// 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])).
11407	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
11408	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
11409	Type TypeBasicCopySource `json:"type,omitempty"`
11410}
11411
11412// MarshalJSON is the custom marshaler for AzureMySQLSource.
11413func (amss AzureMySQLSource) MarshalJSON() ([]byte, error) {
11414	amss.Type = TypeAzureMySQLSource
11415	objectMap := make(map[string]interface{})
11416	objectMap["query"] = amss.Query
11417	objectMap["sourceRetryCount"] = amss.SourceRetryCount
11418	objectMap["sourceRetryWait"] = amss.SourceRetryWait
11419	if amss.Type != "" {
11420		objectMap["type"] = amss.Type
11421	}
11422	for k, v := range amss.AdditionalProperties {
11423		objectMap[k] = v
11424	}
11425	return json.Marshal(objectMap)
11426}
11427
11428// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureMySQLSource.
11429func (amss AzureMySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
11430	return nil, false
11431}
11432
11433// AsResponsysSource is the BasicCopySource implementation for AzureMySQLSource.
11434func (amss AzureMySQLSource) AsResponsysSource() (*ResponsysSource, bool) {
11435	return nil, false
11436}
11437
11438// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureMySQLSource.
11439func (amss AzureMySQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
11440	return nil, false
11441}
11442
11443// AsVerticaSource is the BasicCopySource implementation for AzureMySQLSource.
11444func (amss AzureMySQLSource) AsVerticaSource() (*VerticaSource, bool) {
11445	return nil, false
11446}
11447
11448// AsNetezzaSource is the BasicCopySource implementation for AzureMySQLSource.
11449func (amss AzureMySQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
11450	return nil, false
11451}
11452
11453// AsZohoSource is the BasicCopySource implementation for AzureMySQLSource.
11454func (amss AzureMySQLSource) AsZohoSource() (*ZohoSource, bool) {
11455	return nil, false
11456}
11457
11458// AsXeroSource is the BasicCopySource implementation for AzureMySQLSource.
11459func (amss AzureMySQLSource) AsXeroSource() (*XeroSource, bool) {
11460	return nil, false
11461}
11462
11463// AsSquareSource is the BasicCopySource implementation for AzureMySQLSource.
11464func (amss AzureMySQLSource) AsSquareSource() (*SquareSource, bool) {
11465	return nil, false
11466}
11467
11468// AsSparkSource is the BasicCopySource implementation for AzureMySQLSource.
11469func (amss AzureMySQLSource) AsSparkSource() (*SparkSource, bool) {
11470	return nil, false
11471}
11472
11473// AsShopifySource is the BasicCopySource implementation for AzureMySQLSource.
11474func (amss AzureMySQLSource) AsShopifySource() (*ShopifySource, bool) {
11475	return nil, false
11476}
11477
11478// AsServiceNowSource is the BasicCopySource implementation for AzureMySQLSource.
11479func (amss AzureMySQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
11480	return nil, false
11481}
11482
11483// AsQuickBooksSource is the BasicCopySource implementation for AzureMySQLSource.
11484func (amss AzureMySQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
11485	return nil, false
11486}
11487
11488// AsPrestoSource is the BasicCopySource implementation for AzureMySQLSource.
11489func (amss AzureMySQLSource) AsPrestoSource() (*PrestoSource, bool) {
11490	return nil, false
11491}
11492
11493// AsPhoenixSource is the BasicCopySource implementation for AzureMySQLSource.
11494func (amss AzureMySQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
11495	return nil, false
11496}
11497
11498// AsPaypalSource is the BasicCopySource implementation for AzureMySQLSource.
11499func (amss AzureMySQLSource) AsPaypalSource() (*PaypalSource, bool) {
11500	return nil, false
11501}
11502
11503// AsMarketoSource is the BasicCopySource implementation for AzureMySQLSource.
11504func (amss AzureMySQLSource) AsMarketoSource() (*MarketoSource, bool) {
11505	return nil, false
11506}
11507
11508// AsMariaDBSource is the BasicCopySource implementation for AzureMySQLSource.
11509func (amss AzureMySQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
11510	return nil, false
11511}
11512
11513// AsMagentoSource is the BasicCopySource implementation for AzureMySQLSource.
11514func (amss AzureMySQLSource) AsMagentoSource() (*MagentoSource, bool) {
11515	return nil, false
11516}
11517
11518// AsJiraSource is the BasicCopySource implementation for AzureMySQLSource.
11519func (amss AzureMySQLSource) AsJiraSource() (*JiraSource, bool) {
11520	return nil, false
11521}
11522
11523// AsImpalaSource is the BasicCopySource implementation for AzureMySQLSource.
11524func (amss AzureMySQLSource) AsImpalaSource() (*ImpalaSource, bool) {
11525	return nil, false
11526}
11527
11528// AsHubspotSource is the BasicCopySource implementation for AzureMySQLSource.
11529func (amss AzureMySQLSource) AsHubspotSource() (*HubspotSource, bool) {
11530	return nil, false
11531}
11532
11533// AsHiveSource is the BasicCopySource implementation for AzureMySQLSource.
11534func (amss AzureMySQLSource) AsHiveSource() (*HiveSource, bool) {
11535	return nil, false
11536}
11537
11538// AsHBaseSource is the BasicCopySource implementation for AzureMySQLSource.
11539func (amss AzureMySQLSource) AsHBaseSource() (*HBaseSource, bool) {
11540	return nil, false
11541}
11542
11543// AsGreenplumSource is the BasicCopySource implementation for AzureMySQLSource.
11544func (amss AzureMySQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
11545	return nil, false
11546}
11547
11548// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureMySQLSource.
11549func (amss AzureMySQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
11550	return nil, false
11551}
11552
11553// AsEloquaSource is the BasicCopySource implementation for AzureMySQLSource.
11554func (amss AzureMySQLSource) AsEloquaSource() (*EloquaSource, bool) {
11555	return nil, false
11556}
11557
11558// AsDrillSource is the BasicCopySource implementation for AzureMySQLSource.
11559func (amss AzureMySQLSource) AsDrillSource() (*DrillSource, bool) {
11560	return nil, false
11561}
11562
11563// AsCouchbaseSource is the BasicCopySource implementation for AzureMySQLSource.
11564func (amss AzureMySQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
11565	return nil, false
11566}
11567
11568// AsConcurSource is the BasicCopySource implementation for AzureMySQLSource.
11569func (amss AzureMySQLSource) AsConcurSource() (*ConcurSource, bool) {
11570	return nil, false
11571}
11572
11573// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource.
11574func (amss AzureMySQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
11575	return nil, false
11576}
11577
11578// AsAmazonMWSSource is the BasicCopySource implementation for AzureMySQLSource.
11579func (amss AzureMySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
11580	return nil, false
11581}
11582
11583// AsHTTPSource is the BasicCopySource implementation for AzureMySQLSource.
11584func (amss AzureMySQLSource) AsHTTPSource() (*HTTPSource, bool) {
11585	return nil, false
11586}
11587
11588// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureMySQLSource.
11589func (amss AzureMySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
11590	return nil, false
11591}
11592
11593// AsMongoDbSource is the BasicCopySource implementation for AzureMySQLSource.
11594func (amss AzureMySQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
11595	return nil, false
11596}
11597
11598// AsCassandraSource is the BasicCopySource implementation for AzureMySQLSource.
11599func (amss AzureMySQLSource) AsCassandraSource() (*CassandraSource, bool) {
11600	return nil, false
11601}
11602
11603// AsWebSource is the BasicCopySource implementation for AzureMySQLSource.
11604func (amss AzureMySQLSource) AsWebSource() (*WebSource, bool) {
11605	return nil, false
11606}
11607
11608// AsOracleSource is the BasicCopySource implementation for AzureMySQLSource.
11609func (amss AzureMySQLSource) AsOracleSource() (*OracleSource, bool) {
11610	return nil, false
11611}
11612
11613// AsAzureMySQLSource is the BasicCopySource implementation for AzureMySQLSource.
11614func (amss AzureMySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
11615	return &amss, true
11616}
11617
11618// AsHdfsSource is the BasicCopySource implementation for AzureMySQLSource.
11619func (amss AzureMySQLSource) AsHdfsSource() (*HdfsSource, bool) {
11620	return nil, false
11621}
11622
11623// AsFileSystemSource is the BasicCopySource implementation for AzureMySQLSource.
11624func (amss AzureMySQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
11625	return nil, false
11626}
11627
11628// AsSQLDWSource is the BasicCopySource implementation for AzureMySQLSource.
11629func (amss AzureMySQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
11630	return nil, false
11631}
11632
11633// AsSQLSource is the BasicCopySource implementation for AzureMySQLSource.
11634func (amss AzureMySQLSource) AsSQLSource() (*SQLSource, bool) {
11635	return nil, false
11636}
11637
11638// AsSapEccSource is the BasicCopySource implementation for AzureMySQLSource.
11639func (amss AzureMySQLSource) AsSapEccSource() (*SapEccSource, bool) {
11640	return nil, false
11641}
11642
11643// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureMySQLSource.
11644func (amss AzureMySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
11645	return nil, false
11646}
11647
11648// AsSalesforceSource is the BasicCopySource implementation for AzureMySQLSource.
11649func (amss AzureMySQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
11650	return nil, false
11651}
11652
11653// AsRelationalSource is the BasicCopySource implementation for AzureMySQLSource.
11654func (amss AzureMySQLSource) AsRelationalSource() (*RelationalSource, bool) {
11655	return nil, false
11656}
11657
11658// AsDynamicsSource is the BasicCopySource implementation for AzureMySQLSource.
11659func (amss AzureMySQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
11660	return nil, false
11661}
11662
11663// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureMySQLSource.
11664func (amss AzureMySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
11665	return nil, false
11666}
11667
11668// AsBlobSource is the BasicCopySource implementation for AzureMySQLSource.
11669func (amss AzureMySQLSource) AsBlobSource() (*BlobSource, bool) {
11670	return nil, false
11671}
11672
11673// AsAzureTableSource is the BasicCopySource implementation for AzureMySQLSource.
11674func (amss AzureMySQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
11675	return nil, false
11676}
11677
11678// AsCopySource is the BasicCopySource implementation for AzureMySQLSource.
11679func (amss AzureMySQLSource) AsCopySource() (*CopySource, bool) {
11680	return nil, false
11681}
11682
11683// AsBasicCopySource is the BasicCopySource implementation for AzureMySQLSource.
11684func (amss AzureMySQLSource) AsBasicCopySource() (BasicCopySource, bool) {
11685	return &amss, true
11686}
11687
11688// AzureMySQLTableDataset the Azure MySQL database dataset.
11689type AzureMySQLTableDataset struct {
11690	// AzureMySQLTableDatasetTypeProperties - Azure MySQL database dataset properties.
11691	*AzureMySQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
11692	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
11693	AdditionalProperties map[string]interface{} `json:""`
11694	// Description - Dataset description.
11695	Description *string `json:"description,omitempty"`
11696	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
11697	Structure interface{} `json:"structure,omitempty"`
11698	// LinkedServiceName - Linked service reference.
11699	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
11700	// Parameters - Parameters for dataset.
11701	Parameters map[string]*ParameterSpecification `json:"parameters"`
11702	// Annotations - List of tags that can be used for describing the Dataset.
11703	Annotations *[]interface{} `json:"annotations,omitempty"`
11704	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
11705	Type TypeBasicDataset `json:"type,omitempty"`
11706}
11707
11708// MarshalJSON is the custom marshaler for AzureMySQLTableDataset.
11709func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) {
11710	amstd.Type = TypeAzureMySQLTable
11711	objectMap := make(map[string]interface{})
11712	if amstd.AzureMySQLTableDatasetTypeProperties != nil {
11713		objectMap["typeProperties"] = amstd.AzureMySQLTableDatasetTypeProperties
11714	}
11715	if amstd.Description != nil {
11716		objectMap["description"] = amstd.Description
11717	}
11718	objectMap["structure"] = amstd.Structure
11719	if amstd.LinkedServiceName != nil {
11720		objectMap["linkedServiceName"] = amstd.LinkedServiceName
11721	}
11722	if amstd.Parameters != nil {
11723		objectMap["parameters"] = amstd.Parameters
11724	}
11725	if amstd.Annotations != nil {
11726		objectMap["annotations"] = amstd.Annotations
11727	}
11728	if amstd.Type != "" {
11729		objectMap["type"] = amstd.Type
11730	}
11731	for k, v := range amstd.AdditionalProperties {
11732		objectMap[k] = v
11733	}
11734	return json.Marshal(objectMap)
11735}
11736
11737// AsResponsysObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11738func (amstd AzureMySQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
11739	return nil, false
11740}
11741
11742// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11743func (amstd AzureMySQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
11744	return nil, false
11745}
11746
11747// AsVerticaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11748func (amstd AzureMySQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
11749	return nil, false
11750}
11751
11752// AsNetezzaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11753func (amstd AzureMySQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
11754	return nil, false
11755}
11756
11757// AsZohoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11758func (amstd AzureMySQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
11759	return nil, false
11760}
11761
11762// AsXeroObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11763func (amstd AzureMySQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
11764	return nil, false
11765}
11766
11767// AsSquareObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11768func (amstd AzureMySQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
11769	return nil, false
11770}
11771
11772// AsSparkObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11773func (amstd AzureMySQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
11774	return nil, false
11775}
11776
11777// AsShopifyObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11778func (amstd AzureMySQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
11779	return nil, false
11780}
11781
11782// AsServiceNowObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11783func (amstd AzureMySQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
11784	return nil, false
11785}
11786
11787// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11788func (amstd AzureMySQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
11789	return nil, false
11790}
11791
11792// AsPrestoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11793func (amstd AzureMySQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
11794	return nil, false
11795}
11796
11797// AsPhoenixObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11798func (amstd AzureMySQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
11799	return nil, false
11800}
11801
11802// AsPaypalObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11803func (amstd AzureMySQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
11804	return nil, false
11805}
11806
11807// AsMarketoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11808func (amstd AzureMySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
11809	return nil, false
11810}
11811
11812// AsMariaDBTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11813func (amstd AzureMySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
11814	return nil, false
11815}
11816
11817// AsMagentoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11818func (amstd AzureMySQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
11819	return nil, false
11820}
11821
11822// AsJiraObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11823func (amstd AzureMySQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
11824	return nil, false
11825}
11826
11827// AsImpalaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11828func (amstd AzureMySQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
11829	return nil, false
11830}
11831
11832// AsHubspotObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11833func (amstd AzureMySQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
11834	return nil, false
11835}
11836
11837// AsHiveObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11838func (amstd AzureMySQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
11839	return nil, false
11840}
11841
11842// AsHBaseObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11843func (amstd AzureMySQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
11844	return nil, false
11845}
11846
11847// AsGreenplumTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11848func (amstd AzureMySQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
11849	return nil, false
11850}
11851
11852// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11853func (amstd AzureMySQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
11854	return nil, false
11855}
11856
11857// AsEloquaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11858func (amstd AzureMySQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
11859	return nil, false
11860}
11861
11862// AsDrillTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11863func (amstd AzureMySQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
11864	return nil, false
11865}
11866
11867// AsCouchbaseTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11868func (amstd AzureMySQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
11869	return nil, false
11870}
11871
11872// AsConcurObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11873func (amstd AzureMySQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
11874	return nil, false
11875}
11876
11877// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11878func (amstd AzureMySQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
11879	return nil, false
11880}
11881
11882// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11883func (amstd AzureMySQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
11884	return nil, false
11885}
11886
11887// AsHTTPDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11888func (amstd AzureMySQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
11889	return nil, false
11890}
11891
11892// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11893func (amstd AzureMySQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
11894	return nil, false
11895}
11896
11897// AsWebTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11898func (amstd AzureMySQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
11899	return nil, false
11900}
11901
11902// AsSQLServerTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11903func (amstd AzureMySQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
11904	return nil, false
11905}
11906
11907// AsSapEccResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11908func (amstd AzureMySQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
11909	return nil, false
11910}
11911
11912// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11913func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
11914	return nil, false
11915}
11916
11917// AsSalesforceObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11918func (amstd AzureMySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
11919	return nil, false
11920}
11921
11922// AsRelationalTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11923func (amstd AzureMySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
11924	return nil, false
11925}
11926
11927// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11928func (amstd AzureMySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
11929	return &amstd, true
11930}
11931
11932// AsOracleTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11933func (amstd AzureMySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
11934	return nil, false
11935}
11936
11937// AsODataResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11938func (amstd AzureMySQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
11939	return nil, false
11940}
11941
11942// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11943func (amstd AzureMySQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
11944	return nil, false
11945}
11946
11947// AsFileShareDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11948func (amstd AzureMySQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
11949	return nil, false
11950}
11951
11952// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11953func (amstd AzureMySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
11954	return nil, false
11955}
11956
11957// AsDynamicsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11958func (amstd AzureMySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
11959	return nil, false
11960}
11961
11962// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11963func (amstd AzureMySQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
11964	return nil, false
11965}
11966
11967// AsCustomDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11968func (amstd AzureMySQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
11969	return nil, false
11970}
11971
11972// AsCassandraTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11973func (amstd AzureMySQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
11974	return nil, false
11975}
11976
11977// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11978func (amstd AzureMySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
11979	return nil, false
11980}
11981
11982// AsAzureSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11983func (amstd AzureMySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
11984	return nil, false
11985}
11986
11987// AsAzureTableDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11988func (amstd AzureMySQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
11989	return nil, false
11990}
11991
11992// AsAzureBlobDataset is the BasicDataset implementation for AzureMySQLTableDataset.
11993func (amstd AzureMySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
11994	return nil, false
11995}
11996
11997// AsAmazonS3Dataset is the BasicDataset implementation for AzureMySQLTableDataset.
11998func (amstd AzureMySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
11999	return nil, false
12000}
12001
12002// AsDataset is the BasicDataset implementation for AzureMySQLTableDataset.
12003func (amstd AzureMySQLTableDataset) AsDataset() (*Dataset, bool) {
12004	return nil, false
12005}
12006
12007// AsBasicDataset is the BasicDataset implementation for AzureMySQLTableDataset.
12008func (amstd AzureMySQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
12009	return &amstd, true
12010}
12011
12012// UnmarshalJSON is the custom unmarshaler for AzureMySQLTableDataset struct.
12013func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error {
12014	var m map[string]*json.RawMessage
12015	err := json.Unmarshal(body, &m)
12016	if err != nil {
12017		return err
12018	}
12019	for k, v := range m {
12020		switch k {
12021		case "typeProperties":
12022			if v != nil {
12023				var azureMySQLTableDatasetTypeProperties AzureMySQLTableDatasetTypeProperties
12024				err = json.Unmarshal(*v, &azureMySQLTableDatasetTypeProperties)
12025				if err != nil {
12026					return err
12027				}
12028				amstd.AzureMySQLTableDatasetTypeProperties = &azureMySQLTableDatasetTypeProperties
12029			}
12030		default:
12031			if v != nil {
12032				var additionalProperties interface{}
12033				err = json.Unmarshal(*v, &additionalProperties)
12034				if err != nil {
12035					return err
12036				}
12037				if amstd.AdditionalProperties == nil {
12038					amstd.AdditionalProperties = make(map[string]interface{})
12039				}
12040				amstd.AdditionalProperties[k] = additionalProperties
12041			}
12042		case "description":
12043			if v != nil {
12044				var description string
12045				err = json.Unmarshal(*v, &description)
12046				if err != nil {
12047					return err
12048				}
12049				amstd.Description = &description
12050			}
12051		case "structure":
12052			if v != nil {
12053				var structure interface{}
12054				err = json.Unmarshal(*v, &structure)
12055				if err != nil {
12056					return err
12057				}
12058				amstd.Structure = structure
12059			}
12060		case "linkedServiceName":
12061			if v != nil {
12062				var linkedServiceName LinkedServiceReference
12063				err = json.Unmarshal(*v, &linkedServiceName)
12064				if err != nil {
12065					return err
12066				}
12067				amstd.LinkedServiceName = &linkedServiceName
12068			}
12069		case "parameters":
12070			if v != nil {
12071				var parameters map[string]*ParameterSpecification
12072				err = json.Unmarshal(*v, &parameters)
12073				if err != nil {
12074					return err
12075				}
12076				amstd.Parameters = parameters
12077			}
12078		case "annotations":
12079			if v != nil {
12080				var annotations []interface{}
12081				err = json.Unmarshal(*v, &annotations)
12082				if err != nil {
12083					return err
12084				}
12085				amstd.Annotations = &annotations
12086			}
12087		case "type":
12088			if v != nil {
12089				var typeVar TypeBasicDataset
12090				err = json.Unmarshal(*v, &typeVar)
12091				if err != nil {
12092					return err
12093				}
12094				amstd.Type = typeVar
12095			}
12096		}
12097	}
12098
12099	return nil
12100}
12101
12102// AzureMySQLTableDatasetTypeProperties azure MySQL database dataset properties.
12103type AzureMySQLTableDatasetTypeProperties struct {
12104	// TableName - The Azure MySQL database table name. Type: string (or Expression with resultType string).
12105	TableName interface{} `json:"tableName,omitempty"`
12106}
12107
12108// AzurePostgreSQLLinkedService azure PostgreSQL linked service.
12109type AzurePostgreSQLLinkedService struct {
12110	// AzurePostgreSQLLinkedServiceTypeProperties - Azure PostgreSQL linked service properties.
12111	*AzurePostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
12112	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
12113	AdditionalProperties map[string]interface{} `json:""`
12114	// ConnectVia - The integration runtime reference.
12115	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
12116	// Description - Linked service description.
12117	Description *string `json:"description,omitempty"`
12118	// Parameters - Parameters for linked service.
12119	Parameters map[string]*ParameterSpecification `json:"parameters"`
12120	// Annotations - List of tags that can be used for describing the Dataset.
12121	Annotations *[]interface{} `json:"annotations,omitempty"`
12122	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
12123	Type TypeBasicLinkedService `json:"type,omitempty"`
12124}
12125
12126// MarshalJSON is the custom marshaler for AzurePostgreSQLLinkedService.
12127func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) {
12128	apsls.Type = TypeAzurePostgreSQL
12129	objectMap := make(map[string]interface{})
12130	if apsls.AzurePostgreSQLLinkedServiceTypeProperties != nil {
12131		objectMap["typeProperties"] = apsls.AzurePostgreSQLLinkedServiceTypeProperties
12132	}
12133	if apsls.ConnectVia != nil {
12134		objectMap["connectVia"] = apsls.ConnectVia
12135	}
12136	if apsls.Description != nil {
12137		objectMap["description"] = apsls.Description
12138	}
12139	if apsls.Parameters != nil {
12140		objectMap["parameters"] = apsls.Parameters
12141	}
12142	if apsls.Annotations != nil {
12143		objectMap["annotations"] = apsls.Annotations
12144	}
12145	if apsls.Type != "" {
12146		objectMap["type"] = apsls.Type
12147	}
12148	for k, v := range apsls.AdditionalProperties {
12149		objectMap[k] = v
12150	}
12151	return json.Marshal(objectMap)
12152}
12153
12154// AsResponsysLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12155func (apsls AzurePostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
12156	return nil, false
12157}
12158
12159// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12160func (apsls AzurePostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
12161	return nil, false
12162}
12163
12164// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12165func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
12166	return nil, false
12167}
12168
12169// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12170func (apsls AzurePostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
12171	return nil, false
12172}
12173
12174// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12175func (apsls AzurePostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
12176	return nil, false
12177}
12178
12179// AsNetezzaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12180func (apsls AzurePostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
12181	return nil, false
12182}
12183
12184// AsVerticaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12185func (apsls AzurePostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
12186	return nil, false
12187}
12188
12189// AsZohoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12190func (apsls AzurePostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
12191	return nil, false
12192}
12193
12194// AsXeroLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12195func (apsls AzurePostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
12196	return nil, false
12197}
12198
12199// AsSquareLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12200func (apsls AzurePostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
12201	return nil, false
12202}
12203
12204// AsSparkLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12205func (apsls AzurePostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
12206	return nil, false
12207}
12208
12209// AsShopifyLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12210func (apsls AzurePostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
12211	return nil, false
12212}
12213
12214// AsServiceNowLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12215func (apsls AzurePostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
12216	return nil, false
12217}
12218
12219// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12220func (apsls AzurePostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
12221	return nil, false
12222}
12223
12224// AsPrestoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12225func (apsls AzurePostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
12226	return nil, false
12227}
12228
12229// AsPhoenixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12230func (apsls AzurePostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
12231	return nil, false
12232}
12233
12234// AsPaypalLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12235func (apsls AzurePostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
12236	return nil, false
12237}
12238
12239// AsMarketoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12240func (apsls AzurePostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
12241	return nil, false
12242}
12243
12244// AsMariaDBLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12245func (apsls AzurePostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
12246	return nil, false
12247}
12248
12249// AsMagentoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12250func (apsls AzurePostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
12251	return nil, false
12252}
12253
12254// AsJiraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12255func (apsls AzurePostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
12256	return nil, false
12257}
12258
12259// AsImpalaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12260func (apsls AzurePostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
12261	return nil, false
12262}
12263
12264// AsHubspotLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12265func (apsls AzurePostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
12266	return nil, false
12267}
12268
12269// AsHiveLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12270func (apsls AzurePostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
12271	return nil, false
12272}
12273
12274// AsHBaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12275func (apsls AzurePostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
12276	return nil, false
12277}
12278
12279// AsGreenplumLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12280func (apsls AzurePostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
12281	return nil, false
12282}
12283
12284// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12285func (apsls AzurePostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
12286	return nil, false
12287}
12288
12289// AsEloquaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12290func (apsls AzurePostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
12291	return nil, false
12292}
12293
12294// AsDrillLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12295func (apsls AzurePostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
12296	return nil, false
12297}
12298
12299// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12300func (apsls AzurePostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
12301	return nil, false
12302}
12303
12304// AsConcurLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12305func (apsls AzurePostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
12306	return nil, false
12307}
12308
12309// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12310func (apsls AzurePostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
12311	return &apsls, true
12312}
12313
12314// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12315func (apsls AzurePostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
12316	return nil, false
12317}
12318
12319// AsSapHanaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12320func (apsls AzurePostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
12321	return nil, false
12322}
12323
12324// AsSapBWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12325func (apsls AzurePostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
12326	return nil, false
12327}
12328
12329// AsSftpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12330func (apsls AzurePostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
12331	return nil, false
12332}
12333
12334// AsFtpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12335func (apsls AzurePostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
12336	return nil, false
12337}
12338
12339// AsHTTPLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12340func (apsls AzurePostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
12341	return nil, false
12342}
12343
12344// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12345func (apsls AzurePostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
12346	return nil, false
12347}
12348
12349// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12350func (apsls AzurePostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
12351	return nil, false
12352}
12353
12354// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12355func (apsls AzurePostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
12356	return nil, false
12357}
12358
12359// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12360func (apsls AzurePostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
12361	return nil, false
12362}
12363
12364// AsSapEccLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12365func (apsls AzurePostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
12366	return nil, false
12367}
12368
12369// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12370func (apsls AzurePostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
12371	return nil, false
12372}
12373
12374// AsSalesforceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12375func (apsls AzurePostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
12376	return nil, false
12377}
12378
12379// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12380func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
12381	return nil, false
12382}
12383
12384// AsMongoDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12385func (apsls AzurePostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
12386	return nil, false
12387}
12388
12389// AsCassandraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12390func (apsls AzurePostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
12391	return nil, false
12392}
12393
12394// AsWebLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12395func (apsls AzurePostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
12396	return nil, false
12397}
12398
12399// AsODataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12400func (apsls AzurePostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
12401	return nil, false
12402}
12403
12404// AsHdfsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12405func (apsls AzurePostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
12406	return nil, false
12407}
12408
12409// AsOdbcLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12410func (apsls AzurePostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
12411	return nil, false
12412}
12413
12414// AsAzureMLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12415func (apsls AzurePostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
12416	return nil, false
12417}
12418
12419// AsTeradataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12420func (apsls AzurePostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
12421	return nil, false
12422}
12423
12424// AsDb2LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12425func (apsls AzurePostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
12426	return nil, false
12427}
12428
12429// AsSybaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12430func (apsls AzurePostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
12431	return nil, false
12432}
12433
12434// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12435func (apsls AzurePostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
12436	return nil, false
12437}
12438
12439// AsMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12440func (apsls AzurePostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
12441	return nil, false
12442}
12443
12444// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12445func (apsls AzurePostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
12446	return nil, false
12447}
12448
12449// AsOracleLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12450func (apsls AzurePostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
12451	return nil, false
12452}
12453
12454// AsFileServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12455func (apsls AzurePostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
12456	return nil, false
12457}
12458
12459// AsHDInsightLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12460func (apsls AzurePostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
12461	return nil, false
12462}
12463
12464// AsDynamicsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12465func (apsls AzurePostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
12466	return nil, false
12467}
12468
12469// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12470func (apsls AzurePostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
12471	return nil, false
12472}
12473
12474// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12475func (apsls AzurePostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
12476	return nil, false
12477}
12478
12479// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12480func (apsls AzurePostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
12481	return nil, false
12482}
12483
12484// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12485func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
12486	return nil, false
12487}
12488
12489// AsSQLServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12490func (apsls AzurePostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
12491	return nil, false
12492}
12493
12494// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12495func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
12496	return nil, false
12497}
12498
12499// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12500func (apsls AzurePostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
12501	return nil, false
12502}
12503
12504// AsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12505func (apsls AzurePostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) {
12506	return nil, false
12507}
12508
12509// AsBasicLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService.
12510func (apsls AzurePostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
12511	return &apsls, true
12512}
12513
12514// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLLinkedService struct.
12515func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
12516	var m map[string]*json.RawMessage
12517	err := json.Unmarshal(body, &m)
12518	if err != nil {
12519		return err
12520	}
12521	for k, v := range m {
12522		switch k {
12523		case "typeProperties":
12524			if v != nil {
12525				var azurePostgreSQLLinkedServiceTypeProperties AzurePostgreSQLLinkedServiceTypeProperties
12526				err = json.Unmarshal(*v, &azurePostgreSQLLinkedServiceTypeProperties)
12527				if err != nil {
12528					return err
12529				}
12530				apsls.AzurePostgreSQLLinkedServiceTypeProperties = &azurePostgreSQLLinkedServiceTypeProperties
12531			}
12532		default:
12533			if v != nil {
12534				var additionalProperties interface{}
12535				err = json.Unmarshal(*v, &additionalProperties)
12536				if err != nil {
12537					return err
12538				}
12539				if apsls.AdditionalProperties == nil {
12540					apsls.AdditionalProperties = make(map[string]interface{})
12541				}
12542				apsls.AdditionalProperties[k] = additionalProperties
12543			}
12544		case "connectVia":
12545			if v != nil {
12546				var connectVia IntegrationRuntimeReference
12547				err = json.Unmarshal(*v, &connectVia)
12548				if err != nil {
12549					return err
12550				}
12551				apsls.ConnectVia = &connectVia
12552			}
12553		case "description":
12554			if v != nil {
12555				var description string
12556				err = json.Unmarshal(*v, &description)
12557				if err != nil {
12558					return err
12559				}
12560				apsls.Description = &description
12561			}
12562		case "parameters":
12563			if v != nil {
12564				var parameters map[string]*ParameterSpecification
12565				err = json.Unmarshal(*v, &parameters)
12566				if err != nil {
12567					return err
12568				}
12569				apsls.Parameters = parameters
12570			}
12571		case "annotations":
12572			if v != nil {
12573				var annotations []interface{}
12574				err = json.Unmarshal(*v, &annotations)
12575				if err != nil {
12576					return err
12577				}
12578				apsls.Annotations = &annotations
12579			}
12580		case "type":
12581			if v != nil {
12582				var typeVar TypeBasicLinkedService
12583				err = json.Unmarshal(*v, &typeVar)
12584				if err != nil {
12585					return err
12586				}
12587				apsls.Type = typeVar
12588			}
12589		}
12590	}
12591
12592	return nil
12593}
12594
12595// AzurePostgreSQLLinkedServiceTypeProperties azure PostgreSQL linked service properties.
12596type AzurePostgreSQLLinkedServiceTypeProperties struct {
12597	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
12598	ConnectionString interface{} `json:"connectionString,omitempty"`
12599	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
12600	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
12601}
12602
12603// AzurePostgreSQLSource a copy activity Azure PostgreSQL source.
12604type AzurePostgreSQLSource struct {
12605	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
12606	Query interface{} `json:"query,omitempty"`
12607	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
12608	AdditionalProperties map[string]interface{} `json:""`
12609	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
12610	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
12611	// 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])).
12612	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
12613	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
12614	Type TypeBasicCopySource `json:"type,omitempty"`
12615}
12616
12617// MarshalJSON is the custom marshaler for AzurePostgreSQLSource.
12618func (apss AzurePostgreSQLSource) MarshalJSON() ([]byte, error) {
12619	apss.Type = TypeAzurePostgreSQLSource
12620	objectMap := make(map[string]interface{})
12621	objectMap["query"] = apss.Query
12622	objectMap["sourceRetryCount"] = apss.SourceRetryCount
12623	objectMap["sourceRetryWait"] = apss.SourceRetryWait
12624	if apss.Type != "" {
12625		objectMap["type"] = apss.Type
12626	}
12627	for k, v := range apss.AdditionalProperties {
12628		objectMap[k] = v
12629	}
12630	return json.Marshal(objectMap)
12631}
12632
12633// AsAmazonRedshiftSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12634func (apss AzurePostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
12635	return nil, false
12636}
12637
12638// AsResponsysSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12639func (apss AzurePostgreSQLSource) AsResponsysSource() (*ResponsysSource, bool) {
12640	return nil, false
12641}
12642
12643// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12644func (apss AzurePostgreSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
12645	return nil, false
12646}
12647
12648// AsVerticaSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12649func (apss AzurePostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) {
12650	return nil, false
12651}
12652
12653// AsNetezzaSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12654func (apss AzurePostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
12655	return nil, false
12656}
12657
12658// AsZohoSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12659func (apss AzurePostgreSQLSource) AsZohoSource() (*ZohoSource, bool) {
12660	return nil, false
12661}
12662
12663// AsXeroSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12664func (apss AzurePostgreSQLSource) AsXeroSource() (*XeroSource, bool) {
12665	return nil, false
12666}
12667
12668// AsSquareSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12669func (apss AzurePostgreSQLSource) AsSquareSource() (*SquareSource, bool) {
12670	return nil, false
12671}
12672
12673// AsSparkSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12674func (apss AzurePostgreSQLSource) AsSparkSource() (*SparkSource, bool) {
12675	return nil, false
12676}
12677
12678// AsShopifySource is the BasicCopySource implementation for AzurePostgreSQLSource.
12679func (apss AzurePostgreSQLSource) AsShopifySource() (*ShopifySource, bool) {
12680	return nil, false
12681}
12682
12683// AsServiceNowSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12684func (apss AzurePostgreSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
12685	return nil, false
12686}
12687
12688// AsQuickBooksSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12689func (apss AzurePostgreSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
12690	return nil, false
12691}
12692
12693// AsPrestoSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12694func (apss AzurePostgreSQLSource) AsPrestoSource() (*PrestoSource, bool) {
12695	return nil, false
12696}
12697
12698// AsPhoenixSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12699func (apss AzurePostgreSQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
12700	return nil, false
12701}
12702
12703// AsPaypalSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12704func (apss AzurePostgreSQLSource) AsPaypalSource() (*PaypalSource, bool) {
12705	return nil, false
12706}
12707
12708// AsMarketoSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12709func (apss AzurePostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) {
12710	return nil, false
12711}
12712
12713// AsMariaDBSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12714func (apss AzurePostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
12715	return nil, false
12716}
12717
12718// AsMagentoSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12719func (apss AzurePostgreSQLSource) AsMagentoSource() (*MagentoSource, bool) {
12720	return nil, false
12721}
12722
12723// AsJiraSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12724func (apss AzurePostgreSQLSource) AsJiraSource() (*JiraSource, bool) {
12725	return nil, false
12726}
12727
12728// AsImpalaSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12729func (apss AzurePostgreSQLSource) AsImpalaSource() (*ImpalaSource, bool) {
12730	return nil, false
12731}
12732
12733// AsHubspotSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12734func (apss AzurePostgreSQLSource) AsHubspotSource() (*HubspotSource, bool) {
12735	return nil, false
12736}
12737
12738// AsHiveSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12739func (apss AzurePostgreSQLSource) AsHiveSource() (*HiveSource, bool) {
12740	return nil, false
12741}
12742
12743// AsHBaseSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12744func (apss AzurePostgreSQLSource) AsHBaseSource() (*HBaseSource, bool) {
12745	return nil, false
12746}
12747
12748// AsGreenplumSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12749func (apss AzurePostgreSQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
12750	return nil, false
12751}
12752
12753// AsGoogleBigQuerySource is the BasicCopySource implementation for AzurePostgreSQLSource.
12754func (apss AzurePostgreSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
12755	return nil, false
12756}
12757
12758// AsEloquaSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12759func (apss AzurePostgreSQLSource) AsEloquaSource() (*EloquaSource, bool) {
12760	return nil, false
12761}
12762
12763// AsDrillSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12764func (apss AzurePostgreSQLSource) AsDrillSource() (*DrillSource, bool) {
12765	return nil, false
12766}
12767
12768// AsCouchbaseSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12769func (apss AzurePostgreSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
12770	return nil, false
12771}
12772
12773// AsConcurSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12774func (apss AzurePostgreSQLSource) AsConcurSource() (*ConcurSource, bool) {
12775	return nil, false
12776}
12777
12778// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12779func (apss AzurePostgreSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
12780	return &apss, true
12781}
12782
12783// AsAmazonMWSSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12784func (apss AzurePostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
12785	return nil, false
12786}
12787
12788// AsHTTPSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12789func (apss AzurePostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) {
12790	return nil, false
12791}
12792
12793// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12794func (apss AzurePostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
12795	return nil, false
12796}
12797
12798// AsMongoDbSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12799func (apss AzurePostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
12800	return nil, false
12801}
12802
12803// AsCassandraSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12804func (apss AzurePostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) {
12805	return nil, false
12806}
12807
12808// AsWebSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12809func (apss AzurePostgreSQLSource) AsWebSource() (*WebSource, bool) {
12810	return nil, false
12811}
12812
12813// AsOracleSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12814func (apss AzurePostgreSQLSource) AsOracleSource() (*OracleSource, bool) {
12815	return nil, false
12816}
12817
12818// AsAzureMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12819func (apss AzurePostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
12820	return nil, false
12821}
12822
12823// AsHdfsSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12824func (apss AzurePostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) {
12825	return nil, false
12826}
12827
12828// AsFileSystemSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12829func (apss AzurePostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
12830	return nil, false
12831}
12832
12833// AsSQLDWSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12834func (apss AzurePostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
12835	return nil, false
12836}
12837
12838// AsSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12839func (apss AzurePostgreSQLSource) AsSQLSource() (*SQLSource, bool) {
12840	return nil, false
12841}
12842
12843// AsSapEccSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12844func (apss AzurePostgreSQLSource) AsSapEccSource() (*SapEccSource, bool) {
12845	return nil, false
12846}
12847
12848// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12849func (apss AzurePostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
12850	return nil, false
12851}
12852
12853// AsSalesforceSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12854func (apss AzurePostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
12855	return nil, false
12856}
12857
12858// AsRelationalSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12859func (apss AzurePostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) {
12860	return nil, false
12861}
12862
12863// AsDynamicsSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12864func (apss AzurePostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
12865	return nil, false
12866}
12867
12868// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12869func (apss AzurePostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
12870	return nil, false
12871}
12872
12873// AsBlobSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12874func (apss AzurePostgreSQLSource) AsBlobSource() (*BlobSource, bool) {
12875	return nil, false
12876}
12877
12878// AsAzureTableSource is the BasicCopySource implementation for AzurePostgreSQLSource.
12879func (apss AzurePostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
12880	return nil, false
12881}
12882
12883// AsCopySource is the BasicCopySource implementation for AzurePostgreSQLSource.
12884func (apss AzurePostgreSQLSource) AsCopySource() (*CopySource, bool) {
12885	return nil, false
12886}
12887
12888// AsBasicCopySource is the BasicCopySource implementation for AzurePostgreSQLSource.
12889func (apss AzurePostgreSQLSource) AsBasicCopySource() (BasicCopySource, bool) {
12890	return &apss, true
12891}
12892
12893// AzurePostgreSQLTableDataset azure PostgreSQL dataset.
12894type AzurePostgreSQLTableDataset struct {
12895	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
12896	AdditionalProperties map[string]interface{} `json:""`
12897	// Description - Dataset description.
12898	Description *string `json:"description,omitempty"`
12899	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
12900	Structure interface{} `json:"structure,omitempty"`
12901	// LinkedServiceName - Linked service reference.
12902	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
12903	// Parameters - Parameters for dataset.
12904	Parameters map[string]*ParameterSpecification `json:"parameters"`
12905	// Annotations - List of tags that can be used for describing the Dataset.
12906	Annotations *[]interface{} `json:"annotations,omitempty"`
12907	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
12908	Type TypeBasicDataset `json:"type,omitempty"`
12909}
12910
12911// MarshalJSON is the custom marshaler for AzurePostgreSQLTableDataset.
12912func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) {
12913	apstd.Type = TypeAzurePostgreSQLTable
12914	objectMap := make(map[string]interface{})
12915	if apstd.Description != nil {
12916		objectMap["description"] = apstd.Description
12917	}
12918	objectMap["structure"] = apstd.Structure
12919	if apstd.LinkedServiceName != nil {
12920		objectMap["linkedServiceName"] = apstd.LinkedServiceName
12921	}
12922	if apstd.Parameters != nil {
12923		objectMap["parameters"] = apstd.Parameters
12924	}
12925	if apstd.Annotations != nil {
12926		objectMap["annotations"] = apstd.Annotations
12927	}
12928	if apstd.Type != "" {
12929		objectMap["type"] = apstd.Type
12930	}
12931	for k, v := range apstd.AdditionalProperties {
12932		objectMap[k] = v
12933	}
12934	return json.Marshal(objectMap)
12935}
12936
12937// AsResponsysObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12938func (apstd AzurePostgreSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
12939	return nil, false
12940}
12941
12942// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12943func (apstd AzurePostgreSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
12944	return nil, false
12945}
12946
12947// AsVerticaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12948func (apstd AzurePostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
12949	return nil, false
12950}
12951
12952// AsNetezzaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12953func (apstd AzurePostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
12954	return nil, false
12955}
12956
12957// AsZohoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12958func (apstd AzurePostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
12959	return nil, false
12960}
12961
12962// AsXeroObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12963func (apstd AzurePostgreSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
12964	return nil, false
12965}
12966
12967// AsSquareObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12968func (apstd AzurePostgreSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
12969	return nil, false
12970}
12971
12972// AsSparkObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12973func (apstd AzurePostgreSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
12974	return nil, false
12975}
12976
12977// AsShopifyObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12978func (apstd AzurePostgreSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
12979	return nil, false
12980}
12981
12982// AsServiceNowObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12983func (apstd AzurePostgreSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
12984	return nil, false
12985}
12986
12987// AsQuickBooksObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12988func (apstd AzurePostgreSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
12989	return nil, false
12990}
12991
12992// AsPrestoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12993func (apstd AzurePostgreSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
12994	return nil, false
12995}
12996
12997// AsPhoenixObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
12998func (apstd AzurePostgreSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
12999	return nil, false
13000}
13001
13002// AsPaypalObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13003func (apstd AzurePostgreSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
13004	return nil, false
13005}
13006
13007// AsMarketoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13008func (apstd AzurePostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
13009	return nil, false
13010}
13011
13012// AsMariaDBTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13013func (apstd AzurePostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
13014	return nil, false
13015}
13016
13017// AsMagentoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13018func (apstd AzurePostgreSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
13019	return nil, false
13020}
13021
13022// AsJiraObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13023func (apstd AzurePostgreSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
13024	return nil, false
13025}
13026
13027// AsImpalaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13028func (apstd AzurePostgreSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
13029	return nil, false
13030}
13031
13032// AsHubspotObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13033func (apstd AzurePostgreSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
13034	return nil, false
13035}
13036
13037// AsHiveObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13038func (apstd AzurePostgreSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
13039	return nil, false
13040}
13041
13042// AsHBaseObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13043func (apstd AzurePostgreSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
13044	return nil, false
13045}
13046
13047// AsGreenplumTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13048func (apstd AzurePostgreSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
13049	return nil, false
13050}
13051
13052// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13053func (apstd AzurePostgreSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
13054	return nil, false
13055}
13056
13057// AsEloquaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13058func (apstd AzurePostgreSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
13059	return nil, false
13060}
13061
13062// AsDrillTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13063func (apstd AzurePostgreSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
13064	return nil, false
13065}
13066
13067// AsCouchbaseTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13068func (apstd AzurePostgreSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
13069	return nil, false
13070}
13071
13072// AsConcurObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13073func (apstd AzurePostgreSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
13074	return nil, false
13075}
13076
13077// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13078func (apstd AzurePostgreSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
13079	return &apstd, true
13080}
13081
13082// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13083func (apstd AzurePostgreSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
13084	return nil, false
13085}
13086
13087// AsHTTPDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13088func (apstd AzurePostgreSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
13089	return nil, false
13090}
13091
13092// AsAzureSearchIndexDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13093func (apstd AzurePostgreSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
13094	return nil, false
13095}
13096
13097// AsWebTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13098func (apstd AzurePostgreSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
13099	return nil, false
13100}
13101
13102// AsSQLServerTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13103func (apstd AzurePostgreSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
13104	return nil, false
13105}
13106
13107// AsSapEccResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13108func (apstd AzurePostgreSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
13109	return nil, false
13110}
13111
13112// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13113func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
13114	return nil, false
13115}
13116
13117// AsSalesforceObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13118func (apstd AzurePostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
13119	return nil, false
13120}
13121
13122// AsRelationalTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13123func (apstd AzurePostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
13124	return nil, false
13125}
13126
13127// AsAzureMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13128func (apstd AzurePostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
13129	return nil, false
13130}
13131
13132// AsOracleTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13133func (apstd AzurePostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
13134	return nil, false
13135}
13136
13137// AsODataResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13138func (apstd AzurePostgreSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
13139	return nil, false
13140}
13141
13142// AsMongoDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13143func (apstd AzurePostgreSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
13144	return nil, false
13145}
13146
13147// AsFileShareDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13148func (apstd AzurePostgreSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
13149	return nil, false
13150}
13151
13152// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13153func (apstd AzurePostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
13154	return nil, false
13155}
13156
13157// AsDynamicsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13158func (apstd AzurePostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
13159	return nil, false
13160}
13161
13162// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13163func (apstd AzurePostgreSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
13164	return nil, false
13165}
13166
13167// AsCustomDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13168func (apstd AzurePostgreSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
13169	return nil, false
13170}
13171
13172// AsCassandraTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13173func (apstd AzurePostgreSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
13174	return nil, false
13175}
13176
13177// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13178func (apstd AzurePostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
13179	return nil, false
13180}
13181
13182// AsAzureSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13183func (apstd AzurePostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
13184	return nil, false
13185}
13186
13187// AsAzureTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13188func (apstd AzurePostgreSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
13189	return nil, false
13190}
13191
13192// AsAzureBlobDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13193func (apstd AzurePostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
13194	return nil, false
13195}
13196
13197// AsAmazonS3Dataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13198func (apstd AzurePostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
13199	return nil, false
13200}
13201
13202// AsDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13203func (apstd AzurePostgreSQLTableDataset) AsDataset() (*Dataset, bool) {
13204	return nil, false
13205}
13206
13207// AsBasicDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset.
13208func (apstd AzurePostgreSQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
13209	return &apstd, true
13210}
13211
13212// AzureQueueSink a copy activity Azure Queue sink.
13213type AzureQueueSink struct {
13214	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
13215	AdditionalProperties map[string]interface{} `json:""`
13216	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
13217	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
13218	// 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])).
13219	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
13220	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
13221	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
13222	// 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])).
13223	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
13224	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
13225	Type TypeBasicCopySink `json:"type,omitempty"`
13226}
13227
13228// MarshalJSON is the custom marshaler for AzureQueueSink.
13229func (aqs AzureQueueSink) MarshalJSON() ([]byte, error) {
13230	aqs.Type = TypeAzureQueueSink
13231	objectMap := make(map[string]interface{})
13232	objectMap["writeBatchSize"] = aqs.WriteBatchSize
13233	objectMap["writeBatchTimeout"] = aqs.WriteBatchTimeout
13234	objectMap["sinkRetryCount"] = aqs.SinkRetryCount
13235	objectMap["sinkRetryWait"] = aqs.SinkRetryWait
13236	if aqs.Type != "" {
13237		objectMap["type"] = aqs.Type
13238	}
13239	for k, v := range aqs.AdditionalProperties {
13240		objectMap[k] = v
13241	}
13242	return json.Marshal(objectMap)
13243}
13244
13245// AsSalesforceSink is the BasicCopySink implementation for AzureQueueSink.
13246func (aqs AzureQueueSink) AsSalesforceSink() (*SalesforceSink, bool) {
13247	return nil, false
13248}
13249
13250// AsDynamicsSink is the BasicCopySink implementation for AzureQueueSink.
13251func (aqs AzureQueueSink) AsDynamicsSink() (*DynamicsSink, bool) {
13252	return nil, false
13253}
13254
13255// AsOdbcSink is the BasicCopySink implementation for AzureQueueSink.
13256func (aqs AzureQueueSink) AsOdbcSink() (*OdbcSink, bool) {
13257	return nil, false
13258}
13259
13260// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureQueueSink.
13261func (aqs AzureQueueSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
13262	return nil, false
13263}
13264
13265// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureQueueSink.
13266func (aqs AzureQueueSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
13267	return nil, false
13268}
13269
13270// AsOracleSink is the BasicCopySink implementation for AzureQueueSink.
13271func (aqs AzureQueueSink) AsOracleSink() (*OracleSink, bool) {
13272	return nil, false
13273}
13274
13275// AsSQLDWSink is the BasicCopySink implementation for AzureQueueSink.
13276func (aqs AzureQueueSink) AsSQLDWSink() (*SQLDWSink, bool) {
13277	return nil, false
13278}
13279
13280// AsSQLSink is the BasicCopySink implementation for AzureQueueSink.
13281func (aqs AzureQueueSink) AsSQLSink() (*SQLSink, bool) {
13282	return nil, false
13283}
13284
13285// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureQueueSink.
13286func (aqs AzureQueueSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
13287	return nil, false
13288}
13289
13290// AsFileSystemSink is the BasicCopySink implementation for AzureQueueSink.
13291func (aqs AzureQueueSink) AsFileSystemSink() (*FileSystemSink, bool) {
13292	return nil, false
13293}
13294
13295// AsBlobSink is the BasicCopySink implementation for AzureQueueSink.
13296func (aqs AzureQueueSink) AsBlobSink() (*BlobSink, bool) {
13297	return nil, false
13298}
13299
13300// AsAzureTableSink is the BasicCopySink implementation for AzureQueueSink.
13301func (aqs AzureQueueSink) AsAzureTableSink() (*AzureTableSink, bool) {
13302	return nil, false
13303}
13304
13305// AsAzureQueueSink is the BasicCopySink implementation for AzureQueueSink.
13306func (aqs AzureQueueSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
13307	return &aqs, true
13308}
13309
13310// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureQueueSink.
13311func (aqs AzureQueueSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
13312	return nil, false
13313}
13314
13315// AsCopySink is the BasicCopySink implementation for AzureQueueSink.
13316func (aqs AzureQueueSink) AsCopySink() (*CopySink, bool) {
13317	return nil, false
13318}
13319
13320// AsBasicCopySink is the BasicCopySink implementation for AzureQueueSink.
13321func (aqs AzureQueueSink) AsBasicCopySink() (BasicCopySink, bool) {
13322	return &aqs, true
13323}
13324
13325// AzureSearchIndexDataset the Azure Search Index.
13326type AzureSearchIndexDataset struct {
13327	// AzureSearchIndexDatasetTypeProperties - Properties specific to this dataset type.
13328	*AzureSearchIndexDatasetTypeProperties `json:"typeProperties,omitempty"`
13329	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
13330	AdditionalProperties map[string]interface{} `json:""`
13331	// Description - Dataset description.
13332	Description *string `json:"description,omitempty"`
13333	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
13334	Structure interface{} `json:"structure,omitempty"`
13335	// LinkedServiceName - Linked service reference.
13336	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
13337	// Parameters - Parameters for dataset.
13338	Parameters map[string]*ParameterSpecification `json:"parameters"`
13339	// Annotations - List of tags that can be used for describing the Dataset.
13340	Annotations *[]interface{} `json:"annotations,omitempty"`
13341	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
13342	Type TypeBasicDataset `json:"type,omitempty"`
13343}
13344
13345// MarshalJSON is the custom marshaler for AzureSearchIndexDataset.
13346func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) {
13347	asid.Type = TypeAzureSearchIndex
13348	objectMap := make(map[string]interface{})
13349	if asid.AzureSearchIndexDatasetTypeProperties != nil {
13350		objectMap["typeProperties"] = asid.AzureSearchIndexDatasetTypeProperties
13351	}
13352	if asid.Description != nil {
13353		objectMap["description"] = asid.Description
13354	}
13355	objectMap["structure"] = asid.Structure
13356	if asid.LinkedServiceName != nil {
13357		objectMap["linkedServiceName"] = asid.LinkedServiceName
13358	}
13359	if asid.Parameters != nil {
13360		objectMap["parameters"] = asid.Parameters
13361	}
13362	if asid.Annotations != nil {
13363		objectMap["annotations"] = asid.Annotations
13364	}
13365	if asid.Type != "" {
13366		objectMap["type"] = asid.Type
13367	}
13368	for k, v := range asid.AdditionalProperties {
13369		objectMap[k] = v
13370	}
13371	return json.Marshal(objectMap)
13372}
13373
13374// AsResponsysObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13375func (asid AzureSearchIndexDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
13376	return nil, false
13377}
13378
13379// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13380func (asid AzureSearchIndexDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
13381	return nil, false
13382}
13383
13384// AsVerticaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13385func (asid AzureSearchIndexDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
13386	return nil, false
13387}
13388
13389// AsNetezzaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13390func (asid AzureSearchIndexDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
13391	return nil, false
13392}
13393
13394// AsZohoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13395func (asid AzureSearchIndexDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
13396	return nil, false
13397}
13398
13399// AsXeroObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13400func (asid AzureSearchIndexDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
13401	return nil, false
13402}
13403
13404// AsSquareObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13405func (asid AzureSearchIndexDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
13406	return nil, false
13407}
13408
13409// AsSparkObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13410func (asid AzureSearchIndexDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
13411	return nil, false
13412}
13413
13414// AsShopifyObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13415func (asid AzureSearchIndexDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
13416	return nil, false
13417}
13418
13419// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13420func (asid AzureSearchIndexDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
13421	return nil, false
13422}
13423
13424// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13425func (asid AzureSearchIndexDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
13426	return nil, false
13427}
13428
13429// AsPrestoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13430func (asid AzureSearchIndexDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
13431	return nil, false
13432}
13433
13434// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13435func (asid AzureSearchIndexDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
13436	return nil, false
13437}
13438
13439// AsPaypalObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13440func (asid AzureSearchIndexDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
13441	return nil, false
13442}
13443
13444// AsMarketoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13445func (asid AzureSearchIndexDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
13446	return nil, false
13447}
13448
13449// AsMariaDBTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13450func (asid AzureSearchIndexDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
13451	return nil, false
13452}
13453
13454// AsMagentoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13455func (asid AzureSearchIndexDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
13456	return nil, false
13457}
13458
13459// AsJiraObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13460func (asid AzureSearchIndexDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
13461	return nil, false
13462}
13463
13464// AsImpalaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13465func (asid AzureSearchIndexDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
13466	return nil, false
13467}
13468
13469// AsHubspotObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13470func (asid AzureSearchIndexDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
13471	return nil, false
13472}
13473
13474// AsHiveObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13475func (asid AzureSearchIndexDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
13476	return nil, false
13477}
13478
13479// AsHBaseObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13480func (asid AzureSearchIndexDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
13481	return nil, false
13482}
13483
13484// AsGreenplumTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13485func (asid AzureSearchIndexDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
13486	return nil, false
13487}
13488
13489// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13490func (asid AzureSearchIndexDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
13491	return nil, false
13492}
13493
13494// AsEloquaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13495func (asid AzureSearchIndexDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
13496	return nil, false
13497}
13498
13499// AsDrillTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13500func (asid AzureSearchIndexDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
13501	return nil, false
13502}
13503
13504// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13505func (asid AzureSearchIndexDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
13506	return nil, false
13507}
13508
13509// AsConcurObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13510func (asid AzureSearchIndexDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
13511	return nil, false
13512}
13513
13514// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13515func (asid AzureSearchIndexDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
13516	return nil, false
13517}
13518
13519// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13520func (asid AzureSearchIndexDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
13521	return nil, false
13522}
13523
13524// AsHTTPDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13525func (asid AzureSearchIndexDataset) AsHTTPDataset() (*HTTPDataset, bool) {
13526	return nil, false
13527}
13528
13529// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13530func (asid AzureSearchIndexDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
13531	return &asid, true
13532}
13533
13534// AsWebTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13535func (asid AzureSearchIndexDataset) AsWebTableDataset() (*WebTableDataset, bool) {
13536	return nil, false
13537}
13538
13539// AsSQLServerTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13540func (asid AzureSearchIndexDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
13541	return nil, false
13542}
13543
13544// AsSapEccResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13545func (asid AzureSearchIndexDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
13546	return nil, false
13547}
13548
13549// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13550func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
13551	return nil, false
13552}
13553
13554// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13555func (asid AzureSearchIndexDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
13556	return nil, false
13557}
13558
13559// AsRelationalTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13560func (asid AzureSearchIndexDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
13561	return nil, false
13562}
13563
13564// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13565func (asid AzureSearchIndexDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
13566	return nil, false
13567}
13568
13569// AsOracleTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13570func (asid AzureSearchIndexDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
13571	return nil, false
13572}
13573
13574// AsODataResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13575func (asid AzureSearchIndexDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
13576	return nil, false
13577}
13578
13579// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13580func (asid AzureSearchIndexDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
13581	return nil, false
13582}
13583
13584// AsFileShareDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13585func (asid AzureSearchIndexDataset) AsFileShareDataset() (*FileShareDataset, bool) {
13586	return nil, false
13587}
13588
13589// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13590func (asid AzureSearchIndexDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
13591	return nil, false
13592}
13593
13594// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13595func (asid AzureSearchIndexDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
13596	return nil, false
13597}
13598
13599// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13600func (asid AzureSearchIndexDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
13601	return nil, false
13602}
13603
13604// AsCustomDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13605func (asid AzureSearchIndexDataset) AsCustomDataset() (*CustomDataset, bool) {
13606	return nil, false
13607}
13608
13609// AsCassandraTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13610func (asid AzureSearchIndexDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
13611	return nil, false
13612}
13613
13614// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13615func (asid AzureSearchIndexDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
13616	return nil, false
13617}
13618
13619// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13620func (asid AzureSearchIndexDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
13621	return nil, false
13622}
13623
13624// AsAzureTableDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13625func (asid AzureSearchIndexDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
13626	return nil, false
13627}
13628
13629// AsAzureBlobDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13630func (asid AzureSearchIndexDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
13631	return nil, false
13632}
13633
13634// AsAmazonS3Dataset is the BasicDataset implementation for AzureSearchIndexDataset.
13635func (asid AzureSearchIndexDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
13636	return nil, false
13637}
13638
13639// AsDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13640func (asid AzureSearchIndexDataset) AsDataset() (*Dataset, bool) {
13641	return nil, false
13642}
13643
13644// AsBasicDataset is the BasicDataset implementation for AzureSearchIndexDataset.
13645func (asid AzureSearchIndexDataset) AsBasicDataset() (BasicDataset, bool) {
13646	return &asid, true
13647}
13648
13649// UnmarshalJSON is the custom unmarshaler for AzureSearchIndexDataset struct.
13650func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error {
13651	var m map[string]*json.RawMessage
13652	err := json.Unmarshal(body, &m)
13653	if err != nil {
13654		return err
13655	}
13656	for k, v := range m {
13657		switch k {
13658		case "typeProperties":
13659			if v != nil {
13660				var azureSearchIndexDatasetTypeProperties AzureSearchIndexDatasetTypeProperties
13661				err = json.Unmarshal(*v, &azureSearchIndexDatasetTypeProperties)
13662				if err != nil {
13663					return err
13664				}
13665				asid.AzureSearchIndexDatasetTypeProperties = &azureSearchIndexDatasetTypeProperties
13666			}
13667		default:
13668			if v != nil {
13669				var additionalProperties interface{}
13670				err = json.Unmarshal(*v, &additionalProperties)
13671				if err != nil {
13672					return err
13673				}
13674				if asid.AdditionalProperties == nil {
13675					asid.AdditionalProperties = make(map[string]interface{})
13676				}
13677				asid.AdditionalProperties[k] = additionalProperties
13678			}
13679		case "description":
13680			if v != nil {
13681				var description string
13682				err = json.Unmarshal(*v, &description)
13683				if err != nil {
13684					return err
13685				}
13686				asid.Description = &description
13687			}
13688		case "structure":
13689			if v != nil {
13690				var structure interface{}
13691				err = json.Unmarshal(*v, &structure)
13692				if err != nil {
13693					return err
13694				}
13695				asid.Structure = structure
13696			}
13697		case "linkedServiceName":
13698			if v != nil {
13699				var linkedServiceName LinkedServiceReference
13700				err = json.Unmarshal(*v, &linkedServiceName)
13701				if err != nil {
13702					return err
13703				}
13704				asid.LinkedServiceName = &linkedServiceName
13705			}
13706		case "parameters":
13707			if v != nil {
13708				var parameters map[string]*ParameterSpecification
13709				err = json.Unmarshal(*v, &parameters)
13710				if err != nil {
13711					return err
13712				}
13713				asid.Parameters = parameters
13714			}
13715		case "annotations":
13716			if v != nil {
13717				var annotations []interface{}
13718				err = json.Unmarshal(*v, &annotations)
13719				if err != nil {
13720					return err
13721				}
13722				asid.Annotations = &annotations
13723			}
13724		case "type":
13725			if v != nil {
13726				var typeVar TypeBasicDataset
13727				err = json.Unmarshal(*v, &typeVar)
13728				if err != nil {
13729					return err
13730				}
13731				asid.Type = typeVar
13732			}
13733		}
13734	}
13735
13736	return nil
13737}
13738
13739// AzureSearchIndexDatasetTypeProperties properties specific to this dataset type.
13740type AzureSearchIndexDatasetTypeProperties struct {
13741	// IndexName - The name of the Azure Search Index. Type: string (or Expression with resultType string).
13742	IndexName interface{} `json:"indexName,omitempty"`
13743}
13744
13745// AzureSearchIndexSink a copy activity Azure Search Index sink.
13746type AzureSearchIndexSink struct {
13747	// WriteBehavior - Specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'
13748	WriteBehavior AzureSearchIndexWriteBehaviorType `json:"writeBehavior,omitempty"`
13749	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
13750	AdditionalProperties map[string]interface{} `json:""`
13751	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
13752	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
13753	// 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])).
13754	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
13755	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
13756	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
13757	// 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])).
13758	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
13759	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
13760	Type TypeBasicCopySink `json:"type,omitempty"`
13761}
13762
13763// MarshalJSON is the custom marshaler for AzureSearchIndexSink.
13764func (asis AzureSearchIndexSink) MarshalJSON() ([]byte, error) {
13765	asis.Type = TypeAzureSearchIndexSink
13766	objectMap := make(map[string]interface{})
13767	if asis.WriteBehavior != "" {
13768		objectMap["writeBehavior"] = asis.WriteBehavior
13769	}
13770	objectMap["writeBatchSize"] = asis.WriteBatchSize
13771	objectMap["writeBatchTimeout"] = asis.WriteBatchTimeout
13772	objectMap["sinkRetryCount"] = asis.SinkRetryCount
13773	objectMap["sinkRetryWait"] = asis.SinkRetryWait
13774	if asis.Type != "" {
13775		objectMap["type"] = asis.Type
13776	}
13777	for k, v := range asis.AdditionalProperties {
13778		objectMap[k] = v
13779	}
13780	return json.Marshal(objectMap)
13781}
13782
13783// AsSalesforceSink is the BasicCopySink implementation for AzureSearchIndexSink.
13784func (asis AzureSearchIndexSink) AsSalesforceSink() (*SalesforceSink, bool) {
13785	return nil, false
13786}
13787
13788// AsDynamicsSink is the BasicCopySink implementation for AzureSearchIndexSink.
13789func (asis AzureSearchIndexSink) AsDynamicsSink() (*DynamicsSink, bool) {
13790	return nil, false
13791}
13792
13793// AsOdbcSink is the BasicCopySink implementation for AzureSearchIndexSink.
13794func (asis AzureSearchIndexSink) AsOdbcSink() (*OdbcSink, bool) {
13795	return nil, false
13796}
13797
13798// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSearchIndexSink.
13799func (asis AzureSearchIndexSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
13800	return &asis, true
13801}
13802
13803// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSearchIndexSink.
13804func (asis AzureSearchIndexSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
13805	return nil, false
13806}
13807
13808// AsOracleSink is the BasicCopySink implementation for AzureSearchIndexSink.
13809func (asis AzureSearchIndexSink) AsOracleSink() (*OracleSink, bool) {
13810	return nil, false
13811}
13812
13813// AsSQLDWSink is the BasicCopySink implementation for AzureSearchIndexSink.
13814func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) {
13815	return nil, false
13816}
13817
13818// AsSQLSink is the BasicCopySink implementation for AzureSearchIndexSink.
13819func (asis AzureSearchIndexSink) AsSQLSink() (*SQLSink, bool) {
13820	return nil, false
13821}
13822
13823// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSearchIndexSink.
13824func (asis AzureSearchIndexSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
13825	return nil, false
13826}
13827
13828// AsFileSystemSink is the BasicCopySink implementation for AzureSearchIndexSink.
13829func (asis AzureSearchIndexSink) AsFileSystemSink() (*FileSystemSink, bool) {
13830	return nil, false
13831}
13832
13833// AsBlobSink is the BasicCopySink implementation for AzureSearchIndexSink.
13834func (asis AzureSearchIndexSink) AsBlobSink() (*BlobSink, bool) {
13835	return nil, false
13836}
13837
13838// AsAzureTableSink is the BasicCopySink implementation for AzureSearchIndexSink.
13839func (asis AzureSearchIndexSink) AsAzureTableSink() (*AzureTableSink, bool) {
13840	return nil, false
13841}
13842
13843// AsAzureQueueSink is the BasicCopySink implementation for AzureSearchIndexSink.
13844func (asis AzureSearchIndexSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
13845	return nil, false
13846}
13847
13848// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSearchIndexSink.
13849func (asis AzureSearchIndexSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
13850	return nil, false
13851}
13852
13853// AsCopySink is the BasicCopySink implementation for AzureSearchIndexSink.
13854func (asis AzureSearchIndexSink) AsCopySink() (*CopySink, bool) {
13855	return nil, false
13856}
13857
13858// AsBasicCopySink is the BasicCopySink implementation for AzureSearchIndexSink.
13859func (asis AzureSearchIndexSink) AsBasicCopySink() (BasicCopySink, bool) {
13860	return &asis, true
13861}
13862
13863// AzureSearchLinkedService linked service for Windows Azure Search Service.
13864type AzureSearchLinkedService struct {
13865	// AzureSearchLinkedServiceTypeProperties - Windows Azure Search Service linked service properties.
13866	*AzureSearchLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
13867	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
13868	AdditionalProperties map[string]interface{} `json:""`
13869	// ConnectVia - The integration runtime reference.
13870	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
13871	// Description - Linked service description.
13872	Description *string `json:"description,omitempty"`
13873	// Parameters - Parameters for linked service.
13874	Parameters map[string]*ParameterSpecification `json:"parameters"`
13875	// Annotations - List of tags that can be used for describing the Dataset.
13876	Annotations *[]interface{} `json:"annotations,omitempty"`
13877	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
13878	Type TypeBasicLinkedService `json:"type,omitempty"`
13879}
13880
13881// MarshalJSON is the custom marshaler for AzureSearchLinkedService.
13882func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) {
13883	asls.Type = TypeAzureSearch
13884	objectMap := make(map[string]interface{})
13885	if asls.AzureSearchLinkedServiceTypeProperties != nil {
13886		objectMap["typeProperties"] = asls.AzureSearchLinkedServiceTypeProperties
13887	}
13888	if asls.ConnectVia != nil {
13889		objectMap["connectVia"] = asls.ConnectVia
13890	}
13891	if asls.Description != nil {
13892		objectMap["description"] = asls.Description
13893	}
13894	if asls.Parameters != nil {
13895		objectMap["parameters"] = asls.Parameters
13896	}
13897	if asls.Annotations != nil {
13898		objectMap["annotations"] = asls.Annotations
13899	}
13900	if asls.Type != "" {
13901		objectMap["type"] = asls.Type
13902	}
13903	for k, v := range asls.AdditionalProperties {
13904		objectMap[k] = v
13905	}
13906	return json.Marshal(objectMap)
13907}
13908
13909// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13910func (asls AzureSearchLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
13911	return nil, false
13912}
13913
13914// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13915func (asls AzureSearchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
13916	return nil, false
13917}
13918
13919// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13920func (asls AzureSearchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
13921	return nil, false
13922}
13923
13924// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13925func (asls AzureSearchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
13926	return nil, false
13927}
13928
13929// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13930func (asls AzureSearchLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
13931	return nil, false
13932}
13933
13934// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13935func (asls AzureSearchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
13936	return nil, false
13937}
13938
13939// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13940func (asls AzureSearchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
13941	return nil, false
13942}
13943
13944// AsZohoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13945func (asls AzureSearchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
13946	return nil, false
13947}
13948
13949// AsXeroLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13950func (asls AzureSearchLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
13951	return nil, false
13952}
13953
13954// AsSquareLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13955func (asls AzureSearchLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
13956	return nil, false
13957}
13958
13959// AsSparkLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13960func (asls AzureSearchLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
13961	return nil, false
13962}
13963
13964// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13965func (asls AzureSearchLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
13966	return nil, false
13967}
13968
13969// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13970func (asls AzureSearchLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
13971	return nil, false
13972}
13973
13974// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13975func (asls AzureSearchLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
13976	return nil, false
13977}
13978
13979// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13980func (asls AzureSearchLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
13981	return nil, false
13982}
13983
13984// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13985func (asls AzureSearchLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
13986	return nil, false
13987}
13988
13989// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13990func (asls AzureSearchLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
13991	return nil, false
13992}
13993
13994// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
13995func (asls AzureSearchLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
13996	return nil, false
13997}
13998
13999// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14000func (asls AzureSearchLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
14001	return nil, false
14002}
14003
14004// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14005func (asls AzureSearchLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
14006	return nil, false
14007}
14008
14009// AsJiraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14010func (asls AzureSearchLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
14011	return nil, false
14012}
14013
14014// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14015func (asls AzureSearchLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
14016	return nil, false
14017}
14018
14019// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14020func (asls AzureSearchLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
14021	return nil, false
14022}
14023
14024// AsHiveLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14025func (asls AzureSearchLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
14026	return nil, false
14027}
14028
14029// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14030func (asls AzureSearchLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
14031	return nil, false
14032}
14033
14034// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14035func (asls AzureSearchLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
14036	return nil, false
14037}
14038
14039// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14040func (asls AzureSearchLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
14041	return nil, false
14042}
14043
14044// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14045func (asls AzureSearchLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
14046	return nil, false
14047}
14048
14049// AsDrillLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14050func (asls AzureSearchLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
14051	return nil, false
14052}
14053
14054// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14055func (asls AzureSearchLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
14056	return nil, false
14057}
14058
14059// AsConcurLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14060func (asls AzureSearchLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
14061	return nil, false
14062}
14063
14064// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14065func (asls AzureSearchLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
14066	return nil, false
14067}
14068
14069// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14070func (asls AzureSearchLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
14071	return nil, false
14072}
14073
14074// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14075func (asls AzureSearchLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
14076	return nil, false
14077}
14078
14079// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14080func (asls AzureSearchLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
14081	return nil, false
14082}
14083
14084// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14085func (asls AzureSearchLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
14086	return nil, false
14087}
14088
14089// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14090func (asls AzureSearchLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
14091	return nil, false
14092}
14093
14094// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14095func (asls AzureSearchLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
14096	return nil, false
14097}
14098
14099// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14100func (asls AzureSearchLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
14101	return &asls, true
14102}
14103
14104// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14105func (asls AzureSearchLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
14106	return nil, false
14107}
14108
14109// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14110func (asls AzureSearchLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
14111	return nil, false
14112}
14113
14114// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14115func (asls AzureSearchLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
14116	return nil, false
14117}
14118
14119// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14120func (asls AzureSearchLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
14121	return nil, false
14122}
14123
14124// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14125func (asls AzureSearchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
14126	return nil, false
14127}
14128
14129// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14130func (asls AzureSearchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
14131	return nil, false
14132}
14133
14134// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14135func (asls AzureSearchLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
14136	return nil, false
14137}
14138
14139// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14140func (asls AzureSearchLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
14141	return nil, false
14142}
14143
14144// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14145func (asls AzureSearchLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
14146	return nil, false
14147}
14148
14149// AsWebLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14150func (asls AzureSearchLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
14151	return nil, false
14152}
14153
14154// AsODataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14155func (asls AzureSearchLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
14156	return nil, false
14157}
14158
14159// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14160func (asls AzureSearchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
14161	return nil, false
14162}
14163
14164// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14165func (asls AzureSearchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
14166	return nil, false
14167}
14168
14169// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14170func (asls AzureSearchLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
14171	return nil, false
14172}
14173
14174// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14175func (asls AzureSearchLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
14176	return nil, false
14177}
14178
14179// AsDb2LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14180func (asls AzureSearchLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
14181	return nil, false
14182}
14183
14184// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14185func (asls AzureSearchLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
14186	return nil, false
14187}
14188
14189// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14190func (asls AzureSearchLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
14191	return nil, false
14192}
14193
14194// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14195func (asls AzureSearchLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
14196	return nil, false
14197}
14198
14199// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14200func (asls AzureSearchLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
14201	return nil, false
14202}
14203
14204// AsOracleLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14205func (asls AzureSearchLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
14206	return nil, false
14207}
14208
14209// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14210func (asls AzureSearchLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
14211	return nil, false
14212}
14213
14214// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14215func (asls AzureSearchLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
14216	return nil, false
14217}
14218
14219// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14220func (asls AzureSearchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
14221	return nil, false
14222}
14223
14224// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14225func (asls AzureSearchLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
14226	return nil, false
14227}
14228
14229// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14230func (asls AzureSearchLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
14231	return nil, false
14232}
14233
14234// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14235func (asls AzureSearchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
14236	return nil, false
14237}
14238
14239// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14240func (asls AzureSearchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
14241	return nil, false
14242}
14243
14244// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14245func (asls AzureSearchLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
14246	return nil, false
14247}
14248
14249// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14250func (asls AzureSearchLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
14251	return nil, false
14252}
14253
14254// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14255func (asls AzureSearchLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
14256	return nil, false
14257}
14258
14259// AsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14260func (asls AzureSearchLinkedService) AsLinkedService() (*LinkedService, bool) {
14261	return nil, false
14262}
14263
14264// AsBasicLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService.
14265func (asls AzureSearchLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
14266	return &asls, true
14267}
14268
14269// UnmarshalJSON is the custom unmarshaler for AzureSearchLinkedService struct.
14270func (asls *AzureSearchLinkedService) UnmarshalJSON(body []byte) error {
14271	var m map[string]*json.RawMessage
14272	err := json.Unmarshal(body, &m)
14273	if err != nil {
14274		return err
14275	}
14276	for k, v := range m {
14277		switch k {
14278		case "typeProperties":
14279			if v != nil {
14280				var azureSearchLinkedServiceTypeProperties AzureSearchLinkedServiceTypeProperties
14281				err = json.Unmarshal(*v, &azureSearchLinkedServiceTypeProperties)
14282				if err != nil {
14283					return err
14284				}
14285				asls.AzureSearchLinkedServiceTypeProperties = &azureSearchLinkedServiceTypeProperties
14286			}
14287		default:
14288			if v != nil {
14289				var additionalProperties interface{}
14290				err = json.Unmarshal(*v, &additionalProperties)
14291				if err != nil {
14292					return err
14293				}
14294				if asls.AdditionalProperties == nil {
14295					asls.AdditionalProperties = make(map[string]interface{})
14296				}
14297				asls.AdditionalProperties[k] = additionalProperties
14298			}
14299		case "connectVia":
14300			if v != nil {
14301				var connectVia IntegrationRuntimeReference
14302				err = json.Unmarshal(*v, &connectVia)
14303				if err != nil {
14304					return err
14305				}
14306				asls.ConnectVia = &connectVia
14307			}
14308		case "description":
14309			if v != nil {
14310				var description string
14311				err = json.Unmarshal(*v, &description)
14312				if err != nil {
14313					return err
14314				}
14315				asls.Description = &description
14316			}
14317		case "parameters":
14318			if v != nil {
14319				var parameters map[string]*ParameterSpecification
14320				err = json.Unmarshal(*v, &parameters)
14321				if err != nil {
14322					return err
14323				}
14324				asls.Parameters = parameters
14325			}
14326		case "annotations":
14327			if v != nil {
14328				var annotations []interface{}
14329				err = json.Unmarshal(*v, &annotations)
14330				if err != nil {
14331					return err
14332				}
14333				asls.Annotations = &annotations
14334			}
14335		case "type":
14336			if v != nil {
14337				var typeVar TypeBasicLinkedService
14338				err = json.Unmarshal(*v, &typeVar)
14339				if err != nil {
14340					return err
14341				}
14342				asls.Type = typeVar
14343			}
14344		}
14345	}
14346
14347	return nil
14348}
14349
14350// AzureSearchLinkedServiceTypeProperties windows Azure Search Service linked service properties.
14351type AzureSearchLinkedServiceTypeProperties struct {
14352	// URL - URL for Azure Search service. Type: string (or Expression with resultType string).
14353	URL interface{} `json:"url,omitempty"`
14354	// Key - Admin Key for Azure Search service
14355	Key BasicSecretBase `json:"key,omitempty"`
14356	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
14357	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
14358}
14359
14360// UnmarshalJSON is the custom unmarshaler for AzureSearchLinkedServiceTypeProperties struct.
14361func (aslstp *AzureSearchLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
14362	var m map[string]*json.RawMessage
14363	err := json.Unmarshal(body, &m)
14364	if err != nil {
14365		return err
14366	}
14367	for k, v := range m {
14368		switch k {
14369		case "url":
14370			if v != nil {
14371				var URL interface{}
14372				err = json.Unmarshal(*v, &URL)
14373				if err != nil {
14374					return err
14375				}
14376				aslstp.URL = URL
14377			}
14378		case "key":
14379			if v != nil {
14380				key, err := unmarshalBasicSecretBase(*v)
14381				if err != nil {
14382					return err
14383				}
14384				aslstp.Key = key
14385			}
14386		case "encryptedCredential":
14387			if v != nil {
14388				var encryptedCredential interface{}
14389				err = json.Unmarshal(*v, &encryptedCredential)
14390				if err != nil {
14391					return err
14392				}
14393				aslstp.EncryptedCredential = encryptedCredential
14394			}
14395		}
14396	}
14397
14398	return nil
14399}
14400
14401// AzureSQLDatabaseLinkedService microsoft Azure SQL Database linked service.
14402type AzureSQLDatabaseLinkedService struct {
14403	// AzureSQLDatabaseLinkedServiceTypeProperties - Azure SQL Database linked service properties.
14404	*AzureSQLDatabaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
14405	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
14406	AdditionalProperties map[string]interface{} `json:""`
14407	// ConnectVia - The integration runtime reference.
14408	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
14409	// Description - Linked service description.
14410	Description *string `json:"description,omitempty"`
14411	// Parameters - Parameters for linked service.
14412	Parameters map[string]*ParameterSpecification `json:"parameters"`
14413	// Annotations - List of tags that can be used for describing the Dataset.
14414	Annotations *[]interface{} `json:"annotations,omitempty"`
14415	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
14416	Type TypeBasicLinkedService `json:"type,omitempty"`
14417}
14418
14419// MarshalJSON is the custom marshaler for AzureSQLDatabaseLinkedService.
14420func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) {
14421	asdls.Type = TypeAzureSQLDatabase
14422	objectMap := make(map[string]interface{})
14423	if asdls.AzureSQLDatabaseLinkedServiceTypeProperties != nil {
14424		objectMap["typeProperties"] = asdls.AzureSQLDatabaseLinkedServiceTypeProperties
14425	}
14426	if asdls.ConnectVia != nil {
14427		objectMap["connectVia"] = asdls.ConnectVia
14428	}
14429	if asdls.Description != nil {
14430		objectMap["description"] = asdls.Description
14431	}
14432	if asdls.Parameters != nil {
14433		objectMap["parameters"] = asdls.Parameters
14434	}
14435	if asdls.Annotations != nil {
14436		objectMap["annotations"] = asdls.Annotations
14437	}
14438	if asdls.Type != "" {
14439		objectMap["type"] = asdls.Type
14440	}
14441	for k, v := range asdls.AdditionalProperties {
14442		objectMap[k] = v
14443	}
14444	return json.Marshal(objectMap)
14445}
14446
14447// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14448func (asdls AzureSQLDatabaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
14449	return nil, false
14450}
14451
14452// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14453func (asdls AzureSQLDatabaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
14454	return nil, false
14455}
14456
14457// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14458func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
14459	return nil, false
14460}
14461
14462// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14463func (asdls AzureSQLDatabaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
14464	return nil, false
14465}
14466
14467// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14468func (asdls AzureSQLDatabaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
14469	return nil, false
14470}
14471
14472// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14473func (asdls AzureSQLDatabaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
14474	return nil, false
14475}
14476
14477// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14478func (asdls AzureSQLDatabaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
14479	return nil, false
14480}
14481
14482// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14483func (asdls AzureSQLDatabaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
14484	return nil, false
14485}
14486
14487// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14488func (asdls AzureSQLDatabaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
14489	return nil, false
14490}
14491
14492// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14493func (asdls AzureSQLDatabaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
14494	return nil, false
14495}
14496
14497// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14498func (asdls AzureSQLDatabaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
14499	return nil, false
14500}
14501
14502// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14503func (asdls AzureSQLDatabaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
14504	return nil, false
14505}
14506
14507// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14508func (asdls AzureSQLDatabaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
14509	return nil, false
14510}
14511
14512// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14513func (asdls AzureSQLDatabaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
14514	return nil, false
14515}
14516
14517// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14518func (asdls AzureSQLDatabaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
14519	return nil, false
14520}
14521
14522// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14523func (asdls AzureSQLDatabaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
14524	return nil, false
14525}
14526
14527// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14528func (asdls AzureSQLDatabaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
14529	return nil, false
14530}
14531
14532// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14533func (asdls AzureSQLDatabaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
14534	return nil, false
14535}
14536
14537// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14538func (asdls AzureSQLDatabaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
14539	return nil, false
14540}
14541
14542// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14543func (asdls AzureSQLDatabaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
14544	return nil, false
14545}
14546
14547// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14548func (asdls AzureSQLDatabaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
14549	return nil, false
14550}
14551
14552// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14553func (asdls AzureSQLDatabaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
14554	return nil, false
14555}
14556
14557// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14558func (asdls AzureSQLDatabaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
14559	return nil, false
14560}
14561
14562// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14563func (asdls AzureSQLDatabaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
14564	return nil, false
14565}
14566
14567// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14568func (asdls AzureSQLDatabaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
14569	return nil, false
14570}
14571
14572// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14573func (asdls AzureSQLDatabaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
14574	return nil, false
14575}
14576
14577// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14578func (asdls AzureSQLDatabaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
14579	return nil, false
14580}
14581
14582// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14583func (asdls AzureSQLDatabaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
14584	return nil, false
14585}
14586
14587// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14588func (asdls AzureSQLDatabaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
14589	return nil, false
14590}
14591
14592// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14593func (asdls AzureSQLDatabaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
14594	return nil, false
14595}
14596
14597// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14598func (asdls AzureSQLDatabaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
14599	return nil, false
14600}
14601
14602// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14603func (asdls AzureSQLDatabaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
14604	return nil, false
14605}
14606
14607// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14608func (asdls AzureSQLDatabaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
14609	return nil, false
14610}
14611
14612// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14613func (asdls AzureSQLDatabaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
14614	return nil, false
14615}
14616
14617// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14618func (asdls AzureSQLDatabaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
14619	return nil, false
14620}
14621
14622// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14623func (asdls AzureSQLDatabaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
14624	return nil, false
14625}
14626
14627// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14628func (asdls AzureSQLDatabaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
14629	return nil, false
14630}
14631
14632// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14633func (asdls AzureSQLDatabaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
14634	return nil, false
14635}
14636
14637// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14638func (asdls AzureSQLDatabaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
14639	return nil, false
14640}
14641
14642// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14643func (asdls AzureSQLDatabaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
14644	return nil, false
14645}
14646
14647// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14648func (asdls AzureSQLDatabaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
14649	return nil, false
14650}
14651
14652// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14653func (asdls AzureSQLDatabaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
14654	return nil, false
14655}
14656
14657// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14658func (asdls AzureSQLDatabaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
14659	return nil, false
14660}
14661
14662// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14663func (asdls AzureSQLDatabaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
14664	return nil, false
14665}
14666
14667// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14668func (asdls AzureSQLDatabaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
14669	return nil, false
14670}
14671
14672// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14673func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
14674	return nil, false
14675}
14676
14677// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14678func (asdls AzureSQLDatabaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
14679	return nil, false
14680}
14681
14682// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14683func (asdls AzureSQLDatabaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
14684	return nil, false
14685}
14686
14687// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14688func (asdls AzureSQLDatabaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
14689	return nil, false
14690}
14691
14692// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14693func (asdls AzureSQLDatabaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
14694	return nil, false
14695}
14696
14697// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14698func (asdls AzureSQLDatabaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
14699	return nil, false
14700}
14701
14702// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14703func (asdls AzureSQLDatabaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
14704	return nil, false
14705}
14706
14707// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14708func (asdls AzureSQLDatabaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
14709	return nil, false
14710}
14711
14712// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14713func (asdls AzureSQLDatabaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
14714	return nil, false
14715}
14716
14717// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14718func (asdls AzureSQLDatabaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
14719	return nil, false
14720}
14721
14722// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14723func (asdls AzureSQLDatabaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
14724	return nil, false
14725}
14726
14727// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14728func (asdls AzureSQLDatabaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
14729	return nil, false
14730}
14731
14732// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14733func (asdls AzureSQLDatabaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
14734	return nil, false
14735}
14736
14737// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14738func (asdls AzureSQLDatabaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
14739	return nil, false
14740}
14741
14742// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14743func (asdls AzureSQLDatabaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
14744	return nil, false
14745}
14746
14747// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14748func (asdls AzureSQLDatabaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
14749	return nil, false
14750}
14751
14752// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14753func (asdls AzureSQLDatabaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
14754	return nil, false
14755}
14756
14757// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14758func (asdls AzureSQLDatabaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
14759	return nil, false
14760}
14761
14762// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14763func (asdls AzureSQLDatabaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
14764	return nil, false
14765}
14766
14767// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14768func (asdls AzureSQLDatabaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
14769	return nil, false
14770}
14771
14772// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14773func (asdls AzureSQLDatabaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
14774	return nil, false
14775}
14776
14777// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14778func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
14779	return &asdls, true
14780}
14781
14782// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14783func (asdls AzureSQLDatabaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
14784	return nil, false
14785}
14786
14787// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14788func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
14789	return nil, false
14790}
14791
14792// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14793func (asdls AzureSQLDatabaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
14794	return nil, false
14795}
14796
14797// AsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14798func (asdls AzureSQLDatabaseLinkedService) AsLinkedService() (*LinkedService, bool) {
14799	return nil, false
14800}
14801
14802// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService.
14803func (asdls AzureSQLDatabaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
14804	return &asdls, true
14805}
14806
14807// UnmarshalJSON is the custom unmarshaler for AzureSQLDatabaseLinkedService struct.
14808func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error {
14809	var m map[string]*json.RawMessage
14810	err := json.Unmarshal(body, &m)
14811	if err != nil {
14812		return err
14813	}
14814	for k, v := range m {
14815		switch k {
14816		case "typeProperties":
14817			if v != nil {
14818				var azureSQLDatabaseLinkedServiceTypeProperties AzureSQLDatabaseLinkedServiceTypeProperties
14819				err = json.Unmarshal(*v, &azureSQLDatabaseLinkedServiceTypeProperties)
14820				if err != nil {
14821					return err
14822				}
14823				asdls.AzureSQLDatabaseLinkedServiceTypeProperties = &azureSQLDatabaseLinkedServiceTypeProperties
14824			}
14825		default:
14826			if v != nil {
14827				var additionalProperties interface{}
14828				err = json.Unmarshal(*v, &additionalProperties)
14829				if err != nil {
14830					return err
14831				}
14832				if asdls.AdditionalProperties == nil {
14833					asdls.AdditionalProperties = make(map[string]interface{})
14834				}
14835				asdls.AdditionalProperties[k] = additionalProperties
14836			}
14837		case "connectVia":
14838			if v != nil {
14839				var connectVia IntegrationRuntimeReference
14840				err = json.Unmarshal(*v, &connectVia)
14841				if err != nil {
14842					return err
14843				}
14844				asdls.ConnectVia = &connectVia
14845			}
14846		case "description":
14847			if v != nil {
14848				var description string
14849				err = json.Unmarshal(*v, &description)
14850				if err != nil {
14851					return err
14852				}
14853				asdls.Description = &description
14854			}
14855		case "parameters":
14856			if v != nil {
14857				var parameters map[string]*ParameterSpecification
14858				err = json.Unmarshal(*v, &parameters)
14859				if err != nil {
14860					return err
14861				}
14862				asdls.Parameters = parameters
14863			}
14864		case "annotations":
14865			if v != nil {
14866				var annotations []interface{}
14867				err = json.Unmarshal(*v, &annotations)
14868				if err != nil {
14869					return err
14870				}
14871				asdls.Annotations = &annotations
14872			}
14873		case "type":
14874			if v != nil {
14875				var typeVar TypeBasicLinkedService
14876				err = json.Unmarshal(*v, &typeVar)
14877				if err != nil {
14878					return err
14879				}
14880				asdls.Type = typeVar
14881			}
14882		}
14883	}
14884
14885	return nil
14886}
14887
14888// AzureSQLDatabaseLinkedServiceTypeProperties azure SQL Database linked service properties.
14889type AzureSQLDatabaseLinkedServiceTypeProperties struct {
14890	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
14891	ConnectionString interface{} `json:"connectionString,omitempty"`
14892	// ServicePrincipalID - The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string).
14893	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
14894	// ServicePrincipalKey - The key of the service principal used to authenticate against Azure SQL Database.
14895	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
14896	// Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
14897	Tenant interface{} `json:"tenant,omitempty"`
14898	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
14899	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
14900}
14901
14902// UnmarshalJSON is the custom unmarshaler for AzureSQLDatabaseLinkedServiceTypeProperties struct.
14903func (asdlstp *AzureSQLDatabaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
14904	var m map[string]*json.RawMessage
14905	err := json.Unmarshal(body, &m)
14906	if err != nil {
14907		return err
14908	}
14909	for k, v := range m {
14910		switch k {
14911		case "connectionString":
14912			if v != nil {
14913				var connectionString interface{}
14914				err = json.Unmarshal(*v, &connectionString)
14915				if err != nil {
14916					return err
14917				}
14918				asdlstp.ConnectionString = connectionString
14919			}
14920		case "servicePrincipalId":
14921			if v != nil {
14922				var servicePrincipalID interface{}
14923				err = json.Unmarshal(*v, &servicePrincipalID)
14924				if err != nil {
14925					return err
14926				}
14927				asdlstp.ServicePrincipalID = servicePrincipalID
14928			}
14929		case "servicePrincipalKey":
14930			if v != nil {
14931				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
14932				if err != nil {
14933					return err
14934				}
14935				asdlstp.ServicePrincipalKey = servicePrincipalKey
14936			}
14937		case "tenant":
14938			if v != nil {
14939				var tenant interface{}
14940				err = json.Unmarshal(*v, &tenant)
14941				if err != nil {
14942					return err
14943				}
14944				asdlstp.Tenant = tenant
14945			}
14946		case "encryptedCredential":
14947			if v != nil {
14948				var encryptedCredential interface{}
14949				err = json.Unmarshal(*v, &encryptedCredential)
14950				if err != nil {
14951					return err
14952				}
14953				asdlstp.EncryptedCredential = encryptedCredential
14954			}
14955		}
14956	}
14957
14958	return nil
14959}
14960
14961// AzureSQLDWLinkedService azure SQL Data Warehouse linked service.
14962type AzureSQLDWLinkedService struct {
14963	// AzureSQLDWLinkedServiceTypeProperties - Azure SQL Data Warehouse linked service properties.
14964	*AzureSQLDWLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
14965	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
14966	AdditionalProperties map[string]interface{} `json:""`
14967	// ConnectVia - The integration runtime reference.
14968	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
14969	// Description - Linked service description.
14970	Description *string `json:"description,omitempty"`
14971	// Parameters - Parameters for linked service.
14972	Parameters map[string]*ParameterSpecification `json:"parameters"`
14973	// Annotations - List of tags that can be used for describing the Dataset.
14974	Annotations *[]interface{} `json:"annotations,omitempty"`
14975	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
14976	Type TypeBasicLinkedService `json:"type,omitempty"`
14977}
14978
14979// MarshalJSON is the custom marshaler for AzureSQLDWLinkedService.
14980func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) {
14981	asdls.Type = TypeAzureSQLDW
14982	objectMap := make(map[string]interface{})
14983	if asdls.AzureSQLDWLinkedServiceTypeProperties != nil {
14984		objectMap["typeProperties"] = asdls.AzureSQLDWLinkedServiceTypeProperties
14985	}
14986	if asdls.ConnectVia != nil {
14987		objectMap["connectVia"] = asdls.ConnectVia
14988	}
14989	if asdls.Description != nil {
14990		objectMap["description"] = asdls.Description
14991	}
14992	if asdls.Parameters != nil {
14993		objectMap["parameters"] = asdls.Parameters
14994	}
14995	if asdls.Annotations != nil {
14996		objectMap["annotations"] = asdls.Annotations
14997	}
14998	if asdls.Type != "" {
14999		objectMap["type"] = asdls.Type
15000	}
15001	for k, v := range asdls.AdditionalProperties {
15002		objectMap[k] = v
15003	}
15004	return json.Marshal(objectMap)
15005}
15006
15007// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15008func (asdls AzureSQLDWLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
15009	return nil, false
15010}
15011
15012// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15013func (asdls AzureSQLDWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
15014	return nil, false
15015}
15016
15017// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15018func (asdls AzureSQLDWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
15019	return nil, false
15020}
15021
15022// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15023func (asdls AzureSQLDWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
15024	return nil, false
15025}
15026
15027// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15028func (asdls AzureSQLDWLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
15029	return nil, false
15030}
15031
15032// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15033func (asdls AzureSQLDWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
15034	return nil, false
15035}
15036
15037// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15038func (asdls AzureSQLDWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
15039	return nil, false
15040}
15041
15042// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15043func (asdls AzureSQLDWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
15044	return nil, false
15045}
15046
15047// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15048func (asdls AzureSQLDWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
15049	return nil, false
15050}
15051
15052// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15053func (asdls AzureSQLDWLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
15054	return nil, false
15055}
15056
15057// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15058func (asdls AzureSQLDWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
15059	return nil, false
15060}
15061
15062// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15063func (asdls AzureSQLDWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
15064	return nil, false
15065}
15066
15067// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15068func (asdls AzureSQLDWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
15069	return nil, false
15070}
15071
15072// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15073func (asdls AzureSQLDWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
15074	return nil, false
15075}
15076
15077// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15078func (asdls AzureSQLDWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
15079	return nil, false
15080}
15081
15082// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15083func (asdls AzureSQLDWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
15084	return nil, false
15085}
15086
15087// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15088func (asdls AzureSQLDWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
15089	return nil, false
15090}
15091
15092// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15093func (asdls AzureSQLDWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
15094	return nil, false
15095}
15096
15097// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15098func (asdls AzureSQLDWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
15099	return nil, false
15100}
15101
15102// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15103func (asdls AzureSQLDWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
15104	return nil, false
15105}
15106
15107// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15108func (asdls AzureSQLDWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
15109	return nil, false
15110}
15111
15112// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15113func (asdls AzureSQLDWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
15114	return nil, false
15115}
15116
15117// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15118func (asdls AzureSQLDWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
15119	return nil, false
15120}
15121
15122// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15123func (asdls AzureSQLDWLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
15124	return nil, false
15125}
15126
15127// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15128func (asdls AzureSQLDWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
15129	return nil, false
15130}
15131
15132// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15133func (asdls AzureSQLDWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
15134	return nil, false
15135}
15136
15137// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15138func (asdls AzureSQLDWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
15139	return nil, false
15140}
15141
15142// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15143func (asdls AzureSQLDWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
15144	return nil, false
15145}
15146
15147// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15148func (asdls AzureSQLDWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
15149	return nil, false
15150}
15151
15152// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15153func (asdls AzureSQLDWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
15154	return nil, false
15155}
15156
15157// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15158func (asdls AzureSQLDWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
15159	return nil, false
15160}
15161
15162// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15163func (asdls AzureSQLDWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
15164	return nil, false
15165}
15166
15167// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15168func (asdls AzureSQLDWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
15169	return nil, false
15170}
15171
15172// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15173func (asdls AzureSQLDWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
15174	return nil, false
15175}
15176
15177// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15178func (asdls AzureSQLDWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
15179	return nil, false
15180}
15181
15182// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15183func (asdls AzureSQLDWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
15184	return nil, false
15185}
15186
15187// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15188func (asdls AzureSQLDWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
15189	return nil, false
15190}
15191
15192// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15193func (asdls AzureSQLDWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
15194	return nil, false
15195}
15196
15197// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15198func (asdls AzureSQLDWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
15199	return nil, false
15200}
15201
15202// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15203func (asdls AzureSQLDWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
15204	return nil, false
15205}
15206
15207// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15208func (asdls AzureSQLDWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
15209	return nil, false
15210}
15211
15212// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15213func (asdls AzureSQLDWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
15214	return nil, false
15215}
15216
15217// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15218func (asdls AzureSQLDWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
15219	return nil, false
15220}
15221
15222// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15223func (asdls AzureSQLDWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
15224	return nil, false
15225}
15226
15227// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15228func (asdls AzureSQLDWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
15229	return nil, false
15230}
15231
15232// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15233func (asdls AzureSQLDWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
15234	return nil, false
15235}
15236
15237// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15238func (asdls AzureSQLDWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
15239	return nil, false
15240}
15241
15242// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15243func (asdls AzureSQLDWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
15244	return nil, false
15245}
15246
15247// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15248func (asdls AzureSQLDWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
15249	return nil, false
15250}
15251
15252// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15253func (asdls AzureSQLDWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
15254	return nil, false
15255}
15256
15257// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15258func (asdls AzureSQLDWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
15259	return nil, false
15260}
15261
15262// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15263func (asdls AzureSQLDWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
15264	return nil, false
15265}
15266
15267// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15268func (asdls AzureSQLDWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
15269	return nil, false
15270}
15271
15272// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15273func (asdls AzureSQLDWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
15274	return nil, false
15275}
15276
15277// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15278func (asdls AzureSQLDWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
15279	return nil, false
15280}
15281
15282// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15283func (asdls AzureSQLDWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
15284	return nil, false
15285}
15286
15287// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15288func (asdls AzureSQLDWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
15289	return nil, false
15290}
15291
15292// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15293func (asdls AzureSQLDWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
15294	return nil, false
15295}
15296
15297// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15298func (asdls AzureSQLDWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
15299	return nil, false
15300}
15301
15302// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15303func (asdls AzureSQLDWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
15304	return nil, false
15305}
15306
15307// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15308func (asdls AzureSQLDWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
15309	return nil, false
15310}
15311
15312// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15313func (asdls AzureSQLDWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
15314	return nil, false
15315}
15316
15317// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15318func (asdls AzureSQLDWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
15319	return nil, false
15320}
15321
15322// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15323func (asdls AzureSQLDWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
15324	return nil, false
15325}
15326
15327// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15328func (asdls AzureSQLDWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
15329	return nil, false
15330}
15331
15332// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15333func (asdls AzureSQLDWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
15334	return nil, false
15335}
15336
15337// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15338func (asdls AzureSQLDWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
15339	return nil, false
15340}
15341
15342// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15343func (asdls AzureSQLDWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
15344	return nil, false
15345}
15346
15347// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15348func (asdls AzureSQLDWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
15349	return &asdls, true
15350}
15351
15352// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15353func (asdls AzureSQLDWLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
15354	return nil, false
15355}
15356
15357// AsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15358func (asdls AzureSQLDWLinkedService) AsLinkedService() (*LinkedService, bool) {
15359	return nil, false
15360}
15361
15362// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService.
15363func (asdls AzureSQLDWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
15364	return &asdls, true
15365}
15366
15367// UnmarshalJSON is the custom unmarshaler for AzureSQLDWLinkedService struct.
15368func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error {
15369	var m map[string]*json.RawMessage
15370	err := json.Unmarshal(body, &m)
15371	if err != nil {
15372		return err
15373	}
15374	for k, v := range m {
15375		switch k {
15376		case "typeProperties":
15377			if v != nil {
15378				var azureSQLDWLinkedServiceTypeProperties AzureSQLDWLinkedServiceTypeProperties
15379				err = json.Unmarshal(*v, &azureSQLDWLinkedServiceTypeProperties)
15380				if err != nil {
15381					return err
15382				}
15383				asdls.AzureSQLDWLinkedServiceTypeProperties = &azureSQLDWLinkedServiceTypeProperties
15384			}
15385		default:
15386			if v != nil {
15387				var additionalProperties interface{}
15388				err = json.Unmarshal(*v, &additionalProperties)
15389				if err != nil {
15390					return err
15391				}
15392				if asdls.AdditionalProperties == nil {
15393					asdls.AdditionalProperties = make(map[string]interface{})
15394				}
15395				asdls.AdditionalProperties[k] = additionalProperties
15396			}
15397		case "connectVia":
15398			if v != nil {
15399				var connectVia IntegrationRuntimeReference
15400				err = json.Unmarshal(*v, &connectVia)
15401				if err != nil {
15402					return err
15403				}
15404				asdls.ConnectVia = &connectVia
15405			}
15406		case "description":
15407			if v != nil {
15408				var description string
15409				err = json.Unmarshal(*v, &description)
15410				if err != nil {
15411					return err
15412				}
15413				asdls.Description = &description
15414			}
15415		case "parameters":
15416			if v != nil {
15417				var parameters map[string]*ParameterSpecification
15418				err = json.Unmarshal(*v, &parameters)
15419				if err != nil {
15420					return err
15421				}
15422				asdls.Parameters = parameters
15423			}
15424		case "annotations":
15425			if v != nil {
15426				var annotations []interface{}
15427				err = json.Unmarshal(*v, &annotations)
15428				if err != nil {
15429					return err
15430				}
15431				asdls.Annotations = &annotations
15432			}
15433		case "type":
15434			if v != nil {
15435				var typeVar TypeBasicLinkedService
15436				err = json.Unmarshal(*v, &typeVar)
15437				if err != nil {
15438					return err
15439				}
15440				asdls.Type = typeVar
15441			}
15442		}
15443	}
15444
15445	return nil
15446}
15447
15448// AzureSQLDWLinkedServiceTypeProperties azure SQL Data Warehouse linked service properties.
15449type AzureSQLDWLinkedServiceTypeProperties struct {
15450	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
15451	ConnectionString interface{} `json:"connectionString,omitempty"`
15452	// ServicePrincipalID - The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string).
15453	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
15454	// ServicePrincipalKey - The key of the service principal used to authenticate against Azure SQL Data Warehouse.
15455	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
15456	// Tenant - The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
15457	Tenant interface{} `json:"tenant,omitempty"`
15458	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
15459	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
15460}
15461
15462// UnmarshalJSON is the custom unmarshaler for AzureSQLDWLinkedServiceTypeProperties struct.
15463func (asdlstp *AzureSQLDWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
15464	var m map[string]*json.RawMessage
15465	err := json.Unmarshal(body, &m)
15466	if err != nil {
15467		return err
15468	}
15469	for k, v := range m {
15470		switch k {
15471		case "connectionString":
15472			if v != nil {
15473				var connectionString interface{}
15474				err = json.Unmarshal(*v, &connectionString)
15475				if err != nil {
15476					return err
15477				}
15478				asdlstp.ConnectionString = connectionString
15479			}
15480		case "servicePrincipalId":
15481			if v != nil {
15482				var servicePrincipalID interface{}
15483				err = json.Unmarshal(*v, &servicePrincipalID)
15484				if err != nil {
15485					return err
15486				}
15487				asdlstp.ServicePrincipalID = servicePrincipalID
15488			}
15489		case "servicePrincipalKey":
15490			if v != nil {
15491				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
15492				if err != nil {
15493					return err
15494				}
15495				asdlstp.ServicePrincipalKey = servicePrincipalKey
15496			}
15497		case "tenant":
15498			if v != nil {
15499				var tenant interface{}
15500				err = json.Unmarshal(*v, &tenant)
15501				if err != nil {
15502					return err
15503				}
15504				asdlstp.Tenant = tenant
15505			}
15506		case "encryptedCredential":
15507			if v != nil {
15508				var encryptedCredential interface{}
15509				err = json.Unmarshal(*v, &encryptedCredential)
15510				if err != nil {
15511					return err
15512				}
15513				asdlstp.EncryptedCredential = encryptedCredential
15514			}
15515		}
15516	}
15517
15518	return nil
15519}
15520
15521// AzureSQLDWTableDataset the Azure SQL Data Warehouse dataset.
15522type AzureSQLDWTableDataset struct {
15523	// AzureSQLDWTableDatasetTypeProperties - Azure SQL Data Warehouse dataset properties.
15524	*AzureSQLDWTableDatasetTypeProperties `json:"typeProperties,omitempty"`
15525	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
15526	AdditionalProperties map[string]interface{} `json:""`
15527	// Description - Dataset description.
15528	Description *string `json:"description,omitempty"`
15529	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
15530	Structure interface{} `json:"structure,omitempty"`
15531	// LinkedServiceName - Linked service reference.
15532	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
15533	// Parameters - Parameters for dataset.
15534	Parameters map[string]*ParameterSpecification `json:"parameters"`
15535	// Annotations - List of tags that can be used for describing the Dataset.
15536	Annotations *[]interface{} `json:"annotations,omitempty"`
15537	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
15538	Type TypeBasicDataset `json:"type,omitempty"`
15539}
15540
15541// MarshalJSON is the custom marshaler for AzureSQLDWTableDataset.
15542func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) {
15543	asdtd.Type = TypeAzureSQLDWTable
15544	objectMap := make(map[string]interface{})
15545	if asdtd.AzureSQLDWTableDatasetTypeProperties != nil {
15546		objectMap["typeProperties"] = asdtd.AzureSQLDWTableDatasetTypeProperties
15547	}
15548	if asdtd.Description != nil {
15549		objectMap["description"] = asdtd.Description
15550	}
15551	objectMap["structure"] = asdtd.Structure
15552	if asdtd.LinkedServiceName != nil {
15553		objectMap["linkedServiceName"] = asdtd.LinkedServiceName
15554	}
15555	if asdtd.Parameters != nil {
15556		objectMap["parameters"] = asdtd.Parameters
15557	}
15558	if asdtd.Annotations != nil {
15559		objectMap["annotations"] = asdtd.Annotations
15560	}
15561	if asdtd.Type != "" {
15562		objectMap["type"] = asdtd.Type
15563	}
15564	for k, v := range asdtd.AdditionalProperties {
15565		objectMap[k] = v
15566	}
15567	return json.Marshal(objectMap)
15568}
15569
15570// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15571func (asdtd AzureSQLDWTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
15572	return nil, false
15573}
15574
15575// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15576func (asdtd AzureSQLDWTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
15577	return nil, false
15578}
15579
15580// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15581func (asdtd AzureSQLDWTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
15582	return nil, false
15583}
15584
15585// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15586func (asdtd AzureSQLDWTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
15587	return nil, false
15588}
15589
15590// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15591func (asdtd AzureSQLDWTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
15592	return nil, false
15593}
15594
15595// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15596func (asdtd AzureSQLDWTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
15597	return nil, false
15598}
15599
15600// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15601func (asdtd AzureSQLDWTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
15602	return nil, false
15603}
15604
15605// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15606func (asdtd AzureSQLDWTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
15607	return nil, false
15608}
15609
15610// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15611func (asdtd AzureSQLDWTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
15612	return nil, false
15613}
15614
15615// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15616func (asdtd AzureSQLDWTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
15617	return nil, false
15618}
15619
15620// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15621func (asdtd AzureSQLDWTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
15622	return nil, false
15623}
15624
15625// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15626func (asdtd AzureSQLDWTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
15627	return nil, false
15628}
15629
15630// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15631func (asdtd AzureSQLDWTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
15632	return nil, false
15633}
15634
15635// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15636func (asdtd AzureSQLDWTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
15637	return nil, false
15638}
15639
15640// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15641func (asdtd AzureSQLDWTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
15642	return nil, false
15643}
15644
15645// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15646func (asdtd AzureSQLDWTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
15647	return nil, false
15648}
15649
15650// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15651func (asdtd AzureSQLDWTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
15652	return nil, false
15653}
15654
15655// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15656func (asdtd AzureSQLDWTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
15657	return nil, false
15658}
15659
15660// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15661func (asdtd AzureSQLDWTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
15662	return nil, false
15663}
15664
15665// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15666func (asdtd AzureSQLDWTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
15667	return nil, false
15668}
15669
15670// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15671func (asdtd AzureSQLDWTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
15672	return nil, false
15673}
15674
15675// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15676func (asdtd AzureSQLDWTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
15677	return nil, false
15678}
15679
15680// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15681func (asdtd AzureSQLDWTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
15682	return nil, false
15683}
15684
15685// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15686func (asdtd AzureSQLDWTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
15687	return nil, false
15688}
15689
15690// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15691func (asdtd AzureSQLDWTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
15692	return nil, false
15693}
15694
15695// AsDrillTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15696func (asdtd AzureSQLDWTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
15697	return nil, false
15698}
15699
15700// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15701func (asdtd AzureSQLDWTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
15702	return nil, false
15703}
15704
15705// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15706func (asdtd AzureSQLDWTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
15707	return nil, false
15708}
15709
15710// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15711func (asdtd AzureSQLDWTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
15712	return nil, false
15713}
15714
15715// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15716func (asdtd AzureSQLDWTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
15717	return nil, false
15718}
15719
15720// AsHTTPDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15721func (asdtd AzureSQLDWTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
15722	return nil, false
15723}
15724
15725// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15726func (asdtd AzureSQLDWTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
15727	return nil, false
15728}
15729
15730// AsWebTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15731func (asdtd AzureSQLDWTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
15732	return nil, false
15733}
15734
15735// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15736func (asdtd AzureSQLDWTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
15737	return nil, false
15738}
15739
15740// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15741func (asdtd AzureSQLDWTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
15742	return nil, false
15743}
15744
15745// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15746func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
15747	return nil, false
15748}
15749
15750// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15751func (asdtd AzureSQLDWTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
15752	return nil, false
15753}
15754
15755// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15756func (asdtd AzureSQLDWTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
15757	return nil, false
15758}
15759
15760// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15761func (asdtd AzureSQLDWTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
15762	return nil, false
15763}
15764
15765// AsOracleTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15766func (asdtd AzureSQLDWTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
15767	return nil, false
15768}
15769
15770// AsODataResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15771func (asdtd AzureSQLDWTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
15772	return nil, false
15773}
15774
15775// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15776func (asdtd AzureSQLDWTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
15777	return nil, false
15778}
15779
15780// AsFileShareDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15781func (asdtd AzureSQLDWTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
15782	return nil, false
15783}
15784
15785// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15786func (asdtd AzureSQLDWTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
15787	return nil, false
15788}
15789
15790// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15791func (asdtd AzureSQLDWTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
15792	return nil, false
15793}
15794
15795// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15796func (asdtd AzureSQLDWTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
15797	return nil, false
15798}
15799
15800// AsCustomDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15801func (asdtd AzureSQLDWTableDataset) AsCustomDataset() (*CustomDataset, bool) {
15802	return nil, false
15803}
15804
15805// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15806func (asdtd AzureSQLDWTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
15807	return nil, false
15808}
15809
15810// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15811func (asdtd AzureSQLDWTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
15812	return &asdtd, true
15813}
15814
15815// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15816func (asdtd AzureSQLDWTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
15817	return nil, false
15818}
15819
15820// AsAzureTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15821func (asdtd AzureSQLDWTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
15822	return nil, false
15823}
15824
15825// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15826func (asdtd AzureSQLDWTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
15827	return nil, false
15828}
15829
15830// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15831func (asdtd AzureSQLDWTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
15832	return nil, false
15833}
15834
15835// AsDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15836func (asdtd AzureSQLDWTableDataset) AsDataset() (*Dataset, bool) {
15837	return nil, false
15838}
15839
15840// AsBasicDataset is the BasicDataset implementation for AzureSQLDWTableDataset.
15841func (asdtd AzureSQLDWTableDataset) AsBasicDataset() (BasicDataset, bool) {
15842	return &asdtd, true
15843}
15844
15845// UnmarshalJSON is the custom unmarshaler for AzureSQLDWTableDataset struct.
15846func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error {
15847	var m map[string]*json.RawMessage
15848	err := json.Unmarshal(body, &m)
15849	if err != nil {
15850		return err
15851	}
15852	for k, v := range m {
15853		switch k {
15854		case "typeProperties":
15855			if v != nil {
15856				var azureSQLDWTableDatasetTypeProperties AzureSQLDWTableDatasetTypeProperties
15857				err = json.Unmarshal(*v, &azureSQLDWTableDatasetTypeProperties)
15858				if err != nil {
15859					return err
15860				}
15861				asdtd.AzureSQLDWTableDatasetTypeProperties = &azureSQLDWTableDatasetTypeProperties
15862			}
15863		default:
15864			if v != nil {
15865				var additionalProperties interface{}
15866				err = json.Unmarshal(*v, &additionalProperties)
15867				if err != nil {
15868					return err
15869				}
15870				if asdtd.AdditionalProperties == nil {
15871					asdtd.AdditionalProperties = make(map[string]interface{})
15872				}
15873				asdtd.AdditionalProperties[k] = additionalProperties
15874			}
15875		case "description":
15876			if v != nil {
15877				var description string
15878				err = json.Unmarshal(*v, &description)
15879				if err != nil {
15880					return err
15881				}
15882				asdtd.Description = &description
15883			}
15884		case "structure":
15885			if v != nil {
15886				var structure interface{}
15887				err = json.Unmarshal(*v, &structure)
15888				if err != nil {
15889					return err
15890				}
15891				asdtd.Structure = structure
15892			}
15893		case "linkedServiceName":
15894			if v != nil {
15895				var linkedServiceName LinkedServiceReference
15896				err = json.Unmarshal(*v, &linkedServiceName)
15897				if err != nil {
15898					return err
15899				}
15900				asdtd.LinkedServiceName = &linkedServiceName
15901			}
15902		case "parameters":
15903			if v != nil {
15904				var parameters map[string]*ParameterSpecification
15905				err = json.Unmarshal(*v, &parameters)
15906				if err != nil {
15907					return err
15908				}
15909				asdtd.Parameters = parameters
15910			}
15911		case "annotations":
15912			if v != nil {
15913				var annotations []interface{}
15914				err = json.Unmarshal(*v, &annotations)
15915				if err != nil {
15916					return err
15917				}
15918				asdtd.Annotations = &annotations
15919			}
15920		case "type":
15921			if v != nil {
15922				var typeVar TypeBasicDataset
15923				err = json.Unmarshal(*v, &typeVar)
15924				if err != nil {
15925					return err
15926				}
15927				asdtd.Type = typeVar
15928			}
15929		}
15930	}
15931
15932	return nil
15933}
15934
15935// AzureSQLDWTableDatasetTypeProperties azure SQL Data Warehouse dataset properties.
15936type AzureSQLDWTableDatasetTypeProperties struct {
15937	// TableName - The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string).
15938	TableName interface{} `json:"tableName,omitempty"`
15939}
15940
15941// AzureSQLTableDataset the Azure SQL Server database dataset.
15942type AzureSQLTableDataset struct {
15943	// AzureSQLTableDatasetTypeProperties - Azure SQL dataset properties.
15944	*AzureSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"`
15945	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
15946	AdditionalProperties map[string]interface{} `json:""`
15947	// Description - Dataset description.
15948	Description *string `json:"description,omitempty"`
15949	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
15950	Structure interface{} `json:"structure,omitempty"`
15951	// LinkedServiceName - Linked service reference.
15952	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
15953	// Parameters - Parameters for dataset.
15954	Parameters map[string]*ParameterSpecification `json:"parameters"`
15955	// Annotations - List of tags that can be used for describing the Dataset.
15956	Annotations *[]interface{} `json:"annotations,omitempty"`
15957	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
15958	Type TypeBasicDataset `json:"type,omitempty"`
15959}
15960
15961// MarshalJSON is the custom marshaler for AzureSQLTableDataset.
15962func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) {
15963	astd.Type = TypeAzureSQLTable
15964	objectMap := make(map[string]interface{})
15965	if astd.AzureSQLTableDatasetTypeProperties != nil {
15966		objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties
15967	}
15968	if astd.Description != nil {
15969		objectMap["description"] = astd.Description
15970	}
15971	objectMap["structure"] = astd.Structure
15972	if astd.LinkedServiceName != nil {
15973		objectMap["linkedServiceName"] = astd.LinkedServiceName
15974	}
15975	if astd.Parameters != nil {
15976		objectMap["parameters"] = astd.Parameters
15977	}
15978	if astd.Annotations != nil {
15979		objectMap["annotations"] = astd.Annotations
15980	}
15981	if astd.Type != "" {
15982		objectMap["type"] = astd.Type
15983	}
15984	for k, v := range astd.AdditionalProperties {
15985		objectMap[k] = v
15986	}
15987	return json.Marshal(objectMap)
15988}
15989
15990// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
15991func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
15992	return nil, false
15993}
15994
15995// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
15996func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
15997	return nil, false
15998}
15999
16000// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16001func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
16002	return nil, false
16003}
16004
16005// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16006func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
16007	return nil, false
16008}
16009
16010// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16011func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
16012	return nil, false
16013}
16014
16015// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16016func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
16017	return nil, false
16018}
16019
16020// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16021func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
16022	return nil, false
16023}
16024
16025// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16026func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
16027	return nil, false
16028}
16029
16030// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16031func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
16032	return nil, false
16033}
16034
16035// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16036func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
16037	return nil, false
16038}
16039
16040// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16041func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
16042	return nil, false
16043}
16044
16045// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16046func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
16047	return nil, false
16048}
16049
16050// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16051func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
16052	return nil, false
16053}
16054
16055// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16056func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
16057	return nil, false
16058}
16059
16060// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16061func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
16062	return nil, false
16063}
16064
16065// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16066func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
16067	return nil, false
16068}
16069
16070// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16071func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
16072	return nil, false
16073}
16074
16075// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16076func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
16077	return nil, false
16078}
16079
16080// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16081func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
16082	return nil, false
16083}
16084
16085// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16086func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
16087	return nil, false
16088}
16089
16090// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16091func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
16092	return nil, false
16093}
16094
16095// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16096func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
16097	return nil, false
16098}
16099
16100// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16101func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
16102	return nil, false
16103}
16104
16105// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16106func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
16107	return nil, false
16108}
16109
16110// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16111func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
16112	return nil, false
16113}
16114
16115// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16116func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
16117	return nil, false
16118}
16119
16120// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16121func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
16122	return nil, false
16123}
16124
16125// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16126func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
16127	return nil, false
16128}
16129
16130// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16131func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
16132	return nil, false
16133}
16134
16135// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16136func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
16137	return nil, false
16138}
16139
16140// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset.
16141func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
16142	return nil, false
16143}
16144
16145// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset.
16146func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
16147	return nil, false
16148}
16149
16150// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16151func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
16152	return nil, false
16153}
16154
16155// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16156func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
16157	return nil, false
16158}
16159
16160// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
16161func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
16162	return nil, false
16163}
16164
16165// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
16166func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
16167	return nil, false
16168}
16169
16170// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset.
16171func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
16172	return nil, false
16173}
16174
16175// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16176func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
16177	return nil, false
16178}
16179
16180// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16181func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
16182	return nil, false
16183}
16184
16185// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16186func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
16187	return nil, false
16188}
16189
16190// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset.
16191func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
16192	return nil, false
16193}
16194
16195// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
16196func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
16197	return nil, false
16198}
16199
16200// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset.
16201func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
16202	return nil, false
16203}
16204
16205// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset.
16206func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
16207	return nil, false
16208}
16209
16210// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset.
16211func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
16212	return nil, false
16213}
16214
16215// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset.
16216func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
16217	return nil, false
16218}
16219
16220// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset.
16221func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) {
16222	return nil, false
16223}
16224
16225// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16226func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
16227	return nil, false
16228}
16229
16230// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16231func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
16232	return nil, false
16233}
16234
16235// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16236func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
16237	return &astd, true
16238}
16239
16240// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset.
16241func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
16242	return nil, false
16243}
16244
16245// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset.
16246func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
16247	return nil, false
16248}
16249
16250// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset.
16251func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
16252	return nil, false
16253}
16254
16255// AsDataset is the BasicDataset implementation for AzureSQLTableDataset.
16256func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) {
16257	return nil, false
16258}
16259
16260// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset.
16261func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) {
16262	return &astd, true
16263}
16264
16265// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct.
16266func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error {
16267	var m map[string]*json.RawMessage
16268	err := json.Unmarshal(body, &m)
16269	if err != nil {
16270		return err
16271	}
16272	for k, v := range m {
16273		switch k {
16274		case "typeProperties":
16275			if v != nil {
16276				var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties
16277				err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties)
16278				if err != nil {
16279					return err
16280				}
16281				astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties
16282			}
16283		default:
16284			if v != nil {
16285				var additionalProperties interface{}
16286				err = json.Unmarshal(*v, &additionalProperties)
16287				if err != nil {
16288					return err
16289				}
16290				if astd.AdditionalProperties == nil {
16291					astd.AdditionalProperties = make(map[string]interface{})
16292				}
16293				astd.AdditionalProperties[k] = additionalProperties
16294			}
16295		case "description":
16296			if v != nil {
16297				var description string
16298				err = json.Unmarshal(*v, &description)
16299				if err != nil {
16300					return err
16301				}
16302				astd.Description = &description
16303			}
16304		case "structure":
16305			if v != nil {
16306				var structure interface{}
16307				err = json.Unmarshal(*v, &structure)
16308				if err != nil {
16309					return err
16310				}
16311				astd.Structure = structure
16312			}
16313		case "linkedServiceName":
16314			if v != nil {
16315				var linkedServiceName LinkedServiceReference
16316				err = json.Unmarshal(*v, &linkedServiceName)
16317				if err != nil {
16318					return err
16319				}
16320				astd.LinkedServiceName = &linkedServiceName
16321			}
16322		case "parameters":
16323			if v != nil {
16324				var parameters map[string]*ParameterSpecification
16325				err = json.Unmarshal(*v, &parameters)
16326				if err != nil {
16327					return err
16328				}
16329				astd.Parameters = parameters
16330			}
16331		case "annotations":
16332			if v != nil {
16333				var annotations []interface{}
16334				err = json.Unmarshal(*v, &annotations)
16335				if err != nil {
16336					return err
16337				}
16338				astd.Annotations = &annotations
16339			}
16340		case "type":
16341			if v != nil {
16342				var typeVar TypeBasicDataset
16343				err = json.Unmarshal(*v, &typeVar)
16344				if err != nil {
16345					return err
16346				}
16347				astd.Type = typeVar
16348			}
16349		}
16350	}
16351
16352	return nil
16353}
16354
16355// AzureSQLTableDatasetTypeProperties azure SQL dataset properties.
16356type AzureSQLTableDatasetTypeProperties struct {
16357	// TableName - The table name of the Azure SQL database. Type: string (or Expression with resultType string).
16358	TableName interface{} `json:"tableName,omitempty"`
16359}
16360
16361// AzureStorageLinkedService the storage account linked service.
16362type AzureStorageLinkedService struct {
16363	// AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties.
16364	*AzureStorageLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
16365	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
16366	AdditionalProperties map[string]interface{} `json:""`
16367	// ConnectVia - The integration runtime reference.
16368	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
16369	// Description - Linked service description.
16370	Description *string `json:"description,omitempty"`
16371	// Parameters - Parameters for linked service.
16372	Parameters map[string]*ParameterSpecification `json:"parameters"`
16373	// Annotations - List of tags that can be used for describing the Dataset.
16374	Annotations *[]interface{} `json:"annotations,omitempty"`
16375	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
16376	Type TypeBasicLinkedService `json:"type,omitempty"`
16377}
16378
16379// MarshalJSON is the custom marshaler for AzureStorageLinkedService.
16380func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) {
16381	asls.Type = TypeAzureStorage
16382	objectMap := make(map[string]interface{})
16383	if asls.AzureStorageLinkedServiceTypeProperties != nil {
16384		objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties
16385	}
16386	if asls.ConnectVia != nil {
16387		objectMap["connectVia"] = asls.ConnectVia
16388	}
16389	if asls.Description != nil {
16390		objectMap["description"] = asls.Description
16391	}
16392	if asls.Parameters != nil {
16393		objectMap["parameters"] = asls.Parameters
16394	}
16395	if asls.Annotations != nil {
16396		objectMap["annotations"] = asls.Annotations
16397	}
16398	if asls.Type != "" {
16399		objectMap["type"] = asls.Type
16400	}
16401	for k, v := range asls.AdditionalProperties {
16402		objectMap[k] = v
16403	}
16404	return json.Marshal(objectMap)
16405}
16406
16407// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16408func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
16409	return nil, false
16410}
16411
16412// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16413func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
16414	return nil, false
16415}
16416
16417// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16418func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
16419	return nil, false
16420}
16421
16422// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16423func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
16424	return nil, false
16425}
16426
16427// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16428func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
16429	return nil, false
16430}
16431
16432// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16433func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
16434	return nil, false
16435}
16436
16437// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16438func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
16439	return nil, false
16440}
16441
16442// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16443func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
16444	return nil, false
16445}
16446
16447// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16448func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
16449	return nil, false
16450}
16451
16452// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16453func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
16454	return nil, false
16455}
16456
16457// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16458func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
16459	return nil, false
16460}
16461
16462// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16463func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
16464	return nil, false
16465}
16466
16467// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16468func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
16469	return nil, false
16470}
16471
16472// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16473func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
16474	return nil, false
16475}
16476
16477// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16478func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
16479	return nil, false
16480}
16481
16482// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16483func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
16484	return nil, false
16485}
16486
16487// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16488func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
16489	return nil, false
16490}
16491
16492// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16493func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
16494	return nil, false
16495}
16496
16497// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16498func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
16499	return nil, false
16500}
16501
16502// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16503func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
16504	return nil, false
16505}
16506
16507// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16508func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
16509	return nil, false
16510}
16511
16512// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16513func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
16514	return nil, false
16515}
16516
16517// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16518func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
16519	return nil, false
16520}
16521
16522// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16523func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
16524	return nil, false
16525}
16526
16527// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16528func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
16529	return nil, false
16530}
16531
16532// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16533func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
16534	return nil, false
16535}
16536
16537// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16538func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
16539	return nil, false
16540}
16541
16542// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16543func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
16544	return nil, false
16545}
16546
16547// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16548func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
16549	return nil, false
16550}
16551
16552// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16553func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
16554	return nil, false
16555}
16556
16557// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16558func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
16559	return nil, false
16560}
16561
16562// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16563func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
16564	return nil, false
16565}
16566
16567// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16568func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
16569	return nil, false
16570}
16571
16572// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16573func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
16574	return nil, false
16575}
16576
16577// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16578func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
16579	return nil, false
16580}
16581
16582// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16583func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
16584	return nil, false
16585}
16586
16587// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16588func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
16589	return nil, false
16590}
16591
16592// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16593func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
16594	return nil, false
16595}
16596
16597// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16598func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
16599	return nil, false
16600}
16601
16602// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16603func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
16604	return nil, false
16605}
16606
16607// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16608func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
16609	return nil, false
16610}
16611
16612// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16613func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
16614	return nil, false
16615}
16616
16617// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16618func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
16619	return nil, false
16620}
16621
16622// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16623func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
16624	return nil, false
16625}
16626
16627// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16628func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
16629	return nil, false
16630}
16631
16632// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16633func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
16634	return nil, false
16635}
16636
16637// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16638func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
16639	return nil, false
16640}
16641
16642// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16643func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
16644	return nil, false
16645}
16646
16647// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16648func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
16649	return nil, false
16650}
16651
16652// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16653func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
16654	return nil, false
16655}
16656
16657// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16658func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
16659	return nil, false
16660}
16661
16662// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16663func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
16664	return nil, false
16665}
16666
16667// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16668func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
16669	return nil, false
16670}
16671
16672// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16673func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
16674	return nil, false
16675}
16676
16677// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16678func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
16679	return nil, false
16680}
16681
16682// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16683func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
16684	return nil, false
16685}
16686
16687// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16688func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
16689	return nil, false
16690}
16691
16692// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16693func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
16694	return nil, false
16695}
16696
16697// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16698func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
16699	return nil, false
16700}
16701
16702// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16703func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
16704	return nil, false
16705}
16706
16707// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16708func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
16709	return nil, false
16710}
16711
16712// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16713func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
16714	return nil, false
16715}
16716
16717// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16718func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
16719	return nil, false
16720}
16721
16722// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16723func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
16724	return nil, false
16725}
16726
16727// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16728func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
16729	return nil, false
16730}
16731
16732// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16733func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
16734	return nil, false
16735}
16736
16737// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16738func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
16739	return nil, false
16740}
16741
16742// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16743func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
16744	return nil, false
16745}
16746
16747// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16748func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
16749	return nil, false
16750}
16751
16752// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16753func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
16754	return &asls, true
16755}
16756
16757// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16758func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) {
16759	return nil, false
16760}
16761
16762// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService.
16763func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
16764	return &asls, true
16765}
16766
16767// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct.
16768func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error {
16769	var m map[string]*json.RawMessage
16770	err := json.Unmarshal(body, &m)
16771	if err != nil {
16772		return err
16773	}
16774	for k, v := range m {
16775		switch k {
16776		case "typeProperties":
16777			if v != nil {
16778				var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties
16779				err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties)
16780				if err != nil {
16781					return err
16782				}
16783				asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties
16784			}
16785		default:
16786			if v != nil {
16787				var additionalProperties interface{}
16788				err = json.Unmarshal(*v, &additionalProperties)
16789				if err != nil {
16790					return err
16791				}
16792				if asls.AdditionalProperties == nil {
16793					asls.AdditionalProperties = make(map[string]interface{})
16794				}
16795				asls.AdditionalProperties[k] = additionalProperties
16796			}
16797		case "connectVia":
16798			if v != nil {
16799				var connectVia IntegrationRuntimeReference
16800				err = json.Unmarshal(*v, &connectVia)
16801				if err != nil {
16802					return err
16803				}
16804				asls.ConnectVia = &connectVia
16805			}
16806		case "description":
16807			if v != nil {
16808				var description string
16809				err = json.Unmarshal(*v, &description)
16810				if err != nil {
16811					return err
16812				}
16813				asls.Description = &description
16814			}
16815		case "parameters":
16816			if v != nil {
16817				var parameters map[string]*ParameterSpecification
16818				err = json.Unmarshal(*v, &parameters)
16819				if err != nil {
16820					return err
16821				}
16822				asls.Parameters = parameters
16823			}
16824		case "annotations":
16825			if v != nil {
16826				var annotations []interface{}
16827				err = json.Unmarshal(*v, &annotations)
16828				if err != nil {
16829					return err
16830				}
16831				asls.Annotations = &annotations
16832			}
16833		case "type":
16834			if v != nil {
16835				var typeVar TypeBasicLinkedService
16836				err = json.Unmarshal(*v, &typeVar)
16837				if err != nil {
16838					return err
16839				}
16840				asls.Type = typeVar
16841			}
16842		}
16843	}
16844
16845	return nil
16846}
16847
16848// AzureStorageLinkedServiceTypeProperties azure Storage linked service properties.
16849type AzureStorageLinkedServiceTypeProperties struct {
16850	// ConnectionString - The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.
16851	ConnectionString interface{} `json:"connectionString,omitempty"`
16852	// SasURI - SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property.
16853	SasURI BasicSecretBase `json:"sasUri,omitempty"`
16854	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
16855	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
16856}
16857
16858// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedServiceTypeProperties struct.
16859func (aslstp *AzureStorageLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
16860	var m map[string]*json.RawMessage
16861	err := json.Unmarshal(body, &m)
16862	if err != nil {
16863		return err
16864	}
16865	for k, v := range m {
16866		switch k {
16867		case "connectionString":
16868			if v != nil {
16869				var connectionString interface{}
16870				err = json.Unmarshal(*v, &connectionString)
16871				if err != nil {
16872					return err
16873				}
16874				aslstp.ConnectionString = connectionString
16875			}
16876		case "sasUri":
16877			if v != nil {
16878				sasURI, err := unmarshalBasicSecretBase(*v)
16879				if err != nil {
16880					return err
16881				}
16882				aslstp.SasURI = sasURI
16883			}
16884		case "encryptedCredential":
16885			if v != nil {
16886				var encryptedCredential interface{}
16887				err = json.Unmarshal(*v, &encryptedCredential)
16888				if err != nil {
16889					return err
16890				}
16891				aslstp.EncryptedCredential = encryptedCredential
16892			}
16893		}
16894	}
16895
16896	return nil
16897}
16898
16899// AzureTableDataset the Azure Table storage dataset.
16900type AzureTableDataset struct {
16901	// AzureTableDatasetTypeProperties - Azure Table dataset properties.
16902	*AzureTableDatasetTypeProperties `json:"typeProperties,omitempty"`
16903	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
16904	AdditionalProperties map[string]interface{} `json:""`
16905	// Description - Dataset description.
16906	Description *string `json:"description,omitempty"`
16907	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
16908	Structure interface{} `json:"structure,omitempty"`
16909	// LinkedServiceName - Linked service reference.
16910	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
16911	// Parameters - Parameters for dataset.
16912	Parameters map[string]*ParameterSpecification `json:"parameters"`
16913	// Annotations - List of tags that can be used for describing the Dataset.
16914	Annotations *[]interface{} `json:"annotations,omitempty"`
16915	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
16916	Type TypeBasicDataset `json:"type,omitempty"`
16917}
16918
16919// MarshalJSON is the custom marshaler for AzureTableDataset.
16920func (atd AzureTableDataset) MarshalJSON() ([]byte, error) {
16921	atd.Type = TypeAzureTable
16922	objectMap := make(map[string]interface{})
16923	if atd.AzureTableDatasetTypeProperties != nil {
16924		objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties
16925	}
16926	if atd.Description != nil {
16927		objectMap["description"] = atd.Description
16928	}
16929	objectMap["structure"] = atd.Structure
16930	if atd.LinkedServiceName != nil {
16931		objectMap["linkedServiceName"] = atd.LinkedServiceName
16932	}
16933	if atd.Parameters != nil {
16934		objectMap["parameters"] = atd.Parameters
16935	}
16936	if atd.Annotations != nil {
16937		objectMap["annotations"] = atd.Annotations
16938	}
16939	if atd.Type != "" {
16940		objectMap["type"] = atd.Type
16941	}
16942	for k, v := range atd.AdditionalProperties {
16943		objectMap[k] = v
16944	}
16945	return json.Marshal(objectMap)
16946}
16947
16948// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset.
16949func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
16950	return nil, false
16951}
16952
16953// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset.
16954func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
16955	return nil, false
16956}
16957
16958// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset.
16959func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
16960	return nil, false
16961}
16962
16963// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset.
16964func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
16965	return nil, false
16966}
16967
16968// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset.
16969func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
16970	return nil, false
16971}
16972
16973// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset.
16974func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
16975	return nil, false
16976}
16977
16978// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset.
16979func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
16980	return nil, false
16981}
16982
16983// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset.
16984func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
16985	return nil, false
16986}
16987
16988// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset.
16989func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
16990	return nil, false
16991}
16992
16993// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset.
16994func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
16995	return nil, false
16996}
16997
16998// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset.
16999func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
17000	return nil, false
17001}
17002
17003// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset.
17004func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
17005	return nil, false
17006}
17007
17008// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset.
17009func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
17010	return nil, false
17011}
17012
17013// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset.
17014func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
17015	return nil, false
17016}
17017
17018// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset.
17019func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
17020	return nil, false
17021}
17022
17023// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset.
17024func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
17025	return nil, false
17026}
17027
17028// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset.
17029func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
17030	return nil, false
17031}
17032
17033// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset.
17034func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
17035	return nil, false
17036}
17037
17038// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset.
17039func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
17040	return nil, false
17041}
17042
17043// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset.
17044func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
17045	return nil, false
17046}
17047
17048// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset.
17049func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
17050	return nil, false
17051}
17052
17053// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset.
17054func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
17055	return nil, false
17056}
17057
17058// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset.
17059func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
17060	return nil, false
17061}
17062
17063// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset.
17064func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
17065	return nil, false
17066}
17067
17068// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset.
17069func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
17070	return nil, false
17071}
17072
17073// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset.
17074func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
17075	return nil, false
17076}
17077
17078// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset.
17079func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
17080	return nil, false
17081}
17082
17083// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset.
17084func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
17085	return nil, false
17086}
17087
17088// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
17089func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
17090	return nil, false
17091}
17092
17093// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset.
17094func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
17095	return nil, false
17096}
17097
17098// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset.
17099func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
17100	return nil, false
17101}
17102
17103// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset.
17104func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
17105	return nil, false
17106}
17107
17108// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset.
17109func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
17110	return nil, false
17111}
17112
17113// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset.
17114func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
17115	return nil, false
17116}
17117
17118// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset.
17119func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
17120	return nil, false
17121}
17122
17123// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset.
17124func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
17125	return nil, false
17126}
17127
17128// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset.
17129func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
17130	return nil, false
17131}
17132
17133// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset.
17134func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
17135	return nil, false
17136}
17137
17138// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset.
17139func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
17140	return nil, false
17141}
17142
17143// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset.
17144func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
17145	return nil, false
17146}
17147
17148// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset.
17149func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
17150	return nil, false
17151}
17152
17153// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
17154func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
17155	return nil, false
17156}
17157
17158// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset.
17159func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
17160	return nil, false
17161}
17162
17163// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset.
17164func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
17165	return nil, false
17166}
17167
17168// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset.
17169func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
17170	return nil, false
17171}
17172
17173// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset.
17174func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
17175	return nil, false
17176}
17177
17178// AsCustomDataset is the BasicDataset implementation for AzureTableDataset.
17179func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) {
17180	return nil, false
17181}
17182
17183// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset.
17184func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
17185	return nil, false
17186}
17187
17188// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset.
17189func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
17190	return nil, false
17191}
17192
17193// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset.
17194func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
17195	return nil, false
17196}
17197
17198// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset.
17199func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
17200	return &atd, true
17201}
17202
17203// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset.
17204func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
17205	return nil, false
17206}
17207
17208// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset.
17209func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
17210	return nil, false
17211}
17212
17213// AsDataset is the BasicDataset implementation for AzureTableDataset.
17214func (atd AzureTableDataset) AsDataset() (*Dataset, bool) {
17215	return nil, false
17216}
17217
17218// AsBasicDataset is the BasicDataset implementation for AzureTableDataset.
17219func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) {
17220	return &atd, true
17221}
17222
17223// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct.
17224func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error {
17225	var m map[string]*json.RawMessage
17226	err := json.Unmarshal(body, &m)
17227	if err != nil {
17228		return err
17229	}
17230	for k, v := range m {
17231		switch k {
17232		case "typeProperties":
17233			if v != nil {
17234				var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties
17235				err = json.Unmarshal(*v, &azureTableDatasetTypeProperties)
17236				if err != nil {
17237					return err
17238				}
17239				atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties
17240			}
17241		default:
17242			if v != nil {
17243				var additionalProperties interface{}
17244				err = json.Unmarshal(*v, &additionalProperties)
17245				if err != nil {
17246					return err
17247				}
17248				if atd.AdditionalProperties == nil {
17249					atd.AdditionalProperties = make(map[string]interface{})
17250				}
17251				atd.AdditionalProperties[k] = additionalProperties
17252			}
17253		case "description":
17254			if v != nil {
17255				var description string
17256				err = json.Unmarshal(*v, &description)
17257				if err != nil {
17258					return err
17259				}
17260				atd.Description = &description
17261			}
17262		case "structure":
17263			if v != nil {
17264				var structure interface{}
17265				err = json.Unmarshal(*v, &structure)
17266				if err != nil {
17267					return err
17268				}
17269				atd.Structure = structure
17270			}
17271		case "linkedServiceName":
17272			if v != nil {
17273				var linkedServiceName LinkedServiceReference
17274				err = json.Unmarshal(*v, &linkedServiceName)
17275				if err != nil {
17276					return err
17277				}
17278				atd.LinkedServiceName = &linkedServiceName
17279			}
17280		case "parameters":
17281			if v != nil {
17282				var parameters map[string]*ParameterSpecification
17283				err = json.Unmarshal(*v, &parameters)
17284				if err != nil {
17285					return err
17286				}
17287				atd.Parameters = parameters
17288			}
17289		case "annotations":
17290			if v != nil {
17291				var annotations []interface{}
17292				err = json.Unmarshal(*v, &annotations)
17293				if err != nil {
17294					return err
17295				}
17296				atd.Annotations = &annotations
17297			}
17298		case "type":
17299			if v != nil {
17300				var typeVar TypeBasicDataset
17301				err = json.Unmarshal(*v, &typeVar)
17302				if err != nil {
17303					return err
17304				}
17305				atd.Type = typeVar
17306			}
17307		}
17308	}
17309
17310	return nil
17311}
17312
17313// AzureTableDatasetTypeProperties azure Table dataset properties.
17314type AzureTableDatasetTypeProperties struct {
17315	// TableName - The table name of the Azure Table storage. Type: string (or Expression with resultType string).
17316	TableName interface{} `json:"tableName,omitempty"`
17317}
17318
17319// AzureTableSink a copy activity Azure Table sink.
17320type AzureTableSink struct {
17321	// AzureTableDefaultPartitionKeyValue - Azure Table default partition key value. Type: string (or Expression with resultType string).
17322	AzureTableDefaultPartitionKeyValue interface{} `json:"azureTableDefaultPartitionKeyValue,omitempty"`
17323	// AzureTablePartitionKeyName - Azure Table partition key name. Type: string (or Expression with resultType string).
17324	AzureTablePartitionKeyName interface{} `json:"azureTablePartitionKeyName,omitempty"`
17325	// AzureTableRowKeyName - Azure Table row key name. Type: string (or Expression with resultType string).
17326	AzureTableRowKeyName interface{} `json:"azureTableRowKeyName,omitempty"`
17327	// AzureTableInsertType - Azure Table insert type. Type: string (or Expression with resultType string).
17328	AzureTableInsertType interface{} `json:"azureTableInsertType,omitempty"`
17329	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
17330	AdditionalProperties map[string]interface{} `json:""`
17331	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
17332	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
17333	// 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])).
17334	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
17335	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
17336	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
17337	// 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])).
17338	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
17339	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
17340	Type TypeBasicCopySink `json:"type,omitempty"`
17341}
17342
17343// MarshalJSON is the custom marshaler for AzureTableSink.
17344func (ats AzureTableSink) MarshalJSON() ([]byte, error) {
17345	ats.Type = TypeAzureTableSink
17346	objectMap := make(map[string]interface{})
17347	objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue
17348	objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName
17349	objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName
17350	objectMap["azureTableInsertType"] = ats.AzureTableInsertType
17351	objectMap["writeBatchSize"] = ats.WriteBatchSize
17352	objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout
17353	objectMap["sinkRetryCount"] = ats.SinkRetryCount
17354	objectMap["sinkRetryWait"] = ats.SinkRetryWait
17355	if ats.Type != "" {
17356		objectMap["type"] = ats.Type
17357	}
17358	for k, v := range ats.AdditionalProperties {
17359		objectMap[k] = v
17360	}
17361	return json.Marshal(objectMap)
17362}
17363
17364// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink.
17365func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) {
17366	return nil, false
17367}
17368
17369// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink.
17370func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) {
17371	return nil, false
17372}
17373
17374// AsOdbcSink is the BasicCopySink implementation for AzureTableSink.
17375func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) {
17376	return nil, false
17377}
17378
17379// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink.
17380func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
17381	return nil, false
17382}
17383
17384// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink.
17385func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
17386	return nil, false
17387}
17388
17389// AsOracleSink is the BasicCopySink implementation for AzureTableSink.
17390func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) {
17391	return nil, false
17392}
17393
17394// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink.
17395func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) {
17396	return nil, false
17397}
17398
17399// AsSQLSink is the BasicCopySink implementation for AzureTableSink.
17400func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) {
17401	return nil, false
17402}
17403
17404// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink.
17405func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
17406	return nil, false
17407}
17408
17409// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink.
17410func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) {
17411	return nil, false
17412}
17413
17414// AsBlobSink is the BasicCopySink implementation for AzureTableSink.
17415func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) {
17416	return nil, false
17417}
17418
17419// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink.
17420func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) {
17421	return &ats, true
17422}
17423
17424// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink.
17425func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
17426	return nil, false
17427}
17428
17429// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink.
17430func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
17431	return nil, false
17432}
17433
17434// AsCopySink is the BasicCopySink implementation for AzureTableSink.
17435func (ats AzureTableSink) AsCopySink() (*CopySink, bool) {
17436	return nil, false
17437}
17438
17439// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink.
17440func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) {
17441	return &ats, true
17442}
17443
17444// AzureTableSource a copy activity Azure Table source.
17445type AzureTableSource struct {
17446	// AzureTableSourceQuery - Azure Table source query. Type: string (or Expression with resultType string).
17447	AzureTableSourceQuery interface{} `json:"azureTableSourceQuery,omitempty"`
17448	// AzureTableSourceIgnoreTableNotFound - Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean).
17449	AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"`
17450	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
17451	AdditionalProperties map[string]interface{} `json:""`
17452	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
17453	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
17454	// 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])).
17455	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
17456	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
17457	Type TypeBasicCopySource `json:"type,omitempty"`
17458}
17459
17460// MarshalJSON is the custom marshaler for AzureTableSource.
17461func (ats AzureTableSource) MarshalJSON() ([]byte, error) {
17462	ats.Type = TypeAzureTableSource
17463	objectMap := make(map[string]interface{})
17464	objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery
17465	objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound
17466	objectMap["sourceRetryCount"] = ats.SourceRetryCount
17467	objectMap["sourceRetryWait"] = ats.SourceRetryWait
17468	if ats.Type != "" {
17469		objectMap["type"] = ats.Type
17470	}
17471	for k, v := range ats.AdditionalProperties {
17472		objectMap[k] = v
17473	}
17474	return json.Marshal(objectMap)
17475}
17476
17477// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource.
17478func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
17479	return nil, false
17480}
17481
17482// AsResponsysSource is the BasicCopySource implementation for AzureTableSource.
17483func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) {
17484	return nil, false
17485}
17486
17487// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource.
17488func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
17489	return nil, false
17490}
17491
17492// AsVerticaSource is the BasicCopySource implementation for AzureTableSource.
17493func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) {
17494	return nil, false
17495}
17496
17497// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource.
17498func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) {
17499	return nil, false
17500}
17501
17502// AsZohoSource is the BasicCopySource implementation for AzureTableSource.
17503func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) {
17504	return nil, false
17505}
17506
17507// AsXeroSource is the BasicCopySource implementation for AzureTableSource.
17508func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) {
17509	return nil, false
17510}
17511
17512// AsSquareSource is the BasicCopySource implementation for AzureTableSource.
17513func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) {
17514	return nil, false
17515}
17516
17517// AsSparkSource is the BasicCopySource implementation for AzureTableSource.
17518func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) {
17519	return nil, false
17520}
17521
17522// AsShopifySource is the BasicCopySource implementation for AzureTableSource.
17523func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) {
17524	return nil, false
17525}
17526
17527// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource.
17528func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) {
17529	return nil, false
17530}
17531
17532// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource.
17533func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
17534	return nil, false
17535}
17536
17537// AsPrestoSource is the BasicCopySource implementation for AzureTableSource.
17538func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) {
17539	return nil, false
17540}
17541
17542// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource.
17543func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) {
17544	return nil, false
17545}
17546
17547// AsPaypalSource is the BasicCopySource implementation for AzureTableSource.
17548func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) {
17549	return nil, false
17550}
17551
17552// AsMarketoSource is the BasicCopySource implementation for AzureTableSource.
17553func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) {
17554	return nil, false
17555}
17556
17557// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource.
17558func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) {
17559	return nil, false
17560}
17561
17562// AsMagentoSource is the BasicCopySource implementation for AzureTableSource.
17563func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) {
17564	return nil, false
17565}
17566
17567// AsJiraSource is the BasicCopySource implementation for AzureTableSource.
17568func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) {
17569	return nil, false
17570}
17571
17572// AsImpalaSource is the BasicCopySource implementation for AzureTableSource.
17573func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) {
17574	return nil, false
17575}
17576
17577// AsHubspotSource is the BasicCopySource implementation for AzureTableSource.
17578func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) {
17579	return nil, false
17580}
17581
17582// AsHiveSource is the BasicCopySource implementation for AzureTableSource.
17583func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) {
17584	return nil, false
17585}
17586
17587// AsHBaseSource is the BasicCopySource implementation for AzureTableSource.
17588func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) {
17589	return nil, false
17590}
17591
17592// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource.
17593func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) {
17594	return nil, false
17595}
17596
17597// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource.
17598func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
17599	return nil, false
17600}
17601
17602// AsEloquaSource is the BasicCopySource implementation for AzureTableSource.
17603func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) {
17604	return nil, false
17605}
17606
17607// AsDrillSource is the BasicCopySource implementation for AzureTableSource.
17608func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) {
17609	return nil, false
17610}
17611
17612// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource.
17613func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
17614	return nil, false
17615}
17616
17617// AsConcurSource is the BasicCopySource implementation for AzureTableSource.
17618func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) {
17619	return nil, false
17620}
17621
17622// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource.
17623func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
17624	return nil, false
17625}
17626
17627// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource.
17628func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
17629	return nil, false
17630}
17631
17632// AsHTTPSource is the BasicCopySource implementation for AzureTableSource.
17633func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) {
17634	return nil, false
17635}
17636
17637// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource.
17638func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
17639	return nil, false
17640}
17641
17642// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource.
17643func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) {
17644	return nil, false
17645}
17646
17647// AsCassandraSource is the BasicCopySource implementation for AzureTableSource.
17648func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) {
17649	return nil, false
17650}
17651
17652// AsWebSource is the BasicCopySource implementation for AzureTableSource.
17653func (ats AzureTableSource) AsWebSource() (*WebSource, bool) {
17654	return nil, false
17655}
17656
17657// AsOracleSource is the BasicCopySource implementation for AzureTableSource.
17658func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) {
17659	return nil, false
17660}
17661
17662// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource.
17663func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
17664	return nil, false
17665}
17666
17667// AsHdfsSource is the BasicCopySource implementation for AzureTableSource.
17668func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) {
17669	return nil, false
17670}
17671
17672// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource.
17673func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) {
17674	return nil, false
17675}
17676
17677// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource.
17678func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) {
17679	return nil, false
17680}
17681
17682// AsSQLSource is the BasicCopySource implementation for AzureTableSource.
17683func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) {
17684	return nil, false
17685}
17686
17687// AsSapEccSource is the BasicCopySource implementation for AzureTableSource.
17688func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) {
17689	return nil, false
17690}
17691
17692// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource.
17693func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
17694	return nil, false
17695}
17696
17697// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource.
17698func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) {
17699	return nil, false
17700}
17701
17702// AsRelationalSource is the BasicCopySource implementation for AzureTableSource.
17703func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) {
17704	return nil, false
17705}
17706
17707// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource.
17708func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) {
17709	return nil, false
17710}
17711
17712// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource.
17713func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
17714	return nil, false
17715}
17716
17717// AsBlobSource is the BasicCopySource implementation for AzureTableSource.
17718func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) {
17719	return nil, false
17720}
17721
17722// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource.
17723func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) {
17724	return &ats, true
17725}
17726
17727// AsCopySource is the BasicCopySource implementation for AzureTableSource.
17728func (ats AzureTableSource) AsCopySource() (*CopySource, bool) {
17729	return nil, false
17730}
17731
17732// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource.
17733func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) {
17734	return &ats, true
17735}
17736
17737// BlobSink a copy activity Azure Blob sink.
17738type BlobSink struct {
17739	// BlobWriterOverwriteFiles - Blob writer overwrite files. Type: boolean (or Expression with resultType boolean).
17740	BlobWriterOverwriteFiles interface{} `json:"blobWriterOverwriteFiles,omitempty"`
17741	// BlobWriterDateTimeFormat - Blob writer date time format. Type: string (or Expression with resultType string).
17742	BlobWriterDateTimeFormat interface{} `json:"blobWriterDateTimeFormat,omitempty"`
17743	// BlobWriterAddHeader - Blob writer add header. Type: boolean (or Expression with resultType boolean).
17744	BlobWriterAddHeader interface{} `json:"blobWriterAddHeader,omitempty"`
17745	// CopyBehavior - The type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'
17746	CopyBehavior CopyBehaviorType `json:"copyBehavior,omitempty"`
17747	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
17748	AdditionalProperties map[string]interface{} `json:""`
17749	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
17750	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
17751	// 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])).
17752	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
17753	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
17754	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
17755	// 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])).
17756	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
17757	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
17758	Type TypeBasicCopySink `json:"type,omitempty"`
17759}
17760
17761// MarshalJSON is the custom marshaler for BlobSink.
17762func (bs BlobSink) MarshalJSON() ([]byte, error) {
17763	bs.Type = TypeBlobSink
17764	objectMap := make(map[string]interface{})
17765	objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles
17766	objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat
17767	objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader
17768	if bs.CopyBehavior != "" {
17769		objectMap["copyBehavior"] = bs.CopyBehavior
17770	}
17771	objectMap["writeBatchSize"] = bs.WriteBatchSize
17772	objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout
17773	objectMap["sinkRetryCount"] = bs.SinkRetryCount
17774	objectMap["sinkRetryWait"] = bs.SinkRetryWait
17775	if bs.Type != "" {
17776		objectMap["type"] = bs.Type
17777	}
17778	for k, v := range bs.AdditionalProperties {
17779		objectMap[k] = v
17780	}
17781	return json.Marshal(objectMap)
17782}
17783
17784// AsSalesforceSink is the BasicCopySink implementation for BlobSink.
17785func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) {
17786	return nil, false
17787}
17788
17789// AsDynamicsSink is the BasicCopySink implementation for BlobSink.
17790func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) {
17791	return nil, false
17792}
17793
17794// AsOdbcSink is the BasicCopySink implementation for BlobSink.
17795func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) {
17796	return nil, false
17797}
17798
17799// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink.
17800func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
17801	return nil, false
17802}
17803
17804// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink.
17805func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
17806	return nil, false
17807}
17808
17809// AsOracleSink is the BasicCopySink implementation for BlobSink.
17810func (bs BlobSink) AsOracleSink() (*OracleSink, bool) {
17811	return nil, false
17812}
17813
17814// AsSQLDWSink is the BasicCopySink implementation for BlobSink.
17815func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) {
17816	return nil, false
17817}
17818
17819// AsSQLSink is the BasicCopySink implementation for BlobSink.
17820func (bs BlobSink) AsSQLSink() (*SQLSink, bool) {
17821	return nil, false
17822}
17823
17824// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink.
17825func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
17826	return nil, false
17827}
17828
17829// AsFileSystemSink is the BasicCopySink implementation for BlobSink.
17830func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) {
17831	return nil, false
17832}
17833
17834// AsBlobSink is the BasicCopySink implementation for BlobSink.
17835func (bs BlobSink) AsBlobSink() (*BlobSink, bool) {
17836	return &bs, true
17837}
17838
17839// AsAzureTableSink is the BasicCopySink implementation for BlobSink.
17840func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) {
17841	return nil, false
17842}
17843
17844// AsAzureQueueSink is the BasicCopySink implementation for BlobSink.
17845func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
17846	return nil, false
17847}
17848
17849// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink.
17850func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
17851	return nil, false
17852}
17853
17854// AsCopySink is the BasicCopySink implementation for BlobSink.
17855func (bs BlobSink) AsCopySink() (*CopySink, bool) {
17856	return nil, false
17857}
17858
17859// AsBasicCopySink is the BasicCopySink implementation for BlobSink.
17860func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) {
17861	return &bs, true
17862}
17863
17864// BlobSource a copy activity Azure Blob source.
17865type BlobSource struct {
17866	// TreatEmptyAsNull - Treat empty as null. Type: boolean (or Expression with resultType boolean).
17867	TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"`
17868	// SkipHeaderLineCount - Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer).
17869	SkipHeaderLineCount interface{} `json:"skipHeaderLineCount,omitempty"`
17870	// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
17871	Recursive interface{} `json:"recursive,omitempty"`
17872	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
17873	AdditionalProperties map[string]interface{} `json:""`
17874	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
17875	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
17876	// 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])).
17877	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
17878	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
17879	Type TypeBasicCopySource `json:"type,omitempty"`
17880}
17881
17882// MarshalJSON is the custom marshaler for BlobSource.
17883func (bs BlobSource) MarshalJSON() ([]byte, error) {
17884	bs.Type = TypeBlobSource
17885	objectMap := make(map[string]interface{})
17886	objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull
17887	objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount
17888	objectMap["recursive"] = bs.Recursive
17889	objectMap["sourceRetryCount"] = bs.SourceRetryCount
17890	objectMap["sourceRetryWait"] = bs.SourceRetryWait
17891	if bs.Type != "" {
17892		objectMap["type"] = bs.Type
17893	}
17894	for k, v := range bs.AdditionalProperties {
17895		objectMap[k] = v
17896	}
17897	return json.Marshal(objectMap)
17898}
17899
17900// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource.
17901func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
17902	return nil, false
17903}
17904
17905// AsResponsysSource is the BasicCopySource implementation for BlobSource.
17906func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) {
17907	return nil, false
17908}
17909
17910// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource.
17911func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
17912	return nil, false
17913}
17914
17915// AsVerticaSource is the BasicCopySource implementation for BlobSource.
17916func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) {
17917	return nil, false
17918}
17919
17920// AsNetezzaSource is the BasicCopySource implementation for BlobSource.
17921func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) {
17922	return nil, false
17923}
17924
17925// AsZohoSource is the BasicCopySource implementation for BlobSource.
17926func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) {
17927	return nil, false
17928}
17929
17930// AsXeroSource is the BasicCopySource implementation for BlobSource.
17931func (bs BlobSource) AsXeroSource() (*XeroSource, bool) {
17932	return nil, false
17933}
17934
17935// AsSquareSource is the BasicCopySource implementation for BlobSource.
17936func (bs BlobSource) AsSquareSource() (*SquareSource, bool) {
17937	return nil, false
17938}
17939
17940// AsSparkSource is the BasicCopySource implementation for BlobSource.
17941func (bs BlobSource) AsSparkSource() (*SparkSource, bool) {
17942	return nil, false
17943}
17944
17945// AsShopifySource is the BasicCopySource implementation for BlobSource.
17946func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) {
17947	return nil, false
17948}
17949
17950// AsServiceNowSource is the BasicCopySource implementation for BlobSource.
17951func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) {
17952	return nil, false
17953}
17954
17955// AsQuickBooksSource is the BasicCopySource implementation for BlobSource.
17956func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
17957	return nil, false
17958}
17959
17960// AsPrestoSource is the BasicCopySource implementation for BlobSource.
17961func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) {
17962	return nil, false
17963}
17964
17965// AsPhoenixSource is the BasicCopySource implementation for BlobSource.
17966func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) {
17967	return nil, false
17968}
17969
17970// AsPaypalSource is the BasicCopySource implementation for BlobSource.
17971func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) {
17972	return nil, false
17973}
17974
17975// AsMarketoSource is the BasicCopySource implementation for BlobSource.
17976func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) {
17977	return nil, false
17978}
17979
17980// AsMariaDBSource is the BasicCopySource implementation for BlobSource.
17981func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) {
17982	return nil, false
17983}
17984
17985// AsMagentoSource is the BasicCopySource implementation for BlobSource.
17986func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) {
17987	return nil, false
17988}
17989
17990// AsJiraSource is the BasicCopySource implementation for BlobSource.
17991func (bs BlobSource) AsJiraSource() (*JiraSource, bool) {
17992	return nil, false
17993}
17994
17995// AsImpalaSource is the BasicCopySource implementation for BlobSource.
17996func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) {
17997	return nil, false
17998}
17999
18000// AsHubspotSource is the BasicCopySource implementation for BlobSource.
18001func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) {
18002	return nil, false
18003}
18004
18005// AsHiveSource is the BasicCopySource implementation for BlobSource.
18006func (bs BlobSource) AsHiveSource() (*HiveSource, bool) {
18007	return nil, false
18008}
18009
18010// AsHBaseSource is the BasicCopySource implementation for BlobSource.
18011func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) {
18012	return nil, false
18013}
18014
18015// AsGreenplumSource is the BasicCopySource implementation for BlobSource.
18016func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) {
18017	return nil, false
18018}
18019
18020// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource.
18021func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
18022	return nil, false
18023}
18024
18025// AsEloquaSource is the BasicCopySource implementation for BlobSource.
18026func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) {
18027	return nil, false
18028}
18029
18030// AsDrillSource is the BasicCopySource implementation for BlobSource.
18031func (bs BlobSource) AsDrillSource() (*DrillSource, bool) {
18032	return nil, false
18033}
18034
18035// AsCouchbaseSource is the BasicCopySource implementation for BlobSource.
18036func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
18037	return nil, false
18038}
18039
18040// AsConcurSource is the BasicCopySource implementation for BlobSource.
18041func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) {
18042	return nil, false
18043}
18044
18045// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource.
18046func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
18047	return nil, false
18048}
18049
18050// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource.
18051func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
18052	return nil, false
18053}
18054
18055// AsHTTPSource is the BasicCopySource implementation for BlobSource.
18056func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) {
18057	return nil, false
18058}
18059
18060// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource.
18061func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
18062	return nil, false
18063}
18064
18065// AsMongoDbSource is the BasicCopySource implementation for BlobSource.
18066func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) {
18067	return nil, false
18068}
18069
18070// AsCassandraSource is the BasicCopySource implementation for BlobSource.
18071func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) {
18072	return nil, false
18073}
18074
18075// AsWebSource is the BasicCopySource implementation for BlobSource.
18076func (bs BlobSource) AsWebSource() (*WebSource, bool) {
18077	return nil, false
18078}
18079
18080// AsOracleSource is the BasicCopySource implementation for BlobSource.
18081func (bs BlobSource) AsOracleSource() (*OracleSource, bool) {
18082	return nil, false
18083}
18084
18085// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource.
18086func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
18087	return nil, false
18088}
18089
18090// AsHdfsSource is the BasicCopySource implementation for BlobSource.
18091func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) {
18092	return nil, false
18093}
18094
18095// AsFileSystemSource is the BasicCopySource implementation for BlobSource.
18096func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) {
18097	return nil, false
18098}
18099
18100// AsSQLDWSource is the BasicCopySource implementation for BlobSource.
18101func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) {
18102	return nil, false
18103}
18104
18105// AsSQLSource is the BasicCopySource implementation for BlobSource.
18106func (bs BlobSource) AsSQLSource() (*SQLSource, bool) {
18107	return nil, false
18108}
18109
18110// AsSapEccSource is the BasicCopySource implementation for BlobSource.
18111func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) {
18112	return nil, false
18113}
18114
18115// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource.
18116func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
18117	return nil, false
18118}
18119
18120// AsSalesforceSource is the BasicCopySource implementation for BlobSource.
18121func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) {
18122	return nil, false
18123}
18124
18125// AsRelationalSource is the BasicCopySource implementation for BlobSource.
18126func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) {
18127	return nil, false
18128}
18129
18130// AsDynamicsSource is the BasicCopySource implementation for BlobSource.
18131func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) {
18132	return nil, false
18133}
18134
18135// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource.
18136func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
18137	return nil, false
18138}
18139
18140// AsBlobSource is the BasicCopySource implementation for BlobSource.
18141func (bs BlobSource) AsBlobSource() (*BlobSource, bool) {
18142	return &bs, true
18143}
18144
18145// AsAzureTableSource is the BasicCopySource implementation for BlobSource.
18146func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) {
18147	return nil, false
18148}
18149
18150// AsCopySource is the BasicCopySource implementation for BlobSource.
18151func (bs BlobSource) AsCopySource() (*CopySource, bool) {
18152	return nil, false
18153}
18154
18155// AsBasicCopySource is the BasicCopySource implementation for BlobSource.
18156func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) {
18157	return &bs, true
18158}
18159
18160// BlobTrigger trigger that runs everytime the selected Blob container changes.
18161type BlobTrigger struct {
18162	// BlobTriggerTypeProperties - Blob Trigger properties.
18163	*BlobTriggerTypeProperties `json:"typeProperties,omitempty"`
18164	// Pipelines - Pipelines that need to be started.
18165	Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
18166	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
18167	AdditionalProperties map[string]interface{} `json:""`
18168	// Description - Trigger description.
18169	Description *string `json:"description,omitempty"`
18170	// RuntimeState - Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
18171	RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
18172	// Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
18173	Type TypeBasicTrigger `json:"type,omitempty"`
18174}
18175
18176// MarshalJSON is the custom marshaler for BlobTrigger.
18177func (bt BlobTrigger) MarshalJSON() ([]byte, error) {
18178	bt.Type = TypeBlobTrigger
18179	objectMap := make(map[string]interface{})
18180	if bt.BlobTriggerTypeProperties != nil {
18181		objectMap["typeProperties"] = bt.BlobTriggerTypeProperties
18182	}
18183	if bt.Pipelines != nil {
18184		objectMap["pipelines"] = bt.Pipelines
18185	}
18186	if bt.Description != nil {
18187		objectMap["description"] = bt.Description
18188	}
18189	if bt.RuntimeState != "" {
18190		objectMap["runtimeState"] = bt.RuntimeState
18191	}
18192	if bt.Type != "" {
18193		objectMap["type"] = bt.Type
18194	}
18195	for k, v := range bt.AdditionalProperties {
18196		objectMap[k] = v
18197	}
18198	return json.Marshal(objectMap)
18199}
18200
18201// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger.
18202func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
18203	return nil, false
18204}
18205
18206// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger.
18207func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
18208	return &bt, true
18209}
18210
18211// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger.
18212func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
18213	return nil, false
18214}
18215
18216// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
18217func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
18218	return nil, false
18219}
18220
18221// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger.
18222func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
18223	return &bt, true
18224}
18225
18226// AsTrigger is the BasicTrigger implementation for BlobTrigger.
18227func (bt BlobTrigger) AsTrigger() (*Trigger, bool) {
18228	return nil, false
18229}
18230
18231// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger.
18232func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) {
18233	return &bt, true
18234}
18235
18236// UnmarshalJSON is the custom unmarshaler for BlobTrigger struct.
18237func (bt *BlobTrigger) UnmarshalJSON(body []byte) error {
18238	var m map[string]*json.RawMessage
18239	err := json.Unmarshal(body, &m)
18240	if err != nil {
18241		return err
18242	}
18243	for k, v := range m {
18244		switch k {
18245		case "typeProperties":
18246			if v != nil {
18247				var blobTriggerTypeProperties BlobTriggerTypeProperties
18248				err = json.Unmarshal(*v, &blobTriggerTypeProperties)
18249				if err != nil {
18250					return err
18251				}
18252				bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties
18253			}
18254		case "pipelines":
18255			if v != nil {
18256				var pipelines []TriggerPipelineReference
18257				err = json.Unmarshal(*v, &pipelines)
18258				if err != nil {
18259					return err
18260				}
18261				bt.Pipelines = &pipelines
18262			}
18263		default:
18264			if v != nil {
18265				var additionalProperties interface{}
18266				err = json.Unmarshal(*v, &additionalProperties)
18267				if err != nil {
18268					return err
18269				}
18270				if bt.AdditionalProperties == nil {
18271					bt.AdditionalProperties = make(map[string]interface{})
18272				}
18273				bt.AdditionalProperties[k] = additionalProperties
18274			}
18275		case "description":
18276			if v != nil {
18277				var description string
18278				err = json.Unmarshal(*v, &description)
18279				if err != nil {
18280					return err
18281				}
18282				bt.Description = &description
18283			}
18284		case "runtimeState":
18285			if v != nil {
18286				var runtimeState TriggerRuntimeState
18287				err = json.Unmarshal(*v, &runtimeState)
18288				if err != nil {
18289					return err
18290				}
18291				bt.RuntimeState = runtimeState
18292			}
18293		case "type":
18294			if v != nil {
18295				var typeVar TypeBasicTrigger
18296				err = json.Unmarshal(*v, &typeVar)
18297				if err != nil {
18298					return err
18299				}
18300				bt.Type = typeVar
18301			}
18302		}
18303	}
18304
18305	return nil
18306}
18307
18308// BlobTriggerTypeProperties blob Trigger properties.
18309type BlobTriggerTypeProperties struct {
18310	// FolderPath - The path of the container/folder that will trigger the pipeline.
18311	FolderPath *string `json:"folderPath,omitempty"`
18312	// MaxConcurrency - The max number of parallel files to handle when it is triggered.
18313	MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
18314	// LinkedService - The Azure Storage linked service reference.
18315	LinkedService *LinkedServiceReference `json:"linkedService,omitempty"`
18316}
18317
18318// CassandraLinkedService linked service for Cassandra data source.
18319type CassandraLinkedService struct {
18320	// CassandraLinkedServiceTypeProperties - Cassandra linked service properties.
18321	*CassandraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
18322	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
18323	AdditionalProperties map[string]interface{} `json:""`
18324	// ConnectVia - The integration runtime reference.
18325	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
18326	// Description - Linked service description.
18327	Description *string `json:"description,omitempty"`
18328	// Parameters - Parameters for linked service.
18329	Parameters map[string]*ParameterSpecification `json:"parameters"`
18330	// Annotations - List of tags that can be used for describing the Dataset.
18331	Annotations *[]interface{} `json:"annotations,omitempty"`
18332	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
18333	Type TypeBasicLinkedService `json:"type,omitempty"`
18334}
18335
18336// MarshalJSON is the custom marshaler for CassandraLinkedService.
18337func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) {
18338	cls.Type = TypeCassandra
18339	objectMap := make(map[string]interface{})
18340	if cls.CassandraLinkedServiceTypeProperties != nil {
18341		objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties
18342	}
18343	if cls.ConnectVia != nil {
18344		objectMap["connectVia"] = cls.ConnectVia
18345	}
18346	if cls.Description != nil {
18347		objectMap["description"] = cls.Description
18348	}
18349	if cls.Parameters != nil {
18350		objectMap["parameters"] = cls.Parameters
18351	}
18352	if cls.Annotations != nil {
18353		objectMap["annotations"] = cls.Annotations
18354	}
18355	if cls.Type != "" {
18356		objectMap["type"] = cls.Type
18357	}
18358	for k, v := range cls.AdditionalProperties {
18359		objectMap[k] = v
18360	}
18361	return json.Marshal(objectMap)
18362}
18363
18364// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18365func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
18366	return nil, false
18367}
18368
18369// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18370func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
18371	return nil, false
18372}
18373
18374// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18375func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
18376	return nil, false
18377}
18378
18379// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18380func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
18381	return nil, false
18382}
18383
18384// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18385func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
18386	return nil, false
18387}
18388
18389// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18390func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
18391	return nil, false
18392}
18393
18394// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18395func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
18396	return nil, false
18397}
18398
18399// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18400func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
18401	return nil, false
18402}
18403
18404// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18405func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
18406	return nil, false
18407}
18408
18409// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18410func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
18411	return nil, false
18412}
18413
18414// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18415func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
18416	return nil, false
18417}
18418
18419// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18420func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
18421	return nil, false
18422}
18423
18424// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18425func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
18426	return nil, false
18427}
18428
18429// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18430func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
18431	return nil, false
18432}
18433
18434// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18435func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
18436	return nil, false
18437}
18438
18439// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18440func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
18441	return nil, false
18442}
18443
18444// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18445func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
18446	return nil, false
18447}
18448
18449// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18450func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
18451	return nil, false
18452}
18453
18454// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18455func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
18456	return nil, false
18457}
18458
18459// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18460func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
18461	return nil, false
18462}
18463
18464// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18465func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
18466	return nil, false
18467}
18468
18469// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18470func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
18471	return nil, false
18472}
18473
18474// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18475func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
18476	return nil, false
18477}
18478
18479// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18480func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
18481	return nil, false
18482}
18483
18484// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18485func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
18486	return nil, false
18487}
18488
18489// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18490func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
18491	return nil, false
18492}
18493
18494// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18495func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
18496	return nil, false
18497}
18498
18499// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18500func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
18501	return nil, false
18502}
18503
18504// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18505func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
18506	return nil, false
18507}
18508
18509// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18510func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
18511	return nil, false
18512}
18513
18514// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18515func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
18516	return nil, false
18517}
18518
18519// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18520func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
18521	return nil, false
18522}
18523
18524// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18525func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
18526	return nil, false
18527}
18528
18529// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18530func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
18531	return nil, false
18532}
18533
18534// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18535func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
18536	return nil, false
18537}
18538
18539// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18540func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
18541	return nil, false
18542}
18543
18544// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18545func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
18546	return nil, false
18547}
18548
18549// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18550func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
18551	return nil, false
18552}
18553
18554// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18555func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
18556	return nil, false
18557}
18558
18559// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18560func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
18561	return nil, false
18562}
18563
18564// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18565func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
18566	return nil, false
18567}
18568
18569// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18570func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
18571	return nil, false
18572}
18573
18574// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18575func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
18576	return nil, false
18577}
18578
18579// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18580func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
18581	return nil, false
18582}
18583
18584// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18585func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
18586	return nil, false
18587}
18588
18589// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18590func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
18591	return nil, false
18592}
18593
18594// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18595func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
18596	return nil, false
18597}
18598
18599// AsCassandraLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18600func (cls CassandraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
18601	return &cls, true
18602}
18603
18604// AsWebLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18605func (cls CassandraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
18606	return nil, false
18607}
18608
18609// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18610func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
18611	return nil, false
18612}
18613
18614// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18615func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
18616	return nil, false
18617}
18618
18619// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18620func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
18621	return nil, false
18622}
18623
18624// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18625func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
18626	return nil, false
18627}
18628
18629// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18630func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
18631	return nil, false
18632}
18633
18634// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18635func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
18636	return nil, false
18637}
18638
18639// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18640func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
18641	return nil, false
18642}
18643
18644// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18645func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
18646	return nil, false
18647}
18648
18649// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18650func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
18651	return nil, false
18652}
18653
18654// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18655func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
18656	return nil, false
18657}
18658
18659// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18660func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
18661	return nil, false
18662}
18663
18664// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18665func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
18666	return nil, false
18667}
18668
18669// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18670func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
18671	return nil, false
18672}
18673
18674// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18675func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
18676	return nil, false
18677}
18678
18679// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18680func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
18681	return nil, false
18682}
18683
18684// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18685func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
18686	return nil, false
18687}
18688
18689// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18690func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
18691	return nil, false
18692}
18693
18694// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18695func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
18696	return nil, false
18697}
18698
18699// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18700func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
18701	return nil, false
18702}
18703
18704// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18705func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
18706	return nil, false
18707}
18708
18709// AsAzureStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18710func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
18711	return nil, false
18712}
18713
18714// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18715func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) {
18716	return nil, false
18717}
18718
18719// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService.
18720func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
18721	return &cls, true
18722}
18723
18724// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct.
18725func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error {
18726	var m map[string]*json.RawMessage
18727	err := json.Unmarshal(body, &m)
18728	if err != nil {
18729		return err
18730	}
18731	for k, v := range m {
18732		switch k {
18733		case "typeProperties":
18734			if v != nil {
18735				var cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties
18736				err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties)
18737				if err != nil {
18738					return err
18739				}
18740				cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties
18741			}
18742		default:
18743			if v != nil {
18744				var additionalProperties interface{}
18745				err = json.Unmarshal(*v, &additionalProperties)
18746				if err != nil {
18747					return err
18748				}
18749				if cls.AdditionalProperties == nil {
18750					cls.AdditionalProperties = make(map[string]interface{})
18751				}
18752				cls.AdditionalProperties[k] = additionalProperties
18753			}
18754		case "connectVia":
18755			if v != nil {
18756				var connectVia IntegrationRuntimeReference
18757				err = json.Unmarshal(*v, &connectVia)
18758				if err != nil {
18759					return err
18760				}
18761				cls.ConnectVia = &connectVia
18762			}
18763		case "description":
18764			if v != nil {
18765				var description string
18766				err = json.Unmarshal(*v, &description)
18767				if err != nil {
18768					return err
18769				}
18770				cls.Description = &description
18771			}
18772		case "parameters":
18773			if v != nil {
18774				var parameters map[string]*ParameterSpecification
18775				err = json.Unmarshal(*v, &parameters)
18776				if err != nil {
18777					return err
18778				}
18779				cls.Parameters = parameters
18780			}
18781		case "annotations":
18782			if v != nil {
18783				var annotations []interface{}
18784				err = json.Unmarshal(*v, &annotations)
18785				if err != nil {
18786					return err
18787				}
18788				cls.Annotations = &annotations
18789			}
18790		case "type":
18791			if v != nil {
18792				var typeVar TypeBasicLinkedService
18793				err = json.Unmarshal(*v, &typeVar)
18794				if err != nil {
18795					return err
18796				}
18797				cls.Type = typeVar
18798			}
18799		}
18800	}
18801
18802	return nil
18803}
18804
18805// CassandraLinkedServiceTypeProperties cassandra linked service properties.
18806type CassandraLinkedServiceTypeProperties struct {
18807	// Host - Host name for connection. Type: string (or Expression with resultType string).
18808	Host interface{} `json:"host,omitempty"`
18809	// AuthenticationType - AuthenticationType to be used for connection. Type: string (or Expression with resultType string).
18810	AuthenticationType interface{} `json:"authenticationType,omitempty"`
18811	// Port - The port for the connection. Type: integer (or Expression with resultType integer).
18812	Port interface{} `json:"port,omitempty"`
18813	// Username - Username for authentication. Type: string (or Expression with resultType string).
18814	Username interface{} `json:"username,omitempty"`
18815	// Password - Password for authentication.
18816	Password BasicSecretBase `json:"password,omitempty"`
18817	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
18818	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
18819}
18820
18821// UnmarshalJSON is the custom unmarshaler for CassandraLinkedServiceTypeProperties struct.
18822func (clstp *CassandraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
18823	var m map[string]*json.RawMessage
18824	err := json.Unmarshal(body, &m)
18825	if err != nil {
18826		return err
18827	}
18828	for k, v := range m {
18829		switch k {
18830		case "host":
18831			if v != nil {
18832				var host interface{}
18833				err = json.Unmarshal(*v, &host)
18834				if err != nil {
18835					return err
18836				}
18837				clstp.Host = host
18838			}
18839		case "authenticationType":
18840			if v != nil {
18841				var authenticationType interface{}
18842				err = json.Unmarshal(*v, &authenticationType)
18843				if err != nil {
18844					return err
18845				}
18846				clstp.AuthenticationType = authenticationType
18847			}
18848		case "port":
18849			if v != nil {
18850				var port interface{}
18851				err = json.Unmarshal(*v, &port)
18852				if err != nil {
18853					return err
18854				}
18855				clstp.Port = port
18856			}
18857		case "username":
18858			if v != nil {
18859				var username interface{}
18860				err = json.Unmarshal(*v, &username)
18861				if err != nil {
18862					return err
18863				}
18864				clstp.Username = username
18865			}
18866		case "password":
18867			if v != nil {
18868				password, err := unmarshalBasicSecretBase(*v)
18869				if err != nil {
18870					return err
18871				}
18872				clstp.Password = password
18873			}
18874		case "encryptedCredential":
18875			if v != nil {
18876				var encryptedCredential interface{}
18877				err = json.Unmarshal(*v, &encryptedCredential)
18878				if err != nil {
18879					return err
18880				}
18881				clstp.EncryptedCredential = encryptedCredential
18882			}
18883		}
18884	}
18885
18886	return nil
18887}
18888
18889// CassandraSource a copy activity source for a Cassandra database.
18890type CassandraSource struct {
18891	// Query - Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string).
18892	Query interface{} `json:"query,omitempty"`
18893	// ConsistencyLevel - The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACHQUORUM', 'QUORUM', 'LOCALQUORUM', 'ONE', 'TWO', 'THREE', 'LOCALONE', 'SERIAL', 'LOCALSERIAL'
18894	ConsistencyLevel CassandraSourceReadConsistencyLevels `json:"consistencyLevel,omitempty"`
18895	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
18896	AdditionalProperties map[string]interface{} `json:""`
18897	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
18898	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
18899	// 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])).
18900	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
18901	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
18902	Type TypeBasicCopySource `json:"type,omitempty"`
18903}
18904
18905// MarshalJSON is the custom marshaler for CassandraSource.
18906func (cs CassandraSource) MarshalJSON() ([]byte, error) {
18907	cs.Type = TypeCassandraSource
18908	objectMap := make(map[string]interface{})
18909	objectMap["query"] = cs.Query
18910	if cs.ConsistencyLevel != "" {
18911		objectMap["consistencyLevel"] = cs.ConsistencyLevel
18912	}
18913	objectMap["sourceRetryCount"] = cs.SourceRetryCount
18914	objectMap["sourceRetryWait"] = cs.SourceRetryWait
18915	if cs.Type != "" {
18916		objectMap["type"] = cs.Type
18917	}
18918	for k, v := range cs.AdditionalProperties {
18919		objectMap[k] = v
18920	}
18921	return json.Marshal(objectMap)
18922}
18923
18924// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource.
18925func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
18926	return nil, false
18927}
18928
18929// AsResponsysSource is the BasicCopySource implementation for CassandraSource.
18930func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) {
18931	return nil, false
18932}
18933
18934// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource.
18935func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
18936	return nil, false
18937}
18938
18939// AsVerticaSource is the BasicCopySource implementation for CassandraSource.
18940func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) {
18941	return nil, false
18942}
18943
18944// AsNetezzaSource is the BasicCopySource implementation for CassandraSource.
18945func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) {
18946	return nil, false
18947}
18948
18949// AsZohoSource is the BasicCopySource implementation for CassandraSource.
18950func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) {
18951	return nil, false
18952}
18953
18954// AsXeroSource is the BasicCopySource implementation for CassandraSource.
18955func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) {
18956	return nil, false
18957}
18958
18959// AsSquareSource is the BasicCopySource implementation for CassandraSource.
18960func (cs CassandraSource) AsSquareSource() (*SquareSource, bool) {
18961	return nil, false
18962}
18963
18964// AsSparkSource is the BasicCopySource implementation for CassandraSource.
18965func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) {
18966	return nil, false
18967}
18968
18969// AsShopifySource is the BasicCopySource implementation for CassandraSource.
18970func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) {
18971	return nil, false
18972}
18973
18974// AsServiceNowSource is the BasicCopySource implementation for CassandraSource.
18975func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
18976	return nil, false
18977}
18978
18979// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource.
18980func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
18981	return nil, false
18982}
18983
18984// AsPrestoSource is the BasicCopySource implementation for CassandraSource.
18985func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) {
18986	return nil, false
18987}
18988
18989// AsPhoenixSource is the BasicCopySource implementation for CassandraSource.
18990func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) {
18991	return nil, false
18992}
18993
18994// AsPaypalSource is the BasicCopySource implementation for CassandraSource.
18995func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) {
18996	return nil, false
18997}
18998
18999// AsMarketoSource is the BasicCopySource implementation for CassandraSource.
19000func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) {
19001	return nil, false
19002}
19003
19004// AsMariaDBSource is the BasicCopySource implementation for CassandraSource.
19005func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) {
19006	return nil, false
19007}
19008
19009// AsMagentoSource is the BasicCopySource implementation for CassandraSource.
19010func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) {
19011	return nil, false
19012}
19013
19014// AsJiraSource is the BasicCopySource implementation for CassandraSource.
19015func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) {
19016	return nil, false
19017}
19018
19019// AsImpalaSource is the BasicCopySource implementation for CassandraSource.
19020func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) {
19021	return nil, false
19022}
19023
19024// AsHubspotSource is the BasicCopySource implementation for CassandraSource.
19025func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) {
19026	return nil, false
19027}
19028
19029// AsHiveSource is the BasicCopySource implementation for CassandraSource.
19030func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) {
19031	return nil, false
19032}
19033
19034// AsHBaseSource is the BasicCopySource implementation for CassandraSource.
19035func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) {
19036	return nil, false
19037}
19038
19039// AsGreenplumSource is the BasicCopySource implementation for CassandraSource.
19040func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) {
19041	return nil, false
19042}
19043
19044// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource.
19045func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
19046	return nil, false
19047}
19048
19049// AsEloquaSource is the BasicCopySource implementation for CassandraSource.
19050func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) {
19051	return nil, false
19052}
19053
19054// AsDrillSource is the BasicCopySource implementation for CassandraSource.
19055func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) {
19056	return nil, false
19057}
19058
19059// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource.
19060func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
19061	return nil, false
19062}
19063
19064// AsConcurSource is the BasicCopySource implementation for CassandraSource.
19065func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) {
19066	return nil, false
19067}
19068
19069// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource.
19070func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
19071	return nil, false
19072}
19073
19074// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource.
19075func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
19076	return nil, false
19077}
19078
19079// AsHTTPSource is the BasicCopySource implementation for CassandraSource.
19080func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) {
19081	return nil, false
19082}
19083
19084// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource.
19085func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
19086	return nil, false
19087}
19088
19089// AsMongoDbSource is the BasicCopySource implementation for CassandraSource.
19090func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) {
19091	return nil, false
19092}
19093
19094// AsCassandraSource is the BasicCopySource implementation for CassandraSource.
19095func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) {
19096	return &cs, true
19097}
19098
19099// AsWebSource is the BasicCopySource implementation for CassandraSource.
19100func (cs CassandraSource) AsWebSource() (*WebSource, bool) {
19101	return nil, false
19102}
19103
19104// AsOracleSource is the BasicCopySource implementation for CassandraSource.
19105func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) {
19106	return nil, false
19107}
19108
19109// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource.
19110func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
19111	return nil, false
19112}
19113
19114// AsHdfsSource is the BasicCopySource implementation for CassandraSource.
19115func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) {
19116	return nil, false
19117}
19118
19119// AsFileSystemSource is the BasicCopySource implementation for CassandraSource.
19120func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) {
19121	return nil, false
19122}
19123
19124// AsSQLDWSource is the BasicCopySource implementation for CassandraSource.
19125func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) {
19126	return nil, false
19127}
19128
19129// AsSQLSource is the BasicCopySource implementation for CassandraSource.
19130func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) {
19131	return nil, false
19132}
19133
19134// AsSapEccSource is the BasicCopySource implementation for CassandraSource.
19135func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) {
19136	return nil, false
19137}
19138
19139// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource.
19140func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
19141	return nil, false
19142}
19143
19144// AsSalesforceSource is the BasicCopySource implementation for CassandraSource.
19145func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) {
19146	return nil, false
19147}
19148
19149// AsRelationalSource is the BasicCopySource implementation for CassandraSource.
19150func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) {
19151	return nil, false
19152}
19153
19154// AsDynamicsSource is the BasicCopySource implementation for CassandraSource.
19155func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) {
19156	return nil, false
19157}
19158
19159// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource.
19160func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
19161	return nil, false
19162}
19163
19164// AsBlobSource is the BasicCopySource implementation for CassandraSource.
19165func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) {
19166	return nil, false
19167}
19168
19169// AsAzureTableSource is the BasicCopySource implementation for CassandraSource.
19170func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) {
19171	return nil, false
19172}
19173
19174// AsCopySource is the BasicCopySource implementation for CassandraSource.
19175func (cs CassandraSource) AsCopySource() (*CopySource, bool) {
19176	return nil, false
19177}
19178
19179// AsBasicCopySource is the BasicCopySource implementation for CassandraSource.
19180func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) {
19181	return &cs, true
19182}
19183
19184// CassandraTableDataset the Cassandra database dataset.
19185type CassandraTableDataset struct {
19186	// CassandraTableDatasetTypeProperties - Cassandra dataset properties.
19187	*CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"`
19188	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
19189	AdditionalProperties map[string]interface{} `json:""`
19190	// Description - Dataset description.
19191	Description *string `json:"description,omitempty"`
19192	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
19193	Structure interface{} `json:"structure,omitempty"`
19194	// LinkedServiceName - Linked service reference.
19195	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
19196	// Parameters - Parameters for dataset.
19197	Parameters map[string]*ParameterSpecification `json:"parameters"`
19198	// Annotations - List of tags that can be used for describing the Dataset.
19199	Annotations *[]interface{} `json:"annotations,omitempty"`
19200	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
19201	Type TypeBasicDataset `json:"type,omitempty"`
19202}
19203
19204// MarshalJSON is the custom marshaler for CassandraTableDataset.
19205func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) {
19206	ctd.Type = TypeCassandraTable
19207	objectMap := make(map[string]interface{})
19208	if ctd.CassandraTableDatasetTypeProperties != nil {
19209		objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties
19210	}
19211	if ctd.Description != nil {
19212		objectMap["description"] = ctd.Description
19213	}
19214	objectMap["structure"] = ctd.Structure
19215	if ctd.LinkedServiceName != nil {
19216		objectMap["linkedServiceName"] = ctd.LinkedServiceName
19217	}
19218	if ctd.Parameters != nil {
19219		objectMap["parameters"] = ctd.Parameters
19220	}
19221	if ctd.Annotations != nil {
19222		objectMap["annotations"] = ctd.Annotations
19223	}
19224	if ctd.Type != "" {
19225		objectMap["type"] = ctd.Type
19226	}
19227	for k, v := range ctd.AdditionalProperties {
19228		objectMap[k] = v
19229	}
19230	return json.Marshal(objectMap)
19231}
19232
19233// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19234func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
19235	return nil, false
19236}
19237
19238// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19239func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
19240	return nil, false
19241}
19242
19243// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset.
19244func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
19245	return nil, false
19246}
19247
19248// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset.
19249func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
19250	return nil, false
19251}
19252
19253// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19254func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
19255	return nil, false
19256}
19257
19258// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19259func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
19260	return nil, false
19261}
19262
19263// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19264func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
19265	return nil, false
19266}
19267
19268// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19269func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
19270	return nil, false
19271}
19272
19273// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19274func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
19275	return nil, false
19276}
19277
19278// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19279func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
19280	return nil, false
19281}
19282
19283// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19284func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
19285	return nil, false
19286}
19287
19288// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19289func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
19290	return nil, false
19291}
19292
19293// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19294func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
19295	return nil, false
19296}
19297
19298// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19299func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
19300	return nil, false
19301}
19302
19303// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19304func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
19305	return nil, false
19306}
19307
19308// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset.
19309func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
19310	return nil, false
19311}
19312
19313// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19314func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
19315	return nil, false
19316}
19317
19318// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19319func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
19320	return nil, false
19321}
19322
19323// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19324func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
19325	return nil, false
19326}
19327
19328// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19329func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
19330	return nil, false
19331}
19332
19333// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19334func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
19335	return nil, false
19336}
19337
19338// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19339func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
19340	return nil, false
19341}
19342
19343// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset.
19344func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
19345	return nil, false
19346}
19347
19348// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19349func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
19350	return nil, false
19351}
19352
19353// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19354func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
19355	return nil, false
19356}
19357
19358// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset.
19359func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
19360	return nil, false
19361}
19362
19363// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset.
19364func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
19365	return nil, false
19366}
19367
19368// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19369func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
19370	return nil, false
19371}
19372
19373// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
19374func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
19375	return nil, false
19376}
19377
19378// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19379func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
19380	return nil, false
19381}
19382
19383// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset.
19384func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
19385	return nil, false
19386}
19387
19388// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset.
19389func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
19390	return nil, false
19391}
19392
19393// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset.
19394func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
19395	return nil, false
19396}
19397
19398// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset.
19399func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
19400	return nil, false
19401}
19402
19403// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset.
19404func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
19405	return nil, false
19406}
19407
19408// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset.
19409func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
19410	return nil, false
19411}
19412
19413// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset.
19414func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
19415	return nil, false
19416}
19417
19418// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset.
19419func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
19420	return nil, false
19421}
19422
19423// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
19424func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
19425	return nil, false
19426}
19427
19428// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset.
19429func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
19430	return nil, false
19431}
19432
19433// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset.
19434func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
19435	return nil, false
19436}
19437
19438// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
19439func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
19440	return nil, false
19441}
19442
19443// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset.
19444func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
19445	return nil, false
19446}
19447
19448// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset.
19449func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
19450	return nil, false
19451}
19452
19453// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset.
19454func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
19455	return nil, false
19456}
19457
19458// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset.
19459func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
19460	return nil, false
19461}
19462
19463// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset.
19464func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) {
19465	return nil, false
19466}
19467
19468// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset.
19469func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
19470	return &ctd, true
19471}
19472
19473// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset.
19474func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
19475	return nil, false
19476}
19477
19478// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset.
19479func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
19480	return nil, false
19481}
19482
19483// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset.
19484func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
19485	return nil, false
19486}
19487
19488// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset.
19489func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
19490	return nil, false
19491}
19492
19493// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset.
19494func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
19495	return nil, false
19496}
19497
19498// AsDataset is the BasicDataset implementation for CassandraTableDataset.
19499func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) {
19500	return nil, false
19501}
19502
19503// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset.
19504func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) {
19505	return &ctd, true
19506}
19507
19508// UnmarshalJSON is the custom unmarshaler for CassandraTableDataset struct.
19509func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error {
19510	var m map[string]*json.RawMessage
19511	err := json.Unmarshal(body, &m)
19512	if err != nil {
19513		return err
19514	}
19515	for k, v := range m {
19516		switch k {
19517		case "typeProperties":
19518			if v != nil {
19519				var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties
19520				err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties)
19521				if err != nil {
19522					return err
19523				}
19524				ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties
19525			}
19526		default:
19527			if v != nil {
19528				var additionalProperties interface{}
19529				err = json.Unmarshal(*v, &additionalProperties)
19530				if err != nil {
19531					return err
19532				}
19533				if ctd.AdditionalProperties == nil {
19534					ctd.AdditionalProperties = make(map[string]interface{})
19535				}
19536				ctd.AdditionalProperties[k] = additionalProperties
19537			}
19538		case "description":
19539			if v != nil {
19540				var description string
19541				err = json.Unmarshal(*v, &description)
19542				if err != nil {
19543					return err
19544				}
19545				ctd.Description = &description
19546			}
19547		case "structure":
19548			if v != nil {
19549				var structure interface{}
19550				err = json.Unmarshal(*v, &structure)
19551				if err != nil {
19552					return err
19553				}
19554				ctd.Structure = structure
19555			}
19556		case "linkedServiceName":
19557			if v != nil {
19558				var linkedServiceName LinkedServiceReference
19559				err = json.Unmarshal(*v, &linkedServiceName)
19560				if err != nil {
19561					return err
19562				}
19563				ctd.LinkedServiceName = &linkedServiceName
19564			}
19565		case "parameters":
19566			if v != nil {
19567				var parameters map[string]*ParameterSpecification
19568				err = json.Unmarshal(*v, &parameters)
19569				if err != nil {
19570					return err
19571				}
19572				ctd.Parameters = parameters
19573			}
19574		case "annotations":
19575			if v != nil {
19576				var annotations []interface{}
19577				err = json.Unmarshal(*v, &annotations)
19578				if err != nil {
19579					return err
19580				}
19581				ctd.Annotations = &annotations
19582			}
19583		case "type":
19584			if v != nil {
19585				var typeVar TypeBasicDataset
19586				err = json.Unmarshal(*v, &typeVar)
19587				if err != nil {
19588					return err
19589				}
19590				ctd.Type = typeVar
19591			}
19592		}
19593	}
19594
19595	return nil
19596}
19597
19598// CassandraTableDatasetTypeProperties cassandra dataset properties.
19599type CassandraTableDatasetTypeProperties struct {
19600	// TableName - The table name of the Cassandra database. Type: string (or Expression with resultType string).
19601	TableName interface{} `json:"tableName,omitempty"`
19602	// Keyspace - The keyspace of the Cassandra database. Type: string (or Expression with resultType string).
19603	Keyspace interface{} `json:"keyspace,omitempty"`
19604}
19605
19606// ConcurLinkedService concur Serivce linked service.
19607type ConcurLinkedService struct {
19608	// ConcurLinkedServiceTypeProperties - Concur Serivce linked service properties.
19609	*ConcurLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
19610	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
19611	AdditionalProperties map[string]interface{} `json:""`
19612	// ConnectVia - The integration runtime reference.
19613	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
19614	// Description - Linked service description.
19615	Description *string `json:"description,omitempty"`
19616	// Parameters - Parameters for linked service.
19617	Parameters map[string]*ParameterSpecification `json:"parameters"`
19618	// Annotations - List of tags that can be used for describing the Dataset.
19619	Annotations *[]interface{} `json:"annotations,omitempty"`
19620	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
19621	Type TypeBasicLinkedService `json:"type,omitempty"`
19622}
19623
19624// MarshalJSON is the custom marshaler for ConcurLinkedService.
19625func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) {
19626	cls.Type = TypeConcur
19627	objectMap := make(map[string]interface{})
19628	if cls.ConcurLinkedServiceTypeProperties != nil {
19629		objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties
19630	}
19631	if cls.ConnectVia != nil {
19632		objectMap["connectVia"] = cls.ConnectVia
19633	}
19634	if cls.Description != nil {
19635		objectMap["description"] = cls.Description
19636	}
19637	if cls.Parameters != nil {
19638		objectMap["parameters"] = cls.Parameters
19639	}
19640	if cls.Annotations != nil {
19641		objectMap["annotations"] = cls.Annotations
19642	}
19643	if cls.Type != "" {
19644		objectMap["type"] = cls.Type
19645	}
19646	for k, v := range cls.AdditionalProperties {
19647		objectMap[k] = v
19648	}
19649	return json.Marshal(objectMap)
19650}
19651
19652// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19653func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
19654	return nil, false
19655}
19656
19657// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19658func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
19659	return nil, false
19660}
19661
19662// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19663func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
19664	return nil, false
19665}
19666
19667// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19668func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
19669	return nil, false
19670}
19671
19672// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19673func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
19674	return nil, false
19675}
19676
19677// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19678func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
19679	return nil, false
19680}
19681
19682// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19683func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
19684	return nil, false
19685}
19686
19687// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19688func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
19689	return nil, false
19690}
19691
19692// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19693func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
19694	return nil, false
19695}
19696
19697// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19698func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
19699	return nil, false
19700}
19701
19702// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19703func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
19704	return nil, false
19705}
19706
19707// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19708func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
19709	return nil, false
19710}
19711
19712// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19713func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
19714	return nil, false
19715}
19716
19717// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19718func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
19719	return nil, false
19720}
19721
19722// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19723func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
19724	return nil, false
19725}
19726
19727// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19728func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
19729	return nil, false
19730}
19731
19732// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19733func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
19734	return nil, false
19735}
19736
19737// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19738func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
19739	return nil, false
19740}
19741
19742// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19743func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
19744	return nil, false
19745}
19746
19747// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19748func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
19749	return nil, false
19750}
19751
19752// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19753func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
19754	return nil, false
19755}
19756
19757// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19758func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
19759	return nil, false
19760}
19761
19762// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19763func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
19764	return nil, false
19765}
19766
19767// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19768func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
19769	return nil, false
19770}
19771
19772// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19773func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
19774	return nil, false
19775}
19776
19777// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19778func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
19779	return nil, false
19780}
19781
19782// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19783func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
19784	return nil, false
19785}
19786
19787// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19788func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
19789	return nil, false
19790}
19791
19792// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19793func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
19794	return nil, false
19795}
19796
19797// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19798func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
19799	return nil, false
19800}
19801
19802// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19803func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
19804	return &cls, true
19805}
19806
19807// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19808func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
19809	return nil, false
19810}
19811
19812// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19813func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
19814	return nil, false
19815}
19816
19817// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19818func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
19819	return nil, false
19820}
19821
19822// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19823func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
19824	return nil, false
19825}
19826
19827// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19828func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
19829	return nil, false
19830}
19831
19832// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19833func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
19834	return nil, false
19835}
19836
19837// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19838func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
19839	return nil, false
19840}
19841
19842// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19843func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
19844	return nil, false
19845}
19846
19847// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19848func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
19849	return nil, false
19850}
19851
19852// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19853func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
19854	return nil, false
19855}
19856
19857// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19858func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
19859	return nil, false
19860}
19861
19862// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19863func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
19864	return nil, false
19865}
19866
19867// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19868func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
19869	return nil, false
19870}
19871
19872// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19873func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
19874	return nil, false
19875}
19876
19877// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19878func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
19879	return nil, false
19880}
19881
19882// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19883func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
19884	return nil, false
19885}
19886
19887// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19888func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
19889	return nil, false
19890}
19891
19892// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19893func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
19894	return nil, false
19895}
19896
19897// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19898func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
19899	return nil, false
19900}
19901
19902// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19903func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
19904	return nil, false
19905}
19906
19907// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19908func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
19909	return nil, false
19910}
19911
19912// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19913func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
19914	return nil, false
19915}
19916
19917// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19918func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
19919	return nil, false
19920}
19921
19922// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19923func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
19924	return nil, false
19925}
19926
19927// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19928func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
19929	return nil, false
19930}
19931
19932// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19933func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
19934	return nil, false
19935}
19936
19937// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19938func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
19939	return nil, false
19940}
19941
19942// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19943func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
19944	return nil, false
19945}
19946
19947// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19948func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
19949	return nil, false
19950}
19951
19952// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19953func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
19954	return nil, false
19955}
19956
19957// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19958func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
19959	return nil, false
19960}
19961
19962// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19963func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
19964	return nil, false
19965}
19966
19967// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19968func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
19969	return nil, false
19970}
19971
19972// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19973func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
19974	return nil, false
19975}
19976
19977// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19978func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
19979	return nil, false
19980}
19981
19982// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19983func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
19984	return nil, false
19985}
19986
19987// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19988func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
19989	return nil, false
19990}
19991
19992// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19993func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
19994	return nil, false
19995}
19996
19997// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
19998func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
19999	return nil, false
20000}
20001
20002// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
20003func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) {
20004	return nil, false
20005}
20006
20007// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService.
20008func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
20009	return &cls, true
20010}
20011
20012// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct.
20013func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error {
20014	var m map[string]*json.RawMessage
20015	err := json.Unmarshal(body, &m)
20016	if err != nil {
20017		return err
20018	}
20019	for k, v := range m {
20020		switch k {
20021		case "typeProperties":
20022			if v != nil {
20023				var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties
20024				err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties)
20025				if err != nil {
20026					return err
20027				}
20028				cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties
20029			}
20030		default:
20031			if v != nil {
20032				var additionalProperties interface{}
20033				err = json.Unmarshal(*v, &additionalProperties)
20034				if err != nil {
20035					return err
20036				}
20037				if cls.AdditionalProperties == nil {
20038					cls.AdditionalProperties = make(map[string]interface{})
20039				}
20040				cls.AdditionalProperties[k] = additionalProperties
20041			}
20042		case "connectVia":
20043			if v != nil {
20044				var connectVia IntegrationRuntimeReference
20045				err = json.Unmarshal(*v, &connectVia)
20046				if err != nil {
20047					return err
20048				}
20049				cls.ConnectVia = &connectVia
20050			}
20051		case "description":
20052			if v != nil {
20053				var description string
20054				err = json.Unmarshal(*v, &description)
20055				if err != nil {
20056					return err
20057				}
20058				cls.Description = &description
20059			}
20060		case "parameters":
20061			if v != nil {
20062				var parameters map[string]*ParameterSpecification
20063				err = json.Unmarshal(*v, &parameters)
20064				if err != nil {
20065					return err
20066				}
20067				cls.Parameters = parameters
20068			}
20069		case "annotations":
20070			if v != nil {
20071				var annotations []interface{}
20072				err = json.Unmarshal(*v, &annotations)
20073				if err != nil {
20074					return err
20075				}
20076				cls.Annotations = &annotations
20077			}
20078		case "type":
20079			if v != nil {
20080				var typeVar TypeBasicLinkedService
20081				err = json.Unmarshal(*v, &typeVar)
20082				if err != nil {
20083					return err
20084				}
20085				cls.Type = typeVar
20086			}
20087		}
20088	}
20089
20090	return nil
20091}
20092
20093// ConcurLinkedServiceTypeProperties concur Serivce linked service properties.
20094type ConcurLinkedServiceTypeProperties struct {
20095	// ClientID - Application client_id supplied by Concur App Management.
20096	ClientID interface{} `json:"clientId,omitempty"`
20097	// Username - The user name that you use to access Concur Service.
20098	Username interface{} `json:"username,omitempty"`
20099	// Password - The password corresponding to the user name that you provided in the username field.
20100	Password BasicSecretBase `json:"password,omitempty"`
20101	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
20102	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
20103	// 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.
20104	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
20105	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
20106	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
20107	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
20108	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
20109}
20110
20111// UnmarshalJSON is the custom unmarshaler for ConcurLinkedServiceTypeProperties struct.
20112func (clstp *ConcurLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
20113	var m map[string]*json.RawMessage
20114	err := json.Unmarshal(body, &m)
20115	if err != nil {
20116		return err
20117	}
20118	for k, v := range m {
20119		switch k {
20120		case "clientId":
20121			if v != nil {
20122				var clientID interface{}
20123				err = json.Unmarshal(*v, &clientID)
20124				if err != nil {
20125					return err
20126				}
20127				clstp.ClientID = clientID
20128			}
20129		case "username":
20130			if v != nil {
20131				var username interface{}
20132				err = json.Unmarshal(*v, &username)
20133				if err != nil {
20134					return err
20135				}
20136				clstp.Username = username
20137			}
20138		case "password":
20139			if v != nil {
20140				password, err := unmarshalBasicSecretBase(*v)
20141				if err != nil {
20142					return err
20143				}
20144				clstp.Password = password
20145			}
20146		case "useEncryptedEndpoints":
20147			if v != nil {
20148				var useEncryptedEndpoints interface{}
20149				err = json.Unmarshal(*v, &useEncryptedEndpoints)
20150				if err != nil {
20151					return err
20152				}
20153				clstp.UseEncryptedEndpoints = useEncryptedEndpoints
20154			}
20155		case "useHostVerification":
20156			if v != nil {
20157				var useHostVerification interface{}
20158				err = json.Unmarshal(*v, &useHostVerification)
20159				if err != nil {
20160					return err
20161				}
20162				clstp.UseHostVerification = useHostVerification
20163			}
20164		case "usePeerVerification":
20165			if v != nil {
20166				var usePeerVerification interface{}
20167				err = json.Unmarshal(*v, &usePeerVerification)
20168				if err != nil {
20169					return err
20170				}
20171				clstp.UsePeerVerification = usePeerVerification
20172			}
20173		case "encryptedCredential":
20174			if v != nil {
20175				var encryptedCredential interface{}
20176				err = json.Unmarshal(*v, &encryptedCredential)
20177				if err != nil {
20178					return err
20179				}
20180				clstp.EncryptedCredential = encryptedCredential
20181			}
20182		}
20183	}
20184
20185	return nil
20186}
20187
20188// ConcurObjectDataset concur Serivce dataset.
20189type ConcurObjectDataset struct {
20190	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
20191	AdditionalProperties map[string]interface{} `json:""`
20192	// Description - Dataset description.
20193	Description *string `json:"description,omitempty"`
20194	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
20195	Structure interface{} `json:"structure,omitempty"`
20196	// LinkedServiceName - Linked service reference.
20197	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
20198	// Parameters - Parameters for dataset.
20199	Parameters map[string]*ParameterSpecification `json:"parameters"`
20200	// Annotations - List of tags that can be used for describing the Dataset.
20201	Annotations *[]interface{} `json:"annotations,omitempty"`
20202	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
20203	Type TypeBasicDataset `json:"type,omitempty"`
20204}
20205
20206// MarshalJSON is the custom marshaler for ConcurObjectDataset.
20207func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) {
20208	cod.Type = TypeConcurObject
20209	objectMap := make(map[string]interface{})
20210	if cod.Description != nil {
20211		objectMap["description"] = cod.Description
20212	}
20213	objectMap["structure"] = cod.Structure
20214	if cod.LinkedServiceName != nil {
20215		objectMap["linkedServiceName"] = cod.LinkedServiceName
20216	}
20217	if cod.Parameters != nil {
20218		objectMap["parameters"] = cod.Parameters
20219	}
20220	if cod.Annotations != nil {
20221		objectMap["annotations"] = cod.Annotations
20222	}
20223	if cod.Type != "" {
20224		objectMap["type"] = cod.Type
20225	}
20226	for k, v := range cod.AdditionalProperties {
20227		objectMap[k] = v
20228	}
20229	return json.Marshal(objectMap)
20230}
20231
20232// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20233func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
20234	return nil, false
20235}
20236
20237// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20238func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
20239	return nil, false
20240}
20241
20242// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20243func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
20244	return nil, false
20245}
20246
20247// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20248func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
20249	return nil, false
20250}
20251
20252// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20253func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
20254	return nil, false
20255}
20256
20257// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20258func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
20259	return nil, false
20260}
20261
20262// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20263func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
20264	return nil, false
20265}
20266
20267// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20268func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
20269	return nil, false
20270}
20271
20272// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20273func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
20274	return nil, false
20275}
20276
20277// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20278func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
20279	return nil, false
20280}
20281
20282// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20283func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
20284	return nil, false
20285}
20286
20287// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20288func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
20289	return nil, false
20290}
20291
20292// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20293func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
20294	return nil, false
20295}
20296
20297// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20298func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
20299	return nil, false
20300}
20301
20302// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20303func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
20304	return nil, false
20305}
20306
20307// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20308func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
20309	return nil, false
20310}
20311
20312// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20313func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
20314	return nil, false
20315}
20316
20317// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20318func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
20319	return nil, false
20320}
20321
20322// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20323func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
20324	return nil, false
20325}
20326
20327// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20328func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
20329	return nil, false
20330}
20331
20332// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20333func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
20334	return nil, false
20335}
20336
20337// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20338func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
20339	return nil, false
20340}
20341
20342// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20343func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
20344	return nil, false
20345}
20346
20347// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20348func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
20349	return nil, false
20350}
20351
20352// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20353func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
20354	return nil, false
20355}
20356
20357// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20358func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
20359	return nil, false
20360}
20361
20362// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20363func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
20364	return nil, false
20365}
20366
20367// AsConcurObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20368func (cod ConcurObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
20369	return &cod, true
20370}
20371
20372// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20373func (cod ConcurObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
20374	return nil, false
20375}
20376
20377// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20378func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
20379	return nil, false
20380}
20381
20382// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset.
20383func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
20384	return nil, false
20385}
20386
20387// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset.
20388func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
20389	return nil, false
20390}
20391
20392// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20393func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
20394	return nil, false
20395}
20396
20397// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20398func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
20399	return nil, false
20400}
20401
20402// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
20403func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
20404	return nil, false
20405}
20406
20407// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
20408func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
20409	return nil, false
20410}
20411
20412// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset.
20413func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
20414	return nil, false
20415}
20416
20417// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20418func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
20419	return nil, false
20420}
20421
20422// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20423func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
20424	return nil, false
20425}
20426
20427// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20428func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
20429	return nil, false
20430}
20431
20432// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset.
20433func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
20434	return nil, false
20435}
20436
20437// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
20438func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
20439	return nil, false
20440}
20441
20442// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset.
20443func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
20444	return nil, false
20445}
20446
20447// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset.
20448func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
20449	return nil, false
20450}
20451
20452// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset.
20453func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
20454	return nil, false
20455}
20456
20457// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset.
20458func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
20459	return nil, false
20460}
20461
20462// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset.
20463func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
20464	return nil, false
20465}
20466
20467// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20468func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
20469	return nil, false
20470}
20471
20472// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20473func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
20474	return nil, false
20475}
20476
20477// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20478func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
20479	return nil, false
20480}
20481
20482// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset.
20483func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
20484	return nil, false
20485}
20486
20487// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset.
20488func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
20489	return nil, false
20490}
20491
20492// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset.
20493func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
20494	return nil, false
20495}
20496
20497// AsDataset is the BasicDataset implementation for ConcurObjectDataset.
20498func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) {
20499	return nil, false
20500}
20501
20502// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset.
20503func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) {
20504	return &cod, true
20505}
20506
20507// ConcurSource a copy activity Concur Serivce source.
20508type ConcurSource struct {
20509	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
20510	Query interface{} `json:"query,omitempty"`
20511	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
20512	AdditionalProperties map[string]interface{} `json:""`
20513	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
20514	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
20515	// 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])).
20516	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
20517	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
20518	Type TypeBasicCopySource `json:"type,omitempty"`
20519}
20520
20521// MarshalJSON is the custom marshaler for ConcurSource.
20522func (cs ConcurSource) MarshalJSON() ([]byte, error) {
20523	cs.Type = TypeConcurSource
20524	objectMap := make(map[string]interface{})
20525	objectMap["query"] = cs.Query
20526	objectMap["sourceRetryCount"] = cs.SourceRetryCount
20527	objectMap["sourceRetryWait"] = cs.SourceRetryWait
20528	if cs.Type != "" {
20529		objectMap["type"] = cs.Type
20530	}
20531	for k, v := range cs.AdditionalProperties {
20532		objectMap[k] = v
20533	}
20534	return json.Marshal(objectMap)
20535}
20536
20537// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource.
20538func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
20539	return nil, false
20540}
20541
20542// AsResponsysSource is the BasicCopySource implementation for ConcurSource.
20543func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) {
20544	return nil, false
20545}
20546
20547// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource.
20548func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
20549	return nil, false
20550}
20551
20552// AsVerticaSource is the BasicCopySource implementation for ConcurSource.
20553func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) {
20554	return nil, false
20555}
20556
20557// AsNetezzaSource is the BasicCopySource implementation for ConcurSource.
20558func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) {
20559	return nil, false
20560}
20561
20562// AsZohoSource is the BasicCopySource implementation for ConcurSource.
20563func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) {
20564	return nil, false
20565}
20566
20567// AsXeroSource is the BasicCopySource implementation for ConcurSource.
20568func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) {
20569	return nil, false
20570}
20571
20572// AsSquareSource is the BasicCopySource implementation for ConcurSource.
20573func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) {
20574	return nil, false
20575}
20576
20577// AsSparkSource is the BasicCopySource implementation for ConcurSource.
20578func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) {
20579	return nil, false
20580}
20581
20582// AsShopifySource is the BasicCopySource implementation for ConcurSource.
20583func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) {
20584	return nil, false
20585}
20586
20587// AsServiceNowSource is the BasicCopySource implementation for ConcurSource.
20588func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) {
20589	return nil, false
20590}
20591
20592// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource.
20593func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
20594	return nil, false
20595}
20596
20597// AsPrestoSource is the BasicCopySource implementation for ConcurSource.
20598func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) {
20599	return nil, false
20600}
20601
20602// AsPhoenixSource is the BasicCopySource implementation for ConcurSource.
20603func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) {
20604	return nil, false
20605}
20606
20607// AsPaypalSource is the BasicCopySource implementation for ConcurSource.
20608func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) {
20609	return nil, false
20610}
20611
20612// AsMarketoSource is the BasicCopySource implementation for ConcurSource.
20613func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) {
20614	return nil, false
20615}
20616
20617// AsMariaDBSource is the BasicCopySource implementation for ConcurSource.
20618func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) {
20619	return nil, false
20620}
20621
20622// AsMagentoSource is the BasicCopySource implementation for ConcurSource.
20623func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) {
20624	return nil, false
20625}
20626
20627// AsJiraSource is the BasicCopySource implementation for ConcurSource.
20628func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) {
20629	return nil, false
20630}
20631
20632// AsImpalaSource is the BasicCopySource implementation for ConcurSource.
20633func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) {
20634	return nil, false
20635}
20636
20637// AsHubspotSource is the BasicCopySource implementation for ConcurSource.
20638func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) {
20639	return nil, false
20640}
20641
20642// AsHiveSource is the BasicCopySource implementation for ConcurSource.
20643func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) {
20644	return nil, false
20645}
20646
20647// AsHBaseSource is the BasicCopySource implementation for ConcurSource.
20648func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) {
20649	return nil, false
20650}
20651
20652// AsGreenplumSource is the BasicCopySource implementation for ConcurSource.
20653func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) {
20654	return nil, false
20655}
20656
20657// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource.
20658func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
20659	return nil, false
20660}
20661
20662// AsEloquaSource is the BasicCopySource implementation for ConcurSource.
20663func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) {
20664	return nil, false
20665}
20666
20667// AsDrillSource is the BasicCopySource implementation for ConcurSource.
20668func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) {
20669	return nil, false
20670}
20671
20672// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource.
20673func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
20674	return nil, false
20675}
20676
20677// AsConcurSource is the BasicCopySource implementation for ConcurSource.
20678func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) {
20679	return &cs, true
20680}
20681
20682// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource.
20683func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
20684	return nil, false
20685}
20686
20687// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource.
20688func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
20689	return nil, false
20690}
20691
20692// AsHTTPSource is the BasicCopySource implementation for ConcurSource.
20693func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) {
20694	return nil, false
20695}
20696
20697// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource.
20698func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
20699	return nil, false
20700}
20701
20702// AsMongoDbSource is the BasicCopySource implementation for ConcurSource.
20703func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) {
20704	return nil, false
20705}
20706
20707// AsCassandraSource is the BasicCopySource implementation for ConcurSource.
20708func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) {
20709	return nil, false
20710}
20711
20712// AsWebSource is the BasicCopySource implementation for ConcurSource.
20713func (cs ConcurSource) AsWebSource() (*WebSource, bool) {
20714	return nil, false
20715}
20716
20717// AsOracleSource is the BasicCopySource implementation for ConcurSource.
20718func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) {
20719	return nil, false
20720}
20721
20722// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource.
20723func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
20724	return nil, false
20725}
20726
20727// AsHdfsSource is the BasicCopySource implementation for ConcurSource.
20728func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) {
20729	return nil, false
20730}
20731
20732// AsFileSystemSource is the BasicCopySource implementation for ConcurSource.
20733func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) {
20734	return nil, false
20735}
20736
20737// AsSQLDWSource is the BasicCopySource implementation for ConcurSource.
20738func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) {
20739	return nil, false
20740}
20741
20742// AsSQLSource is the BasicCopySource implementation for ConcurSource.
20743func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) {
20744	return nil, false
20745}
20746
20747// AsSapEccSource is the BasicCopySource implementation for ConcurSource.
20748func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) {
20749	return nil, false
20750}
20751
20752// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource.
20753func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
20754	return nil, false
20755}
20756
20757// AsSalesforceSource is the BasicCopySource implementation for ConcurSource.
20758func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) {
20759	return nil, false
20760}
20761
20762// AsRelationalSource is the BasicCopySource implementation for ConcurSource.
20763func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) {
20764	return nil, false
20765}
20766
20767// AsDynamicsSource is the BasicCopySource implementation for ConcurSource.
20768func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) {
20769	return nil, false
20770}
20771
20772// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource.
20773func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
20774	return nil, false
20775}
20776
20777// AsBlobSource is the BasicCopySource implementation for ConcurSource.
20778func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) {
20779	return nil, false
20780}
20781
20782// AsAzureTableSource is the BasicCopySource implementation for ConcurSource.
20783func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) {
20784	return nil, false
20785}
20786
20787// AsCopySource is the BasicCopySource implementation for ConcurSource.
20788func (cs ConcurSource) AsCopySource() (*CopySource, bool) {
20789	return nil, false
20790}
20791
20792// AsBasicCopySource is the BasicCopySource implementation for ConcurSource.
20793func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) {
20794	return &cs, true
20795}
20796
20797// BasicControlActivity base class for all control activities like IfCondition, ForEach , Until.
20798type BasicControlActivity interface {
20799	AsFilterActivity() (*FilterActivity, bool)
20800	AsUntilActivity() (*UntilActivity, bool)
20801	AsWaitActivity() (*WaitActivity, bool)
20802	AsForEachActivity() (*ForEachActivity, bool)
20803	AsIfConditionActivity() (*IfConditionActivity, bool)
20804	AsExecutePipelineActivity() (*ExecutePipelineActivity, bool)
20805	AsControlActivity() (*ControlActivity, bool)
20806}
20807
20808// ControlActivity base class for all control activities like IfCondition, ForEach , Until.
20809type ControlActivity struct {
20810	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
20811	AdditionalProperties map[string]interface{} `json:""`
20812	// Name - Activity name.
20813	Name *string `json:"name,omitempty"`
20814	// Description - Activity description.
20815	Description *string `json:"description,omitempty"`
20816	// DependsOn - Activity depends on condition.
20817	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
20818	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
20819	Type TypeBasicActivity `json:"type,omitempty"`
20820}
20821
20822func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) {
20823	var m map[string]interface{}
20824	err := json.Unmarshal(body, &m)
20825	if err != nil {
20826		return nil, err
20827	}
20828
20829	switch m["type"] {
20830	case string(TypeFilter):
20831		var fa FilterActivity
20832		err := json.Unmarshal(body, &fa)
20833		return fa, err
20834	case string(TypeUntil):
20835		var ua UntilActivity
20836		err := json.Unmarshal(body, &ua)
20837		return ua, err
20838	case string(TypeWait):
20839		var wa WaitActivity
20840		err := json.Unmarshal(body, &wa)
20841		return wa, err
20842	case string(TypeForEach):
20843		var fea ForEachActivity
20844		err := json.Unmarshal(body, &fea)
20845		return fea, err
20846	case string(TypeIfCondition):
20847		var ica IfConditionActivity
20848		err := json.Unmarshal(body, &ica)
20849		return ica, err
20850	case string(TypeExecutePipeline):
20851		var epa ExecutePipelineActivity
20852		err := json.Unmarshal(body, &epa)
20853		return epa, err
20854	default:
20855		var ca ControlActivity
20856		err := json.Unmarshal(body, &ca)
20857		return ca, err
20858	}
20859}
20860func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) {
20861	var rawMessages []*json.RawMessage
20862	err := json.Unmarshal(body, &rawMessages)
20863	if err != nil {
20864		return nil, err
20865	}
20866
20867	caArray := make([]BasicControlActivity, len(rawMessages))
20868
20869	for index, rawMessage := range rawMessages {
20870		ca, err := unmarshalBasicControlActivity(*rawMessage)
20871		if err != nil {
20872			return nil, err
20873		}
20874		caArray[index] = ca
20875	}
20876	return caArray, nil
20877}
20878
20879// MarshalJSON is the custom marshaler for ControlActivity.
20880func (ca ControlActivity) MarshalJSON() ([]byte, error) {
20881	ca.Type = TypeContainer
20882	objectMap := make(map[string]interface{})
20883	if ca.Name != nil {
20884		objectMap["name"] = ca.Name
20885	}
20886	if ca.Description != nil {
20887		objectMap["description"] = ca.Description
20888	}
20889	if ca.DependsOn != nil {
20890		objectMap["dependsOn"] = ca.DependsOn
20891	}
20892	if ca.Type != "" {
20893		objectMap["type"] = ca.Type
20894	}
20895	for k, v := range ca.AdditionalProperties {
20896		objectMap[k] = v
20897	}
20898	return json.Marshal(objectMap)
20899}
20900
20901// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity.
20902func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
20903	return nil, false
20904}
20905
20906// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity.
20907func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
20908	return nil, false
20909}
20910
20911// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity.
20912func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
20913	return nil, false
20914}
20915
20916// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity.
20917func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
20918	return nil, false
20919}
20920
20921// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity.
20922func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
20923	return nil, false
20924}
20925
20926// AsWebActivity is the BasicActivity implementation for ControlActivity.
20927func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) {
20928	return nil, false
20929}
20930
20931// AsLookupActivity is the BasicActivity implementation for ControlActivity.
20932func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) {
20933	return nil, false
20934}
20935
20936// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity.
20937func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
20938	return nil, false
20939}
20940
20941// AsCustomActivity is the BasicActivity implementation for ControlActivity.
20942func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) {
20943	return nil, false
20944}
20945
20946// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity.
20947func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
20948	return nil, false
20949}
20950
20951// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity.
20952func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
20953	return nil, false
20954}
20955
20956// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity.
20957func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
20958	return nil, false
20959}
20960
20961// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity.
20962func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
20963	return nil, false
20964}
20965
20966// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity.
20967func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
20968	return nil, false
20969}
20970
20971// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity.
20972func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
20973	return nil, false
20974}
20975
20976// AsCopyActivity is the BasicActivity implementation for ControlActivity.
20977func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) {
20978	return nil, false
20979}
20980
20981// AsExecutionActivity is the BasicActivity implementation for ControlActivity.
20982func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
20983	return nil, false
20984}
20985
20986// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity.
20987func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
20988	return nil, false
20989}
20990
20991// AsFilterActivity is the BasicActivity implementation for ControlActivity.
20992func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) {
20993	return nil, false
20994}
20995
20996// AsUntilActivity is the BasicActivity implementation for ControlActivity.
20997func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) {
20998	return nil, false
20999}
21000
21001// AsWaitActivity is the BasicActivity implementation for ControlActivity.
21002func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) {
21003	return nil, false
21004}
21005
21006// AsForEachActivity is the BasicActivity implementation for ControlActivity.
21007func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) {
21008	return nil, false
21009}
21010
21011// AsIfConditionActivity is the BasicActivity implementation for ControlActivity.
21012func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
21013	return nil, false
21014}
21015
21016// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity.
21017func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
21018	return nil, false
21019}
21020
21021// AsControlActivity is the BasicActivity implementation for ControlActivity.
21022func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) {
21023	return &ca, true
21024}
21025
21026// AsBasicControlActivity is the BasicActivity implementation for ControlActivity.
21027func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
21028	return &ca, true
21029}
21030
21031// AsActivity is the BasicActivity implementation for ControlActivity.
21032func (ca ControlActivity) AsActivity() (*Activity, bool) {
21033	return nil, false
21034}
21035
21036// AsBasicActivity is the BasicActivity implementation for ControlActivity.
21037func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) {
21038	return &ca, true
21039}
21040
21041// CopyActivity copy activity.
21042type CopyActivity struct {
21043	// CopyActivityTypeProperties - Copy activity properties.
21044	*CopyActivityTypeProperties `json:"typeProperties,omitempty"`
21045	// Inputs - List of inputs for the activity.
21046	Inputs *[]DatasetReference `json:"inputs,omitempty"`
21047	// Outputs - List of outputs for the activity.
21048	Outputs *[]DatasetReference `json:"outputs,omitempty"`
21049	// LinkedServiceName - Linked service reference.
21050	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
21051	// Policy - Activity policy.
21052	Policy *ActivityPolicy `json:"policy,omitempty"`
21053	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
21054	AdditionalProperties map[string]interface{} `json:""`
21055	// Name - Activity name.
21056	Name *string `json:"name,omitempty"`
21057	// Description - Activity description.
21058	Description *string `json:"description,omitempty"`
21059	// DependsOn - Activity depends on condition.
21060	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
21061	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
21062	Type TypeBasicActivity `json:"type,omitempty"`
21063}
21064
21065// MarshalJSON is the custom marshaler for CopyActivity.
21066func (ca CopyActivity) MarshalJSON() ([]byte, error) {
21067	ca.Type = TypeCopy
21068	objectMap := make(map[string]interface{})
21069	if ca.CopyActivityTypeProperties != nil {
21070		objectMap["typeProperties"] = ca.CopyActivityTypeProperties
21071	}
21072	if ca.Inputs != nil {
21073		objectMap["inputs"] = ca.Inputs
21074	}
21075	if ca.Outputs != nil {
21076		objectMap["outputs"] = ca.Outputs
21077	}
21078	if ca.LinkedServiceName != nil {
21079		objectMap["linkedServiceName"] = ca.LinkedServiceName
21080	}
21081	if ca.Policy != nil {
21082		objectMap["policy"] = ca.Policy
21083	}
21084	if ca.Name != nil {
21085		objectMap["name"] = ca.Name
21086	}
21087	if ca.Description != nil {
21088		objectMap["description"] = ca.Description
21089	}
21090	if ca.DependsOn != nil {
21091		objectMap["dependsOn"] = ca.DependsOn
21092	}
21093	if ca.Type != "" {
21094		objectMap["type"] = ca.Type
21095	}
21096	for k, v := range ca.AdditionalProperties {
21097		objectMap[k] = v
21098	}
21099	return json.Marshal(objectMap)
21100}
21101
21102// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity.
21103func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
21104	return nil, false
21105}
21106
21107// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity.
21108func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
21109	return nil, false
21110}
21111
21112// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity.
21113func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
21114	return nil, false
21115}
21116
21117// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity.
21118func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
21119	return nil, false
21120}
21121
21122// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity.
21123func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
21124	return nil, false
21125}
21126
21127// AsWebActivity is the BasicActivity implementation for CopyActivity.
21128func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) {
21129	return nil, false
21130}
21131
21132// AsLookupActivity is the BasicActivity implementation for CopyActivity.
21133func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) {
21134	return nil, false
21135}
21136
21137// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity.
21138func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
21139	return nil, false
21140}
21141
21142// AsCustomActivity is the BasicActivity implementation for CopyActivity.
21143func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) {
21144	return nil, false
21145}
21146
21147// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity.
21148func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
21149	return nil, false
21150}
21151
21152// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity.
21153func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
21154	return nil, false
21155}
21156
21157// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity.
21158func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
21159	return nil, false
21160}
21161
21162// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity.
21163func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
21164	return nil, false
21165}
21166
21167// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity.
21168func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
21169	return nil, false
21170}
21171
21172// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity.
21173func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
21174	return nil, false
21175}
21176
21177// AsCopyActivity is the BasicActivity implementation for CopyActivity.
21178func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) {
21179	return &ca, true
21180}
21181
21182// AsExecutionActivity is the BasicActivity implementation for CopyActivity.
21183func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
21184	return nil, false
21185}
21186
21187// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity.
21188func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
21189	return &ca, true
21190}
21191
21192// AsFilterActivity is the BasicActivity implementation for CopyActivity.
21193func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) {
21194	return nil, false
21195}
21196
21197// AsUntilActivity is the BasicActivity implementation for CopyActivity.
21198func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) {
21199	return nil, false
21200}
21201
21202// AsWaitActivity is the BasicActivity implementation for CopyActivity.
21203func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) {
21204	return nil, false
21205}
21206
21207// AsForEachActivity is the BasicActivity implementation for CopyActivity.
21208func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) {
21209	return nil, false
21210}
21211
21212// AsIfConditionActivity is the BasicActivity implementation for CopyActivity.
21213func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
21214	return nil, false
21215}
21216
21217// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity.
21218func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
21219	return nil, false
21220}
21221
21222// AsControlActivity is the BasicActivity implementation for CopyActivity.
21223func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) {
21224	return nil, false
21225}
21226
21227// AsBasicControlActivity is the BasicActivity implementation for CopyActivity.
21228func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
21229	return nil, false
21230}
21231
21232// AsActivity is the BasicActivity implementation for CopyActivity.
21233func (ca CopyActivity) AsActivity() (*Activity, bool) {
21234	return nil, false
21235}
21236
21237// AsBasicActivity is the BasicActivity implementation for CopyActivity.
21238func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) {
21239	return &ca, true
21240}
21241
21242// UnmarshalJSON is the custom unmarshaler for CopyActivity struct.
21243func (ca *CopyActivity) UnmarshalJSON(body []byte) error {
21244	var m map[string]*json.RawMessage
21245	err := json.Unmarshal(body, &m)
21246	if err != nil {
21247		return err
21248	}
21249	for k, v := range m {
21250		switch k {
21251		case "typeProperties":
21252			if v != nil {
21253				var copyActivityTypeProperties CopyActivityTypeProperties
21254				err = json.Unmarshal(*v, &copyActivityTypeProperties)
21255				if err != nil {
21256					return err
21257				}
21258				ca.CopyActivityTypeProperties = &copyActivityTypeProperties
21259			}
21260		case "inputs":
21261			if v != nil {
21262				var inputs []DatasetReference
21263				err = json.Unmarshal(*v, &inputs)
21264				if err != nil {
21265					return err
21266				}
21267				ca.Inputs = &inputs
21268			}
21269		case "outputs":
21270			if v != nil {
21271				var outputs []DatasetReference
21272				err = json.Unmarshal(*v, &outputs)
21273				if err != nil {
21274					return err
21275				}
21276				ca.Outputs = &outputs
21277			}
21278		case "linkedServiceName":
21279			if v != nil {
21280				var linkedServiceName LinkedServiceReference
21281				err = json.Unmarshal(*v, &linkedServiceName)
21282				if err != nil {
21283					return err
21284				}
21285				ca.LinkedServiceName = &linkedServiceName
21286			}
21287		case "policy":
21288			if v != nil {
21289				var policy ActivityPolicy
21290				err = json.Unmarshal(*v, &policy)
21291				if err != nil {
21292					return err
21293				}
21294				ca.Policy = &policy
21295			}
21296		default:
21297			if v != nil {
21298				var additionalProperties interface{}
21299				err = json.Unmarshal(*v, &additionalProperties)
21300				if err != nil {
21301					return err
21302				}
21303				if ca.AdditionalProperties == nil {
21304					ca.AdditionalProperties = make(map[string]interface{})
21305				}
21306				ca.AdditionalProperties[k] = additionalProperties
21307			}
21308		case "name":
21309			if v != nil {
21310				var name string
21311				err = json.Unmarshal(*v, &name)
21312				if err != nil {
21313					return err
21314				}
21315				ca.Name = &name
21316			}
21317		case "description":
21318			if v != nil {
21319				var description string
21320				err = json.Unmarshal(*v, &description)
21321				if err != nil {
21322					return err
21323				}
21324				ca.Description = &description
21325			}
21326		case "dependsOn":
21327			if v != nil {
21328				var dependsOn []ActivityDependency
21329				err = json.Unmarshal(*v, &dependsOn)
21330				if err != nil {
21331					return err
21332				}
21333				ca.DependsOn = &dependsOn
21334			}
21335		case "type":
21336			if v != nil {
21337				var typeVar TypeBasicActivity
21338				err = json.Unmarshal(*v, &typeVar)
21339				if err != nil {
21340					return err
21341				}
21342				ca.Type = typeVar
21343			}
21344		}
21345	}
21346
21347	return nil
21348}
21349
21350// CopyActivityTypeProperties copy activity properties.
21351type CopyActivityTypeProperties struct {
21352	// Source - Copy activity source.
21353	Source BasicCopySource `json:"source,omitempty"`
21354	// Sink - Copy activity sink.
21355	Sink BasicCopySink `json:"sink,omitempty"`
21356	// Translator - Copy activity translator. If not specificed, tabular translator is used.
21357	Translator BasicCopyTranslator `json:"translator,omitempty"`
21358	// EnableStaging - Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
21359	EnableStaging interface{} `json:"enableStaging,omitempty"`
21360	// StagingSettings - Specifies interim staging settings when EnableStaging is true.
21361	StagingSettings *StagingSettings `json:"stagingSettings,omitempty"`
21362	// ParallelCopies - Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0.
21363	ParallelCopies interface{} `json:"parallelCopies,omitempty"`
21364	// CloudDataMovementUnits - Maximum number of cloud data movement units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0.
21365	CloudDataMovementUnits interface{} `json:"cloudDataMovementUnits,omitempty"`
21366	// EnableSkipIncompatibleRow - Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean).
21367	EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"`
21368	// RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true.
21369	RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"`
21370}
21371
21372// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct.
21373func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error {
21374	var m map[string]*json.RawMessage
21375	err := json.Unmarshal(body, &m)
21376	if err != nil {
21377		return err
21378	}
21379	for k, v := range m {
21380		switch k {
21381		case "source":
21382			if v != nil {
21383				source, err := unmarshalBasicCopySource(*v)
21384				if err != nil {
21385					return err
21386				}
21387				catp.Source = source
21388			}
21389		case "sink":
21390			if v != nil {
21391				sink, err := unmarshalBasicCopySink(*v)
21392				if err != nil {
21393					return err
21394				}
21395				catp.Sink = sink
21396			}
21397		case "translator":
21398			if v != nil {
21399				translator, err := unmarshalBasicCopyTranslator(*v)
21400				if err != nil {
21401					return err
21402				}
21403				catp.Translator = translator
21404			}
21405		case "enableStaging":
21406			if v != nil {
21407				var enableStaging interface{}
21408				err = json.Unmarshal(*v, &enableStaging)
21409				if err != nil {
21410					return err
21411				}
21412				catp.EnableStaging = enableStaging
21413			}
21414		case "stagingSettings":
21415			if v != nil {
21416				var stagingSettings StagingSettings
21417				err = json.Unmarshal(*v, &stagingSettings)
21418				if err != nil {
21419					return err
21420				}
21421				catp.StagingSettings = &stagingSettings
21422			}
21423		case "parallelCopies":
21424			if v != nil {
21425				var parallelCopies interface{}
21426				err = json.Unmarshal(*v, &parallelCopies)
21427				if err != nil {
21428					return err
21429				}
21430				catp.ParallelCopies = parallelCopies
21431			}
21432		case "cloudDataMovementUnits":
21433			if v != nil {
21434				var cloudDataMovementUnits interface{}
21435				err = json.Unmarshal(*v, &cloudDataMovementUnits)
21436				if err != nil {
21437					return err
21438				}
21439				catp.CloudDataMovementUnits = cloudDataMovementUnits
21440			}
21441		case "enableSkipIncompatibleRow":
21442			if v != nil {
21443				var enableSkipIncompatibleRow interface{}
21444				err = json.Unmarshal(*v, &enableSkipIncompatibleRow)
21445				if err != nil {
21446					return err
21447				}
21448				catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow
21449			}
21450		case "redirectIncompatibleRowSettings":
21451			if v != nil {
21452				var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings
21453				err = json.Unmarshal(*v, &redirectIncompatibleRowSettings)
21454				if err != nil {
21455					return err
21456				}
21457				catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings
21458			}
21459		}
21460	}
21461
21462	return nil
21463}
21464
21465// BasicCopySink a copy activity sink.
21466type BasicCopySink interface {
21467	AsSalesforceSink() (*SalesforceSink, bool)
21468	AsDynamicsSink() (*DynamicsSink, bool)
21469	AsOdbcSink() (*OdbcSink, bool)
21470	AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool)
21471	AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool)
21472	AsOracleSink() (*OracleSink, bool)
21473	AsSQLDWSink() (*SQLDWSink, bool)
21474	AsSQLSink() (*SQLSink, bool)
21475	AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool)
21476	AsFileSystemSink() (*FileSystemSink, bool)
21477	AsBlobSink() (*BlobSink, bool)
21478	AsAzureTableSink() (*AzureTableSink, bool)
21479	AsAzureQueueSink() (*AzureQueueSink, bool)
21480	AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool)
21481	AsCopySink() (*CopySink, bool)
21482}
21483
21484// CopySink a copy activity sink.
21485type CopySink struct {
21486	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
21487	AdditionalProperties map[string]interface{} `json:""`
21488	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
21489	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
21490	// 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])).
21491	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
21492	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
21493	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
21494	// 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])).
21495	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
21496	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
21497	Type TypeBasicCopySink `json:"type,omitempty"`
21498}
21499
21500func unmarshalBasicCopySink(body []byte) (BasicCopySink, error) {
21501	var m map[string]interface{}
21502	err := json.Unmarshal(body, &m)
21503	if err != nil {
21504		return nil, err
21505	}
21506
21507	switch m["type"] {
21508	case string(TypeSalesforceSink):
21509		var ss SalesforceSink
21510		err := json.Unmarshal(body, &ss)
21511		return ss, err
21512	case string(TypeDynamicsSink):
21513		var ds DynamicsSink
21514		err := json.Unmarshal(body, &ds)
21515		return ds, err
21516	case string(TypeOdbcSink):
21517		var osVar OdbcSink
21518		err := json.Unmarshal(body, &osVar)
21519		return osVar, err
21520	case string(TypeAzureSearchIndexSink):
21521		var asis AzureSearchIndexSink
21522		err := json.Unmarshal(body, &asis)
21523		return asis, err
21524	case string(TypeAzureDataLakeStoreSink):
21525		var adlss AzureDataLakeStoreSink
21526		err := json.Unmarshal(body, &adlss)
21527		return adlss, err
21528	case string(TypeOracleSink):
21529		var osVar OracleSink
21530		err := json.Unmarshal(body, &osVar)
21531		return osVar, err
21532	case string(TypeSQLDWSink):
21533		var sds SQLDWSink
21534		err := json.Unmarshal(body, &sds)
21535		return sds, err
21536	case string(TypeSQLSink):
21537		var ss SQLSink
21538		err := json.Unmarshal(body, &ss)
21539		return ss, err
21540	case string(TypeDocumentDbCollectionSink):
21541		var ddcs DocumentDbCollectionSink
21542		err := json.Unmarshal(body, &ddcs)
21543		return ddcs, err
21544	case string(TypeFileSystemSink):
21545		var fss FileSystemSink
21546		err := json.Unmarshal(body, &fss)
21547		return fss, err
21548	case string(TypeBlobSink):
21549		var bs BlobSink
21550		err := json.Unmarshal(body, &bs)
21551		return bs, err
21552	case string(TypeAzureTableSink):
21553		var ats AzureTableSink
21554		err := json.Unmarshal(body, &ats)
21555		return ats, err
21556	case string(TypeAzureQueueSink):
21557		var aqs AzureQueueSink
21558		err := json.Unmarshal(body, &aqs)
21559		return aqs, err
21560	case string(TypeSapCloudForCustomerSink):
21561		var scfcs SapCloudForCustomerSink
21562		err := json.Unmarshal(body, &scfcs)
21563		return scfcs, err
21564	default:
21565		var cs CopySink
21566		err := json.Unmarshal(body, &cs)
21567		return cs, err
21568	}
21569}
21570func unmarshalBasicCopySinkArray(body []byte) ([]BasicCopySink, error) {
21571	var rawMessages []*json.RawMessage
21572	err := json.Unmarshal(body, &rawMessages)
21573	if err != nil {
21574		return nil, err
21575	}
21576
21577	csArray := make([]BasicCopySink, len(rawMessages))
21578
21579	for index, rawMessage := range rawMessages {
21580		cs, err := unmarshalBasicCopySink(*rawMessage)
21581		if err != nil {
21582			return nil, err
21583		}
21584		csArray[index] = cs
21585	}
21586	return csArray, nil
21587}
21588
21589// MarshalJSON is the custom marshaler for CopySink.
21590func (cs CopySink) MarshalJSON() ([]byte, error) {
21591	cs.Type = TypeCopySink
21592	objectMap := make(map[string]interface{})
21593	objectMap["writeBatchSize"] = cs.WriteBatchSize
21594	objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout
21595	objectMap["sinkRetryCount"] = cs.SinkRetryCount
21596	objectMap["sinkRetryWait"] = cs.SinkRetryWait
21597	if cs.Type != "" {
21598		objectMap["type"] = cs.Type
21599	}
21600	for k, v := range cs.AdditionalProperties {
21601		objectMap[k] = v
21602	}
21603	return json.Marshal(objectMap)
21604}
21605
21606// AsSalesforceSink is the BasicCopySink implementation for CopySink.
21607func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) {
21608	return nil, false
21609}
21610
21611// AsDynamicsSink is the BasicCopySink implementation for CopySink.
21612func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) {
21613	return nil, false
21614}
21615
21616// AsOdbcSink is the BasicCopySink implementation for CopySink.
21617func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) {
21618	return nil, false
21619}
21620
21621// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink.
21622func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
21623	return nil, false
21624}
21625
21626// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink.
21627func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
21628	return nil, false
21629}
21630
21631// AsOracleSink is the BasicCopySink implementation for CopySink.
21632func (cs CopySink) AsOracleSink() (*OracleSink, bool) {
21633	return nil, false
21634}
21635
21636// AsSQLDWSink is the BasicCopySink implementation for CopySink.
21637func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) {
21638	return nil, false
21639}
21640
21641// AsSQLSink is the BasicCopySink implementation for CopySink.
21642func (cs CopySink) AsSQLSink() (*SQLSink, bool) {
21643	return nil, false
21644}
21645
21646// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink.
21647func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
21648	return nil, false
21649}
21650
21651// AsFileSystemSink is the BasicCopySink implementation for CopySink.
21652func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) {
21653	return nil, false
21654}
21655
21656// AsBlobSink is the BasicCopySink implementation for CopySink.
21657func (cs CopySink) AsBlobSink() (*BlobSink, bool) {
21658	return nil, false
21659}
21660
21661// AsAzureTableSink is the BasicCopySink implementation for CopySink.
21662func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) {
21663	return nil, false
21664}
21665
21666// AsAzureQueueSink is the BasicCopySink implementation for CopySink.
21667func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) {
21668	return nil, false
21669}
21670
21671// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink.
21672func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
21673	return nil, false
21674}
21675
21676// AsCopySink is the BasicCopySink implementation for CopySink.
21677func (cs CopySink) AsCopySink() (*CopySink, bool) {
21678	return &cs, true
21679}
21680
21681// AsBasicCopySink is the BasicCopySink implementation for CopySink.
21682func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) {
21683	return &cs, true
21684}
21685
21686// BasicCopySource a copy activity source.
21687type BasicCopySource interface {
21688	AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool)
21689	AsResponsysSource() (*ResponsysSource, bool)
21690	AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool)
21691	AsVerticaSource() (*VerticaSource, bool)
21692	AsNetezzaSource() (*NetezzaSource, bool)
21693	AsZohoSource() (*ZohoSource, bool)
21694	AsXeroSource() (*XeroSource, bool)
21695	AsSquareSource() (*SquareSource, bool)
21696	AsSparkSource() (*SparkSource, bool)
21697	AsShopifySource() (*ShopifySource, bool)
21698	AsServiceNowSource() (*ServiceNowSource, bool)
21699	AsQuickBooksSource() (*QuickBooksSource, bool)
21700	AsPrestoSource() (*PrestoSource, bool)
21701	AsPhoenixSource() (*PhoenixSource, bool)
21702	AsPaypalSource() (*PaypalSource, bool)
21703	AsMarketoSource() (*MarketoSource, bool)
21704	AsMariaDBSource() (*MariaDBSource, bool)
21705	AsMagentoSource() (*MagentoSource, bool)
21706	AsJiraSource() (*JiraSource, bool)
21707	AsImpalaSource() (*ImpalaSource, bool)
21708	AsHubspotSource() (*HubspotSource, bool)
21709	AsHiveSource() (*HiveSource, bool)
21710	AsHBaseSource() (*HBaseSource, bool)
21711	AsGreenplumSource() (*GreenplumSource, bool)
21712	AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool)
21713	AsEloquaSource() (*EloquaSource, bool)
21714	AsDrillSource() (*DrillSource, bool)
21715	AsCouchbaseSource() (*CouchbaseSource, bool)
21716	AsConcurSource() (*ConcurSource, bool)
21717	AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool)
21718	AsAmazonMWSSource() (*AmazonMWSSource, bool)
21719	AsHTTPSource() (*HTTPSource, bool)
21720	AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool)
21721	AsMongoDbSource() (*MongoDbSource, bool)
21722	AsCassandraSource() (*CassandraSource, bool)
21723	AsWebSource() (*WebSource, bool)
21724	AsOracleSource() (*OracleSource, bool)
21725	AsAzureMySQLSource() (*AzureMySQLSource, bool)
21726	AsHdfsSource() (*HdfsSource, bool)
21727	AsFileSystemSource() (*FileSystemSource, bool)
21728	AsSQLDWSource() (*SQLDWSource, bool)
21729	AsSQLSource() (*SQLSource, bool)
21730	AsSapEccSource() (*SapEccSource, bool)
21731	AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool)
21732	AsSalesforceSource() (*SalesforceSource, bool)
21733	AsRelationalSource() (*RelationalSource, bool)
21734	AsDynamicsSource() (*DynamicsSource, bool)
21735	AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool)
21736	AsBlobSource() (*BlobSource, bool)
21737	AsAzureTableSource() (*AzureTableSource, bool)
21738	AsCopySource() (*CopySource, bool)
21739}
21740
21741// CopySource a copy activity source.
21742type CopySource struct {
21743	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
21744	AdditionalProperties map[string]interface{} `json:""`
21745	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
21746	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
21747	// 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])).
21748	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
21749	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
21750	Type TypeBasicCopySource `json:"type,omitempty"`
21751}
21752
21753func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) {
21754	var m map[string]interface{}
21755	err := json.Unmarshal(body, &m)
21756	if err != nil {
21757		return nil, err
21758	}
21759
21760	switch m["type"] {
21761	case string(TypeAmazonRedshiftSource):
21762		var ars AmazonRedshiftSource
21763		err := json.Unmarshal(body, &ars)
21764		return ars, err
21765	case string(TypeResponsysSource):
21766		var rs ResponsysSource
21767		err := json.Unmarshal(body, &rs)
21768		return rs, err
21769	case string(TypeSalesforceMarketingCloudSource):
21770		var smcs SalesforceMarketingCloudSource
21771		err := json.Unmarshal(body, &smcs)
21772		return smcs, err
21773	case string(TypeVerticaSource):
21774		var vs VerticaSource
21775		err := json.Unmarshal(body, &vs)
21776		return vs, err
21777	case string(TypeNetezzaSource):
21778		var ns NetezzaSource
21779		err := json.Unmarshal(body, &ns)
21780		return ns, err
21781	case string(TypeZohoSource):
21782		var zs ZohoSource
21783		err := json.Unmarshal(body, &zs)
21784		return zs, err
21785	case string(TypeXeroSource):
21786		var xs XeroSource
21787		err := json.Unmarshal(body, &xs)
21788		return xs, err
21789	case string(TypeSquareSource):
21790		var ss SquareSource
21791		err := json.Unmarshal(body, &ss)
21792		return ss, err
21793	case string(TypeSparkSource):
21794		var ss SparkSource
21795		err := json.Unmarshal(body, &ss)
21796		return ss, err
21797	case string(TypeShopifySource):
21798		var ss ShopifySource
21799		err := json.Unmarshal(body, &ss)
21800		return ss, err
21801	case string(TypeServiceNowSource):
21802		var sns ServiceNowSource
21803		err := json.Unmarshal(body, &sns)
21804		return sns, err
21805	case string(TypeQuickBooksSource):
21806		var qbs QuickBooksSource
21807		err := json.Unmarshal(body, &qbs)
21808		return qbs, err
21809	case string(TypePrestoSource):
21810		var ps PrestoSource
21811		err := json.Unmarshal(body, &ps)
21812		return ps, err
21813	case string(TypePhoenixSource):
21814		var ps PhoenixSource
21815		err := json.Unmarshal(body, &ps)
21816		return ps, err
21817	case string(TypePaypalSource):
21818		var ps PaypalSource
21819		err := json.Unmarshal(body, &ps)
21820		return ps, err
21821	case string(TypeMarketoSource):
21822		var ms MarketoSource
21823		err := json.Unmarshal(body, &ms)
21824		return ms, err
21825	case string(TypeMariaDBSource):
21826		var mds MariaDBSource
21827		err := json.Unmarshal(body, &mds)
21828		return mds, err
21829	case string(TypeMagentoSource):
21830		var ms MagentoSource
21831		err := json.Unmarshal(body, &ms)
21832		return ms, err
21833	case string(TypeJiraSource):
21834		var js JiraSource
21835		err := json.Unmarshal(body, &js)
21836		return js, err
21837	case string(TypeImpalaSource):
21838		var is ImpalaSource
21839		err := json.Unmarshal(body, &is)
21840		return is, err
21841	case string(TypeHubspotSource):
21842		var hs HubspotSource
21843		err := json.Unmarshal(body, &hs)
21844		return hs, err
21845	case string(TypeHiveSource):
21846		var hs HiveSource
21847		err := json.Unmarshal(body, &hs)
21848		return hs, err
21849	case string(TypeHBaseSource):
21850		var hbs HBaseSource
21851		err := json.Unmarshal(body, &hbs)
21852		return hbs, err
21853	case string(TypeGreenplumSource):
21854		var gs GreenplumSource
21855		err := json.Unmarshal(body, &gs)
21856		return gs, err
21857	case string(TypeGoogleBigQuerySource):
21858		var gbqs GoogleBigQuerySource
21859		err := json.Unmarshal(body, &gbqs)
21860		return gbqs, err
21861	case string(TypeEloquaSource):
21862		var es EloquaSource
21863		err := json.Unmarshal(body, &es)
21864		return es, err
21865	case string(TypeDrillSource):
21866		var ds DrillSource
21867		err := json.Unmarshal(body, &ds)
21868		return ds, err
21869	case string(TypeCouchbaseSource):
21870		var cs CouchbaseSource
21871		err := json.Unmarshal(body, &cs)
21872		return cs, err
21873	case string(TypeConcurSource):
21874		var cs ConcurSource
21875		err := json.Unmarshal(body, &cs)
21876		return cs, err
21877	case string(TypeAzurePostgreSQLSource):
21878		var apss AzurePostgreSQLSource
21879		err := json.Unmarshal(body, &apss)
21880		return apss, err
21881	case string(TypeAmazonMWSSource):
21882		var ams AmazonMWSSource
21883		err := json.Unmarshal(body, &ams)
21884		return ams, err
21885	case string(TypeHTTPSource):
21886		var hs HTTPSource
21887		err := json.Unmarshal(body, &hs)
21888		return hs, err
21889	case string(TypeAzureDataLakeStoreSource):
21890		var adlss AzureDataLakeStoreSource
21891		err := json.Unmarshal(body, &adlss)
21892		return adlss, err
21893	case string(TypeMongoDbSource):
21894		var mds MongoDbSource
21895		err := json.Unmarshal(body, &mds)
21896		return mds, err
21897	case string(TypeCassandraSource):
21898		var cs CassandraSource
21899		err := json.Unmarshal(body, &cs)
21900		return cs, err
21901	case string(TypeWebSource):
21902		var ws WebSource
21903		err := json.Unmarshal(body, &ws)
21904		return ws, err
21905	case string(TypeOracleSource):
21906		var osVar OracleSource
21907		err := json.Unmarshal(body, &osVar)
21908		return osVar, err
21909	case string(TypeAzureMySQLSource):
21910		var amss AzureMySQLSource
21911		err := json.Unmarshal(body, &amss)
21912		return amss, err
21913	case string(TypeHdfsSource):
21914		var hs HdfsSource
21915		err := json.Unmarshal(body, &hs)
21916		return hs, err
21917	case string(TypeFileSystemSource):
21918		var fss FileSystemSource
21919		err := json.Unmarshal(body, &fss)
21920		return fss, err
21921	case string(TypeSQLDWSource):
21922		var sds SQLDWSource
21923		err := json.Unmarshal(body, &sds)
21924		return sds, err
21925	case string(TypeSQLSource):
21926		var ss SQLSource
21927		err := json.Unmarshal(body, &ss)
21928		return ss, err
21929	case string(TypeSapEccSource):
21930		var ses SapEccSource
21931		err := json.Unmarshal(body, &ses)
21932		return ses, err
21933	case string(TypeSapCloudForCustomerSource):
21934		var scfcs SapCloudForCustomerSource
21935		err := json.Unmarshal(body, &scfcs)
21936		return scfcs, err
21937	case string(TypeSalesforceSource):
21938		var ss SalesforceSource
21939		err := json.Unmarshal(body, &ss)
21940		return ss, err
21941	case string(TypeRelationalSource):
21942		var rs RelationalSource
21943		err := json.Unmarshal(body, &rs)
21944		return rs, err
21945	case string(TypeDynamicsSource):
21946		var ds DynamicsSource
21947		err := json.Unmarshal(body, &ds)
21948		return ds, err
21949	case string(TypeDocumentDbCollectionSource):
21950		var ddcs DocumentDbCollectionSource
21951		err := json.Unmarshal(body, &ddcs)
21952		return ddcs, err
21953	case string(TypeBlobSource):
21954		var bs BlobSource
21955		err := json.Unmarshal(body, &bs)
21956		return bs, err
21957	case string(TypeAzureTableSource):
21958		var ats AzureTableSource
21959		err := json.Unmarshal(body, &ats)
21960		return ats, err
21961	default:
21962		var cs CopySource
21963		err := json.Unmarshal(body, &cs)
21964		return cs, err
21965	}
21966}
21967func unmarshalBasicCopySourceArray(body []byte) ([]BasicCopySource, error) {
21968	var rawMessages []*json.RawMessage
21969	err := json.Unmarshal(body, &rawMessages)
21970	if err != nil {
21971		return nil, err
21972	}
21973
21974	csArray := make([]BasicCopySource, len(rawMessages))
21975
21976	for index, rawMessage := range rawMessages {
21977		cs, err := unmarshalBasicCopySource(*rawMessage)
21978		if err != nil {
21979			return nil, err
21980		}
21981		csArray[index] = cs
21982	}
21983	return csArray, nil
21984}
21985
21986// MarshalJSON is the custom marshaler for CopySource.
21987func (cs CopySource) MarshalJSON() ([]byte, error) {
21988	cs.Type = TypeCopySource
21989	objectMap := make(map[string]interface{})
21990	objectMap["sourceRetryCount"] = cs.SourceRetryCount
21991	objectMap["sourceRetryWait"] = cs.SourceRetryWait
21992	if cs.Type != "" {
21993		objectMap["type"] = cs.Type
21994	}
21995	for k, v := range cs.AdditionalProperties {
21996		objectMap[k] = v
21997	}
21998	return json.Marshal(objectMap)
21999}
22000
22001// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource.
22002func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
22003	return nil, false
22004}
22005
22006// AsResponsysSource is the BasicCopySource implementation for CopySource.
22007func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) {
22008	return nil, false
22009}
22010
22011// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource.
22012func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
22013	return nil, false
22014}
22015
22016// AsVerticaSource is the BasicCopySource implementation for CopySource.
22017func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) {
22018	return nil, false
22019}
22020
22021// AsNetezzaSource is the BasicCopySource implementation for CopySource.
22022func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) {
22023	return nil, false
22024}
22025
22026// AsZohoSource is the BasicCopySource implementation for CopySource.
22027func (cs CopySource) AsZohoSource() (*ZohoSource, bool) {
22028	return nil, false
22029}
22030
22031// AsXeroSource is the BasicCopySource implementation for CopySource.
22032func (cs CopySource) AsXeroSource() (*XeroSource, bool) {
22033	return nil, false
22034}
22035
22036// AsSquareSource is the BasicCopySource implementation for CopySource.
22037func (cs CopySource) AsSquareSource() (*SquareSource, bool) {
22038	return nil, false
22039}
22040
22041// AsSparkSource is the BasicCopySource implementation for CopySource.
22042func (cs CopySource) AsSparkSource() (*SparkSource, bool) {
22043	return nil, false
22044}
22045
22046// AsShopifySource is the BasicCopySource implementation for CopySource.
22047func (cs CopySource) AsShopifySource() (*ShopifySource, bool) {
22048	return nil, false
22049}
22050
22051// AsServiceNowSource is the BasicCopySource implementation for CopySource.
22052func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) {
22053	return nil, false
22054}
22055
22056// AsQuickBooksSource is the BasicCopySource implementation for CopySource.
22057func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
22058	return nil, false
22059}
22060
22061// AsPrestoSource is the BasicCopySource implementation for CopySource.
22062func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) {
22063	return nil, false
22064}
22065
22066// AsPhoenixSource is the BasicCopySource implementation for CopySource.
22067func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) {
22068	return nil, false
22069}
22070
22071// AsPaypalSource is the BasicCopySource implementation for CopySource.
22072func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) {
22073	return nil, false
22074}
22075
22076// AsMarketoSource is the BasicCopySource implementation for CopySource.
22077func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) {
22078	return nil, false
22079}
22080
22081// AsMariaDBSource is the BasicCopySource implementation for CopySource.
22082func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) {
22083	return nil, false
22084}
22085
22086// AsMagentoSource is the BasicCopySource implementation for CopySource.
22087func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) {
22088	return nil, false
22089}
22090
22091// AsJiraSource is the BasicCopySource implementation for CopySource.
22092func (cs CopySource) AsJiraSource() (*JiraSource, bool) {
22093	return nil, false
22094}
22095
22096// AsImpalaSource is the BasicCopySource implementation for CopySource.
22097func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) {
22098	return nil, false
22099}
22100
22101// AsHubspotSource is the BasicCopySource implementation for CopySource.
22102func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) {
22103	return nil, false
22104}
22105
22106// AsHiveSource is the BasicCopySource implementation for CopySource.
22107func (cs CopySource) AsHiveSource() (*HiveSource, bool) {
22108	return nil, false
22109}
22110
22111// AsHBaseSource is the BasicCopySource implementation for CopySource.
22112func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) {
22113	return nil, false
22114}
22115
22116// AsGreenplumSource is the BasicCopySource implementation for CopySource.
22117func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) {
22118	return nil, false
22119}
22120
22121// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource.
22122func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
22123	return nil, false
22124}
22125
22126// AsEloquaSource is the BasicCopySource implementation for CopySource.
22127func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) {
22128	return nil, false
22129}
22130
22131// AsDrillSource is the BasicCopySource implementation for CopySource.
22132func (cs CopySource) AsDrillSource() (*DrillSource, bool) {
22133	return nil, false
22134}
22135
22136// AsCouchbaseSource is the BasicCopySource implementation for CopySource.
22137func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
22138	return nil, false
22139}
22140
22141// AsConcurSource is the BasicCopySource implementation for CopySource.
22142func (cs CopySource) AsConcurSource() (*ConcurSource, bool) {
22143	return nil, false
22144}
22145
22146// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource.
22147func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
22148	return nil, false
22149}
22150
22151// AsAmazonMWSSource is the BasicCopySource implementation for CopySource.
22152func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
22153	return nil, false
22154}
22155
22156// AsHTTPSource is the BasicCopySource implementation for CopySource.
22157func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) {
22158	return nil, false
22159}
22160
22161// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource.
22162func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
22163	return nil, false
22164}
22165
22166// AsMongoDbSource is the BasicCopySource implementation for CopySource.
22167func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) {
22168	return nil, false
22169}
22170
22171// AsCassandraSource is the BasicCopySource implementation for CopySource.
22172func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) {
22173	return nil, false
22174}
22175
22176// AsWebSource is the BasicCopySource implementation for CopySource.
22177func (cs CopySource) AsWebSource() (*WebSource, bool) {
22178	return nil, false
22179}
22180
22181// AsOracleSource is the BasicCopySource implementation for CopySource.
22182func (cs CopySource) AsOracleSource() (*OracleSource, bool) {
22183	return nil, false
22184}
22185
22186// AsAzureMySQLSource is the BasicCopySource implementation for CopySource.
22187func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
22188	return nil, false
22189}
22190
22191// AsHdfsSource is the BasicCopySource implementation for CopySource.
22192func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) {
22193	return nil, false
22194}
22195
22196// AsFileSystemSource is the BasicCopySource implementation for CopySource.
22197func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) {
22198	return nil, false
22199}
22200
22201// AsSQLDWSource is the BasicCopySource implementation for CopySource.
22202func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) {
22203	return nil, false
22204}
22205
22206// AsSQLSource is the BasicCopySource implementation for CopySource.
22207func (cs CopySource) AsSQLSource() (*SQLSource, bool) {
22208	return nil, false
22209}
22210
22211// AsSapEccSource is the BasicCopySource implementation for CopySource.
22212func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) {
22213	return nil, false
22214}
22215
22216// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource.
22217func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
22218	return nil, false
22219}
22220
22221// AsSalesforceSource is the BasicCopySource implementation for CopySource.
22222func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) {
22223	return nil, false
22224}
22225
22226// AsRelationalSource is the BasicCopySource implementation for CopySource.
22227func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) {
22228	return nil, false
22229}
22230
22231// AsDynamicsSource is the BasicCopySource implementation for CopySource.
22232func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) {
22233	return nil, false
22234}
22235
22236// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource.
22237func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
22238	return nil, false
22239}
22240
22241// AsBlobSource is the BasicCopySource implementation for CopySource.
22242func (cs CopySource) AsBlobSource() (*BlobSource, bool) {
22243	return nil, false
22244}
22245
22246// AsAzureTableSource is the BasicCopySource implementation for CopySource.
22247func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) {
22248	return nil, false
22249}
22250
22251// AsCopySource is the BasicCopySource implementation for CopySource.
22252func (cs CopySource) AsCopySource() (*CopySource, bool) {
22253	return &cs, true
22254}
22255
22256// AsBasicCopySource is the BasicCopySource implementation for CopySource.
22257func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) {
22258	return &cs, true
22259}
22260
22261// BasicCopyTranslator a copy activity translator.
22262type BasicCopyTranslator interface {
22263	AsTabularTranslator() (*TabularTranslator, bool)
22264	AsCopyTranslator() (*CopyTranslator, bool)
22265}
22266
22267// CopyTranslator a copy activity translator.
22268type CopyTranslator struct {
22269	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
22270	AdditionalProperties map[string]interface{} `json:""`
22271	// Type - Possible values include: 'TypeCopyTranslator', 'TypeTabularTranslator'
22272	Type TypeBasicCopyTranslator `json:"type,omitempty"`
22273}
22274
22275func unmarshalBasicCopyTranslator(body []byte) (BasicCopyTranslator, error) {
22276	var m map[string]interface{}
22277	err := json.Unmarshal(body, &m)
22278	if err != nil {
22279		return nil, err
22280	}
22281
22282	switch m["type"] {
22283	case string(TypeTabularTranslator):
22284		var tt TabularTranslator
22285		err := json.Unmarshal(body, &tt)
22286		return tt, err
22287	default:
22288		var ct CopyTranslator
22289		err := json.Unmarshal(body, &ct)
22290		return ct, err
22291	}
22292}
22293func unmarshalBasicCopyTranslatorArray(body []byte) ([]BasicCopyTranslator, error) {
22294	var rawMessages []*json.RawMessage
22295	err := json.Unmarshal(body, &rawMessages)
22296	if err != nil {
22297		return nil, err
22298	}
22299
22300	ctArray := make([]BasicCopyTranslator, len(rawMessages))
22301
22302	for index, rawMessage := range rawMessages {
22303		ct, err := unmarshalBasicCopyTranslator(*rawMessage)
22304		if err != nil {
22305			return nil, err
22306		}
22307		ctArray[index] = ct
22308	}
22309	return ctArray, nil
22310}
22311
22312// MarshalJSON is the custom marshaler for CopyTranslator.
22313func (ct CopyTranslator) MarshalJSON() ([]byte, error) {
22314	ct.Type = TypeCopyTranslator
22315	objectMap := make(map[string]interface{})
22316	if ct.Type != "" {
22317		objectMap["type"] = ct.Type
22318	}
22319	for k, v := range ct.AdditionalProperties {
22320		objectMap[k] = v
22321	}
22322	return json.Marshal(objectMap)
22323}
22324
22325// AsTabularTranslator is the BasicCopyTranslator implementation for CopyTranslator.
22326func (ct CopyTranslator) AsTabularTranslator() (*TabularTranslator, bool) {
22327	return nil, false
22328}
22329
22330// AsCopyTranslator is the BasicCopyTranslator implementation for CopyTranslator.
22331func (ct CopyTranslator) AsCopyTranslator() (*CopyTranslator, bool) {
22332	return &ct, true
22333}
22334
22335// AsBasicCopyTranslator is the BasicCopyTranslator implementation for CopyTranslator.
22336func (ct CopyTranslator) AsBasicCopyTranslator() (BasicCopyTranslator, bool) {
22337	return &ct, true
22338}
22339
22340// CosmosDbLinkedService microsoft Azure Cosmos Database (CosmosDB) linked service.
22341type CosmosDbLinkedService struct {
22342	// CosmosDbLinkedServiceTypeProperties - CosmosDB linked service properties.
22343	*CosmosDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
22344	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
22345	AdditionalProperties map[string]interface{} `json:""`
22346	// ConnectVia - The integration runtime reference.
22347	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
22348	// Description - Linked service description.
22349	Description *string `json:"description,omitempty"`
22350	// Parameters - Parameters for linked service.
22351	Parameters map[string]*ParameterSpecification `json:"parameters"`
22352	// Annotations - List of tags that can be used for describing the Dataset.
22353	Annotations *[]interface{} `json:"annotations,omitempty"`
22354	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
22355	Type TypeBasicLinkedService `json:"type,omitempty"`
22356}
22357
22358// MarshalJSON is the custom marshaler for CosmosDbLinkedService.
22359func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) {
22360	cdls.Type = TypeCosmosDb
22361	objectMap := make(map[string]interface{})
22362	if cdls.CosmosDbLinkedServiceTypeProperties != nil {
22363		objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties
22364	}
22365	if cdls.ConnectVia != nil {
22366		objectMap["connectVia"] = cdls.ConnectVia
22367	}
22368	if cdls.Description != nil {
22369		objectMap["description"] = cdls.Description
22370	}
22371	if cdls.Parameters != nil {
22372		objectMap["parameters"] = cdls.Parameters
22373	}
22374	if cdls.Annotations != nil {
22375		objectMap["annotations"] = cdls.Annotations
22376	}
22377	if cdls.Type != "" {
22378		objectMap["type"] = cdls.Type
22379	}
22380	for k, v := range cdls.AdditionalProperties {
22381		objectMap[k] = v
22382	}
22383	return json.Marshal(objectMap)
22384}
22385
22386// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22387func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
22388	return nil, false
22389}
22390
22391// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22392func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
22393	return nil, false
22394}
22395
22396// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22397func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
22398	return nil, false
22399}
22400
22401// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22402func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
22403	return nil, false
22404}
22405
22406// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22407func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
22408	return nil, false
22409}
22410
22411// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22412func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
22413	return nil, false
22414}
22415
22416// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22417func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
22418	return nil, false
22419}
22420
22421// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22422func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
22423	return nil, false
22424}
22425
22426// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22427func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
22428	return nil, false
22429}
22430
22431// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22432func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
22433	return nil, false
22434}
22435
22436// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22437func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
22438	return nil, false
22439}
22440
22441// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22442func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
22443	return nil, false
22444}
22445
22446// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22447func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
22448	return nil, false
22449}
22450
22451// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22452func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
22453	return nil, false
22454}
22455
22456// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22457func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
22458	return nil, false
22459}
22460
22461// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22462func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
22463	return nil, false
22464}
22465
22466// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22467func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
22468	return nil, false
22469}
22470
22471// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22472func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
22473	return nil, false
22474}
22475
22476// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22477func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
22478	return nil, false
22479}
22480
22481// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22482func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
22483	return nil, false
22484}
22485
22486// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22487func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
22488	return nil, false
22489}
22490
22491// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22492func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
22493	return nil, false
22494}
22495
22496// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22497func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
22498	return nil, false
22499}
22500
22501// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22502func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
22503	return nil, false
22504}
22505
22506// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22507func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
22508	return nil, false
22509}
22510
22511// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22512func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
22513	return nil, false
22514}
22515
22516// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22517func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
22518	return nil, false
22519}
22520
22521// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22522func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
22523	return nil, false
22524}
22525
22526// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22527func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
22528	return nil, false
22529}
22530
22531// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22532func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
22533	return nil, false
22534}
22535
22536// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22537func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
22538	return nil, false
22539}
22540
22541// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22542func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
22543	return nil, false
22544}
22545
22546// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22547func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
22548	return nil, false
22549}
22550
22551// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22552func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
22553	return nil, false
22554}
22555
22556// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22557func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
22558	return nil, false
22559}
22560
22561// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22562func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
22563	return nil, false
22564}
22565
22566// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22567func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
22568	return nil, false
22569}
22570
22571// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22572func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
22573	return nil, false
22574}
22575
22576// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22577func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
22578	return nil, false
22579}
22580
22581// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22582func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
22583	return nil, false
22584}
22585
22586// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22587func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
22588	return nil, false
22589}
22590
22591// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22592func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
22593	return nil, false
22594}
22595
22596// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22597func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
22598	return nil, false
22599}
22600
22601// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22602func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
22603	return nil, false
22604}
22605
22606// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22607func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
22608	return nil, false
22609}
22610
22611// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22612func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
22613	return nil, false
22614}
22615
22616// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22617func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
22618	return nil, false
22619}
22620
22621// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22622func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
22623	return nil, false
22624}
22625
22626// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22627func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
22628	return nil, false
22629}
22630
22631// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22632func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
22633	return nil, false
22634}
22635
22636// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22637func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
22638	return nil, false
22639}
22640
22641// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22642func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
22643	return nil, false
22644}
22645
22646// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22647func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
22648	return nil, false
22649}
22650
22651// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22652func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
22653	return nil, false
22654}
22655
22656// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22657func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
22658	return nil, false
22659}
22660
22661// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22662func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
22663	return nil, false
22664}
22665
22666// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22667func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
22668	return nil, false
22669}
22670
22671// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22672func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
22673	return nil, false
22674}
22675
22676// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22677func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
22678	return nil, false
22679}
22680
22681// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22682func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
22683	return nil, false
22684}
22685
22686// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22687func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
22688	return nil, false
22689}
22690
22691// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22692func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
22693	return nil, false
22694}
22695
22696// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22697func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
22698	return nil, false
22699}
22700
22701// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22702func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
22703	return &cdls, true
22704}
22705
22706// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22707func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
22708	return nil, false
22709}
22710
22711// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22712func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
22713	return nil, false
22714}
22715
22716// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22717func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
22718	return nil, false
22719}
22720
22721// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22722func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
22723	return nil, false
22724}
22725
22726// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22727func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
22728	return nil, false
22729}
22730
22731// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22732func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
22733	return nil, false
22734}
22735
22736// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22737func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) {
22738	return nil, false
22739}
22740
22741// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService.
22742func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
22743	return &cdls, true
22744}
22745
22746// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct.
22747func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error {
22748	var m map[string]*json.RawMessage
22749	err := json.Unmarshal(body, &m)
22750	if err != nil {
22751		return err
22752	}
22753	for k, v := range m {
22754		switch k {
22755		case "typeProperties":
22756			if v != nil {
22757				var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties
22758				err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties)
22759				if err != nil {
22760					return err
22761				}
22762				cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties
22763			}
22764		default:
22765			if v != nil {
22766				var additionalProperties interface{}
22767				err = json.Unmarshal(*v, &additionalProperties)
22768				if err != nil {
22769					return err
22770				}
22771				if cdls.AdditionalProperties == nil {
22772					cdls.AdditionalProperties = make(map[string]interface{})
22773				}
22774				cdls.AdditionalProperties[k] = additionalProperties
22775			}
22776		case "connectVia":
22777			if v != nil {
22778				var connectVia IntegrationRuntimeReference
22779				err = json.Unmarshal(*v, &connectVia)
22780				if err != nil {
22781					return err
22782				}
22783				cdls.ConnectVia = &connectVia
22784			}
22785		case "description":
22786			if v != nil {
22787				var description string
22788				err = json.Unmarshal(*v, &description)
22789				if err != nil {
22790					return err
22791				}
22792				cdls.Description = &description
22793			}
22794		case "parameters":
22795			if v != nil {
22796				var parameters map[string]*ParameterSpecification
22797				err = json.Unmarshal(*v, &parameters)
22798				if err != nil {
22799					return err
22800				}
22801				cdls.Parameters = parameters
22802			}
22803		case "annotations":
22804			if v != nil {
22805				var annotations []interface{}
22806				err = json.Unmarshal(*v, &annotations)
22807				if err != nil {
22808					return err
22809				}
22810				cdls.Annotations = &annotations
22811			}
22812		case "type":
22813			if v != nil {
22814				var typeVar TypeBasicLinkedService
22815				err = json.Unmarshal(*v, &typeVar)
22816				if err != nil {
22817					return err
22818				}
22819				cdls.Type = typeVar
22820			}
22821		}
22822	}
22823
22824	return nil
22825}
22826
22827// CosmosDbLinkedServiceTypeProperties cosmosDB linked service properties.
22828type CosmosDbLinkedServiceTypeProperties struct {
22829	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
22830	ConnectionString interface{} `json:"connectionString,omitempty"`
22831	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
22832	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
22833}
22834
22835// CouchbaseLinkedService couchbase server linked service.
22836type CouchbaseLinkedService struct {
22837	// CouchbaseLinkedServiceTypeProperties - Couchbase server linked service properties.
22838	*CouchbaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
22839	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
22840	AdditionalProperties map[string]interface{} `json:""`
22841	// ConnectVia - The integration runtime reference.
22842	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
22843	// Description - Linked service description.
22844	Description *string `json:"description,omitempty"`
22845	// Parameters - Parameters for linked service.
22846	Parameters map[string]*ParameterSpecification `json:"parameters"`
22847	// Annotations - List of tags that can be used for describing the Dataset.
22848	Annotations *[]interface{} `json:"annotations,omitempty"`
22849	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
22850	Type TypeBasicLinkedService `json:"type,omitempty"`
22851}
22852
22853// MarshalJSON is the custom marshaler for CouchbaseLinkedService.
22854func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) {
22855	cls.Type = TypeCouchbase
22856	objectMap := make(map[string]interface{})
22857	if cls.CouchbaseLinkedServiceTypeProperties != nil {
22858		objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties
22859	}
22860	if cls.ConnectVia != nil {
22861		objectMap["connectVia"] = cls.ConnectVia
22862	}
22863	if cls.Description != nil {
22864		objectMap["description"] = cls.Description
22865	}
22866	if cls.Parameters != nil {
22867		objectMap["parameters"] = cls.Parameters
22868	}
22869	if cls.Annotations != nil {
22870		objectMap["annotations"] = cls.Annotations
22871	}
22872	if cls.Type != "" {
22873		objectMap["type"] = cls.Type
22874	}
22875	for k, v := range cls.AdditionalProperties {
22876		objectMap[k] = v
22877	}
22878	return json.Marshal(objectMap)
22879}
22880
22881// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22882func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
22883	return nil, false
22884}
22885
22886// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22887func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
22888	return nil, false
22889}
22890
22891// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22892func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
22893	return nil, false
22894}
22895
22896// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22897func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
22898	return nil, false
22899}
22900
22901// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22902func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
22903	return nil, false
22904}
22905
22906// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22907func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
22908	return nil, false
22909}
22910
22911// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22912func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
22913	return nil, false
22914}
22915
22916// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22917func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
22918	return nil, false
22919}
22920
22921// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22922func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
22923	return nil, false
22924}
22925
22926// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22927func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
22928	return nil, false
22929}
22930
22931// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22932func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
22933	return nil, false
22934}
22935
22936// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22937func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
22938	return nil, false
22939}
22940
22941// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22942func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
22943	return nil, false
22944}
22945
22946// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22947func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
22948	return nil, false
22949}
22950
22951// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22952func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
22953	return nil, false
22954}
22955
22956// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22957func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
22958	return nil, false
22959}
22960
22961// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22962func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
22963	return nil, false
22964}
22965
22966// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22967func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
22968	return nil, false
22969}
22970
22971// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22972func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
22973	return nil, false
22974}
22975
22976// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22977func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
22978	return nil, false
22979}
22980
22981// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22982func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
22983	return nil, false
22984}
22985
22986// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22987func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
22988	return nil, false
22989}
22990
22991// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22992func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
22993	return nil, false
22994}
22995
22996// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
22997func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
22998	return nil, false
22999}
23000
23001// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23002func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
23003	return nil, false
23004}
23005
23006// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23007func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
23008	return nil, false
23009}
23010
23011// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23012func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
23013	return nil, false
23014}
23015
23016// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23017func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
23018	return nil, false
23019}
23020
23021// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23022func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
23023	return nil, false
23024}
23025
23026// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23027func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
23028	return &cls, true
23029}
23030
23031// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23032func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
23033	return nil, false
23034}
23035
23036// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23037func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
23038	return nil, false
23039}
23040
23041// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23042func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
23043	return nil, false
23044}
23045
23046// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23047func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
23048	return nil, false
23049}
23050
23051// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23052func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
23053	return nil, false
23054}
23055
23056// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23057func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
23058	return nil, false
23059}
23060
23061// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23062func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
23063	return nil, false
23064}
23065
23066// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23067func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
23068	return nil, false
23069}
23070
23071// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23072func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
23073	return nil, false
23074}
23075
23076// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23077func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
23078	return nil, false
23079}
23080
23081// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23082func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
23083	return nil, false
23084}
23085
23086// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23087func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
23088	return nil, false
23089}
23090
23091// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23092func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
23093	return nil, false
23094}
23095
23096// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23097func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
23098	return nil, false
23099}
23100
23101// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23102func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
23103	return nil, false
23104}
23105
23106// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23107func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
23108	return nil, false
23109}
23110
23111// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23112func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
23113	return nil, false
23114}
23115
23116// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23117func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
23118	return nil, false
23119}
23120
23121// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23122func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
23123	return nil, false
23124}
23125
23126// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23127func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
23128	return nil, false
23129}
23130
23131// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23132func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
23133	return nil, false
23134}
23135
23136// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23137func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
23138	return nil, false
23139}
23140
23141// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23142func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
23143	return nil, false
23144}
23145
23146// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23147func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
23148	return nil, false
23149}
23150
23151// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23152func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
23153	return nil, false
23154}
23155
23156// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23157func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
23158	return nil, false
23159}
23160
23161// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23162func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
23163	return nil, false
23164}
23165
23166// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23167func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
23168	return nil, false
23169}
23170
23171// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23172func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
23173	return nil, false
23174}
23175
23176// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23177func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
23178	return nil, false
23179}
23180
23181// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23182func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
23183	return nil, false
23184}
23185
23186// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23187func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
23188	return nil, false
23189}
23190
23191// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23192func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
23193	return nil, false
23194}
23195
23196// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23197func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
23198	return nil, false
23199}
23200
23201// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23202func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
23203	return nil, false
23204}
23205
23206// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23207func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
23208	return nil, false
23209}
23210
23211// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23212func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
23213	return nil, false
23214}
23215
23216// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23217func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
23218	return nil, false
23219}
23220
23221// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23222func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
23223	return nil, false
23224}
23225
23226// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23227func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
23228	return nil, false
23229}
23230
23231// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23232func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) {
23233	return nil, false
23234}
23235
23236// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService.
23237func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
23238	return &cls, true
23239}
23240
23241// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct.
23242func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error {
23243	var m map[string]*json.RawMessage
23244	err := json.Unmarshal(body, &m)
23245	if err != nil {
23246		return err
23247	}
23248	for k, v := range m {
23249		switch k {
23250		case "typeProperties":
23251			if v != nil {
23252				var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties
23253				err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties)
23254				if err != nil {
23255					return err
23256				}
23257				cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties
23258			}
23259		default:
23260			if v != nil {
23261				var additionalProperties interface{}
23262				err = json.Unmarshal(*v, &additionalProperties)
23263				if err != nil {
23264					return err
23265				}
23266				if cls.AdditionalProperties == nil {
23267					cls.AdditionalProperties = make(map[string]interface{})
23268				}
23269				cls.AdditionalProperties[k] = additionalProperties
23270			}
23271		case "connectVia":
23272			if v != nil {
23273				var connectVia IntegrationRuntimeReference
23274				err = json.Unmarshal(*v, &connectVia)
23275				if err != nil {
23276					return err
23277				}
23278				cls.ConnectVia = &connectVia
23279			}
23280		case "description":
23281			if v != nil {
23282				var description string
23283				err = json.Unmarshal(*v, &description)
23284				if err != nil {
23285					return err
23286				}
23287				cls.Description = &description
23288			}
23289		case "parameters":
23290			if v != nil {
23291				var parameters map[string]*ParameterSpecification
23292				err = json.Unmarshal(*v, &parameters)
23293				if err != nil {
23294					return err
23295				}
23296				cls.Parameters = parameters
23297			}
23298		case "annotations":
23299			if v != nil {
23300				var annotations []interface{}
23301				err = json.Unmarshal(*v, &annotations)
23302				if err != nil {
23303					return err
23304				}
23305				cls.Annotations = &annotations
23306			}
23307		case "type":
23308			if v != nil {
23309				var typeVar TypeBasicLinkedService
23310				err = json.Unmarshal(*v, &typeVar)
23311				if err != nil {
23312					return err
23313				}
23314				cls.Type = typeVar
23315			}
23316		}
23317	}
23318
23319	return nil
23320}
23321
23322// CouchbaseLinkedServiceTypeProperties couchbase server linked service properties.
23323type CouchbaseLinkedServiceTypeProperties struct {
23324	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
23325	ConnectionString interface{} `json:"connectionString,omitempty"`
23326	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
23327	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
23328}
23329
23330// CouchbaseSource a copy activity Couchbase server source.
23331type CouchbaseSource struct {
23332	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
23333	Query interface{} `json:"query,omitempty"`
23334	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
23335	AdditionalProperties map[string]interface{} `json:""`
23336	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
23337	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
23338	// 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])).
23339	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
23340	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
23341	Type TypeBasicCopySource `json:"type,omitempty"`
23342}
23343
23344// MarshalJSON is the custom marshaler for CouchbaseSource.
23345func (cs CouchbaseSource) MarshalJSON() ([]byte, error) {
23346	cs.Type = TypeCouchbaseSource
23347	objectMap := make(map[string]interface{})
23348	objectMap["query"] = cs.Query
23349	objectMap["sourceRetryCount"] = cs.SourceRetryCount
23350	objectMap["sourceRetryWait"] = cs.SourceRetryWait
23351	if cs.Type != "" {
23352		objectMap["type"] = cs.Type
23353	}
23354	for k, v := range cs.AdditionalProperties {
23355		objectMap[k] = v
23356	}
23357	return json.Marshal(objectMap)
23358}
23359
23360// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource.
23361func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
23362	return nil, false
23363}
23364
23365// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource.
23366func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) {
23367	return nil, false
23368}
23369
23370// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource.
23371func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
23372	return nil, false
23373}
23374
23375// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource.
23376func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) {
23377	return nil, false
23378}
23379
23380// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource.
23381func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
23382	return nil, false
23383}
23384
23385// AsZohoSource is the BasicCopySource implementation for CouchbaseSource.
23386func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) {
23387	return nil, false
23388}
23389
23390// AsXeroSource is the BasicCopySource implementation for CouchbaseSource.
23391func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) {
23392	return nil, false
23393}
23394
23395// AsSquareSource is the BasicCopySource implementation for CouchbaseSource.
23396func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) {
23397	return nil, false
23398}
23399
23400// AsSparkSource is the BasicCopySource implementation for CouchbaseSource.
23401func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) {
23402	return nil, false
23403}
23404
23405// AsShopifySource is the BasicCopySource implementation for CouchbaseSource.
23406func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) {
23407	return nil, false
23408}
23409
23410// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource.
23411func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
23412	return nil, false
23413}
23414
23415// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource.
23416func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
23417	return nil, false
23418}
23419
23420// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource.
23421func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) {
23422	return nil, false
23423}
23424
23425// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource.
23426func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
23427	return nil, false
23428}
23429
23430// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource.
23431func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) {
23432	return nil, false
23433}
23434
23435// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource.
23436func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) {
23437	return nil, false
23438}
23439
23440// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource.
23441func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
23442	return nil, false
23443}
23444
23445// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource.
23446func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) {
23447	return nil, false
23448}
23449
23450// AsJiraSource is the BasicCopySource implementation for CouchbaseSource.
23451func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) {
23452	return nil, false
23453}
23454
23455// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource.
23456func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) {
23457	return nil, false
23458}
23459
23460// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource.
23461func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) {
23462	return nil, false
23463}
23464
23465// AsHiveSource is the BasicCopySource implementation for CouchbaseSource.
23466func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) {
23467	return nil, false
23468}
23469
23470// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource.
23471func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) {
23472	return nil, false
23473}
23474
23475// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource.
23476func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
23477	return nil, false
23478}
23479
23480// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource.
23481func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
23482	return nil, false
23483}
23484
23485// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource.
23486func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) {
23487	return nil, false
23488}
23489
23490// AsDrillSource is the BasicCopySource implementation for CouchbaseSource.
23491func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) {
23492	return nil, false
23493}
23494
23495// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource.
23496func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
23497	return &cs, true
23498}
23499
23500// AsConcurSource is the BasicCopySource implementation for CouchbaseSource.
23501func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) {
23502	return nil, false
23503}
23504
23505// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource.
23506func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
23507	return nil, false
23508}
23509
23510// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource.
23511func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
23512	return nil, false
23513}
23514
23515// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource.
23516func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) {
23517	return nil, false
23518}
23519
23520// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource.
23521func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
23522	return nil, false
23523}
23524
23525// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource.
23526func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
23527	return nil, false
23528}
23529
23530// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource.
23531func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) {
23532	return nil, false
23533}
23534
23535// AsWebSource is the BasicCopySource implementation for CouchbaseSource.
23536func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) {
23537	return nil, false
23538}
23539
23540// AsOracleSource is the BasicCopySource implementation for CouchbaseSource.
23541func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) {
23542	return nil, false
23543}
23544
23545// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource.
23546func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
23547	return nil, false
23548}
23549
23550// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource.
23551func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) {
23552	return nil, false
23553}
23554
23555// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource.
23556func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
23557	return nil, false
23558}
23559
23560// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource.
23561func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
23562	return nil, false
23563}
23564
23565// AsSQLSource is the BasicCopySource implementation for CouchbaseSource.
23566func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) {
23567	return nil, false
23568}
23569
23570// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource.
23571func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) {
23572	return nil, false
23573}
23574
23575// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource.
23576func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
23577	return nil, false
23578}
23579
23580// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource.
23581func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
23582	return nil, false
23583}
23584
23585// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource.
23586func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) {
23587	return nil, false
23588}
23589
23590// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource.
23591func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
23592	return nil, false
23593}
23594
23595// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource.
23596func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
23597	return nil, false
23598}
23599
23600// AsBlobSource is the BasicCopySource implementation for CouchbaseSource.
23601func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) {
23602	return nil, false
23603}
23604
23605// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource.
23606func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
23607	return nil, false
23608}
23609
23610// AsCopySource is the BasicCopySource implementation for CouchbaseSource.
23611func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) {
23612	return nil, false
23613}
23614
23615// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource.
23616func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) {
23617	return &cs, true
23618}
23619
23620// CouchbaseTableDataset couchbase server dataset.
23621type CouchbaseTableDataset struct {
23622	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
23623	AdditionalProperties map[string]interface{} `json:""`
23624	// Description - Dataset description.
23625	Description *string `json:"description,omitempty"`
23626	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
23627	Structure interface{} `json:"structure,omitempty"`
23628	// LinkedServiceName - Linked service reference.
23629	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
23630	// Parameters - Parameters for dataset.
23631	Parameters map[string]*ParameterSpecification `json:"parameters"`
23632	// Annotations - List of tags that can be used for describing the Dataset.
23633	Annotations *[]interface{} `json:"annotations,omitempty"`
23634	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
23635	Type TypeBasicDataset `json:"type,omitempty"`
23636}
23637
23638// MarshalJSON is the custom marshaler for CouchbaseTableDataset.
23639func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) {
23640	ctd.Type = TypeCouchbaseTable
23641	objectMap := make(map[string]interface{})
23642	if ctd.Description != nil {
23643		objectMap["description"] = ctd.Description
23644	}
23645	objectMap["structure"] = ctd.Structure
23646	if ctd.LinkedServiceName != nil {
23647		objectMap["linkedServiceName"] = ctd.LinkedServiceName
23648	}
23649	if ctd.Parameters != nil {
23650		objectMap["parameters"] = ctd.Parameters
23651	}
23652	if ctd.Annotations != nil {
23653		objectMap["annotations"] = ctd.Annotations
23654	}
23655	if ctd.Type != "" {
23656		objectMap["type"] = ctd.Type
23657	}
23658	for k, v := range ctd.AdditionalProperties {
23659		objectMap[k] = v
23660	}
23661	return json.Marshal(objectMap)
23662}
23663
23664// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23665func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
23666	return nil, false
23667}
23668
23669// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23670func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
23671	return nil, false
23672}
23673
23674// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23675func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
23676	return nil, false
23677}
23678
23679// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23680func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
23681	return nil, false
23682}
23683
23684// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23685func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
23686	return nil, false
23687}
23688
23689// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23690func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
23691	return nil, false
23692}
23693
23694// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23695func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
23696	return nil, false
23697}
23698
23699// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23700func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
23701	return nil, false
23702}
23703
23704// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23705func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
23706	return nil, false
23707}
23708
23709// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23710func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
23711	return nil, false
23712}
23713
23714// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23715func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
23716	return nil, false
23717}
23718
23719// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23720func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
23721	return nil, false
23722}
23723
23724// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23725func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
23726	return nil, false
23727}
23728
23729// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23730func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
23731	return nil, false
23732}
23733
23734// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23735func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
23736	return nil, false
23737}
23738
23739// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23740func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
23741	return nil, false
23742}
23743
23744// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23745func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
23746	return nil, false
23747}
23748
23749// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23750func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
23751	return nil, false
23752}
23753
23754// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23755func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
23756	return nil, false
23757}
23758
23759// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23760func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
23761	return nil, false
23762}
23763
23764// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23765func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
23766	return nil, false
23767}
23768
23769// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23770func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
23771	return nil, false
23772}
23773
23774// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23775func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
23776	return nil, false
23777}
23778
23779// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23780func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
23781	return nil, false
23782}
23783
23784// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23785func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
23786	return nil, false
23787}
23788
23789// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23790func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
23791	return nil, false
23792}
23793
23794// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23795func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
23796	return &ctd, true
23797}
23798
23799// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23800func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
23801	return nil, false
23802}
23803
23804// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23805func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
23806	return nil, false
23807}
23808
23809// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23810func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
23811	return nil, false
23812}
23813
23814// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset.
23815func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
23816	return nil, false
23817}
23818
23819// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset.
23820func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
23821	return nil, false
23822}
23823
23824// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23825func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
23826	return nil, false
23827}
23828
23829// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23830func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
23831	return nil, false
23832}
23833
23834// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
23835func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
23836	return nil, false
23837}
23838
23839// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
23840func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
23841	return nil, false
23842}
23843
23844// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset.
23845func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
23846	return nil, false
23847}
23848
23849// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23850func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
23851	return nil, false
23852}
23853
23854// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23855func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
23856	return nil, false
23857}
23858
23859// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23860func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
23861	return nil, false
23862}
23863
23864// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset.
23865func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
23866	return nil, false
23867}
23868
23869// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
23870func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
23871	return nil, false
23872}
23873
23874// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset.
23875func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
23876	return nil, false
23877}
23878
23879// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset.
23880func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
23881	return nil, false
23882}
23883
23884// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset.
23885func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
23886	return nil, false
23887}
23888
23889// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset.
23890func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
23891	return nil, false
23892}
23893
23894// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset.
23895func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) {
23896	return nil, false
23897}
23898
23899// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23900func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
23901	return nil, false
23902}
23903
23904// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23905func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
23906	return nil, false
23907}
23908
23909// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23910func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
23911	return nil, false
23912}
23913
23914// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset.
23915func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
23916	return nil, false
23917}
23918
23919// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset.
23920func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
23921	return nil, false
23922}
23923
23924// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset.
23925func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
23926	return nil, false
23927}
23928
23929// AsDataset is the BasicDataset implementation for CouchbaseTableDataset.
23930func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) {
23931	return nil, false
23932}
23933
23934// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset.
23935func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) {
23936	return &ctd, true
23937}
23938
23939// CreateRunResponse response body with a run identifier.
23940type CreateRunResponse struct {
23941	autorest.Response `json:"-"`
23942	// RunID - Identifier of a run.
23943	RunID *string `json:"runId,omitempty"`
23944}
23945
23946// CustomActivity custom activity type.
23947type CustomActivity struct {
23948	// CustomActivityTypeProperties - Custom activity properties.
23949	*CustomActivityTypeProperties `json:"typeProperties,omitempty"`
23950	// LinkedServiceName - Linked service reference.
23951	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
23952	// Policy - Activity policy.
23953	Policy *ActivityPolicy `json:"policy,omitempty"`
23954	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
23955	AdditionalProperties map[string]interface{} `json:""`
23956	// Name - Activity name.
23957	Name *string `json:"name,omitempty"`
23958	// Description - Activity description.
23959	Description *string `json:"description,omitempty"`
23960	// DependsOn - Activity depends on condition.
23961	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
23962	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
23963	Type TypeBasicActivity `json:"type,omitempty"`
23964}
23965
23966// MarshalJSON is the custom marshaler for CustomActivity.
23967func (ca CustomActivity) MarshalJSON() ([]byte, error) {
23968	ca.Type = TypeCustom
23969	objectMap := make(map[string]interface{})
23970	if ca.CustomActivityTypeProperties != nil {
23971		objectMap["typeProperties"] = ca.CustomActivityTypeProperties
23972	}
23973	if ca.LinkedServiceName != nil {
23974		objectMap["linkedServiceName"] = ca.LinkedServiceName
23975	}
23976	if ca.Policy != nil {
23977		objectMap["policy"] = ca.Policy
23978	}
23979	if ca.Name != nil {
23980		objectMap["name"] = ca.Name
23981	}
23982	if ca.Description != nil {
23983		objectMap["description"] = ca.Description
23984	}
23985	if ca.DependsOn != nil {
23986		objectMap["dependsOn"] = ca.DependsOn
23987	}
23988	if ca.Type != "" {
23989		objectMap["type"] = ca.Type
23990	}
23991	for k, v := range ca.AdditionalProperties {
23992		objectMap[k] = v
23993	}
23994	return json.Marshal(objectMap)
23995}
23996
23997// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity.
23998func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
23999	return nil, false
24000}
24001
24002// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity.
24003func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
24004	return nil, false
24005}
24006
24007// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity.
24008func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
24009	return nil, false
24010}
24011
24012// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity.
24013func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
24014	return nil, false
24015}
24016
24017// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity.
24018func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
24019	return nil, false
24020}
24021
24022// AsWebActivity is the BasicActivity implementation for CustomActivity.
24023func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) {
24024	return nil, false
24025}
24026
24027// AsLookupActivity is the BasicActivity implementation for CustomActivity.
24028func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) {
24029	return nil, false
24030}
24031
24032// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity.
24033func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
24034	return nil, false
24035}
24036
24037// AsCustomActivity is the BasicActivity implementation for CustomActivity.
24038func (ca CustomActivity) AsCustomActivity() (*CustomActivity, bool) {
24039	return &ca, true
24040}
24041
24042// AsExecuteSSISPackageActivity is the BasicActivity implementation for CustomActivity.
24043func (ca CustomActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
24044	return nil, false
24045}
24046
24047// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity.
24048func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
24049	return nil, false
24050}
24051
24052// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity.
24053func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
24054	return nil, false
24055}
24056
24057// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity.
24058func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
24059	return nil, false
24060}
24061
24062// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity.
24063func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
24064	return nil, false
24065}
24066
24067// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity.
24068func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
24069	return nil, false
24070}
24071
24072// AsCopyActivity is the BasicActivity implementation for CustomActivity.
24073func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) {
24074	return nil, false
24075}
24076
24077// AsExecutionActivity is the BasicActivity implementation for CustomActivity.
24078func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
24079	return nil, false
24080}
24081
24082// AsBasicExecutionActivity is the BasicActivity implementation for CustomActivity.
24083func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
24084	return &ca, true
24085}
24086
24087// AsFilterActivity is the BasicActivity implementation for CustomActivity.
24088func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) {
24089	return nil, false
24090}
24091
24092// AsUntilActivity is the BasicActivity implementation for CustomActivity.
24093func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) {
24094	return nil, false
24095}
24096
24097// AsWaitActivity is the BasicActivity implementation for CustomActivity.
24098func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) {
24099	return nil, false
24100}
24101
24102// AsForEachActivity is the BasicActivity implementation for CustomActivity.
24103func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) {
24104	return nil, false
24105}
24106
24107// AsIfConditionActivity is the BasicActivity implementation for CustomActivity.
24108func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
24109	return nil, false
24110}
24111
24112// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity.
24113func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
24114	return nil, false
24115}
24116
24117// AsControlActivity is the BasicActivity implementation for CustomActivity.
24118func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) {
24119	return nil, false
24120}
24121
24122// AsBasicControlActivity is the BasicActivity implementation for CustomActivity.
24123func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
24124	return nil, false
24125}
24126
24127// AsActivity is the BasicActivity implementation for CustomActivity.
24128func (ca CustomActivity) AsActivity() (*Activity, bool) {
24129	return nil, false
24130}
24131
24132// AsBasicActivity is the BasicActivity implementation for CustomActivity.
24133func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) {
24134	return &ca, true
24135}
24136
24137// UnmarshalJSON is the custom unmarshaler for CustomActivity struct.
24138func (ca *CustomActivity) UnmarshalJSON(body []byte) error {
24139	var m map[string]*json.RawMessage
24140	err := json.Unmarshal(body, &m)
24141	if err != nil {
24142		return err
24143	}
24144	for k, v := range m {
24145		switch k {
24146		case "typeProperties":
24147			if v != nil {
24148				var customActivityTypeProperties CustomActivityTypeProperties
24149				err = json.Unmarshal(*v, &customActivityTypeProperties)
24150				if err != nil {
24151					return err
24152				}
24153				ca.CustomActivityTypeProperties = &customActivityTypeProperties
24154			}
24155		case "linkedServiceName":
24156			if v != nil {
24157				var linkedServiceName LinkedServiceReference
24158				err = json.Unmarshal(*v, &linkedServiceName)
24159				if err != nil {
24160					return err
24161				}
24162				ca.LinkedServiceName = &linkedServiceName
24163			}
24164		case "policy":
24165			if v != nil {
24166				var policy ActivityPolicy
24167				err = json.Unmarshal(*v, &policy)
24168				if err != nil {
24169					return err
24170				}
24171				ca.Policy = &policy
24172			}
24173		default:
24174			if v != nil {
24175				var additionalProperties interface{}
24176				err = json.Unmarshal(*v, &additionalProperties)
24177				if err != nil {
24178					return err
24179				}
24180				if ca.AdditionalProperties == nil {
24181					ca.AdditionalProperties = make(map[string]interface{})
24182				}
24183				ca.AdditionalProperties[k] = additionalProperties
24184			}
24185		case "name":
24186			if v != nil {
24187				var name string
24188				err = json.Unmarshal(*v, &name)
24189				if err != nil {
24190					return err
24191				}
24192				ca.Name = &name
24193			}
24194		case "description":
24195			if v != nil {
24196				var description string
24197				err = json.Unmarshal(*v, &description)
24198				if err != nil {
24199					return err
24200				}
24201				ca.Description = &description
24202			}
24203		case "dependsOn":
24204			if v != nil {
24205				var dependsOn []ActivityDependency
24206				err = json.Unmarshal(*v, &dependsOn)
24207				if err != nil {
24208					return err
24209				}
24210				ca.DependsOn = &dependsOn
24211			}
24212		case "type":
24213			if v != nil {
24214				var typeVar TypeBasicActivity
24215				err = json.Unmarshal(*v, &typeVar)
24216				if err != nil {
24217					return err
24218				}
24219				ca.Type = typeVar
24220			}
24221		}
24222	}
24223
24224	return nil
24225}
24226
24227// CustomActivityReferenceObject reference objects for custom activity
24228type CustomActivityReferenceObject struct {
24229	// LinkedServices - Linked service references.
24230	LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"`
24231	// Datasets - Dataset references.
24232	Datasets *[]DatasetReference `json:"datasets,omitempty"`
24233}
24234
24235// CustomActivityTypeProperties custom activity properties.
24236type CustomActivityTypeProperties struct {
24237	// Command - Command for custom activity Type: string (or Expression with resultType string).
24238	Command interface{} `json:"command,omitempty"`
24239	// ResourceLinkedService - Resource linked service reference.
24240	ResourceLinkedService *LinkedServiceReference `json:"resourceLinkedService,omitempty"`
24241	// FolderPath - Folder path for resource files Type: string (or Expression with resultType string).
24242	FolderPath interface{} `json:"folderPath,omitempty"`
24243	// ReferenceObjects - Reference objects
24244	ReferenceObjects *CustomActivityReferenceObject `json:"referenceObjects,omitempty"`
24245	// ExtendedProperties - User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.
24246	ExtendedProperties map[string]interface{} `json:"extendedProperties"`
24247}
24248
24249// MarshalJSON is the custom marshaler for CustomActivityTypeProperties.
24250func (catp CustomActivityTypeProperties) MarshalJSON() ([]byte, error) {
24251	objectMap := make(map[string]interface{})
24252	objectMap["command"] = catp.Command
24253	if catp.ResourceLinkedService != nil {
24254		objectMap["resourceLinkedService"] = catp.ResourceLinkedService
24255	}
24256	objectMap["folderPath"] = catp.FolderPath
24257	if catp.ReferenceObjects != nil {
24258		objectMap["referenceObjects"] = catp.ReferenceObjects
24259	}
24260	if catp.ExtendedProperties != nil {
24261		objectMap["extendedProperties"] = catp.ExtendedProperties
24262	}
24263	return json.Marshal(objectMap)
24264}
24265
24266// CustomDataset the custom dataset.
24267type CustomDataset struct {
24268	// TypeProperties - Custom dataset properties.
24269	TypeProperties interface{} `json:"typeProperties,omitempty"`
24270	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
24271	AdditionalProperties map[string]interface{} `json:""`
24272	// Description - Dataset description.
24273	Description *string `json:"description,omitempty"`
24274	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
24275	Structure interface{} `json:"structure,omitempty"`
24276	// LinkedServiceName - Linked service reference.
24277	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
24278	// Parameters - Parameters for dataset.
24279	Parameters map[string]*ParameterSpecification `json:"parameters"`
24280	// Annotations - List of tags that can be used for describing the Dataset.
24281	Annotations *[]interface{} `json:"annotations,omitempty"`
24282	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
24283	Type TypeBasicDataset `json:"type,omitempty"`
24284}
24285
24286// MarshalJSON is the custom marshaler for CustomDataset.
24287func (cd CustomDataset) MarshalJSON() ([]byte, error) {
24288	cd.Type = TypeCustomDataset
24289	objectMap := make(map[string]interface{})
24290	objectMap["typeProperties"] = cd.TypeProperties
24291	if cd.Description != nil {
24292		objectMap["description"] = cd.Description
24293	}
24294	objectMap["structure"] = cd.Structure
24295	if cd.LinkedServiceName != nil {
24296		objectMap["linkedServiceName"] = cd.LinkedServiceName
24297	}
24298	if cd.Parameters != nil {
24299		objectMap["parameters"] = cd.Parameters
24300	}
24301	if cd.Annotations != nil {
24302		objectMap["annotations"] = cd.Annotations
24303	}
24304	if cd.Type != "" {
24305		objectMap["type"] = cd.Type
24306	}
24307	for k, v := range cd.AdditionalProperties {
24308		objectMap[k] = v
24309	}
24310	return json.Marshal(objectMap)
24311}
24312
24313// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset.
24314func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
24315	return nil, false
24316}
24317
24318// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset.
24319func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
24320	return nil, false
24321}
24322
24323// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset.
24324func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
24325	return nil, false
24326}
24327
24328// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset.
24329func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
24330	return nil, false
24331}
24332
24333// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset.
24334func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
24335	return nil, false
24336}
24337
24338// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset.
24339func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
24340	return nil, false
24341}
24342
24343// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset.
24344func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
24345	return nil, false
24346}
24347
24348// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset.
24349func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
24350	return nil, false
24351}
24352
24353// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset.
24354func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
24355	return nil, false
24356}
24357
24358// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset.
24359func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
24360	return nil, false
24361}
24362
24363// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset.
24364func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
24365	return nil, false
24366}
24367
24368// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset.
24369func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
24370	return nil, false
24371}
24372
24373// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset.
24374func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
24375	return nil, false
24376}
24377
24378// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset.
24379func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
24380	return nil, false
24381}
24382
24383// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset.
24384func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
24385	return nil, false
24386}
24387
24388// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset.
24389func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
24390	return nil, false
24391}
24392
24393// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset.
24394func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
24395	return nil, false
24396}
24397
24398// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset.
24399func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
24400	return nil, false
24401}
24402
24403// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset.
24404func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
24405	return nil, false
24406}
24407
24408// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset.
24409func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
24410	return nil, false
24411}
24412
24413// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset.
24414func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
24415	return nil, false
24416}
24417
24418// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset.
24419func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
24420	return nil, false
24421}
24422
24423// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset.
24424func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
24425	return nil, false
24426}
24427
24428// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset.
24429func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
24430	return nil, false
24431}
24432
24433// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset.
24434func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
24435	return nil, false
24436}
24437
24438// AsDrillTableDataset is the BasicDataset implementation for CustomDataset.
24439func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
24440	return nil, false
24441}
24442
24443// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset.
24444func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
24445	return nil, false
24446}
24447
24448// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset.
24449func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
24450	return nil, false
24451}
24452
24453// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset.
24454func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
24455	return nil, false
24456}
24457
24458// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset.
24459func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
24460	return nil, false
24461}
24462
24463// AsHTTPDataset is the BasicDataset implementation for CustomDataset.
24464func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) {
24465	return nil, false
24466}
24467
24468// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset.
24469func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
24470	return nil, false
24471}
24472
24473// AsWebTableDataset is the BasicDataset implementation for CustomDataset.
24474func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) {
24475	return nil, false
24476}
24477
24478// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset.
24479func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
24480	return nil, false
24481}
24482
24483// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset.
24484func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
24485	return nil, false
24486}
24487
24488// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset.
24489func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
24490	return nil, false
24491}
24492
24493// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset.
24494func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
24495	return nil, false
24496}
24497
24498// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset.
24499func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
24500	return nil, false
24501}
24502
24503// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset.
24504func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
24505	return nil, false
24506}
24507
24508// AsOracleTableDataset is the BasicDataset implementation for CustomDataset.
24509func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
24510	return nil, false
24511}
24512
24513// AsODataResourceDataset is the BasicDataset implementation for CustomDataset.
24514func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
24515	return nil, false
24516}
24517
24518// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset.
24519func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
24520	return nil, false
24521}
24522
24523// AsFileShareDataset is the BasicDataset implementation for CustomDataset.
24524func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) {
24525	return nil, false
24526}
24527
24528// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset.
24529func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
24530	return nil, false
24531}
24532
24533// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset.
24534func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
24535	return nil, false
24536}
24537
24538// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset.
24539func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
24540	return nil, false
24541}
24542
24543// AsCustomDataset is the BasicDataset implementation for CustomDataset.
24544func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) {
24545	return &cd, true
24546}
24547
24548// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset.
24549func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
24550	return nil, false
24551}
24552
24553// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset.
24554func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
24555	return nil, false
24556}
24557
24558// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset.
24559func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
24560	return nil, false
24561}
24562
24563// AsAzureTableDataset is the BasicDataset implementation for CustomDataset.
24564func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
24565	return nil, false
24566}
24567
24568// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset.
24569func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
24570	return nil, false
24571}
24572
24573// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset.
24574func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
24575	return nil, false
24576}
24577
24578// AsDataset is the BasicDataset implementation for CustomDataset.
24579func (cd CustomDataset) AsDataset() (*Dataset, bool) {
24580	return nil, false
24581}
24582
24583// AsBasicDataset is the BasicDataset implementation for CustomDataset.
24584func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) {
24585	return &cd, true
24586}
24587
24588// CustomDataSourceLinkedService custom linked service.
24589type CustomDataSourceLinkedService struct {
24590	// TypeProperties - Custom linked service properties.
24591	TypeProperties interface{} `json:"typeProperties,omitempty"`
24592	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
24593	AdditionalProperties map[string]interface{} `json:""`
24594	// ConnectVia - The integration runtime reference.
24595	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
24596	// Description - Linked service description.
24597	Description *string `json:"description,omitempty"`
24598	// Parameters - Parameters for linked service.
24599	Parameters map[string]*ParameterSpecification `json:"parameters"`
24600	// Annotations - List of tags that can be used for describing the Dataset.
24601	Annotations *[]interface{} `json:"annotations,omitempty"`
24602	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
24603	Type TypeBasicLinkedService `json:"type,omitempty"`
24604}
24605
24606// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService.
24607func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) {
24608	cdsls.Type = TypeCustomDataSource
24609	objectMap := make(map[string]interface{})
24610	objectMap["typeProperties"] = cdsls.TypeProperties
24611	if cdsls.ConnectVia != nil {
24612		objectMap["connectVia"] = cdsls.ConnectVia
24613	}
24614	if cdsls.Description != nil {
24615		objectMap["description"] = cdsls.Description
24616	}
24617	if cdsls.Parameters != nil {
24618		objectMap["parameters"] = cdsls.Parameters
24619	}
24620	if cdsls.Annotations != nil {
24621		objectMap["annotations"] = cdsls.Annotations
24622	}
24623	if cdsls.Type != "" {
24624		objectMap["type"] = cdsls.Type
24625	}
24626	for k, v := range cdsls.AdditionalProperties {
24627		objectMap[k] = v
24628	}
24629	return json.Marshal(objectMap)
24630}
24631
24632// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24633func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
24634	return nil, false
24635}
24636
24637// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24638func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
24639	return nil, false
24640}
24641
24642// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24643func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
24644	return nil, false
24645}
24646
24647// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24648func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
24649	return nil, false
24650}
24651
24652// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24653func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
24654	return nil, false
24655}
24656
24657// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24658func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
24659	return nil, false
24660}
24661
24662// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24663func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
24664	return nil, false
24665}
24666
24667// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24668func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
24669	return nil, false
24670}
24671
24672// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24673func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
24674	return nil, false
24675}
24676
24677// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24678func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
24679	return nil, false
24680}
24681
24682// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24683func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
24684	return nil, false
24685}
24686
24687// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24688func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
24689	return nil, false
24690}
24691
24692// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24693func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
24694	return nil, false
24695}
24696
24697// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24698func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
24699	return nil, false
24700}
24701
24702// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24703func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
24704	return nil, false
24705}
24706
24707// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24708func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
24709	return nil, false
24710}
24711
24712// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24713func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
24714	return nil, false
24715}
24716
24717// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24718func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
24719	return nil, false
24720}
24721
24722// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24723func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
24724	return nil, false
24725}
24726
24727// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24728func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
24729	return nil, false
24730}
24731
24732// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24733func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
24734	return nil, false
24735}
24736
24737// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24738func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
24739	return nil, false
24740}
24741
24742// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24743func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
24744	return nil, false
24745}
24746
24747// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24748func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
24749	return nil, false
24750}
24751
24752// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24753func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
24754	return nil, false
24755}
24756
24757// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24758func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
24759	return nil, false
24760}
24761
24762// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24763func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
24764	return nil, false
24765}
24766
24767// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24768func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
24769	return nil, false
24770}
24771
24772// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24773func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
24774	return nil, false
24775}
24776
24777// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24778func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
24779	return nil, false
24780}
24781
24782// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24783func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
24784	return nil, false
24785}
24786
24787// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24788func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
24789	return nil, false
24790}
24791
24792// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24793func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
24794	return nil, false
24795}
24796
24797// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24798func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
24799	return nil, false
24800}
24801
24802// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24803func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
24804	return nil, false
24805}
24806
24807// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24808func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
24809	return nil, false
24810}
24811
24812// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24813func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
24814	return nil, false
24815}
24816
24817// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24818func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
24819	return nil, false
24820}
24821
24822// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24823func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
24824	return nil, false
24825}
24826
24827// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24828func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
24829	return &cdsls, true
24830}
24831
24832// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24833func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
24834	return nil, false
24835}
24836
24837// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24838func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
24839	return nil, false
24840}
24841
24842// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24843func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
24844	return nil, false
24845}
24846
24847// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24848func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
24849	return nil, false
24850}
24851
24852// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24853func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
24854	return nil, false
24855}
24856
24857// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24858func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
24859	return nil, false
24860}
24861
24862// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24863func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
24864	return nil, false
24865}
24866
24867// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24868func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
24869	return nil, false
24870}
24871
24872// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24873func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
24874	return nil, false
24875}
24876
24877// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24878func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
24879	return nil, false
24880}
24881
24882// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24883func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
24884	return nil, false
24885}
24886
24887// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24888func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
24889	return nil, false
24890}
24891
24892// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24893func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
24894	return nil, false
24895}
24896
24897// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24898func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
24899	return nil, false
24900}
24901
24902// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24903func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
24904	return nil, false
24905}
24906
24907// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24908func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
24909	return nil, false
24910}
24911
24912// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24913func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
24914	return nil, false
24915}
24916
24917// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24918func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
24919	return nil, false
24920}
24921
24922// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24923func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
24924	return nil, false
24925}
24926
24927// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24928func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
24929	return nil, false
24930}
24931
24932// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24933func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
24934	return nil, false
24935}
24936
24937// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24938func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
24939	return nil, false
24940}
24941
24942// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24943func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
24944	return nil, false
24945}
24946
24947// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24948func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
24949	return nil, false
24950}
24951
24952// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24953func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
24954	return nil, false
24955}
24956
24957// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24958func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
24959	return nil, false
24960}
24961
24962// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24963func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
24964	return nil, false
24965}
24966
24967// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24968func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
24969	return nil, false
24970}
24971
24972// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24973func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
24974	return nil, false
24975}
24976
24977// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24978func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
24979	return nil, false
24980}
24981
24982// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24983func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) {
24984	return nil, false
24985}
24986
24987// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService.
24988func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
24989	return &cdsls, true
24990}
24991
24992// DatabricksNotebookActivity databricksNotebook activity.
24993type DatabricksNotebookActivity struct {
24994	// DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties.
24995	*DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"`
24996	// LinkedServiceName - Linked service reference.
24997	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
24998	// Policy - Activity policy.
24999	Policy *ActivityPolicy `json:"policy,omitempty"`
25000	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
25001	AdditionalProperties map[string]interface{} `json:""`
25002	// Name - Activity name.
25003	Name *string `json:"name,omitempty"`
25004	// Description - Activity description.
25005	Description *string `json:"description,omitempty"`
25006	// DependsOn - Activity depends on condition.
25007	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
25008	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
25009	Type TypeBasicActivity `json:"type,omitempty"`
25010}
25011
25012// MarshalJSON is the custom marshaler for DatabricksNotebookActivity.
25013func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) {
25014	dna.Type = TypeDatabricksNotebook
25015	objectMap := make(map[string]interface{})
25016	if dna.DatabricksNotebookActivityTypeProperties != nil {
25017		objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties
25018	}
25019	if dna.LinkedServiceName != nil {
25020		objectMap["linkedServiceName"] = dna.LinkedServiceName
25021	}
25022	if dna.Policy != nil {
25023		objectMap["policy"] = dna.Policy
25024	}
25025	if dna.Name != nil {
25026		objectMap["name"] = dna.Name
25027	}
25028	if dna.Description != nil {
25029		objectMap["description"] = dna.Description
25030	}
25031	if dna.DependsOn != nil {
25032		objectMap["dependsOn"] = dna.DependsOn
25033	}
25034	if dna.Type != "" {
25035		objectMap["type"] = dna.Type
25036	}
25037	for k, v := range dna.AdditionalProperties {
25038		objectMap[k] = v
25039	}
25040	return json.Marshal(objectMap)
25041}
25042
25043// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25044func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
25045	return &dna, true
25046}
25047
25048// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25049func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
25050	return nil, false
25051}
25052
25053// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25054func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
25055	return nil, false
25056}
25057
25058// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25059func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
25060	return nil, false
25061}
25062
25063// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25064func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
25065	return nil, false
25066}
25067
25068// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25069func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) {
25070	return nil, false
25071}
25072
25073// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25074func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) {
25075	return nil, false
25076}
25077
25078// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25079func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
25080	return nil, false
25081}
25082
25083// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25084func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) {
25085	return nil, false
25086}
25087
25088// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25089func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
25090	return nil, false
25091}
25092
25093// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25094func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
25095	return nil, false
25096}
25097
25098// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25099func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
25100	return nil, false
25101}
25102
25103// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25104func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
25105	return nil, false
25106}
25107
25108// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25109func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
25110	return nil, false
25111}
25112
25113// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25114func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
25115	return nil, false
25116}
25117
25118// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25119func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) {
25120	return nil, false
25121}
25122
25123// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25124func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
25125	return nil, false
25126}
25127
25128// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25129func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
25130	return &dna, true
25131}
25132
25133// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25134func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) {
25135	return nil, false
25136}
25137
25138// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25139func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) {
25140	return nil, false
25141}
25142
25143// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25144func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) {
25145	return nil, false
25146}
25147
25148// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25149func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) {
25150	return nil, false
25151}
25152
25153// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25154func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
25155	return nil, false
25156}
25157
25158// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25159func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
25160	return nil, false
25161}
25162
25163// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25164func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) {
25165	return nil, false
25166}
25167
25168// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25169func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
25170	return nil, false
25171}
25172
25173// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25174func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) {
25175	return nil, false
25176}
25177
25178// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity.
25179func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) {
25180	return &dna, true
25181}
25182
25183// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct.
25184func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error {
25185	var m map[string]*json.RawMessage
25186	err := json.Unmarshal(body, &m)
25187	if err != nil {
25188		return err
25189	}
25190	for k, v := range m {
25191		switch k {
25192		case "typeProperties":
25193			if v != nil {
25194				var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties
25195				err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties)
25196				if err != nil {
25197					return err
25198				}
25199				dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties
25200			}
25201		case "linkedServiceName":
25202			if v != nil {
25203				var linkedServiceName LinkedServiceReference
25204				err = json.Unmarshal(*v, &linkedServiceName)
25205				if err != nil {
25206					return err
25207				}
25208				dna.LinkedServiceName = &linkedServiceName
25209			}
25210		case "policy":
25211			if v != nil {
25212				var policy ActivityPolicy
25213				err = json.Unmarshal(*v, &policy)
25214				if err != nil {
25215					return err
25216				}
25217				dna.Policy = &policy
25218			}
25219		default:
25220			if v != nil {
25221				var additionalProperties interface{}
25222				err = json.Unmarshal(*v, &additionalProperties)
25223				if err != nil {
25224					return err
25225				}
25226				if dna.AdditionalProperties == nil {
25227					dna.AdditionalProperties = make(map[string]interface{})
25228				}
25229				dna.AdditionalProperties[k] = additionalProperties
25230			}
25231		case "name":
25232			if v != nil {
25233				var name string
25234				err = json.Unmarshal(*v, &name)
25235				if err != nil {
25236					return err
25237				}
25238				dna.Name = &name
25239			}
25240		case "description":
25241			if v != nil {
25242				var description string
25243				err = json.Unmarshal(*v, &description)
25244				if err != nil {
25245					return err
25246				}
25247				dna.Description = &description
25248			}
25249		case "dependsOn":
25250			if v != nil {
25251				var dependsOn []ActivityDependency
25252				err = json.Unmarshal(*v, &dependsOn)
25253				if err != nil {
25254					return err
25255				}
25256				dna.DependsOn = &dependsOn
25257			}
25258		case "type":
25259			if v != nil {
25260				var typeVar TypeBasicActivity
25261				err = json.Unmarshal(*v, &typeVar)
25262				if err != nil {
25263					return err
25264				}
25265				dna.Type = typeVar
25266			}
25267		}
25268	}
25269
25270	return nil
25271}
25272
25273// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties.
25274type DatabricksNotebookActivityTypeProperties struct {
25275	// NotebookPath - The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).
25276	NotebookPath interface{} `json:"notebookPath,omitempty"`
25277	// BaseParameters - Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used.
25278	BaseParameters map[string]interface{} `json:"baseParameters"`
25279}
25280
25281// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties.
25282func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) {
25283	objectMap := make(map[string]interface{})
25284	objectMap["notebookPath"] = dnatp.NotebookPath
25285	if dnatp.BaseParameters != nil {
25286		objectMap["baseParameters"] = dnatp.BaseParameters
25287	}
25288	return json.Marshal(objectMap)
25289}
25290
25291// DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity.
25292type DataLakeAnalyticsUSQLActivity struct {
25293	// DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties.
25294	*DataLakeAnalyticsUSQLActivityTypeProperties `json:"typeProperties,omitempty"`
25295	// LinkedServiceName - Linked service reference.
25296	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
25297	// Policy - Activity policy.
25298	Policy *ActivityPolicy `json:"policy,omitempty"`
25299	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
25300	AdditionalProperties map[string]interface{} `json:""`
25301	// Name - Activity name.
25302	Name *string `json:"name,omitempty"`
25303	// Description - Activity description.
25304	Description *string `json:"description,omitempty"`
25305	// DependsOn - Activity depends on condition.
25306	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
25307	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
25308	Type TypeBasicActivity `json:"type,omitempty"`
25309}
25310
25311// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity.
25312func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) {
25313	dlaua.Type = TypeDataLakeAnalyticsUSQL
25314	objectMap := make(map[string]interface{})
25315	if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil {
25316		objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties
25317	}
25318	if dlaua.LinkedServiceName != nil {
25319		objectMap["linkedServiceName"] = dlaua.LinkedServiceName
25320	}
25321	if dlaua.Policy != nil {
25322		objectMap["policy"] = dlaua.Policy
25323	}
25324	if dlaua.Name != nil {
25325		objectMap["name"] = dlaua.Name
25326	}
25327	if dlaua.Description != nil {
25328		objectMap["description"] = dlaua.Description
25329	}
25330	if dlaua.DependsOn != nil {
25331		objectMap["dependsOn"] = dlaua.DependsOn
25332	}
25333	if dlaua.Type != "" {
25334		objectMap["type"] = dlaua.Type
25335	}
25336	for k, v := range dlaua.AdditionalProperties {
25337		objectMap[k] = v
25338	}
25339	return json.Marshal(objectMap)
25340}
25341
25342// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25343func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
25344	return nil, false
25345}
25346
25347// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25348func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
25349	return &dlaua, true
25350}
25351
25352// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25353func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
25354	return nil, false
25355}
25356
25357// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25358func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
25359	return nil, false
25360}
25361
25362// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25363func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
25364	return nil, false
25365}
25366
25367// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25368func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) {
25369	return nil, false
25370}
25371
25372// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25373func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) {
25374	return nil, false
25375}
25376
25377// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25378func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
25379	return nil, false
25380}
25381
25382// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25383func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) {
25384	return nil, false
25385}
25386
25387// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25388func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
25389	return nil, false
25390}
25391
25392// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25393func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
25394	return nil, false
25395}
25396
25397// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25398func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
25399	return nil, false
25400}
25401
25402// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25403func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
25404	return nil, false
25405}
25406
25407// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25408func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
25409	return nil, false
25410}
25411
25412// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25413func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
25414	return nil, false
25415}
25416
25417// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25418func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) {
25419	return nil, false
25420}
25421
25422// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25423func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
25424	return nil, false
25425}
25426
25427// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25428func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
25429	return &dlaua, true
25430}
25431
25432// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25433func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) {
25434	return nil, false
25435}
25436
25437// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25438func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) {
25439	return nil, false
25440}
25441
25442// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25443func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) {
25444	return nil, false
25445}
25446
25447// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25448func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) {
25449	return nil, false
25450}
25451
25452// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25453func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
25454	return nil, false
25455}
25456
25457// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25458func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
25459	return nil, false
25460}
25461
25462// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25463func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) {
25464	return nil, false
25465}
25466
25467// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25468func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
25469	return nil, false
25470}
25471
25472// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25473func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) {
25474	return nil, false
25475}
25476
25477// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity.
25478func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) {
25479	return &dlaua, true
25480}
25481
25482// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct.
25483func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error {
25484	var m map[string]*json.RawMessage
25485	err := json.Unmarshal(body, &m)
25486	if err != nil {
25487		return err
25488	}
25489	for k, v := range m {
25490		switch k {
25491		case "typeProperties":
25492			if v != nil {
25493				var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties
25494				err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties)
25495				if err != nil {
25496					return err
25497				}
25498				dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties
25499			}
25500		case "linkedServiceName":
25501			if v != nil {
25502				var linkedServiceName LinkedServiceReference
25503				err = json.Unmarshal(*v, &linkedServiceName)
25504				if err != nil {
25505					return err
25506				}
25507				dlaua.LinkedServiceName = &linkedServiceName
25508			}
25509		case "policy":
25510			if v != nil {
25511				var policy ActivityPolicy
25512				err = json.Unmarshal(*v, &policy)
25513				if err != nil {
25514					return err
25515				}
25516				dlaua.Policy = &policy
25517			}
25518		default:
25519			if v != nil {
25520				var additionalProperties interface{}
25521				err = json.Unmarshal(*v, &additionalProperties)
25522				if err != nil {
25523					return err
25524				}
25525				if dlaua.AdditionalProperties == nil {
25526					dlaua.AdditionalProperties = make(map[string]interface{})
25527				}
25528				dlaua.AdditionalProperties[k] = additionalProperties
25529			}
25530		case "name":
25531			if v != nil {
25532				var name string
25533				err = json.Unmarshal(*v, &name)
25534				if err != nil {
25535					return err
25536				}
25537				dlaua.Name = &name
25538			}
25539		case "description":
25540			if v != nil {
25541				var description string
25542				err = json.Unmarshal(*v, &description)
25543				if err != nil {
25544					return err
25545				}
25546				dlaua.Description = &description
25547			}
25548		case "dependsOn":
25549			if v != nil {
25550				var dependsOn []ActivityDependency
25551				err = json.Unmarshal(*v, &dependsOn)
25552				if err != nil {
25553					return err
25554				}
25555				dlaua.DependsOn = &dependsOn
25556			}
25557		case "type":
25558			if v != nil {
25559				var typeVar TypeBasicActivity
25560				err = json.Unmarshal(*v, &typeVar)
25561				if err != nil {
25562					return err
25563				}
25564				dlaua.Type = typeVar
25565			}
25566		}
25567	}
25568
25569	return nil
25570}
25571
25572// DataLakeAnalyticsUSQLActivityTypeProperties dataLakeAnalyticsU-SQL activity properties.
25573type DataLakeAnalyticsUSQLActivityTypeProperties struct {
25574	// ScriptPath - Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).
25575	ScriptPath interface{} `json:"scriptPath,omitempty"`
25576	// ScriptLinkedService - Script linked service reference.
25577	ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
25578	// DegreeOfParallelism - The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.
25579	DegreeOfParallelism interface{} `json:"degreeOfParallelism,omitempty"`
25580	// Priority - Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.
25581	Priority interface{} `json:"priority,omitempty"`
25582	// Parameters - Parameters for U-SQL job request.
25583	Parameters map[string]interface{} `json:"parameters"`
25584	// RuntimeVersion - Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).
25585	RuntimeVersion interface{} `json:"runtimeVersion,omitempty"`
25586	// CompilationMode - Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).
25587	CompilationMode interface{} `json:"compilationMode,omitempty"`
25588}
25589
25590// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties.
25591func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) {
25592	objectMap := make(map[string]interface{})
25593	objectMap["scriptPath"] = dlauatp.ScriptPath
25594	if dlauatp.ScriptLinkedService != nil {
25595		objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService
25596	}
25597	objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism
25598	objectMap["priority"] = dlauatp.Priority
25599	if dlauatp.Parameters != nil {
25600		objectMap["parameters"] = dlauatp.Parameters
25601	}
25602	objectMap["runtimeVersion"] = dlauatp.RuntimeVersion
25603	objectMap["compilationMode"] = dlauatp.CompilationMode
25604	return json.Marshal(objectMap)
25605}
25606
25607// BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as
25608// tables, files, folders, and documents.
25609type BasicDataset interface {
25610	AsResponsysObjectDataset() (*ResponsysObjectDataset, bool)
25611	AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool)
25612	AsVerticaTableDataset() (*VerticaTableDataset, bool)
25613	AsNetezzaTableDataset() (*NetezzaTableDataset, bool)
25614	AsZohoObjectDataset() (*ZohoObjectDataset, bool)
25615	AsXeroObjectDataset() (*XeroObjectDataset, bool)
25616	AsSquareObjectDataset() (*SquareObjectDataset, bool)
25617	AsSparkObjectDataset() (*SparkObjectDataset, bool)
25618	AsShopifyObjectDataset() (*ShopifyObjectDataset, bool)
25619	AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool)
25620	AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool)
25621	AsPrestoObjectDataset() (*PrestoObjectDataset, bool)
25622	AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool)
25623	AsPaypalObjectDataset() (*PaypalObjectDataset, bool)
25624	AsMarketoObjectDataset() (*MarketoObjectDataset, bool)
25625	AsMariaDBTableDataset() (*MariaDBTableDataset, bool)
25626	AsMagentoObjectDataset() (*MagentoObjectDataset, bool)
25627	AsJiraObjectDataset() (*JiraObjectDataset, bool)
25628	AsImpalaObjectDataset() (*ImpalaObjectDataset, bool)
25629	AsHubspotObjectDataset() (*HubspotObjectDataset, bool)
25630	AsHiveObjectDataset() (*HiveObjectDataset, bool)
25631	AsHBaseObjectDataset() (*HBaseObjectDataset, bool)
25632	AsGreenplumTableDataset() (*GreenplumTableDataset, bool)
25633	AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool)
25634	AsEloquaObjectDataset() (*EloquaObjectDataset, bool)
25635	AsDrillTableDataset() (*DrillTableDataset, bool)
25636	AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool)
25637	AsConcurObjectDataset() (*ConcurObjectDataset, bool)
25638	AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool)
25639	AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool)
25640	AsHTTPDataset() (*HTTPDataset, bool)
25641	AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool)
25642	AsWebTableDataset() (*WebTableDataset, bool)
25643	AsSQLServerTableDataset() (*SQLServerTableDataset, bool)
25644	AsSapEccResourceDataset() (*SapEccResourceDataset, bool)
25645	AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool)
25646	AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool)
25647	AsRelationalTableDataset() (*RelationalTableDataset, bool)
25648	AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool)
25649	AsOracleTableDataset() (*OracleTableDataset, bool)
25650	AsODataResourceDataset() (*ODataResourceDataset, bool)
25651	AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool)
25652	AsFileShareDataset() (*FileShareDataset, bool)
25653	AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool)
25654	AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool)
25655	AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool)
25656	AsCustomDataset() (*CustomDataset, bool)
25657	AsCassandraTableDataset() (*CassandraTableDataset, bool)
25658	AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool)
25659	AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool)
25660	AsAzureTableDataset() (*AzureTableDataset, bool)
25661	AsAzureBlobDataset() (*AzureBlobDataset, bool)
25662	AsAmazonS3Dataset() (*AmazonS3Dataset, bool)
25663	AsDataset() (*Dataset, bool)
25664}
25665
25666// Dataset the Azure Data Factory nested object which identifies data within different data stores, such as tables,
25667// files, folders, and documents.
25668type Dataset struct {
25669	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
25670	AdditionalProperties map[string]interface{} `json:""`
25671	// Description - Dataset description.
25672	Description *string `json:"description,omitempty"`
25673	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
25674	Structure interface{} `json:"structure,omitempty"`
25675	// LinkedServiceName - Linked service reference.
25676	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
25677	// Parameters - Parameters for dataset.
25678	Parameters map[string]*ParameterSpecification `json:"parameters"`
25679	// Annotations - List of tags that can be used for describing the Dataset.
25680	Annotations *[]interface{} `json:"annotations,omitempty"`
25681	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
25682	Type TypeBasicDataset `json:"type,omitempty"`
25683}
25684
25685func unmarshalBasicDataset(body []byte) (BasicDataset, error) {
25686	var m map[string]interface{}
25687	err := json.Unmarshal(body, &m)
25688	if err != nil {
25689		return nil, err
25690	}
25691
25692	switch m["type"] {
25693	case string(TypeResponsysObject):
25694		var rod ResponsysObjectDataset
25695		err := json.Unmarshal(body, &rod)
25696		return rod, err
25697	case string(TypeSalesforceMarketingCloudObject):
25698		var smcod SalesforceMarketingCloudObjectDataset
25699		err := json.Unmarshal(body, &smcod)
25700		return smcod, err
25701	case string(TypeVerticaTable):
25702		var vtd VerticaTableDataset
25703		err := json.Unmarshal(body, &vtd)
25704		return vtd, err
25705	case string(TypeNetezzaTable):
25706		var ntd NetezzaTableDataset
25707		err := json.Unmarshal(body, &ntd)
25708		return ntd, err
25709	case string(TypeZohoObject):
25710		var zod ZohoObjectDataset
25711		err := json.Unmarshal(body, &zod)
25712		return zod, err
25713	case string(TypeXeroObject):
25714		var xod XeroObjectDataset
25715		err := json.Unmarshal(body, &xod)
25716		return xod, err
25717	case string(TypeSquareObject):
25718		var sod SquareObjectDataset
25719		err := json.Unmarshal(body, &sod)
25720		return sod, err
25721	case string(TypeSparkObject):
25722		var sod SparkObjectDataset
25723		err := json.Unmarshal(body, &sod)
25724		return sod, err
25725	case string(TypeShopifyObject):
25726		var sod ShopifyObjectDataset
25727		err := json.Unmarshal(body, &sod)
25728		return sod, err
25729	case string(TypeServiceNowObject):
25730		var snod ServiceNowObjectDataset
25731		err := json.Unmarshal(body, &snod)
25732		return snod, err
25733	case string(TypeQuickBooksObject):
25734		var qbod QuickBooksObjectDataset
25735		err := json.Unmarshal(body, &qbod)
25736		return qbod, err
25737	case string(TypePrestoObject):
25738		var pod PrestoObjectDataset
25739		err := json.Unmarshal(body, &pod)
25740		return pod, err
25741	case string(TypePhoenixObject):
25742		var pod PhoenixObjectDataset
25743		err := json.Unmarshal(body, &pod)
25744		return pod, err
25745	case string(TypePaypalObject):
25746		var pod PaypalObjectDataset
25747		err := json.Unmarshal(body, &pod)
25748		return pod, err
25749	case string(TypeMarketoObject):
25750		var mod MarketoObjectDataset
25751		err := json.Unmarshal(body, &mod)
25752		return mod, err
25753	case string(TypeMariaDBTable):
25754		var mdtd MariaDBTableDataset
25755		err := json.Unmarshal(body, &mdtd)
25756		return mdtd, err
25757	case string(TypeMagentoObject):
25758		var mod MagentoObjectDataset
25759		err := json.Unmarshal(body, &mod)
25760		return mod, err
25761	case string(TypeJiraObject):
25762		var jod JiraObjectDataset
25763		err := json.Unmarshal(body, &jod)
25764		return jod, err
25765	case string(TypeImpalaObject):
25766		var iod ImpalaObjectDataset
25767		err := json.Unmarshal(body, &iod)
25768		return iod, err
25769	case string(TypeHubspotObject):
25770		var hod HubspotObjectDataset
25771		err := json.Unmarshal(body, &hod)
25772		return hod, err
25773	case string(TypeHiveObject):
25774		var hod HiveObjectDataset
25775		err := json.Unmarshal(body, &hod)
25776		return hod, err
25777	case string(TypeHBaseObject):
25778		var hbod HBaseObjectDataset
25779		err := json.Unmarshal(body, &hbod)
25780		return hbod, err
25781	case string(TypeGreenplumTable):
25782		var gtd GreenplumTableDataset
25783		err := json.Unmarshal(body, &gtd)
25784		return gtd, err
25785	case string(TypeGoogleBigQueryObject):
25786		var gbqod GoogleBigQueryObjectDataset
25787		err := json.Unmarshal(body, &gbqod)
25788		return gbqod, err
25789	case string(TypeEloquaObject):
25790		var eod EloquaObjectDataset
25791		err := json.Unmarshal(body, &eod)
25792		return eod, err
25793	case string(TypeDrillTable):
25794		var dtd DrillTableDataset
25795		err := json.Unmarshal(body, &dtd)
25796		return dtd, err
25797	case string(TypeCouchbaseTable):
25798		var ctd CouchbaseTableDataset
25799		err := json.Unmarshal(body, &ctd)
25800		return ctd, err
25801	case string(TypeConcurObject):
25802		var cod ConcurObjectDataset
25803		err := json.Unmarshal(body, &cod)
25804		return cod, err
25805	case string(TypeAzurePostgreSQLTable):
25806		var apstd AzurePostgreSQLTableDataset
25807		err := json.Unmarshal(body, &apstd)
25808		return apstd, err
25809	case string(TypeAmazonMWSObject):
25810		var amod AmazonMWSObjectDataset
25811		err := json.Unmarshal(body, &amod)
25812		return amod, err
25813	case string(TypeHTTPFile):
25814		var hd HTTPDataset
25815		err := json.Unmarshal(body, &hd)
25816		return hd, err
25817	case string(TypeAzureSearchIndex):
25818		var asid AzureSearchIndexDataset
25819		err := json.Unmarshal(body, &asid)
25820		return asid, err
25821	case string(TypeWebTable):
25822		var wtd WebTableDataset
25823		err := json.Unmarshal(body, &wtd)
25824		return wtd, err
25825	case string(TypeSQLServerTable):
25826		var sstd SQLServerTableDataset
25827		err := json.Unmarshal(body, &sstd)
25828		return sstd, err
25829	case string(TypeSapEccResource):
25830		var serd SapEccResourceDataset
25831		err := json.Unmarshal(body, &serd)
25832		return serd, err
25833	case string(TypeSapCloudForCustomerResource):
25834		var scfcrd SapCloudForCustomerResourceDataset
25835		err := json.Unmarshal(body, &scfcrd)
25836		return scfcrd, err
25837	case string(TypeSalesforceObject):
25838		var sod SalesforceObjectDataset
25839		err := json.Unmarshal(body, &sod)
25840		return sod, err
25841	case string(TypeRelationalTable):
25842		var rtd RelationalTableDataset
25843		err := json.Unmarshal(body, &rtd)
25844		return rtd, err
25845	case string(TypeAzureMySQLTable):
25846		var amstd AzureMySQLTableDataset
25847		err := json.Unmarshal(body, &amstd)
25848		return amstd, err
25849	case string(TypeOracleTable):
25850		var otd OracleTableDataset
25851		err := json.Unmarshal(body, &otd)
25852		return otd, err
25853	case string(TypeODataResource):
25854		var odrd ODataResourceDataset
25855		err := json.Unmarshal(body, &odrd)
25856		return odrd, err
25857	case string(TypeMongoDbCollection):
25858		var mdcd MongoDbCollectionDataset
25859		err := json.Unmarshal(body, &mdcd)
25860		return mdcd, err
25861	case string(TypeFileShare):
25862		var fsd FileShareDataset
25863		err := json.Unmarshal(body, &fsd)
25864		return fsd, err
25865	case string(TypeAzureDataLakeStoreFile):
25866		var adlsd AzureDataLakeStoreDataset
25867		err := json.Unmarshal(body, &adlsd)
25868		return adlsd, err
25869	case string(TypeDynamicsEntity):
25870		var ded DynamicsEntityDataset
25871		err := json.Unmarshal(body, &ded)
25872		return ded, err
25873	case string(TypeDocumentDbCollection):
25874		var ddcd DocumentDbCollectionDataset
25875		err := json.Unmarshal(body, &ddcd)
25876		return ddcd, err
25877	case string(TypeCustomDataset):
25878		var cd CustomDataset
25879		err := json.Unmarshal(body, &cd)
25880		return cd, err
25881	case string(TypeCassandraTable):
25882		var ctd CassandraTableDataset
25883		err := json.Unmarshal(body, &ctd)
25884		return ctd, err
25885	case string(TypeAzureSQLDWTable):
25886		var asdtd AzureSQLDWTableDataset
25887		err := json.Unmarshal(body, &asdtd)
25888		return asdtd, err
25889	case string(TypeAzureSQLTable):
25890		var astd AzureSQLTableDataset
25891		err := json.Unmarshal(body, &astd)
25892		return astd, err
25893	case string(TypeAzureTable):
25894		var atd AzureTableDataset
25895		err := json.Unmarshal(body, &atd)
25896		return atd, err
25897	case string(TypeAzureBlob):
25898		var abd AzureBlobDataset
25899		err := json.Unmarshal(body, &abd)
25900		return abd, err
25901	case string(TypeAmazonS3Object):
25902		var asd AmazonS3Dataset
25903		err := json.Unmarshal(body, &asd)
25904		return asd, err
25905	default:
25906		var d Dataset
25907		err := json.Unmarshal(body, &d)
25908		return d, err
25909	}
25910}
25911func unmarshalBasicDatasetArray(body []byte) ([]BasicDataset, error) {
25912	var rawMessages []*json.RawMessage
25913	err := json.Unmarshal(body, &rawMessages)
25914	if err != nil {
25915		return nil, err
25916	}
25917
25918	dArray := make([]BasicDataset, len(rawMessages))
25919
25920	for index, rawMessage := range rawMessages {
25921		d, err := unmarshalBasicDataset(*rawMessage)
25922		if err != nil {
25923			return nil, err
25924		}
25925		dArray[index] = d
25926	}
25927	return dArray, nil
25928}
25929
25930// MarshalJSON is the custom marshaler for Dataset.
25931func (d Dataset) MarshalJSON() ([]byte, error) {
25932	d.Type = TypeDataset
25933	objectMap := make(map[string]interface{})
25934	if d.Description != nil {
25935		objectMap["description"] = d.Description
25936	}
25937	objectMap["structure"] = d.Structure
25938	if d.LinkedServiceName != nil {
25939		objectMap["linkedServiceName"] = d.LinkedServiceName
25940	}
25941	if d.Parameters != nil {
25942		objectMap["parameters"] = d.Parameters
25943	}
25944	if d.Annotations != nil {
25945		objectMap["annotations"] = d.Annotations
25946	}
25947	if d.Type != "" {
25948		objectMap["type"] = d.Type
25949	}
25950	for k, v := range d.AdditionalProperties {
25951		objectMap[k] = v
25952	}
25953	return json.Marshal(objectMap)
25954}
25955
25956// AsResponsysObjectDataset is the BasicDataset implementation for Dataset.
25957func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
25958	return nil, false
25959}
25960
25961// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset.
25962func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
25963	return nil, false
25964}
25965
25966// AsVerticaTableDataset is the BasicDataset implementation for Dataset.
25967func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
25968	return nil, false
25969}
25970
25971// AsNetezzaTableDataset is the BasicDataset implementation for Dataset.
25972func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
25973	return nil, false
25974}
25975
25976// AsZohoObjectDataset is the BasicDataset implementation for Dataset.
25977func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
25978	return nil, false
25979}
25980
25981// AsXeroObjectDataset is the BasicDataset implementation for Dataset.
25982func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
25983	return nil, false
25984}
25985
25986// AsSquareObjectDataset is the BasicDataset implementation for Dataset.
25987func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
25988	return nil, false
25989}
25990
25991// AsSparkObjectDataset is the BasicDataset implementation for Dataset.
25992func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
25993	return nil, false
25994}
25995
25996// AsShopifyObjectDataset is the BasicDataset implementation for Dataset.
25997func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
25998	return nil, false
25999}
26000
26001// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset.
26002func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
26003	return nil, false
26004}
26005
26006// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset.
26007func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
26008	return nil, false
26009}
26010
26011// AsPrestoObjectDataset is the BasicDataset implementation for Dataset.
26012func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
26013	return nil, false
26014}
26015
26016// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset.
26017func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
26018	return nil, false
26019}
26020
26021// AsPaypalObjectDataset is the BasicDataset implementation for Dataset.
26022func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
26023	return nil, false
26024}
26025
26026// AsMarketoObjectDataset is the BasicDataset implementation for Dataset.
26027func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
26028	return nil, false
26029}
26030
26031// AsMariaDBTableDataset is the BasicDataset implementation for Dataset.
26032func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
26033	return nil, false
26034}
26035
26036// AsMagentoObjectDataset is the BasicDataset implementation for Dataset.
26037func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
26038	return nil, false
26039}
26040
26041// AsJiraObjectDataset is the BasicDataset implementation for Dataset.
26042func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
26043	return nil, false
26044}
26045
26046// AsImpalaObjectDataset is the BasicDataset implementation for Dataset.
26047func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
26048	return nil, false
26049}
26050
26051// AsHubspotObjectDataset is the BasicDataset implementation for Dataset.
26052func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
26053	return nil, false
26054}
26055
26056// AsHiveObjectDataset is the BasicDataset implementation for Dataset.
26057func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
26058	return nil, false
26059}
26060
26061// AsHBaseObjectDataset is the BasicDataset implementation for Dataset.
26062func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
26063	return nil, false
26064}
26065
26066// AsGreenplumTableDataset is the BasicDataset implementation for Dataset.
26067func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
26068	return nil, false
26069}
26070
26071// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset.
26072func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
26073	return nil, false
26074}
26075
26076// AsEloquaObjectDataset is the BasicDataset implementation for Dataset.
26077func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
26078	return nil, false
26079}
26080
26081// AsDrillTableDataset is the BasicDataset implementation for Dataset.
26082func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
26083	return nil, false
26084}
26085
26086// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset.
26087func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
26088	return nil, false
26089}
26090
26091// AsConcurObjectDataset is the BasicDataset implementation for Dataset.
26092func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
26093	return nil, false
26094}
26095
26096// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset.
26097func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
26098	return nil, false
26099}
26100
26101// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset.
26102func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
26103	return nil, false
26104}
26105
26106// AsHTTPDataset is the BasicDataset implementation for Dataset.
26107func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) {
26108	return nil, false
26109}
26110
26111// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset.
26112func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
26113	return nil, false
26114}
26115
26116// AsWebTableDataset is the BasicDataset implementation for Dataset.
26117func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) {
26118	return nil, false
26119}
26120
26121// AsSQLServerTableDataset is the BasicDataset implementation for Dataset.
26122func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
26123	return nil, false
26124}
26125
26126// AsSapEccResourceDataset is the BasicDataset implementation for Dataset.
26127func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
26128	return nil, false
26129}
26130
26131// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset.
26132func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
26133	return nil, false
26134}
26135
26136// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset.
26137func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
26138	return nil, false
26139}
26140
26141// AsRelationalTableDataset is the BasicDataset implementation for Dataset.
26142func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
26143	return nil, false
26144}
26145
26146// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset.
26147func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
26148	return nil, false
26149}
26150
26151// AsOracleTableDataset is the BasicDataset implementation for Dataset.
26152func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
26153	return nil, false
26154}
26155
26156// AsODataResourceDataset is the BasicDataset implementation for Dataset.
26157func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
26158	return nil, false
26159}
26160
26161// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset.
26162func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
26163	return nil, false
26164}
26165
26166// AsFileShareDataset is the BasicDataset implementation for Dataset.
26167func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) {
26168	return nil, false
26169}
26170
26171// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset.
26172func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
26173	return nil, false
26174}
26175
26176// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset.
26177func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
26178	return nil, false
26179}
26180
26181// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset.
26182func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
26183	return nil, false
26184}
26185
26186// AsCustomDataset is the BasicDataset implementation for Dataset.
26187func (d Dataset) AsCustomDataset() (*CustomDataset, bool) {
26188	return nil, false
26189}
26190
26191// AsCassandraTableDataset is the BasicDataset implementation for Dataset.
26192func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
26193	return nil, false
26194}
26195
26196// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset.
26197func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
26198	return nil, false
26199}
26200
26201// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset.
26202func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
26203	return nil, false
26204}
26205
26206// AsAzureTableDataset is the BasicDataset implementation for Dataset.
26207func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
26208	return nil, false
26209}
26210
26211// AsAzureBlobDataset is the BasicDataset implementation for Dataset.
26212func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
26213	return nil, false
26214}
26215
26216// AsAmazonS3Dataset is the BasicDataset implementation for Dataset.
26217func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
26218	return nil, false
26219}
26220
26221// AsDataset is the BasicDataset implementation for Dataset.
26222func (d Dataset) AsDataset() (*Dataset, bool) {
26223	return &d, true
26224}
26225
26226// AsBasicDataset is the BasicDataset implementation for Dataset.
26227func (d Dataset) AsBasicDataset() (BasicDataset, bool) {
26228	return &d, true
26229}
26230
26231// DatasetBZip2Compression the BZip2 compression method used on a dataset.
26232type DatasetBZip2Compression struct {
26233	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26234	AdditionalProperties map[string]interface{} `json:""`
26235	// Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
26236	Type TypeBasicDatasetCompression `json:"type,omitempty"`
26237}
26238
26239// MarshalJSON is the custom marshaler for DatasetBZip2Compression.
26240func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) {
26241	dbz2c.Type = TypeBZip2
26242	objectMap := make(map[string]interface{})
26243	if dbz2c.Type != "" {
26244		objectMap["type"] = dbz2c.Type
26245	}
26246	for k, v := range dbz2c.AdditionalProperties {
26247		objectMap[k] = v
26248	}
26249	return json.Marshal(objectMap)
26250}
26251
26252// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26253func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
26254	return nil, false
26255}
26256
26257// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26258func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
26259	return nil, false
26260}
26261
26262// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26263func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
26264	return nil, false
26265}
26266
26267// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26268func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
26269	return &dbz2c, true
26270}
26271
26272// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26273func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) {
26274	return nil, false
26275}
26276
26277// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression.
26278func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
26279	return &dbz2c, true
26280}
26281
26282// BasicDatasetCompression the compression method used on a dataset.
26283type BasicDatasetCompression interface {
26284	AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool)
26285	AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool)
26286	AsDatasetGZipCompression() (*DatasetGZipCompression, bool)
26287	AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool)
26288	AsDatasetCompression() (*DatasetCompression, bool)
26289}
26290
26291// DatasetCompression the compression method used on a dataset.
26292type DatasetCompression struct {
26293	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26294	AdditionalProperties map[string]interface{} `json:""`
26295	// Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
26296	Type TypeBasicDatasetCompression `json:"type,omitempty"`
26297}
26298
26299func unmarshalBasicDatasetCompression(body []byte) (BasicDatasetCompression, error) {
26300	var m map[string]interface{}
26301	err := json.Unmarshal(body, &m)
26302	if err != nil {
26303		return nil, err
26304	}
26305
26306	switch m["type"] {
26307	case string(TypeZipDeflate):
26308		var dzdc DatasetZipDeflateCompression
26309		err := json.Unmarshal(body, &dzdc)
26310		return dzdc, err
26311	case string(TypeDeflate):
26312		var ddc DatasetDeflateCompression
26313		err := json.Unmarshal(body, &ddc)
26314		return ddc, err
26315	case string(TypeGZip):
26316		var dgzc DatasetGZipCompression
26317		err := json.Unmarshal(body, &dgzc)
26318		return dgzc, err
26319	case string(TypeBZip2):
26320		var dbz2c DatasetBZip2Compression
26321		err := json.Unmarshal(body, &dbz2c)
26322		return dbz2c, err
26323	default:
26324		var dc DatasetCompression
26325		err := json.Unmarshal(body, &dc)
26326		return dc, err
26327	}
26328}
26329func unmarshalBasicDatasetCompressionArray(body []byte) ([]BasicDatasetCompression, error) {
26330	var rawMessages []*json.RawMessage
26331	err := json.Unmarshal(body, &rawMessages)
26332	if err != nil {
26333		return nil, err
26334	}
26335
26336	dcArray := make([]BasicDatasetCompression, len(rawMessages))
26337
26338	for index, rawMessage := range rawMessages {
26339		dc, err := unmarshalBasicDatasetCompression(*rawMessage)
26340		if err != nil {
26341			return nil, err
26342		}
26343		dcArray[index] = dc
26344	}
26345	return dcArray, nil
26346}
26347
26348// MarshalJSON is the custom marshaler for DatasetCompression.
26349func (dc DatasetCompression) MarshalJSON() ([]byte, error) {
26350	dc.Type = TypeDatasetCompression
26351	objectMap := make(map[string]interface{})
26352	if dc.Type != "" {
26353		objectMap["type"] = dc.Type
26354	}
26355	for k, v := range dc.AdditionalProperties {
26356		objectMap[k] = v
26357	}
26358	return json.Marshal(objectMap)
26359}
26360
26361// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
26362func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
26363	return nil, false
26364}
26365
26366// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression.
26367func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
26368	return nil, false
26369}
26370
26371// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression.
26372func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
26373	return nil, false
26374}
26375
26376// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression.
26377func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
26378	return nil, false
26379}
26380
26381// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
26382func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) {
26383	return &dc, true
26384}
26385
26386// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression.
26387func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
26388	return &dc, true
26389}
26390
26391// DatasetDeflateCompression the Deflate compression method used on a dataset.
26392type DatasetDeflateCompression struct {
26393	// Level - The Deflate compression level. Possible values include: 'Optimal', 'Fastest'
26394	Level DatasetCompressionLevel `json:"level,omitempty"`
26395	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26396	AdditionalProperties map[string]interface{} `json:""`
26397	// Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
26398	Type TypeBasicDatasetCompression `json:"type,omitempty"`
26399}
26400
26401// MarshalJSON is the custom marshaler for DatasetDeflateCompression.
26402func (ddc DatasetDeflateCompression) MarshalJSON() ([]byte, error) {
26403	ddc.Type = TypeDeflate
26404	objectMap := make(map[string]interface{})
26405	if ddc.Level != "" {
26406		objectMap["level"] = ddc.Level
26407	}
26408	if ddc.Type != "" {
26409		objectMap["type"] = ddc.Type
26410	}
26411	for k, v := range ddc.AdditionalProperties {
26412		objectMap[k] = v
26413	}
26414	return json.Marshal(objectMap)
26415}
26416
26417// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26418func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
26419	return nil, false
26420}
26421
26422// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26423func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
26424	return &ddc, true
26425}
26426
26427// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26428func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
26429	return nil, false
26430}
26431
26432// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26433func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
26434	return nil, false
26435}
26436
26437// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26438func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
26439	return nil, false
26440}
26441
26442// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression.
26443func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
26444	return &ddc, true
26445}
26446
26447// DatasetGZipCompression the GZip compression method used on a dataset.
26448type DatasetGZipCompression struct {
26449	// Level - The GZip compression level. Possible values include: 'Optimal', 'Fastest'
26450	Level DatasetCompressionLevel `json:"level,omitempty"`
26451	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26452	AdditionalProperties map[string]interface{} `json:""`
26453	// Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
26454	Type TypeBasicDatasetCompression `json:"type,omitempty"`
26455}
26456
26457// MarshalJSON is the custom marshaler for DatasetGZipCompression.
26458func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) {
26459	dgzc.Type = TypeGZip
26460	objectMap := make(map[string]interface{})
26461	if dgzc.Level != "" {
26462		objectMap["level"] = dgzc.Level
26463	}
26464	if dgzc.Type != "" {
26465		objectMap["type"] = dgzc.Type
26466	}
26467	for k, v := range dgzc.AdditionalProperties {
26468		objectMap[k] = v
26469	}
26470	return json.Marshal(objectMap)
26471}
26472
26473// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26474func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
26475	return nil, false
26476}
26477
26478// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26479func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
26480	return nil, false
26481}
26482
26483// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26484func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
26485	return &dgzc, true
26486}
26487
26488// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26489func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
26490	return nil, false
26491}
26492
26493// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26494func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) {
26495	return nil, false
26496}
26497
26498// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression.
26499func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
26500	return &dgzc, true
26501}
26502
26503// DatasetListResponse a list of dataset resources.
26504type DatasetListResponse struct {
26505	autorest.Response `json:"-"`
26506	// Value - List of datasets.
26507	Value *[]DatasetResource `json:"value,omitempty"`
26508	// NextLink - The link to the next page of results, if any remaining results exist.
26509	NextLink *string `json:"nextLink,omitempty"`
26510}
26511
26512// DatasetListResponseIterator provides access to a complete listing of DatasetResource values.
26513type DatasetListResponseIterator struct {
26514	i    int
26515	page DatasetListResponsePage
26516}
26517
26518// Next advances to the next value.  If there was an error making
26519// the request the iterator does not advance and the error is returned.
26520func (iter *DatasetListResponseIterator) Next() error {
26521	iter.i++
26522	if iter.i < len(iter.page.Values()) {
26523		return nil
26524	}
26525	err := iter.page.Next()
26526	if err != nil {
26527		iter.i--
26528		return err
26529	}
26530	iter.i = 0
26531	return nil
26532}
26533
26534// NotDone returns true if the enumeration should be started or is not yet complete.
26535func (iter DatasetListResponseIterator) NotDone() bool {
26536	return iter.page.NotDone() && iter.i < len(iter.page.Values())
26537}
26538
26539// Response returns the raw server response from the last page request.
26540func (iter DatasetListResponseIterator) Response() DatasetListResponse {
26541	return iter.page.Response()
26542}
26543
26544// Value returns the current value or a zero-initialized value if the
26545// iterator has advanced beyond the end of the collection.
26546func (iter DatasetListResponseIterator) Value() DatasetResource {
26547	if !iter.page.NotDone() {
26548		return DatasetResource{}
26549	}
26550	return iter.page.Values()[iter.i]
26551}
26552
26553// IsEmpty returns true if the ListResult contains no values.
26554func (dlr DatasetListResponse) IsEmpty() bool {
26555	return dlr.Value == nil || len(*dlr.Value) == 0
26556}
26557
26558// datasetListResponsePreparer prepares a request to retrieve the next set of results.
26559// It returns nil if no more results exist.
26560func (dlr DatasetListResponse) datasetListResponsePreparer() (*http.Request, error) {
26561	if dlr.NextLink == nil || len(to.String(dlr.NextLink)) < 1 {
26562		return nil, nil
26563	}
26564	return autorest.Prepare(&http.Request{},
26565		autorest.AsJSON(),
26566		autorest.AsGet(),
26567		autorest.WithBaseURL(to.String(dlr.NextLink)))
26568}
26569
26570// DatasetListResponsePage contains a page of DatasetResource values.
26571type DatasetListResponsePage struct {
26572	fn  func(DatasetListResponse) (DatasetListResponse, error)
26573	dlr DatasetListResponse
26574}
26575
26576// Next advances to the next page of values.  If there was an error making
26577// the request the page does not advance and the error is returned.
26578func (page *DatasetListResponsePage) Next() error {
26579	next, err := page.fn(page.dlr)
26580	if err != nil {
26581		return err
26582	}
26583	page.dlr = next
26584	return nil
26585}
26586
26587// NotDone returns true if the page enumeration should be started or is not yet complete.
26588func (page DatasetListResponsePage) NotDone() bool {
26589	return !page.dlr.IsEmpty()
26590}
26591
26592// Response returns the raw server response from the last page request.
26593func (page DatasetListResponsePage) Response() DatasetListResponse {
26594	return page.dlr
26595}
26596
26597// Values returns the slice of values for the current page or nil if there are no values.
26598func (page DatasetListResponsePage) Values() []DatasetResource {
26599	if page.dlr.IsEmpty() {
26600		return nil
26601	}
26602	return *page.dlr.Value
26603}
26604
26605// DatasetReference dataset reference type.
26606type DatasetReference struct {
26607	// Type - Dataset reference type.
26608	Type *string `json:"type,omitempty"`
26609	// ReferenceName - Reference dataset name.
26610	ReferenceName *string `json:"referenceName,omitempty"`
26611	// Parameters - Arguments for dataset.
26612	Parameters map[string]interface{} `json:"parameters"`
26613}
26614
26615// MarshalJSON is the custom marshaler for DatasetReference.
26616func (dr DatasetReference) MarshalJSON() ([]byte, error) {
26617	objectMap := make(map[string]interface{})
26618	if dr.Type != nil {
26619		objectMap["type"] = dr.Type
26620	}
26621	if dr.ReferenceName != nil {
26622		objectMap["referenceName"] = dr.ReferenceName
26623	}
26624	if dr.Parameters != nil {
26625		objectMap["parameters"] = dr.Parameters
26626	}
26627	return json.Marshal(objectMap)
26628}
26629
26630// DatasetResource dataset resource type.
26631type DatasetResource struct {
26632	autorest.Response `json:"-"`
26633	// Properties - Dataset properties.
26634	Properties BasicDataset `json:"properties,omitempty"`
26635	// ID - The resource identifier.
26636	ID *string `json:"id,omitempty"`
26637	// Name - The resource name.
26638	Name *string `json:"name,omitempty"`
26639	// Type - The resource type.
26640	Type *string `json:"type,omitempty"`
26641	// Etag - Etag identifies change in the resource.
26642	Etag *string `json:"etag,omitempty"`
26643}
26644
26645// UnmarshalJSON is the custom unmarshaler for DatasetResource struct.
26646func (dr *DatasetResource) UnmarshalJSON(body []byte) error {
26647	var m map[string]*json.RawMessage
26648	err := json.Unmarshal(body, &m)
26649	if err != nil {
26650		return err
26651	}
26652	for k, v := range m {
26653		switch k {
26654		case "properties":
26655			if v != nil {
26656				properties, err := unmarshalBasicDataset(*v)
26657				if err != nil {
26658					return err
26659				}
26660				dr.Properties = properties
26661			}
26662		case "id":
26663			if v != nil {
26664				var ID string
26665				err = json.Unmarshal(*v, &ID)
26666				if err != nil {
26667					return err
26668				}
26669				dr.ID = &ID
26670			}
26671		case "name":
26672			if v != nil {
26673				var name string
26674				err = json.Unmarshal(*v, &name)
26675				if err != nil {
26676					return err
26677				}
26678				dr.Name = &name
26679			}
26680		case "type":
26681			if v != nil {
26682				var typeVar string
26683				err = json.Unmarshal(*v, &typeVar)
26684				if err != nil {
26685					return err
26686				}
26687				dr.Type = &typeVar
26688			}
26689		case "etag":
26690			if v != nil {
26691				var etag string
26692				err = json.Unmarshal(*v, &etag)
26693				if err != nil {
26694					return err
26695				}
26696				dr.Etag = &etag
26697			}
26698		}
26699	}
26700
26701	return nil
26702}
26703
26704// BasicDatasetStorageFormat the format definition of a storage.
26705type BasicDatasetStorageFormat interface {
26706	AsParquetFormat() (*ParquetFormat, bool)
26707	AsOrcFormat() (*OrcFormat, bool)
26708	AsAvroFormat() (*AvroFormat, bool)
26709	AsJSONFormat() (*JSONFormat, bool)
26710	AsTextFormat() (*TextFormat, bool)
26711	AsDatasetStorageFormat() (*DatasetStorageFormat, bool)
26712}
26713
26714// DatasetStorageFormat the format definition of a storage.
26715type DatasetStorageFormat struct {
26716	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26717	AdditionalProperties map[string]interface{} `json:""`
26718	// Serializer - Serializer. Type: string (or Expression with resultType string).
26719	Serializer interface{} `json:"serializer,omitempty"`
26720	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
26721	Deserializer interface{} `json:"deserializer,omitempty"`
26722	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
26723	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
26724}
26725
26726func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) {
26727	var m map[string]interface{}
26728	err := json.Unmarshal(body, &m)
26729	if err != nil {
26730		return nil, err
26731	}
26732
26733	switch m["type"] {
26734	case string(TypeParquetFormat):
26735		var pf ParquetFormat
26736		err := json.Unmarshal(body, &pf)
26737		return pf, err
26738	case string(TypeOrcFormat):
26739		var of OrcFormat
26740		err := json.Unmarshal(body, &of)
26741		return of, err
26742	case string(TypeAvroFormat):
26743		var af AvroFormat
26744		err := json.Unmarshal(body, &af)
26745		return af, err
26746	case string(TypeJSONFormat):
26747		var jf JSONFormat
26748		err := json.Unmarshal(body, &jf)
26749		return jf, err
26750	case string(TypeTextFormat):
26751		var tf TextFormat
26752		err := json.Unmarshal(body, &tf)
26753		return tf, err
26754	default:
26755		var dsf DatasetStorageFormat
26756		err := json.Unmarshal(body, &dsf)
26757		return dsf, err
26758	}
26759}
26760func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) {
26761	var rawMessages []*json.RawMessage
26762	err := json.Unmarshal(body, &rawMessages)
26763	if err != nil {
26764		return nil, err
26765	}
26766
26767	dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages))
26768
26769	for index, rawMessage := range rawMessages {
26770		dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage)
26771		if err != nil {
26772			return nil, err
26773		}
26774		dsfArray[index] = dsf
26775	}
26776	return dsfArray, nil
26777}
26778
26779// MarshalJSON is the custom marshaler for DatasetStorageFormat.
26780func (dsf DatasetStorageFormat) MarshalJSON() ([]byte, error) {
26781	dsf.Type = TypeDatasetStorageFormat
26782	objectMap := make(map[string]interface{})
26783	objectMap["serializer"] = dsf.Serializer
26784	objectMap["deserializer"] = dsf.Deserializer
26785	if dsf.Type != "" {
26786		objectMap["type"] = dsf.Type
26787	}
26788	for k, v := range dsf.AdditionalProperties {
26789		objectMap[k] = v
26790	}
26791	return json.Marshal(objectMap)
26792}
26793
26794// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26795func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) {
26796	return nil, false
26797}
26798
26799// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26800func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) {
26801	return nil, false
26802}
26803
26804// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26805func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) {
26806	return nil, false
26807}
26808
26809// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26810func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) {
26811	return nil, false
26812}
26813
26814// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26815func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) {
26816	return nil, false
26817}
26818
26819// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26820func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
26821	return &dsf, true
26822}
26823
26824// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat.
26825func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
26826	return &dsf, true
26827}
26828
26829// DatasetZipDeflateCompression the ZipDeflate compression method used on a dataset.
26830type DatasetZipDeflateCompression struct {
26831	// Level - The ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'
26832	Level DatasetCompressionLevel `json:"level,omitempty"`
26833	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26834	AdditionalProperties map[string]interface{} `json:""`
26835	// Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2'
26836	Type TypeBasicDatasetCompression `json:"type,omitempty"`
26837}
26838
26839// MarshalJSON is the custom marshaler for DatasetZipDeflateCompression.
26840func (dzdc DatasetZipDeflateCompression) MarshalJSON() ([]byte, error) {
26841	dzdc.Type = TypeZipDeflate
26842	objectMap := make(map[string]interface{})
26843	if dzdc.Level != "" {
26844		objectMap["level"] = dzdc.Level
26845	}
26846	if dzdc.Type != "" {
26847		objectMap["type"] = dzdc.Type
26848	}
26849	for k, v := range dzdc.AdditionalProperties {
26850		objectMap[k] = v
26851	}
26852	return json.Marshal(objectMap)
26853}
26854
26855// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26856func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) {
26857	return &dzdc, true
26858}
26859
26860// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26861func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) {
26862	return nil, false
26863}
26864
26865// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26866func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) {
26867	return nil, false
26868}
26869
26870// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26871func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) {
26872	return nil, false
26873}
26874
26875// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26876func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) {
26877	return nil, false
26878}
26879
26880// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression.
26881func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) {
26882	return &dzdc, true
26883}
26884
26885// Db2LinkedService linked service for DB2 data source.
26886type Db2LinkedService struct {
26887	// Db2LinkedServiceTypeProperties - DB2 linked service properties.
26888	*Db2LinkedServiceTypeProperties `json:"typeProperties,omitempty"`
26889	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
26890	AdditionalProperties map[string]interface{} `json:""`
26891	// ConnectVia - The integration runtime reference.
26892	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
26893	// Description - Linked service description.
26894	Description *string `json:"description,omitempty"`
26895	// Parameters - Parameters for linked service.
26896	Parameters map[string]*ParameterSpecification `json:"parameters"`
26897	// Annotations - List of tags that can be used for describing the Dataset.
26898	Annotations *[]interface{} `json:"annotations,omitempty"`
26899	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
26900	Type TypeBasicLinkedService `json:"type,omitempty"`
26901}
26902
26903// MarshalJSON is the custom marshaler for Db2LinkedService.
26904func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) {
26905	d2ls.Type = TypeDb2
26906	objectMap := make(map[string]interface{})
26907	if d2ls.Db2LinkedServiceTypeProperties != nil {
26908		objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties
26909	}
26910	if d2ls.ConnectVia != nil {
26911		objectMap["connectVia"] = d2ls.ConnectVia
26912	}
26913	if d2ls.Description != nil {
26914		objectMap["description"] = d2ls.Description
26915	}
26916	if d2ls.Parameters != nil {
26917		objectMap["parameters"] = d2ls.Parameters
26918	}
26919	if d2ls.Annotations != nil {
26920		objectMap["annotations"] = d2ls.Annotations
26921	}
26922	if d2ls.Type != "" {
26923		objectMap["type"] = d2ls.Type
26924	}
26925	for k, v := range d2ls.AdditionalProperties {
26926		objectMap[k] = v
26927	}
26928	return json.Marshal(objectMap)
26929}
26930
26931// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26932func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
26933	return nil, false
26934}
26935
26936// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26937func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
26938	return nil, false
26939}
26940
26941// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26942func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
26943	return nil, false
26944}
26945
26946// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26947func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
26948	return nil, false
26949}
26950
26951// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26952func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
26953	return nil, false
26954}
26955
26956// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26957func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
26958	return nil, false
26959}
26960
26961// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26962func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
26963	return nil, false
26964}
26965
26966// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26967func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
26968	return nil, false
26969}
26970
26971// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26972func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
26973	return nil, false
26974}
26975
26976// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26977func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
26978	return nil, false
26979}
26980
26981// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26982func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
26983	return nil, false
26984}
26985
26986// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26987func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
26988	return nil, false
26989}
26990
26991// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26992func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
26993	return nil, false
26994}
26995
26996// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService.
26997func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
26998	return nil, false
26999}
27000
27001// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27002func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
27003	return nil, false
27004}
27005
27006// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27007func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
27008	return nil, false
27009}
27010
27011// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27012func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
27013	return nil, false
27014}
27015
27016// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27017func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
27018	return nil, false
27019}
27020
27021// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27022func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
27023	return nil, false
27024}
27025
27026// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27027func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
27028	return nil, false
27029}
27030
27031// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27032func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
27033	return nil, false
27034}
27035
27036// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27037func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
27038	return nil, false
27039}
27040
27041// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27042func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
27043	return nil, false
27044}
27045
27046// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27047func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
27048	return nil, false
27049}
27050
27051// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27052func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
27053	return nil, false
27054}
27055
27056// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27057func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
27058	return nil, false
27059}
27060
27061// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27062func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
27063	return nil, false
27064}
27065
27066// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27067func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
27068	return nil, false
27069}
27070
27071// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27072func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
27073	return nil, false
27074}
27075
27076// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27077func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
27078	return nil, false
27079}
27080
27081// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27082func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
27083	return nil, false
27084}
27085
27086// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27087func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
27088	return nil, false
27089}
27090
27091// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27092func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
27093	return nil, false
27094}
27095
27096// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27097func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
27098	return nil, false
27099}
27100
27101// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27102func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
27103	return nil, false
27104}
27105
27106// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27107func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
27108	return nil, false
27109}
27110
27111// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27112func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
27113	return nil, false
27114}
27115
27116// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27117func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
27118	return nil, false
27119}
27120
27121// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27122func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
27123	return nil, false
27124}
27125
27126// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27127func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
27128	return nil, false
27129}
27130
27131// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27132func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
27133	return nil, false
27134}
27135
27136// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService.
27137func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
27138	return nil, false
27139}
27140
27141// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27142func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
27143	return nil, false
27144}
27145
27146// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27147func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
27148	return nil, false
27149}
27150
27151// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27152func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
27153	return nil, false
27154}
27155
27156// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27157func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
27158	return nil, false
27159}
27160
27161// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27162func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
27163	return nil, false
27164}
27165
27166// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27167func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
27168	return nil, false
27169}
27170
27171// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27172func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
27173	return nil, false
27174}
27175
27176// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27177func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
27178	return nil, false
27179}
27180
27181// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27182func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
27183	return nil, false
27184}
27185
27186// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27187func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
27188	return nil, false
27189}
27190
27191// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27192func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
27193	return nil, false
27194}
27195
27196// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27197func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
27198	return nil, false
27199}
27200
27201// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService.
27202func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
27203	return &d2ls, true
27204}
27205
27206// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27207func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
27208	return nil, false
27209}
27210
27211// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27212func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
27213	return nil, false
27214}
27215
27216// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27217func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
27218	return nil, false
27219}
27220
27221// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27222func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
27223	return nil, false
27224}
27225
27226// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27227func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
27228	return nil, false
27229}
27230
27231// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27232func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
27233	return nil, false
27234}
27235
27236// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27237func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
27238	return nil, false
27239}
27240
27241// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27242func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
27243	return nil, false
27244}
27245
27246// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27247func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
27248	return nil, false
27249}
27250
27251// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27252func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
27253	return nil, false
27254}
27255
27256// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27257func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
27258	return nil, false
27259}
27260
27261// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27262func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
27263	return nil, false
27264}
27265
27266// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27267func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
27268	return nil, false
27269}
27270
27271// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27272func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
27273	return nil, false
27274}
27275
27276// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27277func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
27278	return nil, false
27279}
27280
27281// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27282func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) {
27283	return nil, false
27284}
27285
27286// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService.
27287func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
27288	return &d2ls, true
27289}
27290
27291// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct.
27292func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error {
27293	var m map[string]*json.RawMessage
27294	err := json.Unmarshal(body, &m)
27295	if err != nil {
27296		return err
27297	}
27298	for k, v := range m {
27299		switch k {
27300		case "typeProperties":
27301			if v != nil {
27302				var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties
27303				err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties)
27304				if err != nil {
27305					return err
27306				}
27307				d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties
27308			}
27309		default:
27310			if v != nil {
27311				var additionalProperties interface{}
27312				err = json.Unmarshal(*v, &additionalProperties)
27313				if err != nil {
27314					return err
27315				}
27316				if d2ls.AdditionalProperties == nil {
27317					d2ls.AdditionalProperties = make(map[string]interface{})
27318				}
27319				d2ls.AdditionalProperties[k] = additionalProperties
27320			}
27321		case "connectVia":
27322			if v != nil {
27323				var connectVia IntegrationRuntimeReference
27324				err = json.Unmarshal(*v, &connectVia)
27325				if err != nil {
27326					return err
27327				}
27328				d2ls.ConnectVia = &connectVia
27329			}
27330		case "description":
27331			if v != nil {
27332				var description string
27333				err = json.Unmarshal(*v, &description)
27334				if err != nil {
27335					return err
27336				}
27337				d2ls.Description = &description
27338			}
27339		case "parameters":
27340			if v != nil {
27341				var parameters map[string]*ParameterSpecification
27342				err = json.Unmarshal(*v, &parameters)
27343				if err != nil {
27344					return err
27345				}
27346				d2ls.Parameters = parameters
27347			}
27348		case "annotations":
27349			if v != nil {
27350				var annotations []interface{}
27351				err = json.Unmarshal(*v, &annotations)
27352				if err != nil {
27353					return err
27354				}
27355				d2ls.Annotations = &annotations
27356			}
27357		case "type":
27358			if v != nil {
27359				var typeVar TypeBasicLinkedService
27360				err = json.Unmarshal(*v, &typeVar)
27361				if err != nil {
27362					return err
27363				}
27364				d2ls.Type = typeVar
27365			}
27366		}
27367	}
27368
27369	return nil
27370}
27371
27372// Db2LinkedServiceTypeProperties dB2 linked service properties.
27373type Db2LinkedServiceTypeProperties struct {
27374	// Server - Server name for connection. Type: string (or Expression with resultType string).
27375	Server interface{} `json:"server,omitempty"`
27376	// Database - Database name for connection. Type: string (or Expression with resultType string).
27377	Database interface{} `json:"database,omitempty"`
27378	// AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic'
27379	AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"`
27380	// Username - Username for authentication. Type: string (or Expression with resultType string).
27381	Username interface{} `json:"username,omitempty"`
27382	// Password - Password for authentication.
27383	Password BasicSecretBase `json:"password,omitempty"`
27384	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
27385	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
27386}
27387
27388// UnmarshalJSON is the custom unmarshaler for Db2LinkedServiceTypeProperties struct.
27389func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
27390	var m map[string]*json.RawMessage
27391	err := json.Unmarshal(body, &m)
27392	if err != nil {
27393		return err
27394	}
27395	for k, v := range m {
27396		switch k {
27397		case "server":
27398			if v != nil {
27399				var server interface{}
27400				err = json.Unmarshal(*v, &server)
27401				if err != nil {
27402					return err
27403				}
27404				d2lstp.Server = server
27405			}
27406		case "database":
27407			if v != nil {
27408				var databaseVar interface{}
27409				err = json.Unmarshal(*v, &databaseVar)
27410				if err != nil {
27411					return err
27412				}
27413				d2lstp.Database = databaseVar
27414			}
27415		case "authenticationType":
27416			if v != nil {
27417				var authenticationType Db2AuthenticationType
27418				err = json.Unmarshal(*v, &authenticationType)
27419				if err != nil {
27420					return err
27421				}
27422				d2lstp.AuthenticationType = authenticationType
27423			}
27424		case "username":
27425			if v != nil {
27426				var username interface{}
27427				err = json.Unmarshal(*v, &username)
27428				if err != nil {
27429					return err
27430				}
27431				d2lstp.Username = username
27432			}
27433		case "password":
27434			if v != nil {
27435				password, err := unmarshalBasicSecretBase(*v)
27436				if err != nil {
27437					return err
27438				}
27439				d2lstp.Password = password
27440			}
27441		case "encryptedCredential":
27442			if v != nil {
27443				var encryptedCredential interface{}
27444				err = json.Unmarshal(*v, &encryptedCredential)
27445				if err != nil {
27446					return err
27447				}
27448				d2lstp.EncryptedCredential = encryptedCredential
27449			}
27450		}
27451	}
27452
27453	return nil
27454}
27455
27456// DistcpSettings distcp settings.
27457type DistcpSettings struct {
27458	// ResourceManagerEndpoint - Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
27459	ResourceManagerEndpoint interface{} `json:"resourceManagerEndpoint,omitempty"`
27460	// TempScriptPath - Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
27461	TempScriptPath interface{} `json:"tempScriptPath,omitempty"`
27462	// DistcpOptions - Specifies the Distcp options. Type: string (or Expression with resultType string).
27463	DistcpOptions interface{} `json:"distcpOptions,omitempty"`
27464}
27465
27466// DocumentDbCollectionDataset microsoft Azure Document Database Collection dataset.
27467type DocumentDbCollectionDataset struct {
27468	// DocumentDbCollectionDatasetTypeProperties - DocumentDB Collection dataset properties.
27469	*DocumentDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
27470	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
27471	AdditionalProperties map[string]interface{} `json:""`
27472	// Description - Dataset description.
27473	Description *string `json:"description,omitempty"`
27474	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
27475	Structure interface{} `json:"structure,omitempty"`
27476	// LinkedServiceName - Linked service reference.
27477	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
27478	// Parameters - Parameters for dataset.
27479	Parameters map[string]*ParameterSpecification `json:"parameters"`
27480	// Annotations - List of tags that can be used for describing the Dataset.
27481	Annotations *[]interface{} `json:"annotations,omitempty"`
27482	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
27483	Type TypeBasicDataset `json:"type,omitempty"`
27484}
27485
27486// MarshalJSON is the custom marshaler for DocumentDbCollectionDataset.
27487func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) {
27488	ddcd.Type = TypeDocumentDbCollection
27489	objectMap := make(map[string]interface{})
27490	if ddcd.DocumentDbCollectionDatasetTypeProperties != nil {
27491		objectMap["typeProperties"] = ddcd.DocumentDbCollectionDatasetTypeProperties
27492	}
27493	if ddcd.Description != nil {
27494		objectMap["description"] = ddcd.Description
27495	}
27496	objectMap["structure"] = ddcd.Structure
27497	if ddcd.LinkedServiceName != nil {
27498		objectMap["linkedServiceName"] = ddcd.LinkedServiceName
27499	}
27500	if ddcd.Parameters != nil {
27501		objectMap["parameters"] = ddcd.Parameters
27502	}
27503	if ddcd.Annotations != nil {
27504		objectMap["annotations"] = ddcd.Annotations
27505	}
27506	if ddcd.Type != "" {
27507		objectMap["type"] = ddcd.Type
27508	}
27509	for k, v := range ddcd.AdditionalProperties {
27510		objectMap[k] = v
27511	}
27512	return json.Marshal(objectMap)
27513}
27514
27515// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27516func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
27517	return nil, false
27518}
27519
27520// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27521func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
27522	return nil, false
27523}
27524
27525// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27526func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
27527	return nil, false
27528}
27529
27530// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27531func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
27532	return nil, false
27533}
27534
27535// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27536func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
27537	return nil, false
27538}
27539
27540// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27541func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
27542	return nil, false
27543}
27544
27545// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27546func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
27547	return nil, false
27548}
27549
27550// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27551func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
27552	return nil, false
27553}
27554
27555// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27556func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
27557	return nil, false
27558}
27559
27560// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27561func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
27562	return nil, false
27563}
27564
27565// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27566func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
27567	return nil, false
27568}
27569
27570// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27571func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
27572	return nil, false
27573}
27574
27575// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27576func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
27577	return nil, false
27578}
27579
27580// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27581func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
27582	return nil, false
27583}
27584
27585// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27586func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
27587	return nil, false
27588}
27589
27590// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27591func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
27592	return nil, false
27593}
27594
27595// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27596func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
27597	return nil, false
27598}
27599
27600// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27601func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
27602	return nil, false
27603}
27604
27605// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27606func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
27607	return nil, false
27608}
27609
27610// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27611func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
27612	return nil, false
27613}
27614
27615// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27616func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
27617	return nil, false
27618}
27619
27620// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27621func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
27622	return nil, false
27623}
27624
27625// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27626func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
27627	return nil, false
27628}
27629
27630// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27631func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
27632	return nil, false
27633}
27634
27635// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27636func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
27637	return nil, false
27638}
27639
27640// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27641func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
27642	return nil, false
27643}
27644
27645// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27646func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
27647	return nil, false
27648}
27649
27650// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27651func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
27652	return nil, false
27653}
27654
27655// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27656func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
27657	return nil, false
27658}
27659
27660// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27661func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
27662	return nil, false
27663}
27664
27665// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27666func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
27667	return nil, false
27668}
27669
27670// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27671func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
27672	return nil, false
27673}
27674
27675// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27676func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
27677	return nil, false
27678}
27679
27680// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27681func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
27682	return nil, false
27683}
27684
27685// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27686func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
27687	return nil, false
27688}
27689
27690// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27691func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
27692	return nil, false
27693}
27694
27695// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27696func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
27697	return nil, false
27698}
27699
27700// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27701func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
27702	return nil, false
27703}
27704
27705// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27706func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
27707	return nil, false
27708}
27709
27710// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27711func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
27712	return nil, false
27713}
27714
27715// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27716func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
27717	return nil, false
27718}
27719
27720// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27721func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
27722	return nil, false
27723}
27724
27725// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27726func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
27727	return nil, false
27728}
27729
27730// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27731func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
27732	return nil, false
27733}
27734
27735// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27736func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
27737	return nil, false
27738}
27739
27740// AsDocumentDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27741func (ddcd DocumentDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
27742	return &ddcd, true
27743}
27744
27745// AsCustomDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27746func (ddcd DocumentDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
27747	return nil, false
27748}
27749
27750// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27751func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
27752	return nil, false
27753}
27754
27755// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27756func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
27757	return nil, false
27758}
27759
27760// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27761func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
27762	return nil, false
27763}
27764
27765// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27766func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
27767	return nil, false
27768}
27769
27770// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27771func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
27772	return nil, false
27773}
27774
27775// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27776func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
27777	return nil, false
27778}
27779
27780// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27781func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) {
27782	return nil, false
27783}
27784
27785// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset.
27786func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
27787	return &ddcd, true
27788}
27789
27790// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct.
27791func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error {
27792	var m map[string]*json.RawMessage
27793	err := json.Unmarshal(body, &m)
27794	if err != nil {
27795		return err
27796	}
27797	for k, v := range m {
27798		switch k {
27799		case "typeProperties":
27800			if v != nil {
27801				var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties
27802				err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties)
27803				if err != nil {
27804					return err
27805				}
27806				ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties
27807			}
27808		default:
27809			if v != nil {
27810				var additionalProperties interface{}
27811				err = json.Unmarshal(*v, &additionalProperties)
27812				if err != nil {
27813					return err
27814				}
27815				if ddcd.AdditionalProperties == nil {
27816					ddcd.AdditionalProperties = make(map[string]interface{})
27817				}
27818				ddcd.AdditionalProperties[k] = additionalProperties
27819			}
27820		case "description":
27821			if v != nil {
27822				var description string
27823				err = json.Unmarshal(*v, &description)
27824				if err != nil {
27825					return err
27826				}
27827				ddcd.Description = &description
27828			}
27829		case "structure":
27830			if v != nil {
27831				var structure interface{}
27832				err = json.Unmarshal(*v, &structure)
27833				if err != nil {
27834					return err
27835				}
27836				ddcd.Structure = structure
27837			}
27838		case "linkedServiceName":
27839			if v != nil {
27840				var linkedServiceName LinkedServiceReference
27841				err = json.Unmarshal(*v, &linkedServiceName)
27842				if err != nil {
27843					return err
27844				}
27845				ddcd.LinkedServiceName = &linkedServiceName
27846			}
27847		case "parameters":
27848			if v != nil {
27849				var parameters map[string]*ParameterSpecification
27850				err = json.Unmarshal(*v, &parameters)
27851				if err != nil {
27852					return err
27853				}
27854				ddcd.Parameters = parameters
27855			}
27856		case "annotations":
27857			if v != nil {
27858				var annotations []interface{}
27859				err = json.Unmarshal(*v, &annotations)
27860				if err != nil {
27861					return err
27862				}
27863				ddcd.Annotations = &annotations
27864			}
27865		case "type":
27866			if v != nil {
27867				var typeVar TypeBasicDataset
27868				err = json.Unmarshal(*v, &typeVar)
27869				if err != nil {
27870					return err
27871				}
27872				ddcd.Type = typeVar
27873			}
27874		}
27875	}
27876
27877	return nil
27878}
27879
27880// DocumentDbCollectionDatasetTypeProperties documentDB Collection dataset properties.
27881type DocumentDbCollectionDatasetTypeProperties struct {
27882	// CollectionName - Document Database collection name. Type: string (or Expression with resultType string).
27883	CollectionName interface{} `json:"collectionName,omitempty"`
27884}
27885
27886// DocumentDbCollectionSink a copy activity Document Database Collection sink.
27887type DocumentDbCollectionSink struct {
27888	// NestingSeparator - Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string).
27889	NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
27890	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
27891	AdditionalProperties map[string]interface{} `json:""`
27892	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
27893	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
27894	// 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])).
27895	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
27896	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
27897	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
27898	// 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])).
27899	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
27900	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
27901	Type TypeBasicCopySink `json:"type,omitempty"`
27902}
27903
27904// MarshalJSON is the custom marshaler for DocumentDbCollectionSink.
27905func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) {
27906	ddcs.Type = TypeDocumentDbCollectionSink
27907	objectMap := make(map[string]interface{})
27908	objectMap["nestingSeparator"] = ddcs.NestingSeparator
27909	objectMap["writeBatchSize"] = ddcs.WriteBatchSize
27910	objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout
27911	objectMap["sinkRetryCount"] = ddcs.SinkRetryCount
27912	objectMap["sinkRetryWait"] = ddcs.SinkRetryWait
27913	if ddcs.Type != "" {
27914		objectMap["type"] = ddcs.Type
27915	}
27916	for k, v := range ddcs.AdditionalProperties {
27917		objectMap[k] = v
27918	}
27919	return json.Marshal(objectMap)
27920}
27921
27922// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27923func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) {
27924	return nil, false
27925}
27926
27927// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27928func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) {
27929	return nil, false
27930}
27931
27932// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27933func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) {
27934	return nil, false
27935}
27936
27937// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27938func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
27939	return nil, false
27940}
27941
27942// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27943func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
27944	return nil, false
27945}
27946
27947// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27948func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) {
27949	return nil, false
27950}
27951
27952// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27953func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) {
27954	return nil, false
27955}
27956
27957// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27958func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) {
27959	return nil, false
27960}
27961
27962// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27963func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
27964	return &ddcs, true
27965}
27966
27967// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27968func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) {
27969	return nil, false
27970}
27971
27972// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27973func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) {
27974	return nil, false
27975}
27976
27977// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27978func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) {
27979	return nil, false
27980}
27981
27982// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27983func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
27984	return nil, false
27985}
27986
27987// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink.
27988func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
27989	return nil, false
27990}
27991
27992// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
27993func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) {
27994	return nil, false
27995}
27996
27997// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink.
27998func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) {
27999	return &ddcs, true
28000}
28001
28002// DocumentDbCollectionSource a copy activity Document Database Collection source.
28003type DocumentDbCollectionSource struct {
28004	// Query - Documents query. Type: string (or Expression with resultType string).
28005	Query interface{} `json:"query,omitempty"`
28006	// NestingSeparator - Nested properties separator. Type: string (or Expression with resultType string).
28007	NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
28008	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
28009	AdditionalProperties map[string]interface{} `json:""`
28010	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
28011	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
28012	// 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])).
28013	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
28014	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
28015	Type TypeBasicCopySource `json:"type,omitempty"`
28016}
28017
28018// MarshalJSON is the custom marshaler for DocumentDbCollectionSource.
28019func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) {
28020	ddcs.Type = TypeDocumentDbCollectionSource
28021	objectMap := make(map[string]interface{})
28022	objectMap["query"] = ddcs.Query
28023	objectMap["nestingSeparator"] = ddcs.NestingSeparator
28024	objectMap["sourceRetryCount"] = ddcs.SourceRetryCount
28025	objectMap["sourceRetryWait"] = ddcs.SourceRetryWait
28026	if ddcs.Type != "" {
28027		objectMap["type"] = ddcs.Type
28028	}
28029	for k, v := range ddcs.AdditionalProperties {
28030		objectMap[k] = v
28031	}
28032	return json.Marshal(objectMap)
28033}
28034
28035// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28036func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
28037	return nil, false
28038}
28039
28040// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28041func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) {
28042	return nil, false
28043}
28044
28045// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28046func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
28047	return nil, false
28048}
28049
28050// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28051func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) {
28052	return nil, false
28053}
28054
28055// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28056func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) {
28057	return nil, false
28058}
28059
28060// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28061func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) {
28062	return nil, false
28063}
28064
28065// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28066func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) {
28067	return nil, false
28068}
28069
28070// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28071func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) {
28072	return nil, false
28073}
28074
28075// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28076func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) {
28077	return nil, false
28078}
28079
28080// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource.
28081func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) {
28082	return nil, false
28083}
28084
28085// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28086func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) {
28087	return nil, false
28088}
28089
28090// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28091func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
28092	return nil, false
28093}
28094
28095// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28096func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) {
28097	return nil, false
28098}
28099
28100// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28101func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) {
28102	return nil, false
28103}
28104
28105// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28106func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) {
28107	return nil, false
28108}
28109
28110// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28111func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) {
28112	return nil, false
28113}
28114
28115// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28116func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) {
28117	return nil, false
28118}
28119
28120// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28121func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) {
28122	return nil, false
28123}
28124
28125// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28126func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) {
28127	return nil, false
28128}
28129
28130// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28131func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) {
28132	return nil, false
28133}
28134
28135// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28136func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) {
28137	return nil, false
28138}
28139
28140// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28141func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) {
28142	return nil, false
28143}
28144
28145// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28146func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) {
28147	return nil, false
28148}
28149
28150// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28151func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) {
28152	return nil, false
28153}
28154
28155// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource.
28156func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
28157	return nil, false
28158}
28159
28160// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28161func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) {
28162	return nil, false
28163}
28164
28165// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28166func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) {
28167	return nil, false
28168}
28169
28170// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28171func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
28172	return nil, false
28173}
28174
28175// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28176func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) {
28177	return nil, false
28178}
28179
28180// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28181func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
28182	return nil, false
28183}
28184
28185// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28186func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
28187	return nil, false
28188}
28189
28190// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28191func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) {
28192	return nil, false
28193}
28194
28195// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28196func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
28197	return nil, false
28198}
28199
28200// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28201func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) {
28202	return nil, false
28203}
28204
28205// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28206func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) {
28207	return nil, false
28208}
28209
28210// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28211func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) {
28212	return nil, false
28213}
28214
28215// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28216func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) {
28217	return nil, false
28218}
28219
28220// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28221func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
28222	return nil, false
28223}
28224
28225// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28226func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) {
28227	return nil, false
28228}
28229
28230// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28231func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) {
28232	return nil, false
28233}
28234
28235// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28236func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) {
28237	return nil, false
28238}
28239
28240// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28241func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) {
28242	return nil, false
28243}
28244
28245// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28246func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) {
28247	return nil, false
28248}
28249
28250// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28251func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
28252	return nil, false
28253}
28254
28255// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28256func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) {
28257	return nil, false
28258}
28259
28260// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28261func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) {
28262	return nil, false
28263}
28264
28265// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28266func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) {
28267	return nil, false
28268}
28269
28270// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28271func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
28272	return &ddcs, true
28273}
28274
28275// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28276func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) {
28277	return nil, false
28278}
28279
28280// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource.
28281func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) {
28282	return nil, false
28283}
28284
28285// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
28286func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) {
28287	return nil, false
28288}
28289
28290// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource.
28291func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) {
28292	return &ddcs, true
28293}
28294
28295// DrillLinkedService drill server linked service.
28296type DrillLinkedService struct {
28297	// DrillLinkedServiceTypeProperties - Drill server linked service properties.
28298	*DrillLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
28299	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
28300	AdditionalProperties map[string]interface{} `json:""`
28301	// ConnectVia - The integration runtime reference.
28302	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
28303	// Description - Linked service description.
28304	Description *string `json:"description,omitempty"`
28305	// Parameters - Parameters for linked service.
28306	Parameters map[string]*ParameterSpecification `json:"parameters"`
28307	// Annotations - List of tags that can be used for describing the Dataset.
28308	Annotations *[]interface{} `json:"annotations,omitempty"`
28309	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
28310	Type TypeBasicLinkedService `json:"type,omitempty"`
28311}
28312
28313// MarshalJSON is the custom marshaler for DrillLinkedService.
28314func (dls DrillLinkedService) MarshalJSON() ([]byte, error) {
28315	dls.Type = TypeDrill
28316	objectMap := make(map[string]interface{})
28317	if dls.DrillLinkedServiceTypeProperties != nil {
28318		objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties
28319	}
28320	if dls.ConnectVia != nil {
28321		objectMap["connectVia"] = dls.ConnectVia
28322	}
28323	if dls.Description != nil {
28324		objectMap["description"] = dls.Description
28325	}
28326	if dls.Parameters != nil {
28327		objectMap["parameters"] = dls.Parameters
28328	}
28329	if dls.Annotations != nil {
28330		objectMap["annotations"] = dls.Annotations
28331	}
28332	if dls.Type != "" {
28333		objectMap["type"] = dls.Type
28334	}
28335	for k, v := range dls.AdditionalProperties {
28336		objectMap[k] = v
28337	}
28338	return json.Marshal(objectMap)
28339}
28340
28341// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28342func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
28343	return nil, false
28344}
28345
28346// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28347func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
28348	return nil, false
28349}
28350
28351// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28352func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
28353	return nil, false
28354}
28355
28356// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28357func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
28358	return nil, false
28359}
28360
28361// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28362func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
28363	return nil, false
28364}
28365
28366// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28367func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
28368	return nil, false
28369}
28370
28371// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28372func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
28373	return nil, false
28374}
28375
28376// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28377func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
28378	return nil, false
28379}
28380
28381// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28382func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
28383	return nil, false
28384}
28385
28386// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28387func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
28388	return nil, false
28389}
28390
28391// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28392func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
28393	return nil, false
28394}
28395
28396// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28397func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
28398	return nil, false
28399}
28400
28401// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28402func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
28403	return nil, false
28404}
28405
28406// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28407func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
28408	return nil, false
28409}
28410
28411// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28412func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
28413	return nil, false
28414}
28415
28416// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28417func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
28418	return nil, false
28419}
28420
28421// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28422func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
28423	return nil, false
28424}
28425
28426// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28427func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
28428	return nil, false
28429}
28430
28431// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28432func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
28433	return nil, false
28434}
28435
28436// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28437func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
28438	return nil, false
28439}
28440
28441// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28442func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
28443	return nil, false
28444}
28445
28446// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28447func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
28448	return nil, false
28449}
28450
28451// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28452func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
28453	return nil, false
28454}
28455
28456// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28457func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
28458	return nil, false
28459}
28460
28461// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28462func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
28463	return nil, false
28464}
28465
28466// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28467func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
28468	return nil, false
28469}
28470
28471// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28472func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
28473	return nil, false
28474}
28475
28476// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28477func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
28478	return nil, false
28479}
28480
28481// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28482func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
28483	return &dls, true
28484}
28485
28486// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28487func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
28488	return nil, false
28489}
28490
28491// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28492func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
28493	return nil, false
28494}
28495
28496// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28497func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
28498	return nil, false
28499}
28500
28501// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28502func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
28503	return nil, false
28504}
28505
28506// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28507func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
28508	return nil, false
28509}
28510
28511// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28512func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
28513	return nil, false
28514}
28515
28516// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28517func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
28518	return nil, false
28519}
28520
28521// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28522func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
28523	return nil, false
28524}
28525
28526// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28527func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
28528	return nil, false
28529}
28530
28531// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28532func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
28533	return nil, false
28534}
28535
28536// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28537func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
28538	return nil, false
28539}
28540
28541// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28542func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
28543	return nil, false
28544}
28545
28546// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService.
28547func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
28548	return nil, false
28549}
28550
28551// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28552func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
28553	return nil, false
28554}
28555
28556// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28557func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
28558	return nil, false
28559}
28560
28561// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28562func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
28563	return nil, false
28564}
28565
28566// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28567func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
28568	return nil, false
28569}
28570
28571// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28572func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
28573	return nil, false
28574}
28575
28576// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28577func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
28578	return nil, false
28579}
28580
28581// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28582func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
28583	return nil, false
28584}
28585
28586// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28587func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
28588	return nil, false
28589}
28590
28591// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28592func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
28593	return nil, false
28594}
28595
28596// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28597func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
28598	return nil, false
28599}
28600
28601// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28602func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
28603	return nil, false
28604}
28605
28606// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28607func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
28608	return nil, false
28609}
28610
28611// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService.
28612func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
28613	return nil, false
28614}
28615
28616// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28617func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
28618	return nil, false
28619}
28620
28621// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28622func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
28623	return nil, false
28624}
28625
28626// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28627func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
28628	return nil, false
28629}
28630
28631// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28632func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
28633	return nil, false
28634}
28635
28636// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28637func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
28638	return nil, false
28639}
28640
28641// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28642func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
28643	return nil, false
28644}
28645
28646// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28647func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
28648	return nil, false
28649}
28650
28651// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28652func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
28653	return nil, false
28654}
28655
28656// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28657func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
28658	return nil, false
28659}
28660
28661// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28662func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
28663	return nil, false
28664}
28665
28666// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28667func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
28668	return nil, false
28669}
28670
28671// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28672func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
28673	return nil, false
28674}
28675
28676// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28677func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
28678	return nil, false
28679}
28680
28681// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28682func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
28683	return nil, false
28684}
28685
28686// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28687func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
28688	return nil, false
28689}
28690
28691// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28692func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) {
28693	return nil, false
28694}
28695
28696// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService.
28697func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
28698	return &dls, true
28699}
28700
28701// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct.
28702func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error {
28703	var m map[string]*json.RawMessage
28704	err := json.Unmarshal(body, &m)
28705	if err != nil {
28706		return err
28707	}
28708	for k, v := range m {
28709		switch k {
28710		case "typeProperties":
28711			if v != nil {
28712				var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties
28713				err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties)
28714				if err != nil {
28715					return err
28716				}
28717				dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties
28718			}
28719		default:
28720			if v != nil {
28721				var additionalProperties interface{}
28722				err = json.Unmarshal(*v, &additionalProperties)
28723				if err != nil {
28724					return err
28725				}
28726				if dls.AdditionalProperties == nil {
28727					dls.AdditionalProperties = make(map[string]interface{})
28728				}
28729				dls.AdditionalProperties[k] = additionalProperties
28730			}
28731		case "connectVia":
28732			if v != nil {
28733				var connectVia IntegrationRuntimeReference
28734				err = json.Unmarshal(*v, &connectVia)
28735				if err != nil {
28736					return err
28737				}
28738				dls.ConnectVia = &connectVia
28739			}
28740		case "description":
28741			if v != nil {
28742				var description string
28743				err = json.Unmarshal(*v, &description)
28744				if err != nil {
28745					return err
28746				}
28747				dls.Description = &description
28748			}
28749		case "parameters":
28750			if v != nil {
28751				var parameters map[string]*ParameterSpecification
28752				err = json.Unmarshal(*v, &parameters)
28753				if err != nil {
28754					return err
28755				}
28756				dls.Parameters = parameters
28757			}
28758		case "annotations":
28759			if v != nil {
28760				var annotations []interface{}
28761				err = json.Unmarshal(*v, &annotations)
28762				if err != nil {
28763					return err
28764				}
28765				dls.Annotations = &annotations
28766			}
28767		case "type":
28768			if v != nil {
28769				var typeVar TypeBasicLinkedService
28770				err = json.Unmarshal(*v, &typeVar)
28771				if err != nil {
28772					return err
28773				}
28774				dls.Type = typeVar
28775			}
28776		}
28777	}
28778
28779	return nil
28780}
28781
28782// DrillLinkedServiceTypeProperties drill server linked service properties.
28783type DrillLinkedServiceTypeProperties struct {
28784	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
28785	ConnectionString interface{} `json:"connectionString,omitempty"`
28786	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
28787	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
28788}
28789
28790// DrillSource a copy activity Drill server source.
28791type DrillSource struct {
28792	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
28793	Query interface{} `json:"query,omitempty"`
28794	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
28795	AdditionalProperties map[string]interface{} `json:""`
28796	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
28797	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
28798	// 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])).
28799	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
28800	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
28801	Type TypeBasicCopySource `json:"type,omitempty"`
28802}
28803
28804// MarshalJSON is the custom marshaler for DrillSource.
28805func (ds DrillSource) MarshalJSON() ([]byte, error) {
28806	ds.Type = TypeDrillSource
28807	objectMap := make(map[string]interface{})
28808	objectMap["query"] = ds.Query
28809	objectMap["sourceRetryCount"] = ds.SourceRetryCount
28810	objectMap["sourceRetryWait"] = ds.SourceRetryWait
28811	if ds.Type != "" {
28812		objectMap["type"] = ds.Type
28813	}
28814	for k, v := range ds.AdditionalProperties {
28815		objectMap[k] = v
28816	}
28817	return json.Marshal(objectMap)
28818}
28819
28820// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource.
28821func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
28822	return nil, false
28823}
28824
28825// AsResponsysSource is the BasicCopySource implementation for DrillSource.
28826func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) {
28827	return nil, false
28828}
28829
28830// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource.
28831func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
28832	return nil, false
28833}
28834
28835// AsVerticaSource is the BasicCopySource implementation for DrillSource.
28836func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) {
28837	return nil, false
28838}
28839
28840// AsNetezzaSource is the BasicCopySource implementation for DrillSource.
28841func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) {
28842	return nil, false
28843}
28844
28845// AsZohoSource is the BasicCopySource implementation for DrillSource.
28846func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) {
28847	return nil, false
28848}
28849
28850// AsXeroSource is the BasicCopySource implementation for DrillSource.
28851func (ds DrillSource) AsXeroSource() (*XeroSource, bool) {
28852	return nil, false
28853}
28854
28855// AsSquareSource is the BasicCopySource implementation for DrillSource.
28856func (ds DrillSource) AsSquareSource() (*SquareSource, bool) {
28857	return nil, false
28858}
28859
28860// AsSparkSource is the BasicCopySource implementation for DrillSource.
28861func (ds DrillSource) AsSparkSource() (*SparkSource, bool) {
28862	return nil, false
28863}
28864
28865// AsShopifySource is the BasicCopySource implementation for DrillSource.
28866func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) {
28867	return nil, false
28868}
28869
28870// AsServiceNowSource is the BasicCopySource implementation for DrillSource.
28871func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) {
28872	return nil, false
28873}
28874
28875// AsQuickBooksSource is the BasicCopySource implementation for DrillSource.
28876func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
28877	return nil, false
28878}
28879
28880// AsPrestoSource is the BasicCopySource implementation for DrillSource.
28881func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) {
28882	return nil, false
28883}
28884
28885// AsPhoenixSource is the BasicCopySource implementation for DrillSource.
28886func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) {
28887	return nil, false
28888}
28889
28890// AsPaypalSource is the BasicCopySource implementation for DrillSource.
28891func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) {
28892	return nil, false
28893}
28894
28895// AsMarketoSource is the BasicCopySource implementation for DrillSource.
28896func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) {
28897	return nil, false
28898}
28899
28900// AsMariaDBSource is the BasicCopySource implementation for DrillSource.
28901func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) {
28902	return nil, false
28903}
28904
28905// AsMagentoSource is the BasicCopySource implementation for DrillSource.
28906func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) {
28907	return nil, false
28908}
28909
28910// AsJiraSource is the BasicCopySource implementation for DrillSource.
28911func (ds DrillSource) AsJiraSource() (*JiraSource, bool) {
28912	return nil, false
28913}
28914
28915// AsImpalaSource is the BasicCopySource implementation for DrillSource.
28916func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) {
28917	return nil, false
28918}
28919
28920// AsHubspotSource is the BasicCopySource implementation for DrillSource.
28921func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) {
28922	return nil, false
28923}
28924
28925// AsHiveSource is the BasicCopySource implementation for DrillSource.
28926func (ds DrillSource) AsHiveSource() (*HiveSource, bool) {
28927	return nil, false
28928}
28929
28930// AsHBaseSource is the BasicCopySource implementation for DrillSource.
28931func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) {
28932	return nil, false
28933}
28934
28935// AsGreenplumSource is the BasicCopySource implementation for DrillSource.
28936func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) {
28937	return nil, false
28938}
28939
28940// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource.
28941func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
28942	return nil, false
28943}
28944
28945// AsEloquaSource is the BasicCopySource implementation for DrillSource.
28946func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) {
28947	return nil, false
28948}
28949
28950// AsDrillSource is the BasicCopySource implementation for DrillSource.
28951func (ds DrillSource) AsDrillSource() (*DrillSource, bool) {
28952	return &ds, true
28953}
28954
28955// AsCouchbaseSource is the BasicCopySource implementation for DrillSource.
28956func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
28957	return nil, false
28958}
28959
28960// AsConcurSource is the BasicCopySource implementation for DrillSource.
28961func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) {
28962	return nil, false
28963}
28964
28965// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource.
28966func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
28967	return nil, false
28968}
28969
28970// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource.
28971func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
28972	return nil, false
28973}
28974
28975// AsHTTPSource is the BasicCopySource implementation for DrillSource.
28976func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) {
28977	return nil, false
28978}
28979
28980// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource.
28981func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
28982	return nil, false
28983}
28984
28985// AsMongoDbSource is the BasicCopySource implementation for DrillSource.
28986func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) {
28987	return nil, false
28988}
28989
28990// AsCassandraSource is the BasicCopySource implementation for DrillSource.
28991func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) {
28992	return nil, false
28993}
28994
28995// AsWebSource is the BasicCopySource implementation for DrillSource.
28996func (ds DrillSource) AsWebSource() (*WebSource, bool) {
28997	return nil, false
28998}
28999
29000// AsOracleSource is the BasicCopySource implementation for DrillSource.
29001func (ds DrillSource) AsOracleSource() (*OracleSource, bool) {
29002	return nil, false
29003}
29004
29005// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource.
29006func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
29007	return nil, false
29008}
29009
29010// AsHdfsSource is the BasicCopySource implementation for DrillSource.
29011func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) {
29012	return nil, false
29013}
29014
29015// AsFileSystemSource is the BasicCopySource implementation for DrillSource.
29016func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) {
29017	return nil, false
29018}
29019
29020// AsSQLDWSource is the BasicCopySource implementation for DrillSource.
29021func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) {
29022	return nil, false
29023}
29024
29025// AsSQLSource is the BasicCopySource implementation for DrillSource.
29026func (ds DrillSource) AsSQLSource() (*SQLSource, bool) {
29027	return nil, false
29028}
29029
29030// AsSapEccSource is the BasicCopySource implementation for DrillSource.
29031func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) {
29032	return nil, false
29033}
29034
29035// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource.
29036func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
29037	return nil, false
29038}
29039
29040// AsSalesforceSource is the BasicCopySource implementation for DrillSource.
29041func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) {
29042	return nil, false
29043}
29044
29045// AsRelationalSource is the BasicCopySource implementation for DrillSource.
29046func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) {
29047	return nil, false
29048}
29049
29050// AsDynamicsSource is the BasicCopySource implementation for DrillSource.
29051func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) {
29052	return nil, false
29053}
29054
29055// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource.
29056func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
29057	return nil, false
29058}
29059
29060// AsBlobSource is the BasicCopySource implementation for DrillSource.
29061func (ds DrillSource) AsBlobSource() (*BlobSource, bool) {
29062	return nil, false
29063}
29064
29065// AsAzureTableSource is the BasicCopySource implementation for DrillSource.
29066func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) {
29067	return nil, false
29068}
29069
29070// AsCopySource is the BasicCopySource implementation for DrillSource.
29071func (ds DrillSource) AsCopySource() (*CopySource, bool) {
29072	return nil, false
29073}
29074
29075// AsBasicCopySource is the BasicCopySource implementation for DrillSource.
29076func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) {
29077	return &ds, true
29078}
29079
29080// DrillTableDataset drill server dataset.
29081type DrillTableDataset struct {
29082	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
29083	AdditionalProperties map[string]interface{} `json:""`
29084	// Description - Dataset description.
29085	Description *string `json:"description,omitempty"`
29086	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
29087	Structure interface{} `json:"structure,omitempty"`
29088	// LinkedServiceName - Linked service reference.
29089	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
29090	// Parameters - Parameters for dataset.
29091	Parameters map[string]*ParameterSpecification `json:"parameters"`
29092	// Annotations - List of tags that can be used for describing the Dataset.
29093	Annotations *[]interface{} `json:"annotations,omitempty"`
29094	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
29095	Type TypeBasicDataset `json:"type,omitempty"`
29096}
29097
29098// MarshalJSON is the custom marshaler for DrillTableDataset.
29099func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) {
29100	dtd.Type = TypeDrillTable
29101	objectMap := make(map[string]interface{})
29102	if dtd.Description != nil {
29103		objectMap["description"] = dtd.Description
29104	}
29105	objectMap["structure"] = dtd.Structure
29106	if dtd.LinkedServiceName != nil {
29107		objectMap["linkedServiceName"] = dtd.LinkedServiceName
29108	}
29109	if dtd.Parameters != nil {
29110		objectMap["parameters"] = dtd.Parameters
29111	}
29112	if dtd.Annotations != nil {
29113		objectMap["annotations"] = dtd.Annotations
29114	}
29115	if dtd.Type != "" {
29116		objectMap["type"] = dtd.Type
29117	}
29118	for k, v := range dtd.AdditionalProperties {
29119		objectMap[k] = v
29120	}
29121	return json.Marshal(objectMap)
29122}
29123
29124// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset.
29125func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
29126	return nil, false
29127}
29128
29129// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset.
29130func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
29131	return nil, false
29132}
29133
29134// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset.
29135func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
29136	return nil, false
29137}
29138
29139// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset.
29140func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
29141	return nil, false
29142}
29143
29144// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset.
29145func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
29146	return nil, false
29147}
29148
29149// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset.
29150func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
29151	return nil, false
29152}
29153
29154// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset.
29155func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
29156	return nil, false
29157}
29158
29159// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset.
29160func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
29161	return nil, false
29162}
29163
29164// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset.
29165func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
29166	return nil, false
29167}
29168
29169// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset.
29170func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
29171	return nil, false
29172}
29173
29174// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset.
29175func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
29176	return nil, false
29177}
29178
29179// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset.
29180func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
29181	return nil, false
29182}
29183
29184// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset.
29185func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
29186	return nil, false
29187}
29188
29189// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset.
29190func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
29191	return nil, false
29192}
29193
29194// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset.
29195func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
29196	return nil, false
29197}
29198
29199// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset.
29200func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
29201	return nil, false
29202}
29203
29204// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset.
29205func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
29206	return nil, false
29207}
29208
29209// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset.
29210func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
29211	return nil, false
29212}
29213
29214// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset.
29215func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
29216	return nil, false
29217}
29218
29219// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset.
29220func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
29221	return nil, false
29222}
29223
29224// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset.
29225func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
29226	return nil, false
29227}
29228
29229// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset.
29230func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
29231	return nil, false
29232}
29233
29234// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset.
29235func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
29236	return nil, false
29237}
29238
29239// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset.
29240func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
29241	return nil, false
29242}
29243
29244// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset.
29245func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
29246	return nil, false
29247}
29248
29249// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset.
29250func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
29251	return &dtd, true
29252}
29253
29254// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset.
29255func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
29256	return nil, false
29257}
29258
29259// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset.
29260func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
29261	return nil, false
29262}
29263
29264// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
29265func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
29266	return nil, false
29267}
29268
29269// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset.
29270func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
29271	return nil, false
29272}
29273
29274// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset.
29275func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
29276	return nil, false
29277}
29278
29279// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset.
29280func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
29281	return nil, false
29282}
29283
29284// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset.
29285func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
29286	return nil, false
29287}
29288
29289// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset.
29290func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
29291	return nil, false
29292}
29293
29294// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset.
29295func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
29296	return nil, false
29297}
29298
29299// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset.
29300func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
29301	return nil, false
29302}
29303
29304// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset.
29305func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
29306	return nil, false
29307}
29308
29309// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset.
29310func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
29311	return nil, false
29312}
29313
29314// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset.
29315func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
29316	return nil, false
29317}
29318
29319// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset.
29320func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
29321	return nil, false
29322}
29323
29324// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset.
29325func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
29326	return nil, false
29327}
29328
29329// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
29330func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
29331	return nil, false
29332}
29333
29334// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset.
29335func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
29336	return nil, false
29337}
29338
29339// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset.
29340func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
29341	return nil, false
29342}
29343
29344// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset.
29345func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
29346	return nil, false
29347}
29348
29349// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset.
29350func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
29351	return nil, false
29352}
29353
29354// AsCustomDataset is the BasicDataset implementation for DrillTableDataset.
29355func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) {
29356	return nil, false
29357}
29358
29359// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset.
29360func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
29361	return nil, false
29362}
29363
29364// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset.
29365func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
29366	return nil, false
29367}
29368
29369// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset.
29370func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
29371	return nil, false
29372}
29373
29374// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset.
29375func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
29376	return nil, false
29377}
29378
29379// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset.
29380func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
29381	return nil, false
29382}
29383
29384// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset.
29385func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
29386	return nil, false
29387}
29388
29389// AsDataset is the BasicDataset implementation for DrillTableDataset.
29390func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) {
29391	return nil, false
29392}
29393
29394// AsBasicDataset is the BasicDataset implementation for DrillTableDataset.
29395func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) {
29396	return &dtd, true
29397}
29398
29399// DynamicsEntityDataset the Dynamics entity dataset.
29400type DynamicsEntityDataset struct {
29401	// DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties.
29402	*DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"`
29403	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
29404	AdditionalProperties map[string]interface{} `json:""`
29405	// Description - Dataset description.
29406	Description *string `json:"description,omitempty"`
29407	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
29408	Structure interface{} `json:"structure,omitempty"`
29409	// LinkedServiceName - Linked service reference.
29410	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
29411	// Parameters - Parameters for dataset.
29412	Parameters map[string]*ParameterSpecification `json:"parameters"`
29413	// Annotations - List of tags that can be used for describing the Dataset.
29414	Annotations *[]interface{} `json:"annotations,omitempty"`
29415	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
29416	Type TypeBasicDataset `json:"type,omitempty"`
29417}
29418
29419// MarshalJSON is the custom marshaler for DynamicsEntityDataset.
29420func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) {
29421	ded.Type = TypeDynamicsEntity
29422	objectMap := make(map[string]interface{})
29423	if ded.DynamicsEntityDatasetTypeProperties != nil {
29424		objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties
29425	}
29426	if ded.Description != nil {
29427		objectMap["description"] = ded.Description
29428	}
29429	objectMap["structure"] = ded.Structure
29430	if ded.LinkedServiceName != nil {
29431		objectMap["linkedServiceName"] = ded.LinkedServiceName
29432	}
29433	if ded.Parameters != nil {
29434		objectMap["parameters"] = ded.Parameters
29435	}
29436	if ded.Annotations != nil {
29437		objectMap["annotations"] = ded.Annotations
29438	}
29439	if ded.Type != "" {
29440		objectMap["type"] = ded.Type
29441	}
29442	for k, v := range ded.AdditionalProperties {
29443		objectMap[k] = v
29444	}
29445	return json.Marshal(objectMap)
29446}
29447
29448// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29449func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
29450	return nil, false
29451}
29452
29453// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29454func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
29455	return nil, false
29456}
29457
29458// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29459func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
29460	return nil, false
29461}
29462
29463// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29464func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
29465	return nil, false
29466}
29467
29468// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29469func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
29470	return nil, false
29471}
29472
29473// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29474func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
29475	return nil, false
29476}
29477
29478// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29479func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
29480	return nil, false
29481}
29482
29483// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29484func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
29485	return nil, false
29486}
29487
29488// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29489func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
29490	return nil, false
29491}
29492
29493// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29494func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
29495	return nil, false
29496}
29497
29498// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29499func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
29500	return nil, false
29501}
29502
29503// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29504func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
29505	return nil, false
29506}
29507
29508// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29509func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
29510	return nil, false
29511}
29512
29513// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29514func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
29515	return nil, false
29516}
29517
29518// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29519func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
29520	return nil, false
29521}
29522
29523// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29524func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
29525	return nil, false
29526}
29527
29528// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29529func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
29530	return nil, false
29531}
29532
29533// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29534func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
29535	return nil, false
29536}
29537
29538// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29539func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
29540	return nil, false
29541}
29542
29543// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29544func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
29545	return nil, false
29546}
29547
29548// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29549func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
29550	return nil, false
29551}
29552
29553// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29554func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
29555	return nil, false
29556}
29557
29558// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29559func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
29560	return nil, false
29561}
29562
29563// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29564func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
29565	return nil, false
29566}
29567
29568// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29569func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
29570	return nil, false
29571}
29572
29573// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29574func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
29575	return nil, false
29576}
29577
29578// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29579func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
29580	return nil, false
29581}
29582
29583// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29584func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
29585	return nil, false
29586}
29587
29588// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29589func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
29590	return nil, false
29591}
29592
29593// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29594func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
29595	return nil, false
29596}
29597
29598// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset.
29599func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) {
29600	return nil, false
29601}
29602
29603// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset.
29604func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
29605	return nil, false
29606}
29607
29608// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29609func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) {
29610	return nil, false
29611}
29612
29613// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29614func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
29615	return nil, false
29616}
29617
29618// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
29619func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
29620	return nil, false
29621}
29622
29623// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
29624func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
29625	return nil, false
29626}
29627
29628// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset.
29629func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
29630	return nil, false
29631}
29632
29633// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29634func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
29635	return nil, false
29636}
29637
29638// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29639func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
29640	return nil, false
29641}
29642
29643// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29644func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
29645	return nil, false
29646}
29647
29648// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset.
29649func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
29650	return nil, false
29651}
29652
29653// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
29654func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
29655	return nil, false
29656}
29657
29658// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset.
29659func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) {
29660	return nil, false
29661}
29662
29663// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset.
29664func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
29665	return nil, false
29666}
29667
29668// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset.
29669func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
29670	return &ded, true
29671}
29672
29673// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset.
29674func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
29675	return nil, false
29676}
29677
29678// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset.
29679func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) {
29680	return nil, false
29681}
29682
29683// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29684func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
29685	return nil, false
29686}
29687
29688// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29689func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
29690	return nil, false
29691}
29692
29693// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29694func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
29695	return nil, false
29696}
29697
29698// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset.
29699func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
29700	return nil, false
29701}
29702
29703// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset.
29704func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
29705	return nil, false
29706}
29707
29708// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset.
29709func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
29710	return nil, false
29711}
29712
29713// AsDataset is the BasicDataset implementation for DynamicsEntityDataset.
29714func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) {
29715	return nil, false
29716}
29717
29718// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset.
29719func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) {
29720	return &ded, true
29721}
29722
29723// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct.
29724func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error {
29725	var m map[string]*json.RawMessage
29726	err := json.Unmarshal(body, &m)
29727	if err != nil {
29728		return err
29729	}
29730	for k, v := range m {
29731		switch k {
29732		case "typeProperties":
29733			if v != nil {
29734				var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties
29735				err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties)
29736				if err != nil {
29737					return err
29738				}
29739				ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties
29740			}
29741		default:
29742			if v != nil {
29743				var additionalProperties interface{}
29744				err = json.Unmarshal(*v, &additionalProperties)
29745				if err != nil {
29746					return err
29747				}
29748				if ded.AdditionalProperties == nil {
29749					ded.AdditionalProperties = make(map[string]interface{})
29750				}
29751				ded.AdditionalProperties[k] = additionalProperties
29752			}
29753		case "description":
29754			if v != nil {
29755				var description string
29756				err = json.Unmarshal(*v, &description)
29757				if err != nil {
29758					return err
29759				}
29760				ded.Description = &description
29761			}
29762		case "structure":
29763			if v != nil {
29764				var structure interface{}
29765				err = json.Unmarshal(*v, &structure)
29766				if err != nil {
29767					return err
29768				}
29769				ded.Structure = structure
29770			}
29771		case "linkedServiceName":
29772			if v != nil {
29773				var linkedServiceName LinkedServiceReference
29774				err = json.Unmarshal(*v, &linkedServiceName)
29775				if err != nil {
29776					return err
29777				}
29778				ded.LinkedServiceName = &linkedServiceName
29779			}
29780		case "parameters":
29781			if v != nil {
29782				var parameters map[string]*ParameterSpecification
29783				err = json.Unmarshal(*v, &parameters)
29784				if err != nil {
29785					return err
29786				}
29787				ded.Parameters = parameters
29788			}
29789		case "annotations":
29790			if v != nil {
29791				var annotations []interface{}
29792				err = json.Unmarshal(*v, &annotations)
29793				if err != nil {
29794					return err
29795				}
29796				ded.Annotations = &annotations
29797			}
29798		case "type":
29799			if v != nil {
29800				var typeVar TypeBasicDataset
29801				err = json.Unmarshal(*v, &typeVar)
29802				if err != nil {
29803					return err
29804				}
29805				ded.Type = typeVar
29806			}
29807		}
29808	}
29809
29810	return nil
29811}
29812
29813// DynamicsEntityDatasetTypeProperties dynamics entity dataset properties.
29814type DynamicsEntityDatasetTypeProperties struct {
29815	// EntityName - The logical name of the entity. Type: string (or Expression with resultType string).
29816	EntityName interface{} `json:"entityName,omitempty"`
29817}
29818
29819// DynamicsLinkedService dynamics linked service.
29820type DynamicsLinkedService struct {
29821	// DynamicsLinkedServiceTypeProperties - Dynamics linked service properties.
29822	*DynamicsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
29823	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
29824	AdditionalProperties map[string]interface{} `json:""`
29825	// ConnectVia - The integration runtime reference.
29826	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
29827	// Description - Linked service description.
29828	Description *string `json:"description,omitempty"`
29829	// Parameters - Parameters for linked service.
29830	Parameters map[string]*ParameterSpecification `json:"parameters"`
29831	// Annotations - List of tags that can be used for describing the Dataset.
29832	Annotations *[]interface{} `json:"annotations,omitempty"`
29833	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
29834	Type TypeBasicLinkedService `json:"type,omitempty"`
29835}
29836
29837// MarshalJSON is the custom marshaler for DynamicsLinkedService.
29838func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) {
29839	dls.Type = TypeDynamics
29840	objectMap := make(map[string]interface{})
29841	if dls.DynamicsLinkedServiceTypeProperties != nil {
29842		objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties
29843	}
29844	if dls.ConnectVia != nil {
29845		objectMap["connectVia"] = dls.ConnectVia
29846	}
29847	if dls.Description != nil {
29848		objectMap["description"] = dls.Description
29849	}
29850	if dls.Parameters != nil {
29851		objectMap["parameters"] = dls.Parameters
29852	}
29853	if dls.Annotations != nil {
29854		objectMap["annotations"] = dls.Annotations
29855	}
29856	if dls.Type != "" {
29857		objectMap["type"] = dls.Type
29858	}
29859	for k, v := range dls.AdditionalProperties {
29860		objectMap[k] = v
29861	}
29862	return json.Marshal(objectMap)
29863}
29864
29865// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29866func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
29867	return nil, false
29868}
29869
29870// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29871func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
29872	return nil, false
29873}
29874
29875// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29876func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
29877	return nil, false
29878}
29879
29880// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29881func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
29882	return nil, false
29883}
29884
29885// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29886func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
29887	return nil, false
29888}
29889
29890// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29891func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
29892	return nil, false
29893}
29894
29895// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29896func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
29897	return nil, false
29898}
29899
29900// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29901func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
29902	return nil, false
29903}
29904
29905// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29906func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
29907	return nil, false
29908}
29909
29910// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29911func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
29912	return nil, false
29913}
29914
29915// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29916func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
29917	return nil, false
29918}
29919
29920// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29921func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
29922	return nil, false
29923}
29924
29925// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29926func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
29927	return nil, false
29928}
29929
29930// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29931func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
29932	return nil, false
29933}
29934
29935// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29936func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
29937	return nil, false
29938}
29939
29940// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29941func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
29942	return nil, false
29943}
29944
29945// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29946func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
29947	return nil, false
29948}
29949
29950// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29951func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
29952	return nil, false
29953}
29954
29955// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29956func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
29957	return nil, false
29958}
29959
29960// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29961func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
29962	return nil, false
29963}
29964
29965// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29966func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
29967	return nil, false
29968}
29969
29970// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29971func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
29972	return nil, false
29973}
29974
29975// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29976func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
29977	return nil, false
29978}
29979
29980// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29981func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
29982	return nil, false
29983}
29984
29985// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29986func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
29987	return nil, false
29988}
29989
29990// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29991func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
29992	return nil, false
29993}
29994
29995// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
29996func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
29997	return nil, false
29998}
29999
30000// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30001func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
30002	return nil, false
30003}
30004
30005// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30006func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
30007	return nil, false
30008}
30009
30010// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30011func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
30012	return nil, false
30013}
30014
30015// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30016func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
30017	return nil, false
30018}
30019
30020// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30021func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
30022	return nil, false
30023}
30024
30025// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30026func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
30027	return nil, false
30028}
30029
30030// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30031func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
30032	return nil, false
30033}
30034
30035// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30036func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
30037	return nil, false
30038}
30039
30040// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30041func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
30042	return nil, false
30043}
30044
30045// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30046func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
30047	return nil, false
30048}
30049
30050// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30051func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
30052	return nil, false
30053}
30054
30055// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30056func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
30057	return nil, false
30058}
30059
30060// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30061func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
30062	return nil, false
30063}
30064
30065// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30066func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
30067	return nil, false
30068}
30069
30070// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30071func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
30072	return nil, false
30073}
30074
30075// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30076func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
30077	return nil, false
30078}
30079
30080// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30081func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
30082	return nil, false
30083}
30084
30085// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30086func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
30087	return nil, false
30088}
30089
30090// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30091func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
30092	return nil, false
30093}
30094
30095// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30096func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
30097	return nil, false
30098}
30099
30100// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30101func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
30102	return nil, false
30103}
30104
30105// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30106func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
30107	return nil, false
30108}
30109
30110// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30111func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
30112	return nil, false
30113}
30114
30115// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30116func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
30117	return nil, false
30118}
30119
30120// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30121func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
30122	return nil, false
30123}
30124
30125// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30126func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
30127	return nil, false
30128}
30129
30130// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30131func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
30132	return nil, false
30133}
30134
30135// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30136func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
30137	return nil, false
30138}
30139
30140// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30141func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
30142	return nil, false
30143}
30144
30145// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30146func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
30147	return nil, false
30148}
30149
30150// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30151func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
30152	return nil, false
30153}
30154
30155// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30156func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
30157	return nil, false
30158}
30159
30160// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30161func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
30162	return nil, false
30163}
30164
30165// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30166func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
30167	return nil, false
30168}
30169
30170// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30171func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
30172	return nil, false
30173}
30174
30175// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30176func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
30177	return &dls, true
30178}
30179
30180// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30181func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
30182	return nil, false
30183}
30184
30185// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30186func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
30187	return nil, false
30188}
30189
30190// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30191func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
30192	return nil, false
30193}
30194
30195// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30196func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
30197	return nil, false
30198}
30199
30200// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30201func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
30202	return nil, false
30203}
30204
30205// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30206func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
30207	return nil, false
30208}
30209
30210// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30211func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
30212	return nil, false
30213}
30214
30215// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30216func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) {
30217	return nil, false
30218}
30219
30220// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService.
30221func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
30222	return &dls, true
30223}
30224
30225// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct.
30226func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error {
30227	var m map[string]*json.RawMessage
30228	err := json.Unmarshal(body, &m)
30229	if err != nil {
30230		return err
30231	}
30232	for k, v := range m {
30233		switch k {
30234		case "typeProperties":
30235			if v != nil {
30236				var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties
30237				err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties)
30238				if err != nil {
30239					return err
30240				}
30241				dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties
30242			}
30243		default:
30244			if v != nil {
30245				var additionalProperties interface{}
30246				err = json.Unmarshal(*v, &additionalProperties)
30247				if err != nil {
30248					return err
30249				}
30250				if dls.AdditionalProperties == nil {
30251					dls.AdditionalProperties = make(map[string]interface{})
30252				}
30253				dls.AdditionalProperties[k] = additionalProperties
30254			}
30255		case "connectVia":
30256			if v != nil {
30257				var connectVia IntegrationRuntimeReference
30258				err = json.Unmarshal(*v, &connectVia)
30259				if err != nil {
30260					return err
30261				}
30262				dls.ConnectVia = &connectVia
30263			}
30264		case "description":
30265			if v != nil {
30266				var description string
30267				err = json.Unmarshal(*v, &description)
30268				if err != nil {
30269					return err
30270				}
30271				dls.Description = &description
30272			}
30273		case "parameters":
30274			if v != nil {
30275				var parameters map[string]*ParameterSpecification
30276				err = json.Unmarshal(*v, &parameters)
30277				if err != nil {
30278					return err
30279				}
30280				dls.Parameters = parameters
30281			}
30282		case "annotations":
30283			if v != nil {
30284				var annotations []interface{}
30285				err = json.Unmarshal(*v, &annotations)
30286				if err != nil {
30287					return err
30288				}
30289				dls.Annotations = &annotations
30290			}
30291		case "type":
30292			if v != nil {
30293				var typeVar TypeBasicLinkedService
30294				err = json.Unmarshal(*v, &typeVar)
30295				if err != nil {
30296					return err
30297				}
30298				dls.Type = typeVar
30299			}
30300		}
30301	}
30302
30303	return nil
30304}
30305
30306// DynamicsLinkedServiceTypeProperties dynamics linked service properties.
30307type DynamicsLinkedServiceTypeProperties struct {
30308	// DeploymentType - The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string).
30309	DeploymentType interface{} `json:"deploymentType,omitempty"`
30310	// HostName - The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).
30311	HostName interface{} `json:"hostName,omitempty"`
30312	// Port - The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.
30313	Port interface{} `json:"port,omitempty"`
30314	// ServiceURI - The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).
30315	ServiceURI interface{} `json:"serviceUri,omitempty"`
30316	// OrganizationName - The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string).
30317	OrganizationName interface{} `json:"organizationName,omitempty"`
30318	// AuthenticationType - The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string).
30319	AuthenticationType interface{} `json:"authenticationType,omitempty"`
30320	// Username - User name to access the Dynamics instance. Type: string (or Expression with resultType string).
30321	Username interface{} `json:"username,omitempty"`
30322	// Password - Password to access the Dynamics instance.
30323	Password BasicSecretBase `json:"password,omitempty"`
30324	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
30325	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
30326}
30327
30328// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedServiceTypeProperties struct.
30329func (dlstp *DynamicsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
30330	var m map[string]*json.RawMessage
30331	err := json.Unmarshal(body, &m)
30332	if err != nil {
30333		return err
30334	}
30335	for k, v := range m {
30336		switch k {
30337		case "deploymentType":
30338			if v != nil {
30339				var deploymentType interface{}
30340				err = json.Unmarshal(*v, &deploymentType)
30341				if err != nil {
30342					return err
30343				}
30344				dlstp.DeploymentType = deploymentType
30345			}
30346		case "hostName":
30347			if v != nil {
30348				var hostName interface{}
30349				err = json.Unmarshal(*v, &hostName)
30350				if err != nil {
30351					return err
30352				}
30353				dlstp.HostName = hostName
30354			}
30355		case "port":
30356			if v != nil {
30357				var port interface{}
30358				err = json.Unmarshal(*v, &port)
30359				if err != nil {
30360					return err
30361				}
30362				dlstp.Port = port
30363			}
30364		case "serviceUri":
30365			if v != nil {
30366				var serviceURI interface{}
30367				err = json.Unmarshal(*v, &serviceURI)
30368				if err != nil {
30369					return err
30370				}
30371				dlstp.ServiceURI = serviceURI
30372			}
30373		case "organizationName":
30374			if v != nil {
30375				var organizationName interface{}
30376				err = json.Unmarshal(*v, &organizationName)
30377				if err != nil {
30378					return err
30379				}
30380				dlstp.OrganizationName = organizationName
30381			}
30382		case "authenticationType":
30383			if v != nil {
30384				var authenticationType interface{}
30385				err = json.Unmarshal(*v, &authenticationType)
30386				if err != nil {
30387					return err
30388				}
30389				dlstp.AuthenticationType = authenticationType
30390			}
30391		case "username":
30392			if v != nil {
30393				var username interface{}
30394				err = json.Unmarshal(*v, &username)
30395				if err != nil {
30396					return err
30397				}
30398				dlstp.Username = username
30399			}
30400		case "password":
30401			if v != nil {
30402				password, err := unmarshalBasicSecretBase(*v)
30403				if err != nil {
30404					return err
30405				}
30406				dlstp.Password = password
30407			}
30408		case "encryptedCredential":
30409			if v != nil {
30410				var encryptedCredential interface{}
30411				err = json.Unmarshal(*v, &encryptedCredential)
30412				if err != nil {
30413					return err
30414				}
30415				dlstp.EncryptedCredential = encryptedCredential
30416			}
30417		}
30418	}
30419
30420	return nil
30421}
30422
30423// DynamicsSink a copy activity Dynamics sink.
30424type DynamicsSink struct {
30425	// WriteBehavior - The write behavior for the operation.
30426	WriteBehavior *string `json:"writeBehavior,omitempty"`
30427	// IgnoreNullValues - The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).
30428	IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
30429	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
30430	AdditionalProperties map[string]interface{} `json:""`
30431	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
30432	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
30433	// 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])).
30434	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
30435	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
30436	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
30437	// 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])).
30438	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
30439	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
30440	Type TypeBasicCopySink `json:"type,omitempty"`
30441}
30442
30443// MarshalJSON is the custom marshaler for DynamicsSink.
30444func (ds DynamicsSink) MarshalJSON() ([]byte, error) {
30445	ds.Type = TypeDynamicsSink
30446	objectMap := make(map[string]interface{})
30447	if ds.WriteBehavior != nil {
30448		objectMap["writeBehavior"] = ds.WriteBehavior
30449	}
30450	objectMap["ignoreNullValues"] = ds.IgnoreNullValues
30451	objectMap["writeBatchSize"] = ds.WriteBatchSize
30452	objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout
30453	objectMap["sinkRetryCount"] = ds.SinkRetryCount
30454	objectMap["sinkRetryWait"] = ds.SinkRetryWait
30455	if ds.Type != "" {
30456		objectMap["type"] = ds.Type
30457	}
30458	for k, v := range ds.AdditionalProperties {
30459		objectMap[k] = v
30460	}
30461	return json.Marshal(objectMap)
30462}
30463
30464// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink.
30465func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) {
30466	return nil, false
30467}
30468
30469// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink.
30470func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) {
30471	return &ds, true
30472}
30473
30474// AsOdbcSink is the BasicCopySink implementation for DynamicsSink.
30475func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) {
30476	return nil, false
30477}
30478
30479// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink.
30480func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
30481	return nil, false
30482}
30483
30484// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink.
30485func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
30486	return nil, false
30487}
30488
30489// AsOracleSink is the BasicCopySink implementation for DynamicsSink.
30490func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) {
30491	return nil, false
30492}
30493
30494// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink.
30495func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) {
30496	return nil, false
30497}
30498
30499// AsSQLSink is the BasicCopySink implementation for DynamicsSink.
30500func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) {
30501	return nil, false
30502}
30503
30504// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink.
30505func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
30506	return nil, false
30507}
30508
30509// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink.
30510func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) {
30511	return nil, false
30512}
30513
30514// AsBlobSink is the BasicCopySink implementation for DynamicsSink.
30515func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) {
30516	return nil, false
30517}
30518
30519// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink.
30520func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) {
30521	return nil, false
30522}
30523
30524// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink.
30525func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
30526	return nil, false
30527}
30528
30529// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink.
30530func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
30531	return nil, false
30532}
30533
30534// AsCopySink is the BasicCopySink implementation for DynamicsSink.
30535func (ds DynamicsSink) AsCopySink() (*CopySink, bool) {
30536	return nil, false
30537}
30538
30539// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink.
30540func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) {
30541	return &ds, true
30542}
30543
30544// DynamicsSource a copy activity Dynamics source.
30545type DynamicsSource struct {
30546	// Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string).
30547	Query interface{} `json:"query,omitempty"`
30548	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
30549	AdditionalProperties map[string]interface{} `json:""`
30550	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
30551	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
30552	// 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])).
30553	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
30554	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
30555	Type TypeBasicCopySource `json:"type,omitempty"`
30556}
30557
30558// MarshalJSON is the custom marshaler for DynamicsSource.
30559func (ds DynamicsSource) MarshalJSON() ([]byte, error) {
30560	ds.Type = TypeDynamicsSource
30561	objectMap := make(map[string]interface{})
30562	objectMap["query"] = ds.Query
30563	objectMap["sourceRetryCount"] = ds.SourceRetryCount
30564	objectMap["sourceRetryWait"] = ds.SourceRetryWait
30565	if ds.Type != "" {
30566		objectMap["type"] = ds.Type
30567	}
30568	for k, v := range ds.AdditionalProperties {
30569		objectMap[k] = v
30570	}
30571	return json.Marshal(objectMap)
30572}
30573
30574// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource.
30575func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
30576	return nil, false
30577}
30578
30579// AsResponsysSource is the BasicCopySource implementation for DynamicsSource.
30580func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) {
30581	return nil, false
30582}
30583
30584// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource.
30585func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
30586	return nil, false
30587}
30588
30589// AsVerticaSource is the BasicCopySource implementation for DynamicsSource.
30590func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) {
30591	return nil, false
30592}
30593
30594// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource.
30595func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) {
30596	return nil, false
30597}
30598
30599// AsZohoSource is the BasicCopySource implementation for DynamicsSource.
30600func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) {
30601	return nil, false
30602}
30603
30604// AsXeroSource is the BasicCopySource implementation for DynamicsSource.
30605func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) {
30606	return nil, false
30607}
30608
30609// AsSquareSource is the BasicCopySource implementation for DynamicsSource.
30610func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) {
30611	return nil, false
30612}
30613
30614// AsSparkSource is the BasicCopySource implementation for DynamicsSource.
30615func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) {
30616	return nil, false
30617}
30618
30619// AsShopifySource is the BasicCopySource implementation for DynamicsSource.
30620func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) {
30621	return nil, false
30622}
30623
30624// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource.
30625func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
30626	return nil, false
30627}
30628
30629// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource.
30630func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
30631	return nil, false
30632}
30633
30634// AsPrestoSource is the BasicCopySource implementation for DynamicsSource.
30635func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) {
30636	return nil, false
30637}
30638
30639// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource.
30640func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) {
30641	return nil, false
30642}
30643
30644// AsPaypalSource is the BasicCopySource implementation for DynamicsSource.
30645func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) {
30646	return nil, false
30647}
30648
30649// AsMarketoSource is the BasicCopySource implementation for DynamicsSource.
30650func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) {
30651	return nil, false
30652}
30653
30654// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource.
30655func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) {
30656	return nil, false
30657}
30658
30659// AsMagentoSource is the BasicCopySource implementation for DynamicsSource.
30660func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) {
30661	return nil, false
30662}
30663
30664// AsJiraSource is the BasicCopySource implementation for DynamicsSource.
30665func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) {
30666	return nil, false
30667}
30668
30669// AsImpalaSource is the BasicCopySource implementation for DynamicsSource.
30670func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) {
30671	return nil, false
30672}
30673
30674// AsHubspotSource is the BasicCopySource implementation for DynamicsSource.
30675func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) {
30676	return nil, false
30677}
30678
30679// AsHiveSource is the BasicCopySource implementation for DynamicsSource.
30680func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) {
30681	return nil, false
30682}
30683
30684// AsHBaseSource is the BasicCopySource implementation for DynamicsSource.
30685func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) {
30686	return nil, false
30687}
30688
30689// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource.
30690func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) {
30691	return nil, false
30692}
30693
30694// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource.
30695func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
30696	return nil, false
30697}
30698
30699// AsEloquaSource is the BasicCopySource implementation for DynamicsSource.
30700func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) {
30701	return nil, false
30702}
30703
30704// AsDrillSource is the BasicCopySource implementation for DynamicsSource.
30705func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) {
30706	return nil, false
30707}
30708
30709// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource.
30710func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
30711	return nil, false
30712}
30713
30714// AsConcurSource is the BasicCopySource implementation for DynamicsSource.
30715func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) {
30716	return nil, false
30717}
30718
30719// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource.
30720func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
30721	return nil, false
30722}
30723
30724// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource.
30725func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
30726	return nil, false
30727}
30728
30729// AsHTTPSource is the BasicCopySource implementation for DynamicsSource.
30730func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) {
30731	return nil, false
30732}
30733
30734// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource.
30735func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
30736	return nil, false
30737}
30738
30739// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource.
30740func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) {
30741	return nil, false
30742}
30743
30744// AsCassandraSource is the BasicCopySource implementation for DynamicsSource.
30745func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) {
30746	return nil, false
30747}
30748
30749// AsWebSource is the BasicCopySource implementation for DynamicsSource.
30750func (ds DynamicsSource) AsWebSource() (*WebSource, bool) {
30751	return nil, false
30752}
30753
30754// AsOracleSource is the BasicCopySource implementation for DynamicsSource.
30755func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) {
30756	return nil, false
30757}
30758
30759// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource.
30760func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
30761	return nil, false
30762}
30763
30764// AsHdfsSource is the BasicCopySource implementation for DynamicsSource.
30765func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) {
30766	return nil, false
30767}
30768
30769// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource.
30770func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) {
30771	return nil, false
30772}
30773
30774// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource.
30775func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) {
30776	return nil, false
30777}
30778
30779// AsSQLSource is the BasicCopySource implementation for DynamicsSource.
30780func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) {
30781	return nil, false
30782}
30783
30784// AsSapEccSource is the BasicCopySource implementation for DynamicsSource.
30785func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) {
30786	return nil, false
30787}
30788
30789// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource.
30790func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
30791	return nil, false
30792}
30793
30794// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource.
30795func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) {
30796	return nil, false
30797}
30798
30799// AsRelationalSource is the BasicCopySource implementation for DynamicsSource.
30800func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) {
30801	return nil, false
30802}
30803
30804// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource.
30805func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) {
30806	return &ds, true
30807}
30808
30809// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource.
30810func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
30811	return nil, false
30812}
30813
30814// AsBlobSource is the BasicCopySource implementation for DynamicsSource.
30815func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) {
30816	return nil, false
30817}
30818
30819// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource.
30820func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) {
30821	return nil, false
30822}
30823
30824// AsCopySource is the BasicCopySource implementation for DynamicsSource.
30825func (ds DynamicsSource) AsCopySource() (*CopySource, bool) {
30826	return nil, false
30827}
30828
30829// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource.
30830func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) {
30831	return &ds, true
30832}
30833
30834// EloquaLinkedService eloqua server linked service.
30835type EloquaLinkedService struct {
30836	// EloquaLinkedServiceTypeProperties - Eloqua server linked service properties.
30837	*EloquaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
30838	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
30839	AdditionalProperties map[string]interface{} `json:""`
30840	// ConnectVia - The integration runtime reference.
30841	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
30842	// Description - Linked service description.
30843	Description *string `json:"description,omitempty"`
30844	// Parameters - Parameters for linked service.
30845	Parameters map[string]*ParameterSpecification `json:"parameters"`
30846	// Annotations - List of tags that can be used for describing the Dataset.
30847	Annotations *[]interface{} `json:"annotations,omitempty"`
30848	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
30849	Type TypeBasicLinkedService `json:"type,omitempty"`
30850}
30851
30852// MarshalJSON is the custom marshaler for EloquaLinkedService.
30853func (els EloquaLinkedService) MarshalJSON() ([]byte, error) {
30854	els.Type = TypeEloqua
30855	objectMap := make(map[string]interface{})
30856	if els.EloquaLinkedServiceTypeProperties != nil {
30857		objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties
30858	}
30859	if els.ConnectVia != nil {
30860		objectMap["connectVia"] = els.ConnectVia
30861	}
30862	if els.Description != nil {
30863		objectMap["description"] = els.Description
30864	}
30865	if els.Parameters != nil {
30866		objectMap["parameters"] = els.Parameters
30867	}
30868	if els.Annotations != nil {
30869		objectMap["annotations"] = els.Annotations
30870	}
30871	if els.Type != "" {
30872		objectMap["type"] = els.Type
30873	}
30874	for k, v := range els.AdditionalProperties {
30875		objectMap[k] = v
30876	}
30877	return json.Marshal(objectMap)
30878}
30879
30880// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30881func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
30882	return nil, false
30883}
30884
30885// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30886func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
30887	return nil, false
30888}
30889
30890// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30891func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
30892	return nil, false
30893}
30894
30895// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30896func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
30897	return nil, false
30898}
30899
30900// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30901func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
30902	return nil, false
30903}
30904
30905// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30906func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
30907	return nil, false
30908}
30909
30910// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30911func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
30912	return nil, false
30913}
30914
30915// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30916func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
30917	return nil, false
30918}
30919
30920// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30921func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
30922	return nil, false
30923}
30924
30925// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30926func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
30927	return nil, false
30928}
30929
30930// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30931func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
30932	return nil, false
30933}
30934
30935// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30936func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
30937	return nil, false
30938}
30939
30940// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30941func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
30942	return nil, false
30943}
30944
30945// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30946func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
30947	return nil, false
30948}
30949
30950// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30951func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
30952	return nil, false
30953}
30954
30955// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30956func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
30957	return nil, false
30958}
30959
30960// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30961func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
30962	return nil, false
30963}
30964
30965// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30966func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
30967	return nil, false
30968}
30969
30970// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30971func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
30972	return nil, false
30973}
30974
30975// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30976func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
30977	return nil, false
30978}
30979
30980// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30981func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
30982	return nil, false
30983}
30984
30985// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30986func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
30987	return nil, false
30988}
30989
30990// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30991func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
30992	return nil, false
30993}
30994
30995// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
30996func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
30997	return nil, false
30998}
30999
31000// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31001func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
31002	return nil, false
31003}
31004
31005// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31006func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
31007	return nil, false
31008}
31009
31010// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31011func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
31012	return nil, false
31013}
31014
31015// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31016func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
31017	return &els, true
31018}
31019
31020// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31021func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
31022	return nil, false
31023}
31024
31025// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31026func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
31027	return nil, false
31028}
31029
31030// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31031func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
31032	return nil, false
31033}
31034
31035// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31036func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
31037	return nil, false
31038}
31039
31040// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31041func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
31042	return nil, false
31043}
31044
31045// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31046func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
31047	return nil, false
31048}
31049
31050// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31051func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
31052	return nil, false
31053}
31054
31055// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31056func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
31057	return nil, false
31058}
31059
31060// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31061func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
31062	return nil, false
31063}
31064
31065// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31066func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
31067	return nil, false
31068}
31069
31070// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31071func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
31072	return nil, false
31073}
31074
31075// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31076func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
31077	return nil, false
31078}
31079
31080// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31081func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
31082	return nil, false
31083}
31084
31085// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31086func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
31087	return nil, false
31088}
31089
31090// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31091func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
31092	return nil, false
31093}
31094
31095// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31096func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
31097	return nil, false
31098}
31099
31100// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31101func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
31102	return nil, false
31103}
31104
31105// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31106func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
31107	return nil, false
31108}
31109
31110// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31111func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
31112	return nil, false
31113}
31114
31115// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31116func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
31117	return nil, false
31118}
31119
31120// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31121func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
31122	return nil, false
31123}
31124
31125// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31126func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
31127	return nil, false
31128}
31129
31130// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31131func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
31132	return nil, false
31133}
31134
31135// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31136func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
31137	return nil, false
31138}
31139
31140// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31141func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
31142	return nil, false
31143}
31144
31145// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31146func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
31147	return nil, false
31148}
31149
31150// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31151func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
31152	return nil, false
31153}
31154
31155// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31156func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
31157	return nil, false
31158}
31159
31160// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31161func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
31162	return nil, false
31163}
31164
31165// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31166func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
31167	return nil, false
31168}
31169
31170// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31171func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
31172	return nil, false
31173}
31174
31175// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31176func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
31177	return nil, false
31178}
31179
31180// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31181func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
31182	return nil, false
31183}
31184
31185// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31186func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
31187	return nil, false
31188}
31189
31190// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31191func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
31192	return nil, false
31193}
31194
31195// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31196func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
31197	return nil, false
31198}
31199
31200// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31201func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
31202	return nil, false
31203}
31204
31205// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31206func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
31207	return nil, false
31208}
31209
31210// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31211func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
31212	return nil, false
31213}
31214
31215// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31216func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
31217	return nil, false
31218}
31219
31220// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31221func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
31222	return nil, false
31223}
31224
31225// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31226func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
31227	return nil, false
31228}
31229
31230// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31231func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) {
31232	return nil, false
31233}
31234
31235// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService.
31236func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
31237	return &els, true
31238}
31239
31240// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct.
31241func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error {
31242	var m map[string]*json.RawMessage
31243	err := json.Unmarshal(body, &m)
31244	if err != nil {
31245		return err
31246	}
31247	for k, v := range m {
31248		switch k {
31249		case "typeProperties":
31250			if v != nil {
31251				var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties
31252				err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties)
31253				if err != nil {
31254					return err
31255				}
31256				els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties
31257			}
31258		default:
31259			if v != nil {
31260				var additionalProperties interface{}
31261				err = json.Unmarshal(*v, &additionalProperties)
31262				if err != nil {
31263					return err
31264				}
31265				if els.AdditionalProperties == nil {
31266					els.AdditionalProperties = make(map[string]interface{})
31267				}
31268				els.AdditionalProperties[k] = additionalProperties
31269			}
31270		case "connectVia":
31271			if v != nil {
31272				var connectVia IntegrationRuntimeReference
31273				err = json.Unmarshal(*v, &connectVia)
31274				if err != nil {
31275					return err
31276				}
31277				els.ConnectVia = &connectVia
31278			}
31279		case "description":
31280			if v != nil {
31281				var description string
31282				err = json.Unmarshal(*v, &description)
31283				if err != nil {
31284					return err
31285				}
31286				els.Description = &description
31287			}
31288		case "parameters":
31289			if v != nil {
31290				var parameters map[string]*ParameterSpecification
31291				err = json.Unmarshal(*v, &parameters)
31292				if err != nil {
31293					return err
31294				}
31295				els.Parameters = parameters
31296			}
31297		case "annotations":
31298			if v != nil {
31299				var annotations []interface{}
31300				err = json.Unmarshal(*v, &annotations)
31301				if err != nil {
31302					return err
31303				}
31304				els.Annotations = &annotations
31305			}
31306		case "type":
31307			if v != nil {
31308				var typeVar TypeBasicLinkedService
31309				err = json.Unmarshal(*v, &typeVar)
31310				if err != nil {
31311					return err
31312				}
31313				els.Type = typeVar
31314			}
31315		}
31316	}
31317
31318	return nil
31319}
31320
31321// EloquaLinkedServiceTypeProperties eloqua server linked service properties.
31322type EloquaLinkedServiceTypeProperties struct {
31323	// Endpoint - The endpoint of the Eloqua server. (i.e. eloqua.example.com)
31324	Endpoint interface{} `json:"endpoint,omitempty"`
31325	// Username - The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice)
31326	Username interface{} `json:"username,omitempty"`
31327	// Password - The password corresponding to the user name.
31328	Password BasicSecretBase `json:"password,omitempty"`
31329	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
31330	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
31331	// 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.
31332	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
31333	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
31334	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
31335	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
31336	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
31337}
31338
31339// UnmarshalJSON is the custom unmarshaler for EloquaLinkedServiceTypeProperties struct.
31340func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
31341	var m map[string]*json.RawMessage
31342	err := json.Unmarshal(body, &m)
31343	if err != nil {
31344		return err
31345	}
31346	for k, v := range m {
31347		switch k {
31348		case "endpoint":
31349			if v != nil {
31350				var endpoint interface{}
31351				err = json.Unmarshal(*v, &endpoint)
31352				if err != nil {
31353					return err
31354				}
31355				elstp.Endpoint = endpoint
31356			}
31357		case "username":
31358			if v != nil {
31359				var username interface{}
31360				err = json.Unmarshal(*v, &username)
31361				if err != nil {
31362					return err
31363				}
31364				elstp.Username = username
31365			}
31366		case "password":
31367			if v != nil {
31368				password, err := unmarshalBasicSecretBase(*v)
31369				if err != nil {
31370					return err
31371				}
31372				elstp.Password = password
31373			}
31374		case "useEncryptedEndpoints":
31375			if v != nil {
31376				var useEncryptedEndpoints interface{}
31377				err = json.Unmarshal(*v, &useEncryptedEndpoints)
31378				if err != nil {
31379					return err
31380				}
31381				elstp.UseEncryptedEndpoints = useEncryptedEndpoints
31382			}
31383		case "useHostVerification":
31384			if v != nil {
31385				var useHostVerification interface{}
31386				err = json.Unmarshal(*v, &useHostVerification)
31387				if err != nil {
31388					return err
31389				}
31390				elstp.UseHostVerification = useHostVerification
31391			}
31392		case "usePeerVerification":
31393			if v != nil {
31394				var usePeerVerification interface{}
31395				err = json.Unmarshal(*v, &usePeerVerification)
31396				if err != nil {
31397					return err
31398				}
31399				elstp.UsePeerVerification = usePeerVerification
31400			}
31401		case "encryptedCredential":
31402			if v != nil {
31403				var encryptedCredential interface{}
31404				err = json.Unmarshal(*v, &encryptedCredential)
31405				if err != nil {
31406					return err
31407				}
31408				elstp.EncryptedCredential = encryptedCredential
31409			}
31410		}
31411	}
31412
31413	return nil
31414}
31415
31416// EloquaObjectDataset eloqua server dataset.
31417type EloquaObjectDataset struct {
31418	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
31419	AdditionalProperties map[string]interface{} `json:""`
31420	// Description - Dataset description.
31421	Description *string `json:"description,omitempty"`
31422	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
31423	Structure interface{} `json:"structure,omitempty"`
31424	// LinkedServiceName - Linked service reference.
31425	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
31426	// Parameters - Parameters for dataset.
31427	Parameters map[string]*ParameterSpecification `json:"parameters"`
31428	// Annotations - List of tags that can be used for describing the Dataset.
31429	Annotations *[]interface{} `json:"annotations,omitempty"`
31430	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
31431	Type TypeBasicDataset `json:"type,omitempty"`
31432}
31433
31434// MarshalJSON is the custom marshaler for EloquaObjectDataset.
31435func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) {
31436	eod.Type = TypeEloquaObject
31437	objectMap := make(map[string]interface{})
31438	if eod.Description != nil {
31439		objectMap["description"] = eod.Description
31440	}
31441	objectMap["structure"] = eod.Structure
31442	if eod.LinkedServiceName != nil {
31443		objectMap["linkedServiceName"] = eod.LinkedServiceName
31444	}
31445	if eod.Parameters != nil {
31446		objectMap["parameters"] = eod.Parameters
31447	}
31448	if eod.Annotations != nil {
31449		objectMap["annotations"] = eod.Annotations
31450	}
31451	if eod.Type != "" {
31452		objectMap["type"] = eod.Type
31453	}
31454	for k, v := range eod.AdditionalProperties {
31455		objectMap[k] = v
31456	}
31457	return json.Marshal(objectMap)
31458}
31459
31460// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31461func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
31462	return nil, false
31463}
31464
31465// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31466func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
31467	return nil, false
31468}
31469
31470// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31471func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
31472	return nil, false
31473}
31474
31475// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31476func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
31477	return nil, false
31478}
31479
31480// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31481func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
31482	return nil, false
31483}
31484
31485// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31486func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
31487	return nil, false
31488}
31489
31490// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31491func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
31492	return nil, false
31493}
31494
31495// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31496func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
31497	return nil, false
31498}
31499
31500// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31501func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
31502	return nil, false
31503}
31504
31505// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31506func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
31507	return nil, false
31508}
31509
31510// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31511func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
31512	return nil, false
31513}
31514
31515// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31516func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
31517	return nil, false
31518}
31519
31520// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31521func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
31522	return nil, false
31523}
31524
31525// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31526func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
31527	return nil, false
31528}
31529
31530// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31531func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
31532	return nil, false
31533}
31534
31535// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31536func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
31537	return nil, false
31538}
31539
31540// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31541func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
31542	return nil, false
31543}
31544
31545// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31546func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
31547	return nil, false
31548}
31549
31550// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31551func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
31552	return nil, false
31553}
31554
31555// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31556func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
31557	return nil, false
31558}
31559
31560// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31561func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
31562	return nil, false
31563}
31564
31565// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31566func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
31567	return nil, false
31568}
31569
31570// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31571func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
31572	return nil, false
31573}
31574
31575// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31576func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
31577	return nil, false
31578}
31579
31580// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31581func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
31582	return &eod, true
31583}
31584
31585// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31586func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
31587	return nil, false
31588}
31589
31590// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31591func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
31592	return nil, false
31593}
31594
31595// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31596func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
31597	return nil, false
31598}
31599
31600// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31601func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
31602	return nil, false
31603}
31604
31605// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31606func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
31607	return nil, false
31608}
31609
31610// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset.
31611func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
31612	return nil, false
31613}
31614
31615// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset.
31616func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
31617	return nil, false
31618}
31619
31620// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31621func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
31622	return nil, false
31623}
31624
31625// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31626func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
31627	return nil, false
31628}
31629
31630// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
31631func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
31632	return nil, false
31633}
31634
31635// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
31636func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
31637	return nil, false
31638}
31639
31640// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset.
31641func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
31642	return nil, false
31643}
31644
31645// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31646func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
31647	return nil, false
31648}
31649
31650// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31651func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
31652	return nil, false
31653}
31654
31655// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31656func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
31657	return nil, false
31658}
31659
31660// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset.
31661func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
31662	return nil, false
31663}
31664
31665// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
31666func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
31667	return nil, false
31668}
31669
31670// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset.
31671func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
31672	return nil, false
31673}
31674
31675// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset.
31676func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
31677	return nil, false
31678}
31679
31680// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset.
31681func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
31682	return nil, false
31683}
31684
31685// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset.
31686func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
31687	return nil, false
31688}
31689
31690// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset.
31691func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
31692	return nil, false
31693}
31694
31695// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31696func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
31697	return nil, false
31698}
31699
31700// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31701func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
31702	return nil, false
31703}
31704
31705// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31706func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
31707	return nil, false
31708}
31709
31710// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset.
31711func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
31712	return nil, false
31713}
31714
31715// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset.
31716func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
31717	return nil, false
31718}
31719
31720// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset.
31721func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
31722	return nil, false
31723}
31724
31725// AsDataset is the BasicDataset implementation for EloquaObjectDataset.
31726func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) {
31727	return nil, false
31728}
31729
31730// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset.
31731func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
31732	return &eod, true
31733}
31734
31735// EloquaSource a copy activity Eloqua server source.
31736type EloquaSource struct {
31737	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
31738	Query interface{} `json:"query,omitempty"`
31739	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
31740	AdditionalProperties map[string]interface{} `json:""`
31741	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
31742	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
31743	// 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])).
31744	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
31745	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
31746	Type TypeBasicCopySource `json:"type,omitempty"`
31747}
31748
31749// MarshalJSON is the custom marshaler for EloquaSource.
31750func (es EloquaSource) MarshalJSON() ([]byte, error) {
31751	es.Type = TypeEloquaSource
31752	objectMap := make(map[string]interface{})
31753	objectMap["query"] = es.Query
31754	objectMap["sourceRetryCount"] = es.SourceRetryCount
31755	objectMap["sourceRetryWait"] = es.SourceRetryWait
31756	if es.Type != "" {
31757		objectMap["type"] = es.Type
31758	}
31759	for k, v := range es.AdditionalProperties {
31760		objectMap[k] = v
31761	}
31762	return json.Marshal(objectMap)
31763}
31764
31765// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource.
31766func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
31767	return nil, false
31768}
31769
31770// AsResponsysSource is the BasicCopySource implementation for EloquaSource.
31771func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) {
31772	return nil, false
31773}
31774
31775// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource.
31776func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
31777	return nil, false
31778}
31779
31780// AsVerticaSource is the BasicCopySource implementation for EloquaSource.
31781func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) {
31782	return nil, false
31783}
31784
31785// AsNetezzaSource is the BasicCopySource implementation for EloquaSource.
31786func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) {
31787	return nil, false
31788}
31789
31790// AsZohoSource is the BasicCopySource implementation for EloquaSource.
31791func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) {
31792	return nil, false
31793}
31794
31795// AsXeroSource is the BasicCopySource implementation for EloquaSource.
31796func (es EloquaSource) AsXeroSource() (*XeroSource, bool) {
31797	return nil, false
31798}
31799
31800// AsSquareSource is the BasicCopySource implementation for EloquaSource.
31801func (es EloquaSource) AsSquareSource() (*SquareSource, bool) {
31802	return nil, false
31803}
31804
31805// AsSparkSource is the BasicCopySource implementation for EloquaSource.
31806func (es EloquaSource) AsSparkSource() (*SparkSource, bool) {
31807	return nil, false
31808}
31809
31810// AsShopifySource is the BasicCopySource implementation for EloquaSource.
31811func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) {
31812	return nil, false
31813}
31814
31815// AsServiceNowSource is the BasicCopySource implementation for EloquaSource.
31816func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
31817	return nil, false
31818}
31819
31820// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource.
31821func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
31822	return nil, false
31823}
31824
31825// AsPrestoSource is the BasicCopySource implementation for EloquaSource.
31826func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) {
31827	return nil, false
31828}
31829
31830// AsPhoenixSource is the BasicCopySource implementation for EloquaSource.
31831func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) {
31832	return nil, false
31833}
31834
31835// AsPaypalSource is the BasicCopySource implementation for EloquaSource.
31836func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) {
31837	return nil, false
31838}
31839
31840// AsMarketoSource is the BasicCopySource implementation for EloquaSource.
31841func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) {
31842	return nil, false
31843}
31844
31845// AsMariaDBSource is the BasicCopySource implementation for EloquaSource.
31846func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) {
31847	return nil, false
31848}
31849
31850// AsMagentoSource is the BasicCopySource implementation for EloquaSource.
31851func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) {
31852	return nil, false
31853}
31854
31855// AsJiraSource is the BasicCopySource implementation for EloquaSource.
31856func (es EloquaSource) AsJiraSource() (*JiraSource, bool) {
31857	return nil, false
31858}
31859
31860// AsImpalaSource is the BasicCopySource implementation for EloquaSource.
31861func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) {
31862	return nil, false
31863}
31864
31865// AsHubspotSource is the BasicCopySource implementation for EloquaSource.
31866func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) {
31867	return nil, false
31868}
31869
31870// AsHiveSource is the BasicCopySource implementation for EloquaSource.
31871func (es EloquaSource) AsHiveSource() (*HiveSource, bool) {
31872	return nil, false
31873}
31874
31875// AsHBaseSource is the BasicCopySource implementation for EloquaSource.
31876func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) {
31877	return nil, false
31878}
31879
31880// AsGreenplumSource is the BasicCopySource implementation for EloquaSource.
31881func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) {
31882	return nil, false
31883}
31884
31885// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource.
31886func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
31887	return nil, false
31888}
31889
31890// AsEloquaSource is the BasicCopySource implementation for EloquaSource.
31891func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) {
31892	return &es, true
31893}
31894
31895// AsDrillSource is the BasicCopySource implementation for EloquaSource.
31896func (es EloquaSource) AsDrillSource() (*DrillSource, bool) {
31897	return nil, false
31898}
31899
31900// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource.
31901func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
31902	return nil, false
31903}
31904
31905// AsConcurSource is the BasicCopySource implementation for EloquaSource.
31906func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) {
31907	return nil, false
31908}
31909
31910// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource.
31911func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
31912	return nil, false
31913}
31914
31915// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource.
31916func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
31917	return nil, false
31918}
31919
31920// AsHTTPSource is the BasicCopySource implementation for EloquaSource.
31921func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) {
31922	return nil, false
31923}
31924
31925// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource.
31926func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
31927	return nil, false
31928}
31929
31930// AsMongoDbSource is the BasicCopySource implementation for EloquaSource.
31931func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) {
31932	return nil, false
31933}
31934
31935// AsCassandraSource is the BasicCopySource implementation for EloquaSource.
31936func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) {
31937	return nil, false
31938}
31939
31940// AsWebSource is the BasicCopySource implementation for EloquaSource.
31941func (es EloquaSource) AsWebSource() (*WebSource, bool) {
31942	return nil, false
31943}
31944
31945// AsOracleSource is the BasicCopySource implementation for EloquaSource.
31946func (es EloquaSource) AsOracleSource() (*OracleSource, bool) {
31947	return nil, false
31948}
31949
31950// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource.
31951func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
31952	return nil, false
31953}
31954
31955// AsHdfsSource is the BasicCopySource implementation for EloquaSource.
31956func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) {
31957	return nil, false
31958}
31959
31960// AsFileSystemSource is the BasicCopySource implementation for EloquaSource.
31961func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) {
31962	return nil, false
31963}
31964
31965// AsSQLDWSource is the BasicCopySource implementation for EloquaSource.
31966func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) {
31967	return nil, false
31968}
31969
31970// AsSQLSource is the BasicCopySource implementation for EloquaSource.
31971func (es EloquaSource) AsSQLSource() (*SQLSource, bool) {
31972	return nil, false
31973}
31974
31975// AsSapEccSource is the BasicCopySource implementation for EloquaSource.
31976func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) {
31977	return nil, false
31978}
31979
31980// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource.
31981func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
31982	return nil, false
31983}
31984
31985// AsSalesforceSource is the BasicCopySource implementation for EloquaSource.
31986func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) {
31987	return nil, false
31988}
31989
31990// AsRelationalSource is the BasicCopySource implementation for EloquaSource.
31991func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) {
31992	return nil, false
31993}
31994
31995// AsDynamicsSource is the BasicCopySource implementation for EloquaSource.
31996func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) {
31997	return nil, false
31998}
31999
32000// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource.
32001func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
32002	return nil, false
32003}
32004
32005// AsBlobSource is the BasicCopySource implementation for EloquaSource.
32006func (es EloquaSource) AsBlobSource() (*BlobSource, bool) {
32007	return nil, false
32008}
32009
32010// AsAzureTableSource is the BasicCopySource implementation for EloquaSource.
32011func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) {
32012	return nil, false
32013}
32014
32015// AsCopySource is the BasicCopySource implementation for EloquaSource.
32016func (es EloquaSource) AsCopySource() (*CopySource, bool) {
32017	return nil, false
32018}
32019
32020// AsBasicCopySource is the BasicCopySource implementation for EloquaSource.
32021func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) {
32022	return &es, true
32023}
32024
32025// ErrorResponse the object that defines the structure of an Azure Data Factory response.
32026type ErrorResponse struct {
32027	// Code - Error code.
32028	Code *string `json:"code,omitempty"`
32029	// Message - Error message.
32030	Message *string `json:"message,omitempty"`
32031	// Target - Property name/path in request associated with error.
32032	Target *string `json:"target,omitempty"`
32033	// Details - Array with additional error details.
32034	Details *[]ErrorResponse `json:"details,omitempty"`
32035}
32036
32037// ExecutePipelineActivity execute pipeline activity.
32038type ExecutePipelineActivity struct {
32039	// ExecutePipelineActivityTypeProperties - Execute pipeline activity properties.
32040	*ExecutePipelineActivityTypeProperties `json:"typeProperties,omitempty"`
32041	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
32042	AdditionalProperties map[string]interface{} `json:""`
32043	// Name - Activity name.
32044	Name *string `json:"name,omitempty"`
32045	// Description - Activity description.
32046	Description *string `json:"description,omitempty"`
32047	// DependsOn - Activity depends on condition.
32048	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
32049	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
32050	Type TypeBasicActivity `json:"type,omitempty"`
32051}
32052
32053// MarshalJSON is the custom marshaler for ExecutePipelineActivity.
32054func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) {
32055	epa.Type = TypeExecutePipeline
32056	objectMap := make(map[string]interface{})
32057	if epa.ExecutePipelineActivityTypeProperties != nil {
32058		objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties
32059	}
32060	if epa.Name != nil {
32061		objectMap["name"] = epa.Name
32062	}
32063	if epa.Description != nil {
32064		objectMap["description"] = epa.Description
32065	}
32066	if epa.DependsOn != nil {
32067		objectMap["dependsOn"] = epa.DependsOn
32068	}
32069	if epa.Type != "" {
32070		objectMap["type"] = epa.Type
32071	}
32072	for k, v := range epa.AdditionalProperties {
32073		objectMap[k] = v
32074	}
32075	return json.Marshal(objectMap)
32076}
32077
32078// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity.
32079func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
32080	return nil, false
32081}
32082
32083// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity.
32084func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
32085	return nil, false
32086}
32087
32088// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity.
32089func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
32090	return nil, false
32091}
32092
32093// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
32094func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
32095	return nil, false
32096}
32097
32098// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity.
32099func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
32100	return nil, false
32101}
32102
32103// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity.
32104func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) {
32105	return nil, false
32106}
32107
32108// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity.
32109func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) {
32110	return nil, false
32111}
32112
32113// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity.
32114func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
32115	return nil, false
32116}
32117
32118// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity.
32119func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) {
32120	return nil, false
32121}
32122
32123// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity.
32124func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
32125	return nil, false
32126}
32127
32128// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity.
32129func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
32130	return nil, false
32131}
32132
32133// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity.
32134func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
32135	return nil, false
32136}
32137
32138// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity.
32139func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
32140	return nil, false
32141}
32142
32143// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity.
32144func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
32145	return nil, false
32146}
32147
32148// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity.
32149func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
32150	return nil, false
32151}
32152
32153// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity.
32154func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) {
32155	return nil, false
32156}
32157
32158// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
32159func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
32160	return nil, false
32161}
32162
32163// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity.
32164func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
32165	return nil, false
32166}
32167
32168// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity.
32169func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) {
32170	return nil, false
32171}
32172
32173// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity.
32174func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) {
32175	return nil, false
32176}
32177
32178// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity.
32179func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) {
32180	return nil, false
32181}
32182
32183// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity.
32184func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) {
32185	return nil, false
32186}
32187
32188// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity.
32189func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
32190	return nil, false
32191}
32192
32193// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity.
32194func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
32195	return &epa, true
32196}
32197
32198// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
32199func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) {
32200	return nil, false
32201}
32202
32203// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity.
32204func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
32205	return &epa, true
32206}
32207
32208// AsActivity is the BasicActivity implementation for ExecutePipelineActivity.
32209func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) {
32210	return nil, false
32211}
32212
32213// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity.
32214func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) {
32215	return &epa, true
32216}
32217
32218// UnmarshalJSON is the custom unmarshaler for ExecutePipelineActivity struct.
32219func (epa *ExecutePipelineActivity) UnmarshalJSON(body []byte) error {
32220	var m map[string]*json.RawMessage
32221	err := json.Unmarshal(body, &m)
32222	if err != nil {
32223		return err
32224	}
32225	for k, v := range m {
32226		switch k {
32227		case "typeProperties":
32228			if v != nil {
32229				var executePipelineActivityTypeProperties ExecutePipelineActivityTypeProperties
32230				err = json.Unmarshal(*v, &executePipelineActivityTypeProperties)
32231				if err != nil {
32232					return err
32233				}
32234				epa.ExecutePipelineActivityTypeProperties = &executePipelineActivityTypeProperties
32235			}
32236		default:
32237			if v != nil {
32238				var additionalProperties interface{}
32239				err = json.Unmarshal(*v, &additionalProperties)
32240				if err != nil {
32241					return err
32242				}
32243				if epa.AdditionalProperties == nil {
32244					epa.AdditionalProperties = make(map[string]interface{})
32245				}
32246				epa.AdditionalProperties[k] = additionalProperties
32247			}
32248		case "name":
32249			if v != nil {
32250				var name string
32251				err = json.Unmarshal(*v, &name)
32252				if err != nil {
32253					return err
32254				}
32255				epa.Name = &name
32256			}
32257		case "description":
32258			if v != nil {
32259				var description string
32260				err = json.Unmarshal(*v, &description)
32261				if err != nil {
32262					return err
32263				}
32264				epa.Description = &description
32265			}
32266		case "dependsOn":
32267			if v != nil {
32268				var dependsOn []ActivityDependency
32269				err = json.Unmarshal(*v, &dependsOn)
32270				if err != nil {
32271					return err
32272				}
32273				epa.DependsOn = &dependsOn
32274			}
32275		case "type":
32276			if v != nil {
32277				var typeVar TypeBasicActivity
32278				err = json.Unmarshal(*v, &typeVar)
32279				if err != nil {
32280					return err
32281				}
32282				epa.Type = typeVar
32283			}
32284		}
32285	}
32286
32287	return nil
32288}
32289
32290// ExecutePipelineActivityTypeProperties execute pipeline activity properties.
32291type ExecutePipelineActivityTypeProperties struct {
32292	// Pipeline - Pipeline reference.
32293	Pipeline *PipelineReference `json:"pipeline,omitempty"`
32294	// Parameters - Pipeline parameters.
32295	Parameters map[string]interface{} `json:"parameters"`
32296	// WaitOnCompletion - Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.
32297	WaitOnCompletion *bool `json:"waitOnCompletion,omitempty"`
32298}
32299
32300// MarshalJSON is the custom marshaler for ExecutePipelineActivityTypeProperties.
32301func (epatp ExecutePipelineActivityTypeProperties) MarshalJSON() ([]byte, error) {
32302	objectMap := make(map[string]interface{})
32303	if epatp.Pipeline != nil {
32304		objectMap["pipeline"] = epatp.Pipeline
32305	}
32306	if epatp.Parameters != nil {
32307		objectMap["parameters"] = epatp.Parameters
32308	}
32309	if epatp.WaitOnCompletion != nil {
32310		objectMap["waitOnCompletion"] = epatp.WaitOnCompletion
32311	}
32312	return json.Marshal(objectMap)
32313}
32314
32315// ExecuteSSISPackageActivity execute SSIS package activity.
32316type ExecuteSSISPackageActivity struct {
32317	// ExecuteSSISPackageActivityTypeProperties - Execute SSIS package activity properties.
32318	*ExecuteSSISPackageActivityTypeProperties `json:"typeProperties,omitempty"`
32319	// LinkedServiceName - Linked service reference.
32320	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
32321	// Policy - Activity policy.
32322	Policy *ActivityPolicy `json:"policy,omitempty"`
32323	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
32324	AdditionalProperties map[string]interface{} `json:""`
32325	// Name - Activity name.
32326	Name *string `json:"name,omitempty"`
32327	// Description - Activity description.
32328	Description *string `json:"description,omitempty"`
32329	// DependsOn - Activity depends on condition.
32330	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
32331	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
32332	Type TypeBasicActivity `json:"type,omitempty"`
32333}
32334
32335// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivity.
32336func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) {
32337	espa.Type = TypeExecuteSSISPackage
32338	objectMap := make(map[string]interface{})
32339	if espa.ExecuteSSISPackageActivityTypeProperties != nil {
32340		objectMap["typeProperties"] = espa.ExecuteSSISPackageActivityTypeProperties
32341	}
32342	if espa.LinkedServiceName != nil {
32343		objectMap["linkedServiceName"] = espa.LinkedServiceName
32344	}
32345	if espa.Policy != nil {
32346		objectMap["policy"] = espa.Policy
32347	}
32348	if espa.Name != nil {
32349		objectMap["name"] = espa.Name
32350	}
32351	if espa.Description != nil {
32352		objectMap["description"] = espa.Description
32353	}
32354	if espa.DependsOn != nil {
32355		objectMap["dependsOn"] = espa.DependsOn
32356	}
32357	if espa.Type != "" {
32358		objectMap["type"] = espa.Type
32359	}
32360	for k, v := range espa.AdditionalProperties {
32361		objectMap[k] = v
32362	}
32363	return json.Marshal(objectMap)
32364}
32365
32366// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32367func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
32368	return nil, false
32369}
32370
32371// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32372func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
32373	return nil, false
32374}
32375
32376// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32377func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
32378	return nil, false
32379}
32380
32381// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32382func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
32383	return nil, false
32384}
32385
32386// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32387func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
32388	return nil, false
32389}
32390
32391// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32392func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) {
32393	return nil, false
32394}
32395
32396// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32397func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) {
32398	return nil, false
32399}
32400
32401// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32402func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
32403	return nil, false
32404}
32405
32406// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32407func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) {
32408	return nil, false
32409}
32410
32411// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32412func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
32413	return &espa, true
32414}
32415
32416// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32417func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
32418	return nil, false
32419}
32420
32421// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32422func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
32423	return nil, false
32424}
32425
32426// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32427func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
32428	return nil, false
32429}
32430
32431// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32432func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
32433	return nil, false
32434}
32435
32436// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32437func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
32438	return nil, false
32439}
32440
32441// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32442func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) {
32443	return nil, false
32444}
32445
32446// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32447func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
32448	return nil, false
32449}
32450
32451// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32452func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
32453	return &espa, true
32454}
32455
32456// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32457func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) {
32458	return nil, false
32459}
32460
32461// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32462func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) {
32463	return nil, false
32464}
32465
32466// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32467func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) {
32468	return nil, false
32469}
32470
32471// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32472func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) {
32473	return nil, false
32474}
32475
32476// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32477func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
32478	return nil, false
32479}
32480
32481// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32482func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
32483	return nil, false
32484}
32485
32486// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32487func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) {
32488	return nil, false
32489}
32490
32491// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32492func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
32493	return nil, false
32494}
32495
32496// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32497func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) {
32498	return nil, false
32499}
32500
32501// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity.
32502func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) {
32503	return &espa, true
32504}
32505
32506// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct.
32507func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error {
32508	var m map[string]*json.RawMessage
32509	err := json.Unmarshal(body, &m)
32510	if err != nil {
32511		return err
32512	}
32513	for k, v := range m {
32514		switch k {
32515		case "typeProperties":
32516			if v != nil {
32517				var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties
32518				err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties)
32519				if err != nil {
32520					return err
32521				}
32522				espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties
32523			}
32524		case "linkedServiceName":
32525			if v != nil {
32526				var linkedServiceName LinkedServiceReference
32527				err = json.Unmarshal(*v, &linkedServiceName)
32528				if err != nil {
32529					return err
32530				}
32531				espa.LinkedServiceName = &linkedServiceName
32532			}
32533		case "policy":
32534			if v != nil {
32535				var policy ActivityPolicy
32536				err = json.Unmarshal(*v, &policy)
32537				if err != nil {
32538					return err
32539				}
32540				espa.Policy = &policy
32541			}
32542		default:
32543			if v != nil {
32544				var additionalProperties interface{}
32545				err = json.Unmarshal(*v, &additionalProperties)
32546				if err != nil {
32547					return err
32548				}
32549				if espa.AdditionalProperties == nil {
32550					espa.AdditionalProperties = make(map[string]interface{})
32551				}
32552				espa.AdditionalProperties[k] = additionalProperties
32553			}
32554		case "name":
32555			if v != nil {
32556				var name string
32557				err = json.Unmarshal(*v, &name)
32558				if err != nil {
32559					return err
32560				}
32561				espa.Name = &name
32562			}
32563		case "description":
32564			if v != nil {
32565				var description string
32566				err = json.Unmarshal(*v, &description)
32567				if err != nil {
32568					return err
32569				}
32570				espa.Description = &description
32571			}
32572		case "dependsOn":
32573			if v != nil {
32574				var dependsOn []ActivityDependency
32575				err = json.Unmarshal(*v, &dependsOn)
32576				if err != nil {
32577					return err
32578				}
32579				espa.DependsOn = &dependsOn
32580			}
32581		case "type":
32582			if v != nil {
32583				var typeVar TypeBasicActivity
32584				err = json.Unmarshal(*v, &typeVar)
32585				if err != nil {
32586					return err
32587				}
32588				espa.Type = typeVar
32589			}
32590		}
32591	}
32592
32593	return nil
32594}
32595
32596// ExecuteSSISPackageActivityTypeProperties execute SSIS package activity properties.
32597type ExecuteSSISPackageActivityTypeProperties struct {
32598	// PackageLocation - SSIS package location.
32599	PackageLocation *SSISPackageLocation `json:"packageLocation,omitempty"`
32600	// Runtime - Specifies the runtime to execute SSIS package. Possible values include: 'X64', 'X86'
32601	Runtime SSISExecutionRuntime `json:"runtime,omitempty"`
32602	// LoggingLevel - The logging level of SSIS package execution.
32603	LoggingLevel *string `json:"loggingLevel,omitempty"`
32604	// EnvironmentPath - The environment path to execute the SSIS package.
32605	EnvironmentPath *string `json:"environmentPath,omitempty"`
32606	// ConnectVia - The integration runtime reference.
32607	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
32608	// ProjectParameters - The project level parameters to execute the SSIS package.
32609	ProjectParameters map[string]*SSISExecutionParameter `json:"projectParameters"`
32610	// PackageParameters - The package level parameters to execute the SSIS package.
32611	PackageParameters map[string]*SSISExecutionParameter `json:"packageParameters"`
32612	// ProjectConnectionManagers - The project level connection managers to execute the SSIS package.
32613	ProjectConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"projectConnectionManagers"`
32614	// PackageConnectionManagers - The package level connection managers to execute the SSIS package.
32615	PackageConnectionManagers map[string]map[string]*SSISExecutionParameter `json:"packageConnectionManagers"`
32616	// PropertyOverrides - The property overrides to execute the SSIS package.
32617	PropertyOverrides map[string]*SSISPropertyOverride `json:"propertyOverrides"`
32618}
32619
32620// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties.
32621func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) {
32622	objectMap := make(map[string]interface{})
32623	if espatp.PackageLocation != nil {
32624		objectMap["packageLocation"] = espatp.PackageLocation
32625	}
32626	if espatp.Runtime != "" {
32627		objectMap["runtime"] = espatp.Runtime
32628	}
32629	if espatp.LoggingLevel != nil {
32630		objectMap["loggingLevel"] = espatp.LoggingLevel
32631	}
32632	if espatp.EnvironmentPath != nil {
32633		objectMap["environmentPath"] = espatp.EnvironmentPath
32634	}
32635	if espatp.ConnectVia != nil {
32636		objectMap["connectVia"] = espatp.ConnectVia
32637	}
32638	if espatp.ProjectParameters != nil {
32639		objectMap["projectParameters"] = espatp.ProjectParameters
32640	}
32641	if espatp.PackageParameters != nil {
32642		objectMap["packageParameters"] = espatp.PackageParameters
32643	}
32644	if espatp.ProjectConnectionManagers != nil {
32645		objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers
32646	}
32647	if espatp.PackageConnectionManagers != nil {
32648		objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers
32649	}
32650	if espatp.PropertyOverrides != nil {
32651		objectMap["propertyOverrides"] = espatp.PropertyOverrides
32652	}
32653	return json.Marshal(objectMap)
32654}
32655
32656// BasicExecutionActivity base class for all execution activities.
32657type BasicExecutionActivity interface {
32658	AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool)
32659	AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool)
32660	AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool)
32661	AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool)
32662	AsGetMetadataActivity() (*GetMetadataActivity, bool)
32663	AsWebActivity() (*WebActivity, bool)
32664	AsLookupActivity() (*LookupActivity, bool)
32665	AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool)
32666	AsCustomActivity() (*CustomActivity, bool)
32667	AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool)
32668	AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool)
32669	AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool)
32670	AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool)
32671	AsHDInsightPigActivity() (*HDInsightPigActivity, bool)
32672	AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool)
32673	AsCopyActivity() (*CopyActivity, bool)
32674	AsExecutionActivity() (*ExecutionActivity, bool)
32675}
32676
32677// ExecutionActivity base class for all execution activities.
32678type ExecutionActivity struct {
32679	// LinkedServiceName - Linked service reference.
32680	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
32681	// Policy - Activity policy.
32682	Policy *ActivityPolicy `json:"policy,omitempty"`
32683	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
32684	AdditionalProperties map[string]interface{} `json:""`
32685	// Name - Activity name.
32686	Name *string `json:"name,omitempty"`
32687	// Description - Activity description.
32688	Description *string `json:"description,omitempty"`
32689	// DependsOn - Activity depends on condition.
32690	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
32691	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
32692	Type TypeBasicActivity `json:"type,omitempty"`
32693}
32694
32695func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error) {
32696	var m map[string]interface{}
32697	err := json.Unmarshal(body, &m)
32698	if err != nil {
32699		return nil, err
32700	}
32701
32702	switch m["type"] {
32703	case string(TypeDatabricksNotebook):
32704		var dna DatabricksNotebookActivity
32705		err := json.Unmarshal(body, &dna)
32706		return dna, err
32707	case string(TypeDataLakeAnalyticsUSQL):
32708		var dlaua DataLakeAnalyticsUSQLActivity
32709		err := json.Unmarshal(body, &dlaua)
32710		return dlaua, err
32711	case string(TypeAzureMLUpdateResource):
32712		var amura AzureMLUpdateResourceActivity
32713		err := json.Unmarshal(body, &amura)
32714		return amura, err
32715	case string(TypeAzureMLBatchExecution):
32716		var ambea AzureMLBatchExecutionActivity
32717		err := json.Unmarshal(body, &ambea)
32718		return ambea, err
32719	case string(TypeGetMetadata):
32720		var gma GetMetadataActivity
32721		err := json.Unmarshal(body, &gma)
32722		return gma, err
32723	case string(TypeWebActivity):
32724		var wa WebActivity
32725		err := json.Unmarshal(body, &wa)
32726		return wa, err
32727	case string(TypeLookup):
32728		var la LookupActivity
32729		err := json.Unmarshal(body, &la)
32730		return la, err
32731	case string(TypeSQLServerStoredProcedure):
32732		var ssspa SQLServerStoredProcedureActivity
32733		err := json.Unmarshal(body, &ssspa)
32734		return ssspa, err
32735	case string(TypeCustom):
32736		var ca CustomActivity
32737		err := json.Unmarshal(body, &ca)
32738		return ca, err
32739	case string(TypeExecuteSSISPackage):
32740		var espa ExecuteSSISPackageActivity
32741		err := json.Unmarshal(body, &espa)
32742		return espa, err
32743	case string(TypeHDInsightSpark):
32744		var hisa HDInsightSparkActivity
32745		err := json.Unmarshal(body, &hisa)
32746		return hisa, err
32747	case string(TypeHDInsightStreaming):
32748		var hisa HDInsightStreamingActivity
32749		err := json.Unmarshal(body, &hisa)
32750		return hisa, err
32751	case string(TypeHDInsightMapReduce):
32752		var himra HDInsightMapReduceActivity
32753		err := json.Unmarshal(body, &himra)
32754		return himra, err
32755	case string(TypeHDInsightPig):
32756		var hipa HDInsightPigActivity
32757		err := json.Unmarshal(body, &hipa)
32758		return hipa, err
32759	case string(TypeHDInsightHive):
32760		var hiha HDInsightHiveActivity
32761		err := json.Unmarshal(body, &hiha)
32762		return hiha, err
32763	case string(TypeCopy):
32764		var ca CopyActivity
32765		err := json.Unmarshal(body, &ca)
32766		return ca, err
32767	default:
32768		var ea ExecutionActivity
32769		err := json.Unmarshal(body, &ea)
32770		return ea, err
32771	}
32772}
32773func unmarshalBasicExecutionActivityArray(body []byte) ([]BasicExecutionActivity, error) {
32774	var rawMessages []*json.RawMessage
32775	err := json.Unmarshal(body, &rawMessages)
32776	if err != nil {
32777		return nil, err
32778	}
32779
32780	eaArray := make([]BasicExecutionActivity, len(rawMessages))
32781
32782	for index, rawMessage := range rawMessages {
32783		ea, err := unmarshalBasicExecutionActivity(*rawMessage)
32784		if err != nil {
32785			return nil, err
32786		}
32787		eaArray[index] = ea
32788	}
32789	return eaArray, nil
32790}
32791
32792// MarshalJSON is the custom marshaler for ExecutionActivity.
32793func (ea ExecutionActivity) MarshalJSON() ([]byte, error) {
32794	ea.Type = TypeExecution
32795	objectMap := make(map[string]interface{})
32796	if ea.LinkedServiceName != nil {
32797		objectMap["linkedServiceName"] = ea.LinkedServiceName
32798	}
32799	if ea.Policy != nil {
32800		objectMap["policy"] = ea.Policy
32801	}
32802	if ea.Name != nil {
32803		objectMap["name"] = ea.Name
32804	}
32805	if ea.Description != nil {
32806		objectMap["description"] = ea.Description
32807	}
32808	if ea.DependsOn != nil {
32809		objectMap["dependsOn"] = ea.DependsOn
32810	}
32811	if ea.Type != "" {
32812		objectMap["type"] = ea.Type
32813	}
32814	for k, v := range ea.AdditionalProperties {
32815		objectMap[k] = v
32816	}
32817	return json.Marshal(objectMap)
32818}
32819
32820// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity.
32821func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
32822	return nil, false
32823}
32824
32825// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity.
32826func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
32827	return nil, false
32828}
32829
32830// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity.
32831func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
32832	return nil, false
32833}
32834
32835// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity.
32836func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
32837	return nil, false
32838}
32839
32840// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity.
32841func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
32842	return nil, false
32843}
32844
32845// AsWebActivity is the BasicActivity implementation for ExecutionActivity.
32846func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) {
32847	return nil, false
32848}
32849
32850// AsLookupActivity is the BasicActivity implementation for ExecutionActivity.
32851func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) {
32852	return nil, false
32853}
32854
32855// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity.
32856func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
32857	return nil, false
32858}
32859
32860// AsCustomActivity is the BasicActivity implementation for ExecutionActivity.
32861func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) {
32862	return nil, false
32863}
32864
32865// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity.
32866func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
32867	return nil, false
32868}
32869
32870// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity.
32871func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
32872	return nil, false
32873}
32874
32875// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity.
32876func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
32877	return nil, false
32878}
32879
32880// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity.
32881func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
32882	return nil, false
32883}
32884
32885// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity.
32886func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
32887	return nil, false
32888}
32889
32890// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity.
32891func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
32892	return nil, false
32893}
32894
32895// AsCopyActivity is the BasicActivity implementation for ExecutionActivity.
32896func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) {
32897	return nil, false
32898}
32899
32900// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity.
32901func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
32902	return &ea, true
32903}
32904
32905// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity.
32906func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
32907	return &ea, true
32908}
32909
32910// AsFilterActivity is the BasicActivity implementation for ExecutionActivity.
32911func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) {
32912	return nil, false
32913}
32914
32915// AsUntilActivity is the BasicActivity implementation for ExecutionActivity.
32916func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) {
32917	return nil, false
32918}
32919
32920// AsWaitActivity is the BasicActivity implementation for ExecutionActivity.
32921func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) {
32922	return nil, false
32923}
32924
32925// AsForEachActivity is the BasicActivity implementation for ExecutionActivity.
32926func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) {
32927	return nil, false
32928}
32929
32930// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity.
32931func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
32932	return nil, false
32933}
32934
32935// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity.
32936func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
32937	return nil, false
32938}
32939
32940// AsControlActivity is the BasicActivity implementation for ExecutionActivity.
32941func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) {
32942	return nil, false
32943}
32944
32945// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity.
32946func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
32947	return nil, false
32948}
32949
32950// AsActivity is the BasicActivity implementation for ExecutionActivity.
32951func (ea ExecutionActivity) AsActivity() (*Activity, bool) {
32952	return nil, false
32953}
32954
32955// AsBasicActivity is the BasicActivity implementation for ExecutionActivity.
32956func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) {
32957	return &ea, true
32958}
32959
32960// Expression azure Data Factory expression definition.
32961type Expression struct {
32962	// Type - Expression type.
32963	Type *string `json:"type,omitempty"`
32964	// Value - Expression value.
32965	Value *string `json:"value,omitempty"`
32966}
32967
32968// Factory factory resource type.
32969type Factory struct {
32970	autorest.Response `json:"-"`
32971	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
32972	AdditionalProperties map[string]interface{} `json:""`
32973	// Identity - Managed service identity of the factory.
32974	Identity *FactoryIdentity `json:"identity,omitempty"`
32975	// FactoryProperties - Properties of the factory.
32976	*FactoryProperties `json:"properties,omitempty"`
32977	// ID - The resource identifier.
32978	ID *string `json:"id,omitempty"`
32979	// Name - The resource name.
32980	Name *string `json:"name,omitempty"`
32981	// Type - The resource type.
32982	Type *string `json:"type,omitempty"`
32983	// Location - The resource location.
32984	Location *string `json:"location,omitempty"`
32985	// Tags - The resource tags.
32986	Tags map[string]*string `json:"tags"`
32987}
32988
32989// MarshalJSON is the custom marshaler for Factory.
32990func (f Factory) MarshalJSON() ([]byte, error) {
32991	objectMap := make(map[string]interface{})
32992	if f.Identity != nil {
32993		objectMap["identity"] = f.Identity
32994	}
32995	if f.FactoryProperties != nil {
32996		objectMap["properties"] = f.FactoryProperties
32997	}
32998	if f.ID != nil {
32999		objectMap["id"] = f.ID
33000	}
33001	if f.Name != nil {
33002		objectMap["name"] = f.Name
33003	}
33004	if f.Type != nil {
33005		objectMap["type"] = f.Type
33006	}
33007	if f.Location != nil {
33008		objectMap["location"] = f.Location
33009	}
33010	if f.Tags != nil {
33011		objectMap["tags"] = f.Tags
33012	}
33013	for k, v := range f.AdditionalProperties {
33014		objectMap[k] = v
33015	}
33016	return json.Marshal(objectMap)
33017}
33018
33019// UnmarshalJSON is the custom unmarshaler for Factory struct.
33020func (f *Factory) UnmarshalJSON(body []byte) error {
33021	var m map[string]*json.RawMessage
33022	err := json.Unmarshal(body, &m)
33023	if err != nil {
33024		return err
33025	}
33026	for k, v := range m {
33027		switch k {
33028		default:
33029			if v != nil {
33030				var additionalProperties interface{}
33031				err = json.Unmarshal(*v, &additionalProperties)
33032				if err != nil {
33033					return err
33034				}
33035				if f.AdditionalProperties == nil {
33036					f.AdditionalProperties = make(map[string]interface{})
33037				}
33038				f.AdditionalProperties[k] = additionalProperties
33039			}
33040		case "identity":
33041			if v != nil {
33042				var identity FactoryIdentity
33043				err = json.Unmarshal(*v, &identity)
33044				if err != nil {
33045					return err
33046				}
33047				f.Identity = &identity
33048			}
33049		case "properties":
33050			if v != nil {
33051				var factoryProperties FactoryProperties
33052				err = json.Unmarshal(*v, &factoryProperties)
33053				if err != nil {
33054					return err
33055				}
33056				f.FactoryProperties = &factoryProperties
33057			}
33058		case "id":
33059			if v != nil {
33060				var ID string
33061				err = json.Unmarshal(*v, &ID)
33062				if err != nil {
33063					return err
33064				}
33065				f.ID = &ID
33066			}
33067		case "name":
33068			if v != nil {
33069				var name string
33070				err = json.Unmarshal(*v, &name)
33071				if err != nil {
33072					return err
33073				}
33074				f.Name = &name
33075			}
33076		case "type":
33077			if v != nil {
33078				var typeVar string
33079				err = json.Unmarshal(*v, &typeVar)
33080				if err != nil {
33081					return err
33082				}
33083				f.Type = &typeVar
33084			}
33085		case "location":
33086			if v != nil {
33087				var location string
33088				err = json.Unmarshal(*v, &location)
33089				if err != nil {
33090					return err
33091				}
33092				f.Location = &location
33093			}
33094		case "tags":
33095			if v != nil {
33096				var tags map[string]*string
33097				err = json.Unmarshal(*v, &tags)
33098				if err != nil {
33099					return err
33100				}
33101				f.Tags = tags
33102			}
33103		}
33104	}
33105
33106	return nil
33107}
33108
33109// FactoryIdentity identity properties of the factory resource.
33110type FactoryIdentity struct {
33111	// Type - The identity type. Currently the only supported type is 'SystemAssigned'.
33112	Type *string `json:"type,omitempty"`
33113	// PrincipalID - The principal id of the identity.
33114	PrincipalID *uuid.UUID `json:"principalId,omitempty"`
33115	// TenantID - The client tenant id of the identity.
33116	TenantID *uuid.UUID `json:"tenantId,omitempty"`
33117}
33118
33119// FactoryListResponse a list of factory resources.
33120type FactoryListResponse struct {
33121	autorest.Response `json:"-"`
33122	// Value - List of factories.
33123	Value *[]Factory `json:"value,omitempty"`
33124	// NextLink - The link to the next page of results, if any remaining results exist.
33125	NextLink *string `json:"nextLink,omitempty"`
33126}
33127
33128// FactoryListResponseIterator provides access to a complete listing of Factory values.
33129type FactoryListResponseIterator struct {
33130	i    int
33131	page FactoryListResponsePage
33132}
33133
33134// Next advances to the next value.  If there was an error making
33135// the request the iterator does not advance and the error is returned.
33136func (iter *FactoryListResponseIterator) Next() error {
33137	iter.i++
33138	if iter.i < len(iter.page.Values()) {
33139		return nil
33140	}
33141	err := iter.page.Next()
33142	if err != nil {
33143		iter.i--
33144		return err
33145	}
33146	iter.i = 0
33147	return nil
33148}
33149
33150// NotDone returns true if the enumeration should be started or is not yet complete.
33151func (iter FactoryListResponseIterator) NotDone() bool {
33152	return iter.page.NotDone() && iter.i < len(iter.page.Values())
33153}
33154
33155// Response returns the raw server response from the last page request.
33156func (iter FactoryListResponseIterator) Response() FactoryListResponse {
33157	return iter.page.Response()
33158}
33159
33160// Value returns the current value or a zero-initialized value if the
33161// iterator has advanced beyond the end of the collection.
33162func (iter FactoryListResponseIterator) Value() Factory {
33163	if !iter.page.NotDone() {
33164		return Factory{}
33165	}
33166	return iter.page.Values()[iter.i]
33167}
33168
33169// IsEmpty returns true if the ListResult contains no values.
33170func (flr FactoryListResponse) IsEmpty() bool {
33171	return flr.Value == nil || len(*flr.Value) == 0
33172}
33173
33174// factoryListResponsePreparer prepares a request to retrieve the next set of results.
33175// It returns nil if no more results exist.
33176func (flr FactoryListResponse) factoryListResponsePreparer() (*http.Request, error) {
33177	if flr.NextLink == nil || len(to.String(flr.NextLink)) < 1 {
33178		return nil, nil
33179	}
33180	return autorest.Prepare(&http.Request{},
33181		autorest.AsJSON(),
33182		autorest.AsGet(),
33183		autorest.WithBaseURL(to.String(flr.NextLink)))
33184}
33185
33186// FactoryListResponsePage contains a page of Factory values.
33187type FactoryListResponsePage struct {
33188	fn  func(FactoryListResponse) (FactoryListResponse, error)
33189	flr FactoryListResponse
33190}
33191
33192// Next advances to the next page of values.  If there was an error making
33193// the request the page does not advance and the error is returned.
33194func (page *FactoryListResponsePage) Next() error {
33195	next, err := page.fn(page.flr)
33196	if err != nil {
33197		return err
33198	}
33199	page.flr = next
33200	return nil
33201}
33202
33203// NotDone returns true if the page enumeration should be started or is not yet complete.
33204func (page FactoryListResponsePage) NotDone() bool {
33205	return !page.flr.IsEmpty()
33206}
33207
33208// Response returns the raw server response from the last page request.
33209func (page FactoryListResponsePage) Response() FactoryListResponse {
33210	return page.flr
33211}
33212
33213// Values returns the slice of values for the current page or nil if there are no values.
33214func (page FactoryListResponsePage) Values() []Factory {
33215	if page.flr.IsEmpty() {
33216		return nil
33217	}
33218	return *page.flr.Value
33219}
33220
33221// FactoryProperties factory resource properties.
33222type FactoryProperties struct {
33223	// ProvisioningState - Factory provisioning state, example Succeeded.
33224	ProvisioningState *string `json:"provisioningState,omitempty"`
33225	// CreateTime - Time the factory was created in ISO8601 format.
33226	CreateTime *date.Time `json:"createTime,omitempty"`
33227	// Version - Version of the factory.
33228	Version *string `json:"version,omitempty"`
33229}
33230
33231// FactoryUpdateParameters parameters for updating a factory resource.
33232type FactoryUpdateParameters struct {
33233	// Tags - The resource tags.
33234	Tags map[string]*string `json:"tags"`
33235	// Identity - Managed service identity of the factory.
33236	Identity *FactoryIdentity `json:"identity,omitempty"`
33237}
33238
33239// MarshalJSON is the custom marshaler for FactoryUpdateParameters.
33240func (fup FactoryUpdateParameters) MarshalJSON() ([]byte, error) {
33241	objectMap := make(map[string]interface{})
33242	if fup.Tags != nil {
33243		objectMap["tags"] = fup.Tags
33244	}
33245	if fup.Identity != nil {
33246		objectMap["identity"] = fup.Identity
33247	}
33248	return json.Marshal(objectMap)
33249}
33250
33251// FileServerLinkedService file system linked service.
33252type FileServerLinkedService struct {
33253	// FileServerLinkedServiceTypeProperties - File system linked service properties.
33254	*FileServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
33255	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
33256	AdditionalProperties map[string]interface{} `json:""`
33257	// ConnectVia - The integration runtime reference.
33258	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
33259	// Description - Linked service description.
33260	Description *string `json:"description,omitempty"`
33261	// Parameters - Parameters for linked service.
33262	Parameters map[string]*ParameterSpecification `json:"parameters"`
33263	// Annotations - List of tags that can be used for describing the Dataset.
33264	Annotations *[]interface{} `json:"annotations,omitempty"`
33265	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
33266	Type TypeBasicLinkedService `json:"type,omitempty"`
33267}
33268
33269// MarshalJSON is the custom marshaler for FileServerLinkedService.
33270func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) {
33271	fsls.Type = TypeFileServer
33272	objectMap := make(map[string]interface{})
33273	if fsls.FileServerLinkedServiceTypeProperties != nil {
33274		objectMap["typeProperties"] = fsls.FileServerLinkedServiceTypeProperties
33275	}
33276	if fsls.ConnectVia != nil {
33277		objectMap["connectVia"] = fsls.ConnectVia
33278	}
33279	if fsls.Description != nil {
33280		objectMap["description"] = fsls.Description
33281	}
33282	if fsls.Parameters != nil {
33283		objectMap["parameters"] = fsls.Parameters
33284	}
33285	if fsls.Annotations != nil {
33286		objectMap["annotations"] = fsls.Annotations
33287	}
33288	if fsls.Type != "" {
33289		objectMap["type"] = fsls.Type
33290	}
33291	for k, v := range fsls.AdditionalProperties {
33292		objectMap[k] = v
33293	}
33294	return json.Marshal(objectMap)
33295}
33296
33297// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33298func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
33299	return nil, false
33300}
33301
33302// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33303func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
33304	return nil, false
33305}
33306
33307// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33308func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
33309	return nil, false
33310}
33311
33312// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33313func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
33314	return nil, false
33315}
33316
33317// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33318func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
33319	return nil, false
33320}
33321
33322// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33323func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
33324	return nil, false
33325}
33326
33327// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33328func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
33329	return nil, false
33330}
33331
33332// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33333func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
33334	return nil, false
33335}
33336
33337// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33338func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
33339	return nil, false
33340}
33341
33342// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33343func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
33344	return nil, false
33345}
33346
33347// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33348func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
33349	return nil, false
33350}
33351
33352// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33353func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
33354	return nil, false
33355}
33356
33357// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33358func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
33359	return nil, false
33360}
33361
33362// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33363func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
33364	return nil, false
33365}
33366
33367// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33368func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
33369	return nil, false
33370}
33371
33372// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33373func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
33374	return nil, false
33375}
33376
33377// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33378func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
33379	return nil, false
33380}
33381
33382// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33383func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
33384	return nil, false
33385}
33386
33387// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33388func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
33389	return nil, false
33390}
33391
33392// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33393func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
33394	return nil, false
33395}
33396
33397// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33398func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
33399	return nil, false
33400}
33401
33402// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33403func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
33404	return nil, false
33405}
33406
33407// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33408func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
33409	return nil, false
33410}
33411
33412// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33413func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
33414	return nil, false
33415}
33416
33417// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33418func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
33419	return nil, false
33420}
33421
33422// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33423func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
33424	return nil, false
33425}
33426
33427// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33428func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
33429	return nil, false
33430}
33431
33432// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33433func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
33434	return nil, false
33435}
33436
33437// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33438func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
33439	return nil, false
33440}
33441
33442// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33443func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
33444	return nil, false
33445}
33446
33447// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33448func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
33449	return nil, false
33450}
33451
33452// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33453func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
33454	return nil, false
33455}
33456
33457// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33458func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
33459	return nil, false
33460}
33461
33462// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33463func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
33464	return nil, false
33465}
33466
33467// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33468func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
33469	return nil, false
33470}
33471
33472// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33473func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
33474	return nil, false
33475}
33476
33477// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33478func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
33479	return nil, false
33480}
33481
33482// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33483func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
33484	return nil, false
33485}
33486
33487// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33488func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
33489	return nil, false
33490}
33491
33492// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33493func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
33494	return nil, false
33495}
33496
33497// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33498func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
33499	return nil, false
33500}
33501
33502// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33503func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
33504	return nil, false
33505}
33506
33507// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33508func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
33509	return nil, false
33510}
33511
33512// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33513func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
33514	return nil, false
33515}
33516
33517// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33518func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
33519	return nil, false
33520}
33521
33522// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33523func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
33524	return nil, false
33525}
33526
33527// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33528func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
33529	return nil, false
33530}
33531
33532// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33533func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
33534	return nil, false
33535}
33536
33537// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33538func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
33539	return nil, false
33540}
33541
33542// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33543func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
33544	return nil, false
33545}
33546
33547// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33548func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
33549	return nil, false
33550}
33551
33552// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33553func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
33554	return nil, false
33555}
33556
33557// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33558func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
33559	return nil, false
33560}
33561
33562// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33563func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
33564	return nil, false
33565}
33566
33567// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33568func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
33569	return nil, false
33570}
33571
33572// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33573func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
33574	return nil, false
33575}
33576
33577// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33578func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
33579	return nil, false
33580}
33581
33582// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33583func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
33584	return nil, false
33585}
33586
33587// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33588func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
33589	return nil, false
33590}
33591
33592// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33593func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
33594	return nil, false
33595}
33596
33597// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33598func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
33599	return &fsls, true
33600}
33601
33602// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33603func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
33604	return nil, false
33605}
33606
33607// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33608func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
33609	return nil, false
33610}
33611
33612// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33613func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
33614	return nil, false
33615}
33616
33617// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33618func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
33619	return nil, false
33620}
33621
33622// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33623func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
33624	return nil, false
33625}
33626
33627// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33628func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
33629	return nil, false
33630}
33631
33632// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33633func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
33634	return nil, false
33635}
33636
33637// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33638func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
33639	return nil, false
33640}
33641
33642// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33643func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
33644	return nil, false
33645}
33646
33647// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33648func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) {
33649	return nil, false
33650}
33651
33652// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService.
33653func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
33654	return &fsls, true
33655}
33656
33657// UnmarshalJSON is the custom unmarshaler for FileServerLinkedService struct.
33658func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error {
33659	var m map[string]*json.RawMessage
33660	err := json.Unmarshal(body, &m)
33661	if err != nil {
33662		return err
33663	}
33664	for k, v := range m {
33665		switch k {
33666		case "typeProperties":
33667			if v != nil {
33668				var fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties
33669				err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties)
33670				if err != nil {
33671					return err
33672				}
33673				fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties
33674			}
33675		default:
33676			if v != nil {
33677				var additionalProperties interface{}
33678				err = json.Unmarshal(*v, &additionalProperties)
33679				if err != nil {
33680					return err
33681				}
33682				if fsls.AdditionalProperties == nil {
33683					fsls.AdditionalProperties = make(map[string]interface{})
33684				}
33685				fsls.AdditionalProperties[k] = additionalProperties
33686			}
33687		case "connectVia":
33688			if v != nil {
33689				var connectVia IntegrationRuntimeReference
33690				err = json.Unmarshal(*v, &connectVia)
33691				if err != nil {
33692					return err
33693				}
33694				fsls.ConnectVia = &connectVia
33695			}
33696		case "description":
33697			if v != nil {
33698				var description string
33699				err = json.Unmarshal(*v, &description)
33700				if err != nil {
33701					return err
33702				}
33703				fsls.Description = &description
33704			}
33705		case "parameters":
33706			if v != nil {
33707				var parameters map[string]*ParameterSpecification
33708				err = json.Unmarshal(*v, &parameters)
33709				if err != nil {
33710					return err
33711				}
33712				fsls.Parameters = parameters
33713			}
33714		case "annotations":
33715			if v != nil {
33716				var annotations []interface{}
33717				err = json.Unmarshal(*v, &annotations)
33718				if err != nil {
33719					return err
33720				}
33721				fsls.Annotations = &annotations
33722			}
33723		case "type":
33724			if v != nil {
33725				var typeVar TypeBasicLinkedService
33726				err = json.Unmarshal(*v, &typeVar)
33727				if err != nil {
33728					return err
33729				}
33730				fsls.Type = typeVar
33731			}
33732		}
33733	}
33734
33735	return nil
33736}
33737
33738// FileServerLinkedServiceTypeProperties file system linked service properties.
33739type FileServerLinkedServiceTypeProperties struct {
33740	// Host - Host name of the server. Type: string (or Expression with resultType string).
33741	Host interface{} `json:"host,omitempty"`
33742	// UserID - User ID to logon the server. Type: string (or Expression with resultType string).
33743	UserID interface{} `json:"userId,omitempty"`
33744	// Password - Password to logon the server.
33745	Password BasicSecretBase `json:"password,omitempty"`
33746	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
33747	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
33748}
33749
33750// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct.
33751func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
33752	var m map[string]*json.RawMessage
33753	err := json.Unmarshal(body, &m)
33754	if err != nil {
33755		return err
33756	}
33757	for k, v := range m {
33758		switch k {
33759		case "host":
33760			if v != nil {
33761				var host interface{}
33762				err = json.Unmarshal(*v, &host)
33763				if err != nil {
33764					return err
33765				}
33766				fslstp.Host = host
33767			}
33768		case "userId":
33769			if v != nil {
33770				var userID interface{}
33771				err = json.Unmarshal(*v, &userID)
33772				if err != nil {
33773					return err
33774				}
33775				fslstp.UserID = userID
33776			}
33777		case "password":
33778			if v != nil {
33779				password, err := unmarshalBasicSecretBase(*v)
33780				if err != nil {
33781					return err
33782				}
33783				fslstp.Password = password
33784			}
33785		case "encryptedCredential":
33786			if v != nil {
33787				var encryptedCredential interface{}
33788				err = json.Unmarshal(*v, &encryptedCredential)
33789				if err != nil {
33790					return err
33791				}
33792				fslstp.EncryptedCredential = encryptedCredential
33793			}
33794		}
33795	}
33796
33797	return nil
33798}
33799
33800// FileShareDataset an on-premises file system dataset.
33801type FileShareDataset struct {
33802	// FileShareDatasetTypeProperties - On-premises file system dataset properties.
33803	*FileShareDatasetTypeProperties `json:"typeProperties,omitempty"`
33804	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
33805	AdditionalProperties map[string]interface{} `json:""`
33806	// Description - Dataset description.
33807	Description *string `json:"description,omitempty"`
33808	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
33809	Structure interface{} `json:"structure,omitempty"`
33810	// LinkedServiceName - Linked service reference.
33811	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
33812	// Parameters - Parameters for dataset.
33813	Parameters map[string]*ParameterSpecification `json:"parameters"`
33814	// Annotations - List of tags that can be used for describing the Dataset.
33815	Annotations *[]interface{} `json:"annotations,omitempty"`
33816	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
33817	Type TypeBasicDataset `json:"type,omitempty"`
33818}
33819
33820// MarshalJSON is the custom marshaler for FileShareDataset.
33821func (fsd FileShareDataset) MarshalJSON() ([]byte, error) {
33822	fsd.Type = TypeFileShare
33823	objectMap := make(map[string]interface{})
33824	if fsd.FileShareDatasetTypeProperties != nil {
33825		objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties
33826	}
33827	if fsd.Description != nil {
33828		objectMap["description"] = fsd.Description
33829	}
33830	objectMap["structure"] = fsd.Structure
33831	if fsd.LinkedServiceName != nil {
33832		objectMap["linkedServiceName"] = fsd.LinkedServiceName
33833	}
33834	if fsd.Parameters != nil {
33835		objectMap["parameters"] = fsd.Parameters
33836	}
33837	if fsd.Annotations != nil {
33838		objectMap["annotations"] = fsd.Annotations
33839	}
33840	if fsd.Type != "" {
33841		objectMap["type"] = fsd.Type
33842	}
33843	for k, v := range fsd.AdditionalProperties {
33844		objectMap[k] = v
33845	}
33846	return json.Marshal(objectMap)
33847}
33848
33849// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset.
33850func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
33851	return nil, false
33852}
33853
33854// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset.
33855func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
33856	return nil, false
33857}
33858
33859// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset.
33860func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
33861	return nil, false
33862}
33863
33864// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset.
33865func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
33866	return nil, false
33867}
33868
33869// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset.
33870func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
33871	return nil, false
33872}
33873
33874// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset.
33875func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
33876	return nil, false
33877}
33878
33879// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset.
33880func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
33881	return nil, false
33882}
33883
33884// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset.
33885func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
33886	return nil, false
33887}
33888
33889// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset.
33890func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
33891	return nil, false
33892}
33893
33894// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset.
33895func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
33896	return nil, false
33897}
33898
33899// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset.
33900func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
33901	return nil, false
33902}
33903
33904// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset.
33905func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
33906	return nil, false
33907}
33908
33909// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset.
33910func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
33911	return nil, false
33912}
33913
33914// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset.
33915func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
33916	return nil, false
33917}
33918
33919// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset.
33920func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
33921	return nil, false
33922}
33923
33924// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset.
33925func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
33926	return nil, false
33927}
33928
33929// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset.
33930func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
33931	return nil, false
33932}
33933
33934// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset.
33935func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
33936	return nil, false
33937}
33938
33939// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset.
33940func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
33941	return nil, false
33942}
33943
33944// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset.
33945func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
33946	return nil, false
33947}
33948
33949// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset.
33950func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
33951	return nil, false
33952}
33953
33954// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset.
33955func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
33956	return nil, false
33957}
33958
33959// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset.
33960func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
33961	return nil, false
33962}
33963
33964// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset.
33965func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
33966	return nil, false
33967}
33968
33969// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset.
33970func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
33971	return nil, false
33972}
33973
33974// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset.
33975func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
33976	return nil, false
33977}
33978
33979// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset.
33980func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
33981	return nil, false
33982}
33983
33984// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset.
33985func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
33986	return nil, false
33987}
33988
33989// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset.
33990func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
33991	return nil, false
33992}
33993
33994// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset.
33995func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
33996	return nil, false
33997}
33998
33999// AsHTTPDataset is the BasicDataset implementation for FileShareDataset.
34000func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) {
34001	return nil, false
34002}
34003
34004// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset.
34005func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
34006	return nil, false
34007}
34008
34009// AsWebTableDataset is the BasicDataset implementation for FileShareDataset.
34010func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) {
34011	return nil, false
34012}
34013
34014// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset.
34015func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
34016	return nil, false
34017}
34018
34019// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset.
34020func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
34021	return nil, false
34022}
34023
34024// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset.
34025func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
34026	return nil, false
34027}
34028
34029// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset.
34030func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
34031	return nil, false
34032}
34033
34034// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset.
34035func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
34036	return nil, false
34037}
34038
34039// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset.
34040func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
34041	return nil, false
34042}
34043
34044// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset.
34045func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
34046	return nil, false
34047}
34048
34049// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset.
34050func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
34051	return nil, false
34052}
34053
34054// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
34055func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
34056	return nil, false
34057}
34058
34059// AsFileShareDataset is the BasicDataset implementation for FileShareDataset.
34060func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) {
34061	return &fsd, true
34062}
34063
34064// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset.
34065func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
34066	return nil, false
34067}
34068
34069// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset.
34070func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
34071	return nil, false
34072}
34073
34074// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset.
34075func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
34076	return nil, false
34077}
34078
34079// AsCustomDataset is the BasicDataset implementation for FileShareDataset.
34080func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) {
34081	return nil, false
34082}
34083
34084// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset.
34085func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
34086	return nil, false
34087}
34088
34089// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset.
34090func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
34091	return nil, false
34092}
34093
34094// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset.
34095func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
34096	return nil, false
34097}
34098
34099// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset.
34100func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
34101	return nil, false
34102}
34103
34104// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset.
34105func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
34106	return nil, false
34107}
34108
34109// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset.
34110func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
34111	return nil, false
34112}
34113
34114// AsDataset is the BasicDataset implementation for FileShareDataset.
34115func (fsd FileShareDataset) AsDataset() (*Dataset, bool) {
34116	return nil, false
34117}
34118
34119// AsBasicDataset is the BasicDataset implementation for FileShareDataset.
34120func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) {
34121	return &fsd, true
34122}
34123
34124// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct.
34125func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error {
34126	var m map[string]*json.RawMessage
34127	err := json.Unmarshal(body, &m)
34128	if err != nil {
34129		return err
34130	}
34131	for k, v := range m {
34132		switch k {
34133		case "typeProperties":
34134			if v != nil {
34135				var fileShareDatasetTypeProperties FileShareDatasetTypeProperties
34136				err = json.Unmarshal(*v, &fileShareDatasetTypeProperties)
34137				if err != nil {
34138					return err
34139				}
34140				fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties
34141			}
34142		default:
34143			if v != nil {
34144				var additionalProperties interface{}
34145				err = json.Unmarshal(*v, &additionalProperties)
34146				if err != nil {
34147					return err
34148				}
34149				if fsd.AdditionalProperties == nil {
34150					fsd.AdditionalProperties = make(map[string]interface{})
34151				}
34152				fsd.AdditionalProperties[k] = additionalProperties
34153			}
34154		case "description":
34155			if v != nil {
34156				var description string
34157				err = json.Unmarshal(*v, &description)
34158				if err != nil {
34159					return err
34160				}
34161				fsd.Description = &description
34162			}
34163		case "structure":
34164			if v != nil {
34165				var structure interface{}
34166				err = json.Unmarshal(*v, &structure)
34167				if err != nil {
34168					return err
34169				}
34170				fsd.Structure = structure
34171			}
34172		case "linkedServiceName":
34173			if v != nil {
34174				var linkedServiceName LinkedServiceReference
34175				err = json.Unmarshal(*v, &linkedServiceName)
34176				if err != nil {
34177					return err
34178				}
34179				fsd.LinkedServiceName = &linkedServiceName
34180			}
34181		case "parameters":
34182			if v != nil {
34183				var parameters map[string]*ParameterSpecification
34184				err = json.Unmarshal(*v, &parameters)
34185				if err != nil {
34186					return err
34187				}
34188				fsd.Parameters = parameters
34189			}
34190		case "annotations":
34191			if v != nil {
34192				var annotations []interface{}
34193				err = json.Unmarshal(*v, &annotations)
34194				if err != nil {
34195					return err
34196				}
34197				fsd.Annotations = &annotations
34198			}
34199		case "type":
34200			if v != nil {
34201				var typeVar TypeBasicDataset
34202				err = json.Unmarshal(*v, &typeVar)
34203				if err != nil {
34204					return err
34205				}
34206				fsd.Type = typeVar
34207			}
34208		}
34209	}
34210
34211	return nil
34212}
34213
34214// FileShareDatasetTypeProperties on-premises file system dataset properties.
34215type FileShareDatasetTypeProperties struct {
34216	// FolderPath - The path of the on-premises file system. Type: string (or Expression with resultType string).
34217	FolderPath interface{} `json:"folderPath,omitempty"`
34218	// FileName - The name of the on-premises file system. Type: string (or Expression with resultType string).
34219	FileName interface{} `json:"fileName,omitempty"`
34220	// Format - The format of the files.
34221	Format BasicDatasetStorageFormat `json:"format,omitempty"`
34222	// 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).
34223	FileFilter interface{} `json:"fileFilter,omitempty"`
34224	// Compression - The data compression method used for the file system.
34225	Compression BasicDatasetCompression `json:"compression,omitempty"`
34226}
34227
34228// UnmarshalJSON is the custom unmarshaler for FileShareDatasetTypeProperties struct.
34229func (fsdtp *FileShareDatasetTypeProperties) UnmarshalJSON(body []byte) error {
34230	var m map[string]*json.RawMessage
34231	err := json.Unmarshal(body, &m)
34232	if err != nil {
34233		return err
34234	}
34235	for k, v := range m {
34236		switch k {
34237		case "folderPath":
34238			if v != nil {
34239				var folderPath interface{}
34240				err = json.Unmarshal(*v, &folderPath)
34241				if err != nil {
34242					return err
34243				}
34244				fsdtp.FolderPath = folderPath
34245			}
34246		case "fileName":
34247			if v != nil {
34248				var fileName interface{}
34249				err = json.Unmarshal(*v, &fileName)
34250				if err != nil {
34251					return err
34252				}
34253				fsdtp.FileName = fileName
34254			}
34255		case "format":
34256			if v != nil {
34257				formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
34258				if err != nil {
34259					return err
34260				}
34261				fsdtp.Format = formatVar
34262			}
34263		case "fileFilter":
34264			if v != nil {
34265				var fileFilter interface{}
34266				err = json.Unmarshal(*v, &fileFilter)
34267				if err != nil {
34268					return err
34269				}
34270				fsdtp.FileFilter = fileFilter
34271			}
34272		case "compression":
34273			if v != nil {
34274				compression, err := unmarshalBasicDatasetCompression(*v)
34275				if err != nil {
34276					return err
34277				}
34278				fsdtp.Compression = compression
34279			}
34280		}
34281	}
34282
34283	return nil
34284}
34285
34286// FileSystemSink a copy activity file system sink.
34287type FileSystemSink struct {
34288	// CopyBehavior - The type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'
34289	CopyBehavior CopyBehaviorType `json:"copyBehavior,omitempty"`
34290	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
34291	AdditionalProperties map[string]interface{} `json:""`
34292	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
34293	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
34294	// 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])).
34295	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
34296	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
34297	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
34298	// 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])).
34299	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
34300	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
34301	Type TypeBasicCopySink `json:"type,omitempty"`
34302}
34303
34304// MarshalJSON is the custom marshaler for FileSystemSink.
34305func (fss FileSystemSink) MarshalJSON() ([]byte, error) {
34306	fss.Type = TypeFileSystemSink
34307	objectMap := make(map[string]interface{})
34308	if fss.CopyBehavior != "" {
34309		objectMap["copyBehavior"] = fss.CopyBehavior
34310	}
34311	objectMap["writeBatchSize"] = fss.WriteBatchSize
34312	objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout
34313	objectMap["sinkRetryCount"] = fss.SinkRetryCount
34314	objectMap["sinkRetryWait"] = fss.SinkRetryWait
34315	if fss.Type != "" {
34316		objectMap["type"] = fss.Type
34317	}
34318	for k, v := range fss.AdditionalProperties {
34319		objectMap[k] = v
34320	}
34321	return json.Marshal(objectMap)
34322}
34323
34324// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink.
34325func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) {
34326	return nil, false
34327}
34328
34329// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink.
34330func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) {
34331	return nil, false
34332}
34333
34334// AsOdbcSink is the BasicCopySink implementation for FileSystemSink.
34335func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) {
34336	return nil, false
34337}
34338
34339// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink.
34340func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
34341	return nil, false
34342}
34343
34344// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink.
34345func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
34346	return nil, false
34347}
34348
34349// AsOracleSink is the BasicCopySink implementation for FileSystemSink.
34350func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) {
34351	return nil, false
34352}
34353
34354// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink.
34355func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) {
34356	return nil, false
34357}
34358
34359// AsSQLSink is the BasicCopySink implementation for FileSystemSink.
34360func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) {
34361	return nil, false
34362}
34363
34364// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink.
34365func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
34366	return nil, false
34367}
34368
34369// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink.
34370func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) {
34371	return &fss, true
34372}
34373
34374// AsBlobSink is the BasicCopySink implementation for FileSystemSink.
34375func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) {
34376	return nil, false
34377}
34378
34379// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink.
34380func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) {
34381	return nil, false
34382}
34383
34384// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink.
34385func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
34386	return nil, false
34387}
34388
34389// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink.
34390func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
34391	return nil, false
34392}
34393
34394// AsCopySink is the BasicCopySink implementation for FileSystemSink.
34395func (fss FileSystemSink) AsCopySink() (*CopySink, bool) {
34396	return nil, false
34397}
34398
34399// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink.
34400func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) {
34401	return &fss, true
34402}
34403
34404// FileSystemSource a copy activity file system source.
34405type FileSystemSource struct {
34406	// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
34407	Recursive interface{} `json:"recursive,omitempty"`
34408	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
34409	AdditionalProperties map[string]interface{} `json:""`
34410	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
34411	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
34412	// 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])).
34413	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
34414	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
34415	Type TypeBasicCopySource `json:"type,omitempty"`
34416}
34417
34418// MarshalJSON is the custom marshaler for FileSystemSource.
34419func (fss FileSystemSource) MarshalJSON() ([]byte, error) {
34420	fss.Type = TypeFileSystemSource
34421	objectMap := make(map[string]interface{})
34422	objectMap["recursive"] = fss.Recursive
34423	objectMap["sourceRetryCount"] = fss.SourceRetryCount
34424	objectMap["sourceRetryWait"] = fss.SourceRetryWait
34425	if fss.Type != "" {
34426		objectMap["type"] = fss.Type
34427	}
34428	for k, v := range fss.AdditionalProperties {
34429		objectMap[k] = v
34430	}
34431	return json.Marshal(objectMap)
34432}
34433
34434// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource.
34435func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
34436	return nil, false
34437}
34438
34439// AsResponsysSource is the BasicCopySource implementation for FileSystemSource.
34440func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) {
34441	return nil, false
34442}
34443
34444// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource.
34445func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
34446	return nil, false
34447}
34448
34449// AsVerticaSource is the BasicCopySource implementation for FileSystemSource.
34450func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) {
34451	return nil, false
34452}
34453
34454// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource.
34455func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) {
34456	return nil, false
34457}
34458
34459// AsZohoSource is the BasicCopySource implementation for FileSystemSource.
34460func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) {
34461	return nil, false
34462}
34463
34464// AsXeroSource is the BasicCopySource implementation for FileSystemSource.
34465func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) {
34466	return nil, false
34467}
34468
34469// AsSquareSource is the BasicCopySource implementation for FileSystemSource.
34470func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) {
34471	return nil, false
34472}
34473
34474// AsSparkSource is the BasicCopySource implementation for FileSystemSource.
34475func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) {
34476	return nil, false
34477}
34478
34479// AsShopifySource is the BasicCopySource implementation for FileSystemSource.
34480func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) {
34481	return nil, false
34482}
34483
34484// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource.
34485func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) {
34486	return nil, false
34487}
34488
34489// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource.
34490func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
34491	return nil, false
34492}
34493
34494// AsPrestoSource is the BasicCopySource implementation for FileSystemSource.
34495func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) {
34496	return nil, false
34497}
34498
34499// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource.
34500func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) {
34501	return nil, false
34502}
34503
34504// AsPaypalSource is the BasicCopySource implementation for FileSystemSource.
34505func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) {
34506	return nil, false
34507}
34508
34509// AsMarketoSource is the BasicCopySource implementation for FileSystemSource.
34510func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) {
34511	return nil, false
34512}
34513
34514// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource.
34515func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) {
34516	return nil, false
34517}
34518
34519// AsMagentoSource is the BasicCopySource implementation for FileSystemSource.
34520func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) {
34521	return nil, false
34522}
34523
34524// AsJiraSource is the BasicCopySource implementation for FileSystemSource.
34525func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) {
34526	return nil, false
34527}
34528
34529// AsImpalaSource is the BasicCopySource implementation for FileSystemSource.
34530func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) {
34531	return nil, false
34532}
34533
34534// AsHubspotSource is the BasicCopySource implementation for FileSystemSource.
34535func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) {
34536	return nil, false
34537}
34538
34539// AsHiveSource is the BasicCopySource implementation for FileSystemSource.
34540func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) {
34541	return nil, false
34542}
34543
34544// AsHBaseSource is the BasicCopySource implementation for FileSystemSource.
34545func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) {
34546	return nil, false
34547}
34548
34549// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource.
34550func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) {
34551	return nil, false
34552}
34553
34554// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource.
34555func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
34556	return nil, false
34557}
34558
34559// AsEloquaSource is the BasicCopySource implementation for FileSystemSource.
34560func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) {
34561	return nil, false
34562}
34563
34564// AsDrillSource is the BasicCopySource implementation for FileSystemSource.
34565func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) {
34566	return nil, false
34567}
34568
34569// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource.
34570func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
34571	return nil, false
34572}
34573
34574// AsConcurSource is the BasicCopySource implementation for FileSystemSource.
34575func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) {
34576	return nil, false
34577}
34578
34579// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource.
34580func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
34581	return nil, false
34582}
34583
34584// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource.
34585func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
34586	return nil, false
34587}
34588
34589// AsHTTPSource is the BasicCopySource implementation for FileSystemSource.
34590func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) {
34591	return nil, false
34592}
34593
34594// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource.
34595func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
34596	return nil, false
34597}
34598
34599// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource.
34600func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) {
34601	return nil, false
34602}
34603
34604// AsCassandraSource is the BasicCopySource implementation for FileSystemSource.
34605func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) {
34606	return nil, false
34607}
34608
34609// AsWebSource is the BasicCopySource implementation for FileSystemSource.
34610func (fss FileSystemSource) AsWebSource() (*WebSource, bool) {
34611	return nil, false
34612}
34613
34614// AsOracleSource is the BasicCopySource implementation for FileSystemSource.
34615func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) {
34616	return nil, false
34617}
34618
34619// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource.
34620func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
34621	return nil, false
34622}
34623
34624// AsHdfsSource is the BasicCopySource implementation for FileSystemSource.
34625func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) {
34626	return nil, false
34627}
34628
34629// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource.
34630func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) {
34631	return &fss, true
34632}
34633
34634// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource.
34635func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) {
34636	return nil, false
34637}
34638
34639// AsSQLSource is the BasicCopySource implementation for FileSystemSource.
34640func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) {
34641	return nil, false
34642}
34643
34644// AsSapEccSource is the BasicCopySource implementation for FileSystemSource.
34645func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) {
34646	return nil, false
34647}
34648
34649// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource.
34650func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
34651	return nil, false
34652}
34653
34654// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource.
34655func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) {
34656	return nil, false
34657}
34658
34659// AsRelationalSource is the BasicCopySource implementation for FileSystemSource.
34660func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) {
34661	return nil, false
34662}
34663
34664// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource.
34665func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) {
34666	return nil, false
34667}
34668
34669// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource.
34670func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
34671	return nil, false
34672}
34673
34674// AsBlobSource is the BasicCopySource implementation for FileSystemSource.
34675func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) {
34676	return nil, false
34677}
34678
34679// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource.
34680func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) {
34681	return nil, false
34682}
34683
34684// AsCopySource is the BasicCopySource implementation for FileSystemSource.
34685func (fss FileSystemSource) AsCopySource() (*CopySource, bool) {
34686	return nil, false
34687}
34688
34689// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource.
34690func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) {
34691	return &fss, true
34692}
34693
34694// FilterActivity filter and return results from input array based on the conditions.
34695type FilterActivity struct {
34696	// FilterActivityTypeProperties - Filter activity properties.
34697	*FilterActivityTypeProperties `json:"typeProperties,omitempty"`
34698	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
34699	AdditionalProperties map[string]interface{} `json:""`
34700	// Name - Activity name.
34701	Name *string `json:"name,omitempty"`
34702	// Description - Activity description.
34703	Description *string `json:"description,omitempty"`
34704	// DependsOn - Activity depends on condition.
34705	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
34706	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
34707	Type TypeBasicActivity `json:"type,omitempty"`
34708}
34709
34710// MarshalJSON is the custom marshaler for FilterActivity.
34711func (fa FilterActivity) MarshalJSON() ([]byte, error) {
34712	fa.Type = TypeFilter
34713	objectMap := make(map[string]interface{})
34714	if fa.FilterActivityTypeProperties != nil {
34715		objectMap["typeProperties"] = fa.FilterActivityTypeProperties
34716	}
34717	if fa.Name != nil {
34718		objectMap["name"] = fa.Name
34719	}
34720	if fa.Description != nil {
34721		objectMap["description"] = fa.Description
34722	}
34723	if fa.DependsOn != nil {
34724		objectMap["dependsOn"] = fa.DependsOn
34725	}
34726	if fa.Type != "" {
34727		objectMap["type"] = fa.Type
34728	}
34729	for k, v := range fa.AdditionalProperties {
34730		objectMap[k] = v
34731	}
34732	return json.Marshal(objectMap)
34733}
34734
34735// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity.
34736func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
34737	return nil, false
34738}
34739
34740// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity.
34741func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
34742	return nil, false
34743}
34744
34745// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity.
34746func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
34747	return nil, false
34748}
34749
34750// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity.
34751func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
34752	return nil, false
34753}
34754
34755// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity.
34756func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
34757	return nil, false
34758}
34759
34760// AsWebActivity is the BasicActivity implementation for FilterActivity.
34761func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) {
34762	return nil, false
34763}
34764
34765// AsLookupActivity is the BasicActivity implementation for FilterActivity.
34766func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) {
34767	return nil, false
34768}
34769
34770// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity.
34771func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
34772	return nil, false
34773}
34774
34775// AsCustomActivity is the BasicActivity implementation for FilterActivity.
34776func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) {
34777	return nil, false
34778}
34779
34780// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity.
34781func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
34782	return nil, false
34783}
34784
34785// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity.
34786func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
34787	return nil, false
34788}
34789
34790// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity.
34791func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
34792	return nil, false
34793}
34794
34795// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity.
34796func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
34797	return nil, false
34798}
34799
34800// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity.
34801func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
34802	return nil, false
34803}
34804
34805// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity.
34806func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
34807	return nil, false
34808}
34809
34810// AsCopyActivity is the BasicActivity implementation for FilterActivity.
34811func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) {
34812	return nil, false
34813}
34814
34815// AsExecutionActivity is the BasicActivity implementation for FilterActivity.
34816func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
34817	return nil, false
34818}
34819
34820// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity.
34821func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
34822	return nil, false
34823}
34824
34825// AsFilterActivity is the BasicActivity implementation for FilterActivity.
34826func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) {
34827	return &fa, true
34828}
34829
34830// AsUntilActivity is the BasicActivity implementation for FilterActivity.
34831func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) {
34832	return nil, false
34833}
34834
34835// AsWaitActivity is the BasicActivity implementation for FilterActivity.
34836func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) {
34837	return nil, false
34838}
34839
34840// AsForEachActivity is the BasicActivity implementation for FilterActivity.
34841func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) {
34842	return nil, false
34843}
34844
34845// AsIfConditionActivity is the BasicActivity implementation for FilterActivity.
34846func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
34847	return nil, false
34848}
34849
34850// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity.
34851func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
34852	return nil, false
34853}
34854
34855// AsControlActivity is the BasicActivity implementation for FilterActivity.
34856func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) {
34857	return nil, false
34858}
34859
34860// AsBasicControlActivity is the BasicActivity implementation for FilterActivity.
34861func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
34862	return &fa, true
34863}
34864
34865// AsActivity is the BasicActivity implementation for FilterActivity.
34866func (fa FilterActivity) AsActivity() (*Activity, bool) {
34867	return nil, false
34868}
34869
34870// AsBasicActivity is the BasicActivity implementation for FilterActivity.
34871func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) {
34872	return &fa, true
34873}
34874
34875// UnmarshalJSON is the custom unmarshaler for FilterActivity struct.
34876func (fa *FilterActivity) UnmarshalJSON(body []byte) error {
34877	var m map[string]*json.RawMessage
34878	err := json.Unmarshal(body, &m)
34879	if err != nil {
34880		return err
34881	}
34882	for k, v := range m {
34883		switch k {
34884		case "typeProperties":
34885			if v != nil {
34886				var filterActivityTypeProperties FilterActivityTypeProperties
34887				err = json.Unmarshal(*v, &filterActivityTypeProperties)
34888				if err != nil {
34889					return err
34890				}
34891				fa.FilterActivityTypeProperties = &filterActivityTypeProperties
34892			}
34893		default:
34894			if v != nil {
34895				var additionalProperties interface{}
34896				err = json.Unmarshal(*v, &additionalProperties)
34897				if err != nil {
34898					return err
34899				}
34900				if fa.AdditionalProperties == nil {
34901					fa.AdditionalProperties = make(map[string]interface{})
34902				}
34903				fa.AdditionalProperties[k] = additionalProperties
34904			}
34905		case "name":
34906			if v != nil {
34907				var name string
34908				err = json.Unmarshal(*v, &name)
34909				if err != nil {
34910					return err
34911				}
34912				fa.Name = &name
34913			}
34914		case "description":
34915			if v != nil {
34916				var description string
34917				err = json.Unmarshal(*v, &description)
34918				if err != nil {
34919					return err
34920				}
34921				fa.Description = &description
34922			}
34923		case "dependsOn":
34924			if v != nil {
34925				var dependsOn []ActivityDependency
34926				err = json.Unmarshal(*v, &dependsOn)
34927				if err != nil {
34928					return err
34929				}
34930				fa.DependsOn = &dependsOn
34931			}
34932		case "type":
34933			if v != nil {
34934				var typeVar TypeBasicActivity
34935				err = json.Unmarshal(*v, &typeVar)
34936				if err != nil {
34937					return err
34938				}
34939				fa.Type = typeVar
34940			}
34941		}
34942	}
34943
34944	return nil
34945}
34946
34947// FilterActivityTypeProperties fitler activity properties.
34948type FilterActivityTypeProperties struct {
34949	// Items - Input array on which filter should be applied.
34950	Items *Expression `json:"items,omitempty"`
34951	// Condition - Condition to be used for filtering the input.
34952	Condition *Expression `json:"condition,omitempty"`
34953}
34954
34955// ForEachActivity this activity is used for iterating over a collection and execute given activities.
34956type ForEachActivity struct {
34957	// ForEachActivityTypeProperties - ForEach activity properties.
34958	*ForEachActivityTypeProperties `json:"typeProperties,omitempty"`
34959	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
34960	AdditionalProperties map[string]interface{} `json:""`
34961	// Name - Activity name.
34962	Name *string `json:"name,omitempty"`
34963	// Description - Activity description.
34964	Description *string `json:"description,omitempty"`
34965	// DependsOn - Activity depends on condition.
34966	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
34967	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
34968	Type TypeBasicActivity `json:"type,omitempty"`
34969}
34970
34971// MarshalJSON is the custom marshaler for ForEachActivity.
34972func (fea ForEachActivity) MarshalJSON() ([]byte, error) {
34973	fea.Type = TypeForEach
34974	objectMap := make(map[string]interface{})
34975	if fea.ForEachActivityTypeProperties != nil {
34976		objectMap["typeProperties"] = fea.ForEachActivityTypeProperties
34977	}
34978	if fea.Name != nil {
34979		objectMap["name"] = fea.Name
34980	}
34981	if fea.Description != nil {
34982		objectMap["description"] = fea.Description
34983	}
34984	if fea.DependsOn != nil {
34985		objectMap["dependsOn"] = fea.DependsOn
34986	}
34987	if fea.Type != "" {
34988		objectMap["type"] = fea.Type
34989	}
34990	for k, v := range fea.AdditionalProperties {
34991		objectMap[k] = v
34992	}
34993	return json.Marshal(objectMap)
34994}
34995
34996// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity.
34997func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
34998	return nil, false
34999}
35000
35001// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity.
35002func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
35003	return nil, false
35004}
35005
35006// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity.
35007func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
35008	return nil, false
35009}
35010
35011// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity.
35012func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
35013	return nil, false
35014}
35015
35016// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity.
35017func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
35018	return nil, false
35019}
35020
35021// AsWebActivity is the BasicActivity implementation for ForEachActivity.
35022func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) {
35023	return nil, false
35024}
35025
35026// AsLookupActivity is the BasicActivity implementation for ForEachActivity.
35027func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) {
35028	return nil, false
35029}
35030
35031// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity.
35032func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
35033	return nil, false
35034}
35035
35036// AsCustomActivity is the BasicActivity implementation for ForEachActivity.
35037func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) {
35038	return nil, false
35039}
35040
35041// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity.
35042func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
35043	return nil, false
35044}
35045
35046// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity.
35047func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
35048	return nil, false
35049}
35050
35051// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity.
35052func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
35053	return nil, false
35054}
35055
35056// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity.
35057func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
35058	return nil, false
35059}
35060
35061// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity.
35062func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
35063	return nil, false
35064}
35065
35066// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity.
35067func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
35068	return nil, false
35069}
35070
35071// AsCopyActivity is the BasicActivity implementation for ForEachActivity.
35072func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) {
35073	return nil, false
35074}
35075
35076// AsExecutionActivity is the BasicActivity implementation for ForEachActivity.
35077func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
35078	return nil, false
35079}
35080
35081// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity.
35082func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
35083	return nil, false
35084}
35085
35086// AsFilterActivity is the BasicActivity implementation for ForEachActivity.
35087func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) {
35088	return nil, false
35089}
35090
35091// AsUntilActivity is the BasicActivity implementation for ForEachActivity.
35092func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) {
35093	return nil, false
35094}
35095
35096// AsWaitActivity is the BasicActivity implementation for ForEachActivity.
35097func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) {
35098	return nil, false
35099}
35100
35101// AsForEachActivity is the BasicActivity implementation for ForEachActivity.
35102func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) {
35103	return &fea, true
35104}
35105
35106// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity.
35107func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
35108	return nil, false
35109}
35110
35111// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity.
35112func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
35113	return nil, false
35114}
35115
35116// AsControlActivity is the BasicActivity implementation for ForEachActivity.
35117func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) {
35118	return nil, false
35119}
35120
35121// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity.
35122func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
35123	return &fea, true
35124}
35125
35126// AsActivity is the BasicActivity implementation for ForEachActivity.
35127func (fea ForEachActivity) AsActivity() (*Activity, bool) {
35128	return nil, false
35129}
35130
35131// AsBasicActivity is the BasicActivity implementation for ForEachActivity.
35132func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) {
35133	return &fea, true
35134}
35135
35136// UnmarshalJSON is the custom unmarshaler for ForEachActivity struct.
35137func (fea *ForEachActivity) UnmarshalJSON(body []byte) error {
35138	var m map[string]*json.RawMessage
35139	err := json.Unmarshal(body, &m)
35140	if err != nil {
35141		return err
35142	}
35143	for k, v := range m {
35144		switch k {
35145		case "typeProperties":
35146			if v != nil {
35147				var forEachActivityTypeProperties ForEachActivityTypeProperties
35148				err = json.Unmarshal(*v, &forEachActivityTypeProperties)
35149				if err != nil {
35150					return err
35151				}
35152				fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties
35153			}
35154		default:
35155			if v != nil {
35156				var additionalProperties interface{}
35157				err = json.Unmarshal(*v, &additionalProperties)
35158				if err != nil {
35159					return err
35160				}
35161				if fea.AdditionalProperties == nil {
35162					fea.AdditionalProperties = make(map[string]interface{})
35163				}
35164				fea.AdditionalProperties[k] = additionalProperties
35165			}
35166		case "name":
35167			if v != nil {
35168				var name string
35169				err = json.Unmarshal(*v, &name)
35170				if err != nil {
35171					return err
35172				}
35173				fea.Name = &name
35174			}
35175		case "description":
35176			if v != nil {
35177				var description string
35178				err = json.Unmarshal(*v, &description)
35179				if err != nil {
35180					return err
35181				}
35182				fea.Description = &description
35183			}
35184		case "dependsOn":
35185			if v != nil {
35186				var dependsOn []ActivityDependency
35187				err = json.Unmarshal(*v, &dependsOn)
35188				if err != nil {
35189					return err
35190				}
35191				fea.DependsOn = &dependsOn
35192			}
35193		case "type":
35194			if v != nil {
35195				var typeVar TypeBasicActivity
35196				err = json.Unmarshal(*v, &typeVar)
35197				if err != nil {
35198					return err
35199				}
35200				fea.Type = typeVar
35201			}
35202		}
35203	}
35204
35205	return nil
35206}
35207
35208// ForEachActivityTypeProperties forEach activity properties.
35209type ForEachActivityTypeProperties struct {
35210	// IsSequential - Should the loop be executed in sequence or in parallel (max 50)
35211	IsSequential *bool `json:"isSequential,omitempty"`
35212	// BatchCount - Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
35213	BatchCount *int32 `json:"batchCount,omitempty"`
35214	// Items - Collection to iterate.
35215	Items *Expression `json:"items,omitempty"`
35216	// Activities - List of activities to execute .
35217	Activities *[]BasicActivity `json:"activities,omitempty"`
35218}
35219
35220// UnmarshalJSON is the custom unmarshaler for ForEachActivityTypeProperties struct.
35221func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error {
35222	var m map[string]*json.RawMessage
35223	err := json.Unmarshal(body, &m)
35224	if err != nil {
35225		return err
35226	}
35227	for k, v := range m {
35228		switch k {
35229		case "isSequential":
35230			if v != nil {
35231				var isSequential bool
35232				err = json.Unmarshal(*v, &isSequential)
35233				if err != nil {
35234					return err
35235				}
35236				featp.IsSequential = &isSequential
35237			}
35238		case "batchCount":
35239			if v != nil {
35240				var batchCount int32
35241				err = json.Unmarshal(*v, &batchCount)
35242				if err != nil {
35243					return err
35244				}
35245				featp.BatchCount = &batchCount
35246			}
35247		case "items":
35248			if v != nil {
35249				var items Expression
35250				err = json.Unmarshal(*v, &items)
35251				if err != nil {
35252					return err
35253				}
35254				featp.Items = &items
35255			}
35256		case "activities":
35257			if v != nil {
35258				activities, err := unmarshalBasicActivityArray(*v)
35259				if err != nil {
35260					return err
35261				}
35262				featp.Activities = &activities
35263			}
35264		}
35265	}
35266
35267	return nil
35268}
35269
35270// FtpServerLinkedService a FTP server Linked Service.
35271type FtpServerLinkedService struct {
35272	// FtpServerLinkedServiceTypeProperties - Properties specific to this linked service type.
35273	*FtpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
35274	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
35275	AdditionalProperties map[string]interface{} `json:""`
35276	// ConnectVia - The integration runtime reference.
35277	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
35278	// Description - Linked service description.
35279	Description *string `json:"description,omitempty"`
35280	// Parameters - Parameters for linked service.
35281	Parameters map[string]*ParameterSpecification `json:"parameters"`
35282	// Annotations - List of tags that can be used for describing the Dataset.
35283	Annotations *[]interface{} `json:"annotations,omitempty"`
35284	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
35285	Type TypeBasicLinkedService `json:"type,omitempty"`
35286}
35287
35288// MarshalJSON is the custom marshaler for FtpServerLinkedService.
35289func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) {
35290	fsls.Type = TypeFtpServer
35291	objectMap := make(map[string]interface{})
35292	if fsls.FtpServerLinkedServiceTypeProperties != nil {
35293		objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties
35294	}
35295	if fsls.ConnectVia != nil {
35296		objectMap["connectVia"] = fsls.ConnectVia
35297	}
35298	if fsls.Description != nil {
35299		objectMap["description"] = fsls.Description
35300	}
35301	if fsls.Parameters != nil {
35302		objectMap["parameters"] = fsls.Parameters
35303	}
35304	if fsls.Annotations != nil {
35305		objectMap["annotations"] = fsls.Annotations
35306	}
35307	if fsls.Type != "" {
35308		objectMap["type"] = fsls.Type
35309	}
35310	for k, v := range fsls.AdditionalProperties {
35311		objectMap[k] = v
35312	}
35313	return json.Marshal(objectMap)
35314}
35315
35316// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35317func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
35318	return nil, false
35319}
35320
35321// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35322func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
35323	return nil, false
35324}
35325
35326// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35327func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
35328	return nil, false
35329}
35330
35331// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35332func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
35333	return nil, false
35334}
35335
35336// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35337func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
35338	return nil, false
35339}
35340
35341// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35342func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
35343	return nil, false
35344}
35345
35346// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35347func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
35348	return nil, false
35349}
35350
35351// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35352func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
35353	return nil, false
35354}
35355
35356// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35357func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
35358	return nil, false
35359}
35360
35361// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35362func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
35363	return nil, false
35364}
35365
35366// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35367func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
35368	return nil, false
35369}
35370
35371// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35372func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
35373	return nil, false
35374}
35375
35376// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35377func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
35378	return nil, false
35379}
35380
35381// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35382func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
35383	return nil, false
35384}
35385
35386// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35387func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
35388	return nil, false
35389}
35390
35391// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35392func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
35393	return nil, false
35394}
35395
35396// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35397func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
35398	return nil, false
35399}
35400
35401// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35402func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
35403	return nil, false
35404}
35405
35406// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35407func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
35408	return nil, false
35409}
35410
35411// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35412func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
35413	return nil, false
35414}
35415
35416// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35417func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
35418	return nil, false
35419}
35420
35421// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35422func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
35423	return nil, false
35424}
35425
35426// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35427func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
35428	return nil, false
35429}
35430
35431// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35432func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
35433	return nil, false
35434}
35435
35436// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35437func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
35438	return nil, false
35439}
35440
35441// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35442func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
35443	return nil, false
35444}
35445
35446// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35447func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
35448	return nil, false
35449}
35450
35451// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35452func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
35453	return nil, false
35454}
35455
35456// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35457func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
35458	return nil, false
35459}
35460
35461// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35462func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
35463	return nil, false
35464}
35465
35466// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35467func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
35468	return nil, false
35469}
35470
35471// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35472func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
35473	return nil, false
35474}
35475
35476// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35477func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
35478	return nil, false
35479}
35480
35481// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35482func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
35483	return nil, false
35484}
35485
35486// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35487func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
35488	return nil, false
35489}
35490
35491// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35492func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
35493	return nil, false
35494}
35495
35496// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35497func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
35498	return &fsls, true
35499}
35500
35501// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35502func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
35503	return nil, false
35504}
35505
35506// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35507func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
35508	return nil, false
35509}
35510
35511// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35512func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
35513	return nil, false
35514}
35515
35516// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35517func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
35518	return nil, false
35519}
35520
35521// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35522func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
35523	return nil, false
35524}
35525
35526// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35527func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
35528	return nil, false
35529}
35530
35531// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35532func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
35533	return nil, false
35534}
35535
35536// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35537func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
35538	return nil, false
35539}
35540
35541// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35542func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
35543	return nil, false
35544}
35545
35546// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35547func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
35548	return nil, false
35549}
35550
35551// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35552func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
35553	return nil, false
35554}
35555
35556// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35557func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
35558	return nil, false
35559}
35560
35561// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35562func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
35563	return nil, false
35564}
35565
35566// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35567func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
35568	return nil, false
35569}
35570
35571// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35572func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
35573	return nil, false
35574}
35575
35576// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35577func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
35578	return nil, false
35579}
35580
35581// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35582func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
35583	return nil, false
35584}
35585
35586// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35587func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
35588	return nil, false
35589}
35590
35591// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35592func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
35593	return nil, false
35594}
35595
35596// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35597func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
35598	return nil, false
35599}
35600
35601// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35602func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
35603	return nil, false
35604}
35605
35606// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35607func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
35608	return nil, false
35609}
35610
35611// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35612func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
35613	return nil, false
35614}
35615
35616// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35617func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
35618	return nil, false
35619}
35620
35621// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35622func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
35623	return nil, false
35624}
35625
35626// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35627func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
35628	return nil, false
35629}
35630
35631// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35632func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
35633	return nil, false
35634}
35635
35636// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35637func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
35638	return nil, false
35639}
35640
35641// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35642func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
35643	return nil, false
35644}
35645
35646// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35647func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
35648	return nil, false
35649}
35650
35651// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35652func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
35653	return nil, false
35654}
35655
35656// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35657func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
35658	return nil, false
35659}
35660
35661// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35662func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
35663	return nil, false
35664}
35665
35666// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35667func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) {
35668	return nil, false
35669}
35670
35671// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService.
35672func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
35673	return &fsls, true
35674}
35675
35676// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct.
35677func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error {
35678	var m map[string]*json.RawMessage
35679	err := json.Unmarshal(body, &m)
35680	if err != nil {
35681		return err
35682	}
35683	for k, v := range m {
35684		switch k {
35685		case "typeProperties":
35686			if v != nil {
35687				var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties
35688				err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties)
35689				if err != nil {
35690					return err
35691				}
35692				fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties
35693			}
35694		default:
35695			if v != nil {
35696				var additionalProperties interface{}
35697				err = json.Unmarshal(*v, &additionalProperties)
35698				if err != nil {
35699					return err
35700				}
35701				if fsls.AdditionalProperties == nil {
35702					fsls.AdditionalProperties = make(map[string]interface{})
35703				}
35704				fsls.AdditionalProperties[k] = additionalProperties
35705			}
35706		case "connectVia":
35707			if v != nil {
35708				var connectVia IntegrationRuntimeReference
35709				err = json.Unmarshal(*v, &connectVia)
35710				if err != nil {
35711					return err
35712				}
35713				fsls.ConnectVia = &connectVia
35714			}
35715		case "description":
35716			if v != nil {
35717				var description string
35718				err = json.Unmarshal(*v, &description)
35719				if err != nil {
35720					return err
35721				}
35722				fsls.Description = &description
35723			}
35724		case "parameters":
35725			if v != nil {
35726				var parameters map[string]*ParameterSpecification
35727				err = json.Unmarshal(*v, &parameters)
35728				if err != nil {
35729					return err
35730				}
35731				fsls.Parameters = parameters
35732			}
35733		case "annotations":
35734			if v != nil {
35735				var annotations []interface{}
35736				err = json.Unmarshal(*v, &annotations)
35737				if err != nil {
35738					return err
35739				}
35740				fsls.Annotations = &annotations
35741			}
35742		case "type":
35743			if v != nil {
35744				var typeVar TypeBasicLinkedService
35745				err = json.Unmarshal(*v, &typeVar)
35746				if err != nil {
35747					return err
35748				}
35749				fsls.Type = typeVar
35750			}
35751		}
35752	}
35753
35754	return nil
35755}
35756
35757// FtpServerLinkedServiceTypeProperties properties specific to this linked service type.
35758type FtpServerLinkedServiceTypeProperties struct {
35759	// Host - Host name of the FTP server. Type: string (or Expression with resultType string).
35760	Host interface{} `json:"host,omitempty"`
35761	// 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.
35762	Port interface{} `json:"port,omitempty"`
35763	// AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'FtpAuthenticationTypeBasic', 'FtpAuthenticationTypeAnonymous'
35764	AuthenticationType FtpAuthenticationType `json:"authenticationType,omitempty"`
35765	// UserName - Username to logon the FTP server. Type: string (or Expression with resultType string).
35766	UserName interface{} `json:"userName,omitempty"`
35767	// Password - Password to logon the FTP server.
35768	Password BasicSecretBase `json:"password,omitempty"`
35769	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
35770	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
35771	// EnableSsl - If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).
35772	EnableSsl interface{} `json:"enableSsl,omitempty"`
35773	// 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).
35774	EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
35775}
35776
35777// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedServiceTypeProperties struct.
35778func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
35779	var m map[string]*json.RawMessage
35780	err := json.Unmarshal(body, &m)
35781	if err != nil {
35782		return err
35783	}
35784	for k, v := range m {
35785		switch k {
35786		case "host":
35787			if v != nil {
35788				var host interface{}
35789				err = json.Unmarshal(*v, &host)
35790				if err != nil {
35791					return err
35792				}
35793				fslstp.Host = host
35794			}
35795		case "port":
35796			if v != nil {
35797				var port interface{}
35798				err = json.Unmarshal(*v, &port)
35799				if err != nil {
35800					return err
35801				}
35802				fslstp.Port = port
35803			}
35804		case "authenticationType":
35805			if v != nil {
35806				var authenticationType FtpAuthenticationType
35807				err = json.Unmarshal(*v, &authenticationType)
35808				if err != nil {
35809					return err
35810				}
35811				fslstp.AuthenticationType = authenticationType
35812			}
35813		case "userName":
35814			if v != nil {
35815				var userName interface{}
35816				err = json.Unmarshal(*v, &userName)
35817				if err != nil {
35818					return err
35819				}
35820				fslstp.UserName = userName
35821			}
35822		case "password":
35823			if v != nil {
35824				password, err := unmarshalBasicSecretBase(*v)
35825				if err != nil {
35826					return err
35827				}
35828				fslstp.Password = password
35829			}
35830		case "encryptedCredential":
35831			if v != nil {
35832				var encryptedCredential interface{}
35833				err = json.Unmarshal(*v, &encryptedCredential)
35834				if err != nil {
35835					return err
35836				}
35837				fslstp.EncryptedCredential = encryptedCredential
35838			}
35839		case "enableSsl":
35840			if v != nil {
35841				var enableSsl interface{}
35842				err = json.Unmarshal(*v, &enableSsl)
35843				if err != nil {
35844					return err
35845				}
35846				fslstp.EnableSsl = enableSsl
35847			}
35848		case "enableServerCertificateValidation":
35849			if v != nil {
35850				var enableServerCertificateValidation interface{}
35851				err = json.Unmarshal(*v, &enableServerCertificateValidation)
35852				if err != nil {
35853					return err
35854				}
35855				fslstp.EnableServerCertificateValidation = enableServerCertificateValidation
35856			}
35857		}
35858	}
35859
35860	return nil
35861}
35862
35863// GetMetadataActivity activity to get metadata of dataset
35864type GetMetadataActivity struct {
35865	// GetMetadataActivityTypeProperties - GetMetadata activity properties.
35866	*GetMetadataActivityTypeProperties `json:"typeProperties,omitempty"`
35867	// LinkedServiceName - Linked service reference.
35868	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
35869	// Policy - Activity policy.
35870	Policy *ActivityPolicy `json:"policy,omitempty"`
35871	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
35872	AdditionalProperties map[string]interface{} `json:""`
35873	// Name - Activity name.
35874	Name *string `json:"name,omitempty"`
35875	// Description - Activity description.
35876	Description *string `json:"description,omitempty"`
35877	// DependsOn - Activity depends on condition.
35878	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
35879	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
35880	Type TypeBasicActivity `json:"type,omitempty"`
35881}
35882
35883// MarshalJSON is the custom marshaler for GetMetadataActivity.
35884func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) {
35885	gma.Type = TypeGetMetadata
35886	objectMap := make(map[string]interface{})
35887	if gma.GetMetadataActivityTypeProperties != nil {
35888		objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties
35889	}
35890	if gma.LinkedServiceName != nil {
35891		objectMap["linkedServiceName"] = gma.LinkedServiceName
35892	}
35893	if gma.Policy != nil {
35894		objectMap["policy"] = gma.Policy
35895	}
35896	if gma.Name != nil {
35897		objectMap["name"] = gma.Name
35898	}
35899	if gma.Description != nil {
35900		objectMap["description"] = gma.Description
35901	}
35902	if gma.DependsOn != nil {
35903		objectMap["dependsOn"] = gma.DependsOn
35904	}
35905	if gma.Type != "" {
35906		objectMap["type"] = gma.Type
35907	}
35908	for k, v := range gma.AdditionalProperties {
35909		objectMap[k] = v
35910	}
35911	return json.Marshal(objectMap)
35912}
35913
35914// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity.
35915func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
35916	return nil, false
35917}
35918
35919// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity.
35920func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
35921	return nil, false
35922}
35923
35924// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity.
35925func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
35926	return nil, false
35927}
35928
35929// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
35930func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
35931	return nil, false
35932}
35933
35934// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity.
35935func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
35936	return &gma, true
35937}
35938
35939// AsWebActivity is the BasicActivity implementation for GetMetadataActivity.
35940func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) {
35941	return nil, false
35942}
35943
35944// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity.
35945func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) {
35946	return nil, false
35947}
35948
35949// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity.
35950func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
35951	return nil, false
35952}
35953
35954// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity.
35955func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) {
35956	return nil, false
35957}
35958
35959// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity.
35960func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
35961	return nil, false
35962}
35963
35964// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity.
35965func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
35966	return nil, false
35967}
35968
35969// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity.
35970func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
35971	return nil, false
35972}
35973
35974// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity.
35975func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
35976	return nil, false
35977}
35978
35979// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity.
35980func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
35981	return nil, false
35982}
35983
35984// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity.
35985func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
35986	return nil, false
35987}
35988
35989// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity.
35990func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) {
35991	return nil, false
35992}
35993
35994// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
35995func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
35996	return nil, false
35997}
35998
35999// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity.
36000func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
36001	return &gma, true
36002}
36003
36004// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity.
36005func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) {
36006	return nil, false
36007}
36008
36009// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity.
36010func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) {
36011	return nil, false
36012}
36013
36014// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity.
36015func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) {
36016	return nil, false
36017}
36018
36019// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity.
36020func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) {
36021	return nil, false
36022}
36023
36024// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity.
36025func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
36026	return nil, false
36027}
36028
36029// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity.
36030func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
36031	return nil, false
36032}
36033
36034// AsControlActivity is the BasicActivity implementation for GetMetadataActivity.
36035func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) {
36036	return nil, false
36037}
36038
36039// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity.
36040func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
36041	return nil, false
36042}
36043
36044// AsActivity is the BasicActivity implementation for GetMetadataActivity.
36045func (gma GetMetadataActivity) AsActivity() (*Activity, bool) {
36046	return nil, false
36047}
36048
36049// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity.
36050func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) {
36051	return &gma, true
36052}
36053
36054// UnmarshalJSON is the custom unmarshaler for GetMetadataActivity struct.
36055func (gma *GetMetadataActivity) UnmarshalJSON(body []byte) error {
36056	var m map[string]*json.RawMessage
36057	err := json.Unmarshal(body, &m)
36058	if err != nil {
36059		return err
36060	}
36061	for k, v := range m {
36062		switch k {
36063		case "typeProperties":
36064			if v != nil {
36065				var getMetadataActivityTypeProperties GetMetadataActivityTypeProperties
36066				err = json.Unmarshal(*v, &getMetadataActivityTypeProperties)
36067				if err != nil {
36068					return err
36069				}
36070				gma.GetMetadataActivityTypeProperties = &getMetadataActivityTypeProperties
36071			}
36072		case "linkedServiceName":
36073			if v != nil {
36074				var linkedServiceName LinkedServiceReference
36075				err = json.Unmarshal(*v, &linkedServiceName)
36076				if err != nil {
36077					return err
36078				}
36079				gma.LinkedServiceName = &linkedServiceName
36080			}
36081		case "policy":
36082			if v != nil {
36083				var policy ActivityPolicy
36084				err = json.Unmarshal(*v, &policy)
36085				if err != nil {
36086					return err
36087				}
36088				gma.Policy = &policy
36089			}
36090		default:
36091			if v != nil {
36092				var additionalProperties interface{}
36093				err = json.Unmarshal(*v, &additionalProperties)
36094				if err != nil {
36095					return err
36096				}
36097				if gma.AdditionalProperties == nil {
36098					gma.AdditionalProperties = make(map[string]interface{})
36099				}
36100				gma.AdditionalProperties[k] = additionalProperties
36101			}
36102		case "name":
36103			if v != nil {
36104				var name string
36105				err = json.Unmarshal(*v, &name)
36106				if err != nil {
36107					return err
36108				}
36109				gma.Name = &name
36110			}
36111		case "description":
36112			if v != nil {
36113				var description string
36114				err = json.Unmarshal(*v, &description)
36115				if err != nil {
36116					return err
36117				}
36118				gma.Description = &description
36119			}
36120		case "dependsOn":
36121			if v != nil {
36122				var dependsOn []ActivityDependency
36123				err = json.Unmarshal(*v, &dependsOn)
36124				if err != nil {
36125					return err
36126				}
36127				gma.DependsOn = &dependsOn
36128			}
36129		case "type":
36130			if v != nil {
36131				var typeVar TypeBasicActivity
36132				err = json.Unmarshal(*v, &typeVar)
36133				if err != nil {
36134					return err
36135				}
36136				gma.Type = typeVar
36137			}
36138		}
36139	}
36140
36141	return nil
36142}
36143
36144// GetMetadataActivityTypeProperties getMetadata activity properties.
36145type GetMetadataActivityTypeProperties struct {
36146	// Dataset - GetMetadata activity dataset reference.
36147	Dataset *DatasetReference `json:"dataset,omitempty"`
36148	// FieldList - Fields of metadata to get from dataset.
36149	FieldList *[]interface{} `json:"fieldList,omitempty"`
36150}
36151
36152// GoogleBigQueryLinkedService google BigQuery service linked service.
36153type GoogleBigQueryLinkedService struct {
36154	// GoogleBigQueryLinkedServiceTypeProperties - Google BigQuery service linked service properties.
36155	*GoogleBigQueryLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
36156	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
36157	AdditionalProperties map[string]interface{} `json:""`
36158	// ConnectVia - The integration runtime reference.
36159	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
36160	// Description - Linked service description.
36161	Description *string `json:"description,omitempty"`
36162	// Parameters - Parameters for linked service.
36163	Parameters map[string]*ParameterSpecification `json:"parameters"`
36164	// Annotations - List of tags that can be used for describing the Dataset.
36165	Annotations *[]interface{} `json:"annotations,omitempty"`
36166	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
36167	Type TypeBasicLinkedService `json:"type,omitempty"`
36168}
36169
36170// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService.
36171func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) {
36172	gbqls.Type = TypeGoogleBigQuery
36173	objectMap := make(map[string]interface{})
36174	if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil {
36175		objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties
36176	}
36177	if gbqls.ConnectVia != nil {
36178		objectMap["connectVia"] = gbqls.ConnectVia
36179	}
36180	if gbqls.Description != nil {
36181		objectMap["description"] = gbqls.Description
36182	}
36183	if gbqls.Parameters != nil {
36184		objectMap["parameters"] = gbqls.Parameters
36185	}
36186	if gbqls.Annotations != nil {
36187		objectMap["annotations"] = gbqls.Annotations
36188	}
36189	if gbqls.Type != "" {
36190		objectMap["type"] = gbqls.Type
36191	}
36192	for k, v := range gbqls.AdditionalProperties {
36193		objectMap[k] = v
36194	}
36195	return json.Marshal(objectMap)
36196}
36197
36198// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36199func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
36200	return nil, false
36201}
36202
36203// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36204func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
36205	return nil, false
36206}
36207
36208// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36209func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
36210	return nil, false
36211}
36212
36213// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36214func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
36215	return nil, false
36216}
36217
36218// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36219func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
36220	return nil, false
36221}
36222
36223// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36224func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
36225	return nil, false
36226}
36227
36228// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36229func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
36230	return nil, false
36231}
36232
36233// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36234func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
36235	return nil, false
36236}
36237
36238// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36239func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
36240	return nil, false
36241}
36242
36243// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36244func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
36245	return nil, false
36246}
36247
36248// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36249func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
36250	return nil, false
36251}
36252
36253// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36254func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
36255	return nil, false
36256}
36257
36258// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36259func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
36260	return nil, false
36261}
36262
36263// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36264func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
36265	return nil, false
36266}
36267
36268// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36269func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
36270	return nil, false
36271}
36272
36273// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36274func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
36275	return nil, false
36276}
36277
36278// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36279func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
36280	return nil, false
36281}
36282
36283// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36284func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
36285	return nil, false
36286}
36287
36288// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36289func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
36290	return nil, false
36291}
36292
36293// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36294func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
36295	return nil, false
36296}
36297
36298// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36299func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
36300	return nil, false
36301}
36302
36303// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36304func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
36305	return nil, false
36306}
36307
36308// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36309func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
36310	return nil, false
36311}
36312
36313// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36314func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
36315	return nil, false
36316}
36317
36318// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36319func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
36320	return nil, false
36321}
36322
36323// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36324func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
36325	return nil, false
36326}
36327
36328// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36329func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
36330	return &gbqls, true
36331}
36332
36333// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36334func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
36335	return nil, false
36336}
36337
36338// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36339func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
36340	return nil, false
36341}
36342
36343// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36344func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
36345	return nil, false
36346}
36347
36348// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36349func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
36350	return nil, false
36351}
36352
36353// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36354func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
36355	return nil, false
36356}
36357
36358// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36359func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
36360	return nil, false
36361}
36362
36363// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36364func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
36365	return nil, false
36366}
36367
36368// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36369func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
36370	return nil, false
36371}
36372
36373// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36374func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
36375	return nil, false
36376}
36377
36378// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36379func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
36380	return nil, false
36381}
36382
36383// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36384func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
36385	return nil, false
36386}
36387
36388// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36389func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
36390	return nil, false
36391}
36392
36393// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36394func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
36395	return nil, false
36396}
36397
36398// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36399func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
36400	return nil, false
36401}
36402
36403// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36404func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
36405	return nil, false
36406}
36407
36408// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36409func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
36410	return nil, false
36411}
36412
36413// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36414func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
36415	return nil, false
36416}
36417
36418// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36419func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
36420	return nil, false
36421}
36422
36423// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36424func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
36425	return nil, false
36426}
36427
36428// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36429func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
36430	return nil, false
36431}
36432
36433// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36434func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
36435	return nil, false
36436}
36437
36438// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36439func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
36440	return nil, false
36441}
36442
36443// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36444func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
36445	return nil, false
36446}
36447
36448// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36449func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
36450	return nil, false
36451}
36452
36453// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36454func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
36455	return nil, false
36456}
36457
36458// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36459func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
36460	return nil, false
36461}
36462
36463// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36464func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
36465	return nil, false
36466}
36467
36468// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36469func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
36470	return nil, false
36471}
36472
36473// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36474func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
36475	return nil, false
36476}
36477
36478// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36479func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
36480	return nil, false
36481}
36482
36483// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36484func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
36485	return nil, false
36486}
36487
36488// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36489func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
36490	return nil, false
36491}
36492
36493// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36494func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
36495	return nil, false
36496}
36497
36498// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36499func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
36500	return nil, false
36501}
36502
36503// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36504func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
36505	return nil, false
36506}
36507
36508// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36509func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
36510	return nil, false
36511}
36512
36513// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36514func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
36515	return nil, false
36516}
36517
36518// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36519func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
36520	return nil, false
36521}
36522
36523// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36524func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
36525	return nil, false
36526}
36527
36528// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36529func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
36530	return nil, false
36531}
36532
36533// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36534func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
36535	return nil, false
36536}
36537
36538// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36539func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
36540	return nil, false
36541}
36542
36543// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36544func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
36545	return nil, false
36546}
36547
36548// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36549func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) {
36550	return nil, false
36551}
36552
36553// AsBasicLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService.
36554func (gbqls GoogleBigQueryLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
36555	return &gbqls, true
36556}
36557
36558// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct.
36559func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error {
36560	var m map[string]*json.RawMessage
36561	err := json.Unmarshal(body, &m)
36562	if err != nil {
36563		return err
36564	}
36565	for k, v := range m {
36566		switch k {
36567		case "typeProperties":
36568			if v != nil {
36569				var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties
36570				err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties)
36571				if err != nil {
36572					return err
36573				}
36574				gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties
36575			}
36576		default:
36577			if v != nil {
36578				var additionalProperties interface{}
36579				err = json.Unmarshal(*v, &additionalProperties)
36580				if err != nil {
36581					return err
36582				}
36583				if gbqls.AdditionalProperties == nil {
36584					gbqls.AdditionalProperties = make(map[string]interface{})
36585				}
36586				gbqls.AdditionalProperties[k] = additionalProperties
36587			}
36588		case "connectVia":
36589			if v != nil {
36590				var connectVia IntegrationRuntimeReference
36591				err = json.Unmarshal(*v, &connectVia)
36592				if err != nil {
36593					return err
36594				}
36595				gbqls.ConnectVia = &connectVia
36596			}
36597		case "description":
36598			if v != nil {
36599				var description string
36600				err = json.Unmarshal(*v, &description)
36601				if err != nil {
36602					return err
36603				}
36604				gbqls.Description = &description
36605			}
36606		case "parameters":
36607			if v != nil {
36608				var parameters map[string]*ParameterSpecification
36609				err = json.Unmarshal(*v, &parameters)
36610				if err != nil {
36611					return err
36612				}
36613				gbqls.Parameters = parameters
36614			}
36615		case "annotations":
36616			if v != nil {
36617				var annotations []interface{}
36618				err = json.Unmarshal(*v, &annotations)
36619				if err != nil {
36620					return err
36621				}
36622				gbqls.Annotations = &annotations
36623			}
36624		case "type":
36625			if v != nil {
36626				var typeVar TypeBasicLinkedService
36627				err = json.Unmarshal(*v, &typeVar)
36628				if err != nil {
36629					return err
36630				}
36631				gbqls.Type = typeVar
36632			}
36633		}
36634	}
36635
36636	return nil
36637}
36638
36639// GoogleBigQueryLinkedServiceTypeProperties google BigQuery service linked service properties.
36640type GoogleBigQueryLinkedServiceTypeProperties struct {
36641	// Project - The default BigQuery project to query against.
36642	Project interface{} `json:"project,omitempty"`
36643	// AdditionalProjects - A comma-separated list of public BigQuery projects to access.
36644	AdditionalProjects interface{} `json:"additionalProjects,omitempty"`
36645	// RequestGoogleDriveScope - Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.
36646	RequestGoogleDriveScope interface{} `json:"requestGoogleDriveScope,omitempty"`
36647	// AuthenticationType - The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: 'ServiceAuthentication', 'UserAuthentication'
36648	AuthenticationType GoogleBigQueryAuthenticationType `json:"authenticationType,omitempty"`
36649	// RefreshToken - The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication.
36650	RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
36651	// ClientID - The client id of the google application used to acquire the refresh token.
36652	ClientID BasicSecretBase `json:"clientId,omitempty"`
36653	// ClientSecret - The client secret of the google application used to acquire the refresh token.
36654	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
36655	// Email - The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.
36656	Email interface{} `json:"email,omitempty"`
36657	// 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.
36658	KeyFilePath interface{} `json:"keyFilePath,omitempty"`
36659	// 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.
36660	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
36661	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
36662	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
36663	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
36664	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
36665}
36666
36667// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct.
36668func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
36669	var m map[string]*json.RawMessage
36670	err := json.Unmarshal(body, &m)
36671	if err != nil {
36672		return err
36673	}
36674	for k, v := range m {
36675		switch k {
36676		case "project":
36677			if v != nil {
36678				var project interface{}
36679				err = json.Unmarshal(*v, &project)
36680				if err != nil {
36681					return err
36682				}
36683				gbqlstp.Project = project
36684			}
36685		case "additionalProjects":
36686			if v != nil {
36687				var additionalProjects interface{}
36688				err = json.Unmarshal(*v, &additionalProjects)
36689				if err != nil {
36690					return err
36691				}
36692				gbqlstp.AdditionalProjects = additionalProjects
36693			}
36694		case "requestGoogleDriveScope":
36695			if v != nil {
36696				var requestGoogleDriveScope interface{}
36697				err = json.Unmarshal(*v, &requestGoogleDriveScope)
36698				if err != nil {
36699					return err
36700				}
36701				gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope
36702			}
36703		case "authenticationType":
36704			if v != nil {
36705				var authenticationType GoogleBigQueryAuthenticationType
36706				err = json.Unmarshal(*v, &authenticationType)
36707				if err != nil {
36708					return err
36709				}
36710				gbqlstp.AuthenticationType = authenticationType
36711			}
36712		case "refreshToken":
36713			if v != nil {
36714				refreshToken, err := unmarshalBasicSecretBase(*v)
36715				if err != nil {
36716					return err
36717				}
36718				gbqlstp.RefreshToken = refreshToken
36719			}
36720		case "clientId":
36721			if v != nil {
36722				clientID, err := unmarshalBasicSecretBase(*v)
36723				if err != nil {
36724					return err
36725				}
36726				gbqlstp.ClientID = clientID
36727			}
36728		case "clientSecret":
36729			if v != nil {
36730				clientSecret, err := unmarshalBasicSecretBase(*v)
36731				if err != nil {
36732					return err
36733				}
36734				gbqlstp.ClientSecret = clientSecret
36735			}
36736		case "email":
36737			if v != nil {
36738				var email interface{}
36739				err = json.Unmarshal(*v, &email)
36740				if err != nil {
36741					return err
36742				}
36743				gbqlstp.Email = email
36744			}
36745		case "keyFilePath":
36746			if v != nil {
36747				var keyFilePath interface{}
36748				err = json.Unmarshal(*v, &keyFilePath)
36749				if err != nil {
36750					return err
36751				}
36752				gbqlstp.KeyFilePath = keyFilePath
36753			}
36754		case "trustedCertPath":
36755			if v != nil {
36756				var trustedCertPath interface{}
36757				err = json.Unmarshal(*v, &trustedCertPath)
36758				if err != nil {
36759					return err
36760				}
36761				gbqlstp.TrustedCertPath = trustedCertPath
36762			}
36763		case "useSystemTrustStore":
36764			if v != nil {
36765				var useSystemTrustStore interface{}
36766				err = json.Unmarshal(*v, &useSystemTrustStore)
36767				if err != nil {
36768					return err
36769				}
36770				gbqlstp.UseSystemTrustStore = useSystemTrustStore
36771			}
36772		case "encryptedCredential":
36773			if v != nil {
36774				var encryptedCredential interface{}
36775				err = json.Unmarshal(*v, &encryptedCredential)
36776				if err != nil {
36777					return err
36778				}
36779				gbqlstp.EncryptedCredential = encryptedCredential
36780			}
36781		}
36782	}
36783
36784	return nil
36785}
36786
36787// GoogleBigQueryObjectDataset google BigQuery service dataset.
36788type GoogleBigQueryObjectDataset struct {
36789	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
36790	AdditionalProperties map[string]interface{} `json:""`
36791	// Description - Dataset description.
36792	Description *string `json:"description,omitempty"`
36793	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
36794	Structure interface{} `json:"structure,omitempty"`
36795	// LinkedServiceName - Linked service reference.
36796	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
36797	// Parameters - Parameters for dataset.
36798	Parameters map[string]*ParameterSpecification `json:"parameters"`
36799	// Annotations - List of tags that can be used for describing the Dataset.
36800	Annotations *[]interface{} `json:"annotations,omitempty"`
36801	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
36802	Type TypeBasicDataset `json:"type,omitempty"`
36803}
36804
36805// MarshalJSON is the custom marshaler for GoogleBigQueryObjectDataset.
36806func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) {
36807	gbqod.Type = TypeGoogleBigQueryObject
36808	objectMap := make(map[string]interface{})
36809	if gbqod.Description != nil {
36810		objectMap["description"] = gbqod.Description
36811	}
36812	objectMap["structure"] = gbqod.Structure
36813	if gbqod.LinkedServiceName != nil {
36814		objectMap["linkedServiceName"] = gbqod.LinkedServiceName
36815	}
36816	if gbqod.Parameters != nil {
36817		objectMap["parameters"] = gbqod.Parameters
36818	}
36819	if gbqod.Annotations != nil {
36820		objectMap["annotations"] = gbqod.Annotations
36821	}
36822	if gbqod.Type != "" {
36823		objectMap["type"] = gbqod.Type
36824	}
36825	for k, v := range gbqod.AdditionalProperties {
36826		objectMap[k] = v
36827	}
36828	return json.Marshal(objectMap)
36829}
36830
36831// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36832func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
36833	return nil, false
36834}
36835
36836// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36837func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
36838	return nil, false
36839}
36840
36841// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36842func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
36843	return nil, false
36844}
36845
36846// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36847func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
36848	return nil, false
36849}
36850
36851// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36852func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
36853	return nil, false
36854}
36855
36856// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36857func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
36858	return nil, false
36859}
36860
36861// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36862func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
36863	return nil, false
36864}
36865
36866// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36867func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
36868	return nil, false
36869}
36870
36871// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36872func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
36873	return nil, false
36874}
36875
36876// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36877func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
36878	return nil, false
36879}
36880
36881// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36882func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
36883	return nil, false
36884}
36885
36886// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36887func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
36888	return nil, false
36889}
36890
36891// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36892func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
36893	return nil, false
36894}
36895
36896// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36897func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
36898	return nil, false
36899}
36900
36901// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36902func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
36903	return nil, false
36904}
36905
36906// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36907func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
36908	return nil, false
36909}
36910
36911// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36912func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
36913	return nil, false
36914}
36915
36916// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36917func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
36918	return nil, false
36919}
36920
36921// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36922func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
36923	return nil, false
36924}
36925
36926// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36927func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
36928	return nil, false
36929}
36930
36931// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36932func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
36933	return nil, false
36934}
36935
36936// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36937func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
36938	return nil, false
36939}
36940
36941// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36942func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
36943	return nil, false
36944}
36945
36946// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36947func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
36948	return &gbqod, true
36949}
36950
36951// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36952func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
36953	return nil, false
36954}
36955
36956// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36957func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
36958	return nil, false
36959}
36960
36961// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36962func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
36963	return nil, false
36964}
36965
36966// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36967func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
36968	return nil, false
36969}
36970
36971// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36972func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
36973	return nil, false
36974}
36975
36976// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36977func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
36978	return nil, false
36979}
36980
36981// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36982func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
36983	return nil, false
36984}
36985
36986// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36987func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
36988	return nil, false
36989}
36990
36991// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36992func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
36993	return nil, false
36994}
36995
36996// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
36997func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
36998	return nil, false
36999}
37000
37001// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37002func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
37003	return nil, false
37004}
37005
37006// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37007func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
37008	return nil, false
37009}
37010
37011// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37012func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
37013	return nil, false
37014}
37015
37016// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37017func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
37018	return nil, false
37019}
37020
37021// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37022func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
37023	return nil, false
37024}
37025
37026// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37027func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
37028	return nil, false
37029}
37030
37031// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37032func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
37033	return nil, false
37034}
37035
37036// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37037func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
37038	return nil, false
37039}
37040
37041// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37042func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
37043	return nil, false
37044}
37045
37046// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37047func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
37048	return nil, false
37049}
37050
37051// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37052func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
37053	return nil, false
37054}
37055
37056// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37057func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
37058	return nil, false
37059}
37060
37061// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37062func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
37063	return nil, false
37064}
37065
37066// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37067func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
37068	return nil, false
37069}
37070
37071// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37072func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
37073	return nil, false
37074}
37075
37076// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37077func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
37078	return nil, false
37079}
37080
37081// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37082func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
37083	return nil, false
37084}
37085
37086// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37087func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
37088	return nil, false
37089}
37090
37091// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37092func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
37093	return nil, false
37094}
37095
37096// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37097func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) {
37098	return nil, false
37099}
37100
37101// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset.
37102func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) {
37103	return &gbqod, true
37104}
37105
37106// GoogleBigQuerySource a copy activity Google BigQuery service source.
37107type GoogleBigQuerySource struct {
37108	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
37109	Query interface{} `json:"query,omitempty"`
37110	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
37111	AdditionalProperties map[string]interface{} `json:""`
37112	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
37113	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
37114	// 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])).
37115	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
37116	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
37117	Type TypeBasicCopySource `json:"type,omitempty"`
37118}
37119
37120// MarshalJSON is the custom marshaler for GoogleBigQuerySource.
37121func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) {
37122	gbqs.Type = TypeGoogleBigQuerySource
37123	objectMap := make(map[string]interface{})
37124	objectMap["query"] = gbqs.Query
37125	objectMap["sourceRetryCount"] = gbqs.SourceRetryCount
37126	objectMap["sourceRetryWait"] = gbqs.SourceRetryWait
37127	if gbqs.Type != "" {
37128		objectMap["type"] = gbqs.Type
37129	}
37130	for k, v := range gbqs.AdditionalProperties {
37131		objectMap[k] = v
37132	}
37133	return json.Marshal(objectMap)
37134}
37135
37136// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource.
37137func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
37138	return nil, false
37139}
37140
37141// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource.
37142func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) {
37143	return nil, false
37144}
37145
37146// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource.
37147func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
37148	return nil, false
37149}
37150
37151// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource.
37152func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) {
37153	return nil, false
37154}
37155
37156// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource.
37157func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) {
37158	return nil, false
37159}
37160
37161// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource.
37162func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) {
37163	return nil, false
37164}
37165
37166// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource.
37167func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) {
37168	return nil, false
37169}
37170
37171// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource.
37172func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) {
37173	return nil, false
37174}
37175
37176// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource.
37177func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) {
37178	return nil, false
37179}
37180
37181// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource.
37182func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) {
37183	return nil, false
37184}
37185
37186// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource.
37187func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) {
37188	return nil, false
37189}
37190
37191// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource.
37192func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
37193	return nil, false
37194}
37195
37196// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource.
37197func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) {
37198	return nil, false
37199}
37200
37201// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource.
37202func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) {
37203	return nil, false
37204}
37205
37206// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource.
37207func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) {
37208	return nil, false
37209}
37210
37211// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource.
37212func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) {
37213	return nil, false
37214}
37215
37216// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource.
37217func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) {
37218	return nil, false
37219}
37220
37221// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource.
37222func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) {
37223	return nil, false
37224}
37225
37226// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource.
37227func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) {
37228	return nil, false
37229}
37230
37231// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource.
37232func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) {
37233	return nil, false
37234}
37235
37236// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource.
37237func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) {
37238	return nil, false
37239}
37240
37241// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource.
37242func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) {
37243	return nil, false
37244}
37245
37246// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
37247func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) {
37248	return nil, false
37249}
37250
37251// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource.
37252func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) {
37253	return nil, false
37254}
37255
37256// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleBigQuerySource.
37257func (gbqs GoogleBigQuerySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
37258	return &gbqs, true
37259}
37260
37261// AsEloquaSource is the BasicCopySource implementation for GoogleBigQuerySource.
37262func (gbqs GoogleBigQuerySource) AsEloquaSource() (*EloquaSource, bool) {
37263	return nil, false
37264}
37265
37266// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource.
37267func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) {
37268	return nil, false
37269}
37270
37271// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource.
37272func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
37273	return nil, false
37274}
37275
37276// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource.
37277func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) {
37278	return nil, false
37279}
37280
37281// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
37282func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
37283	return nil, false
37284}
37285
37286// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource.
37287func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
37288	return nil, false
37289}
37290
37291// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource.
37292func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) {
37293	return nil, false
37294}
37295
37296// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource.
37297func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
37298	return nil, false
37299}
37300
37301// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource.
37302func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) {
37303	return nil, false
37304}
37305
37306// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource.
37307func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) {
37308	return nil, false
37309}
37310
37311// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource.
37312func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) {
37313	return nil, false
37314}
37315
37316// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource.
37317func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) {
37318	return nil, false
37319}
37320
37321// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
37322func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
37323	return nil, false
37324}
37325
37326// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource.
37327func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) {
37328	return nil, false
37329}
37330
37331// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource.
37332func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) {
37333	return nil, false
37334}
37335
37336// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource.
37337func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) {
37338	return nil, false
37339}
37340
37341// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource.
37342func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) {
37343	return nil, false
37344}
37345
37346// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource.
37347func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) {
37348	return nil, false
37349}
37350
37351// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource.
37352func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
37353	return nil, false
37354}
37355
37356// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource.
37357func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) {
37358	return nil, false
37359}
37360
37361// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource.
37362func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) {
37363	return nil, false
37364}
37365
37366// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource.
37367func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) {
37368	return nil, false
37369}
37370
37371// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource.
37372func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
37373	return nil, false
37374}
37375
37376// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource.
37377func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) {
37378	return nil, false
37379}
37380
37381// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource.
37382func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) {
37383	return nil, false
37384}
37385
37386// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
37387func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) {
37388	return nil, false
37389}
37390
37391// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource.
37392func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) {
37393	return &gbqs, true
37394}
37395
37396// GreenplumLinkedService greenplum Database linked service.
37397type GreenplumLinkedService struct {
37398	// GreenplumLinkedServiceTypeProperties - Greenplum Database linked service properties.
37399	*GreenplumLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
37400	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
37401	AdditionalProperties map[string]interface{} `json:""`
37402	// ConnectVia - The integration runtime reference.
37403	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
37404	// Description - Linked service description.
37405	Description *string `json:"description,omitempty"`
37406	// Parameters - Parameters for linked service.
37407	Parameters map[string]*ParameterSpecification `json:"parameters"`
37408	// Annotations - List of tags that can be used for describing the Dataset.
37409	Annotations *[]interface{} `json:"annotations,omitempty"`
37410	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
37411	Type TypeBasicLinkedService `json:"type,omitempty"`
37412}
37413
37414// MarshalJSON is the custom marshaler for GreenplumLinkedService.
37415func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) {
37416	gls.Type = TypeGreenplum
37417	objectMap := make(map[string]interface{})
37418	if gls.GreenplumLinkedServiceTypeProperties != nil {
37419		objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties
37420	}
37421	if gls.ConnectVia != nil {
37422		objectMap["connectVia"] = gls.ConnectVia
37423	}
37424	if gls.Description != nil {
37425		objectMap["description"] = gls.Description
37426	}
37427	if gls.Parameters != nil {
37428		objectMap["parameters"] = gls.Parameters
37429	}
37430	if gls.Annotations != nil {
37431		objectMap["annotations"] = gls.Annotations
37432	}
37433	if gls.Type != "" {
37434		objectMap["type"] = gls.Type
37435	}
37436	for k, v := range gls.AdditionalProperties {
37437		objectMap[k] = v
37438	}
37439	return json.Marshal(objectMap)
37440}
37441
37442// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37443func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
37444	return nil, false
37445}
37446
37447// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37448func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
37449	return nil, false
37450}
37451
37452// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37453func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
37454	return nil, false
37455}
37456
37457// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37458func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
37459	return nil, false
37460}
37461
37462// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37463func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
37464	return nil, false
37465}
37466
37467// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37468func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
37469	return nil, false
37470}
37471
37472// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37473func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
37474	return nil, false
37475}
37476
37477// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37478func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
37479	return nil, false
37480}
37481
37482// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37483func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
37484	return nil, false
37485}
37486
37487// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37488func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
37489	return nil, false
37490}
37491
37492// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37493func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
37494	return nil, false
37495}
37496
37497// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37498func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
37499	return nil, false
37500}
37501
37502// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37503func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
37504	return nil, false
37505}
37506
37507// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37508func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
37509	return nil, false
37510}
37511
37512// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37513func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
37514	return nil, false
37515}
37516
37517// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37518func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
37519	return nil, false
37520}
37521
37522// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37523func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
37524	return nil, false
37525}
37526
37527// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37528func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
37529	return nil, false
37530}
37531
37532// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37533func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
37534	return nil, false
37535}
37536
37537// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37538func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
37539	return nil, false
37540}
37541
37542// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37543func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
37544	return nil, false
37545}
37546
37547// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37548func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
37549	return nil, false
37550}
37551
37552// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37553func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
37554	return nil, false
37555}
37556
37557// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37558func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
37559	return nil, false
37560}
37561
37562// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37563func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
37564	return nil, false
37565}
37566
37567// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37568func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
37569	return &gls, true
37570}
37571
37572// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37573func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
37574	return nil, false
37575}
37576
37577// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37578func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
37579	return nil, false
37580}
37581
37582// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37583func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
37584	return nil, false
37585}
37586
37587// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37588func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
37589	return nil, false
37590}
37591
37592// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37593func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
37594	return nil, false
37595}
37596
37597// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37598func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
37599	return nil, false
37600}
37601
37602// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37603func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
37604	return nil, false
37605}
37606
37607// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37608func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
37609	return nil, false
37610}
37611
37612// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37613func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
37614	return nil, false
37615}
37616
37617// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37618func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
37619	return nil, false
37620}
37621
37622// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37623func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
37624	return nil, false
37625}
37626
37627// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37628func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
37629	return nil, false
37630}
37631
37632// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37633func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
37634	return nil, false
37635}
37636
37637// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37638func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
37639	return nil, false
37640}
37641
37642// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37643func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
37644	return nil, false
37645}
37646
37647// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37648func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
37649	return nil, false
37650}
37651
37652// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37653func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
37654	return nil, false
37655}
37656
37657// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37658func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
37659	return nil, false
37660}
37661
37662// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37663func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
37664	return nil, false
37665}
37666
37667// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37668func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
37669	return nil, false
37670}
37671
37672// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37673func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
37674	return nil, false
37675}
37676
37677// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37678func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
37679	return nil, false
37680}
37681
37682// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37683func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
37684	return nil, false
37685}
37686
37687// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37688func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
37689	return nil, false
37690}
37691
37692// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37693func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
37694	return nil, false
37695}
37696
37697// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37698func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
37699	return nil, false
37700}
37701
37702// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37703func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
37704	return nil, false
37705}
37706
37707// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37708func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
37709	return nil, false
37710}
37711
37712// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37713func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
37714	return nil, false
37715}
37716
37717// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37718func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
37719	return nil, false
37720}
37721
37722// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37723func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
37724	return nil, false
37725}
37726
37727// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37728func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
37729	return nil, false
37730}
37731
37732// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37733func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
37734	return nil, false
37735}
37736
37737// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37738func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
37739	return nil, false
37740}
37741
37742// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37743func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
37744	return nil, false
37745}
37746
37747// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37748func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
37749	return nil, false
37750}
37751
37752// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37753func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
37754	return nil, false
37755}
37756
37757// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37758func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
37759	return nil, false
37760}
37761
37762// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37763func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
37764	return nil, false
37765}
37766
37767// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37768func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
37769	return nil, false
37770}
37771
37772// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37773func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
37774	return nil, false
37775}
37776
37777// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37778func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
37779	return nil, false
37780}
37781
37782// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37783func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
37784	return nil, false
37785}
37786
37787// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37788func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
37789	return nil, false
37790}
37791
37792// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37793func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) {
37794	return nil, false
37795}
37796
37797// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService.
37798func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
37799	return &gls, true
37800}
37801
37802// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct.
37803func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error {
37804	var m map[string]*json.RawMessage
37805	err := json.Unmarshal(body, &m)
37806	if err != nil {
37807		return err
37808	}
37809	for k, v := range m {
37810		switch k {
37811		case "typeProperties":
37812			if v != nil {
37813				var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties
37814				err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties)
37815				if err != nil {
37816					return err
37817				}
37818				gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties
37819			}
37820		default:
37821			if v != nil {
37822				var additionalProperties interface{}
37823				err = json.Unmarshal(*v, &additionalProperties)
37824				if err != nil {
37825					return err
37826				}
37827				if gls.AdditionalProperties == nil {
37828					gls.AdditionalProperties = make(map[string]interface{})
37829				}
37830				gls.AdditionalProperties[k] = additionalProperties
37831			}
37832		case "connectVia":
37833			if v != nil {
37834				var connectVia IntegrationRuntimeReference
37835				err = json.Unmarshal(*v, &connectVia)
37836				if err != nil {
37837					return err
37838				}
37839				gls.ConnectVia = &connectVia
37840			}
37841		case "description":
37842			if v != nil {
37843				var description string
37844				err = json.Unmarshal(*v, &description)
37845				if err != nil {
37846					return err
37847				}
37848				gls.Description = &description
37849			}
37850		case "parameters":
37851			if v != nil {
37852				var parameters map[string]*ParameterSpecification
37853				err = json.Unmarshal(*v, &parameters)
37854				if err != nil {
37855					return err
37856				}
37857				gls.Parameters = parameters
37858			}
37859		case "annotations":
37860			if v != nil {
37861				var annotations []interface{}
37862				err = json.Unmarshal(*v, &annotations)
37863				if err != nil {
37864					return err
37865				}
37866				gls.Annotations = &annotations
37867			}
37868		case "type":
37869			if v != nil {
37870				var typeVar TypeBasicLinkedService
37871				err = json.Unmarshal(*v, &typeVar)
37872				if err != nil {
37873					return err
37874				}
37875				gls.Type = typeVar
37876			}
37877		}
37878	}
37879
37880	return nil
37881}
37882
37883// GreenplumLinkedServiceTypeProperties greenplum Database linked service properties.
37884type GreenplumLinkedServiceTypeProperties struct {
37885	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
37886	ConnectionString interface{} `json:"connectionString,omitempty"`
37887	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
37888	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
37889}
37890
37891// GreenplumSource a copy activity Greenplum Database source.
37892type GreenplumSource struct {
37893	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
37894	Query interface{} `json:"query,omitempty"`
37895	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
37896	AdditionalProperties map[string]interface{} `json:""`
37897	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
37898	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
37899	// 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])).
37900	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
37901	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
37902	Type TypeBasicCopySource `json:"type,omitempty"`
37903}
37904
37905// MarshalJSON is the custom marshaler for GreenplumSource.
37906func (gs GreenplumSource) MarshalJSON() ([]byte, error) {
37907	gs.Type = TypeGreenplumSource
37908	objectMap := make(map[string]interface{})
37909	objectMap["query"] = gs.Query
37910	objectMap["sourceRetryCount"] = gs.SourceRetryCount
37911	objectMap["sourceRetryWait"] = gs.SourceRetryWait
37912	if gs.Type != "" {
37913		objectMap["type"] = gs.Type
37914	}
37915	for k, v := range gs.AdditionalProperties {
37916		objectMap[k] = v
37917	}
37918	return json.Marshal(objectMap)
37919}
37920
37921// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource.
37922func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
37923	return nil, false
37924}
37925
37926// AsResponsysSource is the BasicCopySource implementation for GreenplumSource.
37927func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) {
37928	return nil, false
37929}
37930
37931// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource.
37932func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
37933	return nil, false
37934}
37935
37936// AsVerticaSource is the BasicCopySource implementation for GreenplumSource.
37937func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) {
37938	return nil, false
37939}
37940
37941// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource.
37942func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) {
37943	return nil, false
37944}
37945
37946// AsZohoSource is the BasicCopySource implementation for GreenplumSource.
37947func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) {
37948	return nil, false
37949}
37950
37951// AsXeroSource is the BasicCopySource implementation for GreenplumSource.
37952func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) {
37953	return nil, false
37954}
37955
37956// AsSquareSource is the BasicCopySource implementation for GreenplumSource.
37957func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) {
37958	return nil, false
37959}
37960
37961// AsSparkSource is the BasicCopySource implementation for GreenplumSource.
37962func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) {
37963	return nil, false
37964}
37965
37966// AsShopifySource is the BasicCopySource implementation for GreenplumSource.
37967func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) {
37968	return nil, false
37969}
37970
37971// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource.
37972func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) {
37973	return nil, false
37974}
37975
37976// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource.
37977func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
37978	return nil, false
37979}
37980
37981// AsPrestoSource is the BasicCopySource implementation for GreenplumSource.
37982func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) {
37983	return nil, false
37984}
37985
37986// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource.
37987func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) {
37988	return nil, false
37989}
37990
37991// AsPaypalSource is the BasicCopySource implementation for GreenplumSource.
37992func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) {
37993	return nil, false
37994}
37995
37996// AsMarketoSource is the BasicCopySource implementation for GreenplumSource.
37997func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) {
37998	return nil, false
37999}
38000
38001// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource.
38002func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) {
38003	return nil, false
38004}
38005
38006// AsMagentoSource is the BasicCopySource implementation for GreenplumSource.
38007func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) {
38008	return nil, false
38009}
38010
38011// AsJiraSource is the BasicCopySource implementation for GreenplumSource.
38012func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) {
38013	return nil, false
38014}
38015
38016// AsImpalaSource is the BasicCopySource implementation for GreenplumSource.
38017func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) {
38018	return nil, false
38019}
38020
38021// AsHubspotSource is the BasicCopySource implementation for GreenplumSource.
38022func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) {
38023	return nil, false
38024}
38025
38026// AsHiveSource is the BasicCopySource implementation for GreenplumSource.
38027func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) {
38028	return nil, false
38029}
38030
38031// AsHBaseSource is the BasicCopySource implementation for GreenplumSource.
38032func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) {
38033	return nil, false
38034}
38035
38036// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource.
38037func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) {
38038	return &gs, true
38039}
38040
38041// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource.
38042func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
38043	return nil, false
38044}
38045
38046// AsEloquaSource is the BasicCopySource implementation for GreenplumSource.
38047func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) {
38048	return nil, false
38049}
38050
38051// AsDrillSource is the BasicCopySource implementation for GreenplumSource.
38052func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) {
38053	return nil, false
38054}
38055
38056// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource.
38057func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
38058	return nil, false
38059}
38060
38061// AsConcurSource is the BasicCopySource implementation for GreenplumSource.
38062func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) {
38063	return nil, false
38064}
38065
38066// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource.
38067func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
38068	return nil, false
38069}
38070
38071// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource.
38072func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
38073	return nil, false
38074}
38075
38076// AsHTTPSource is the BasicCopySource implementation for GreenplumSource.
38077func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) {
38078	return nil, false
38079}
38080
38081// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource.
38082func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
38083	return nil, false
38084}
38085
38086// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource.
38087func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) {
38088	return nil, false
38089}
38090
38091// AsCassandraSource is the BasicCopySource implementation for GreenplumSource.
38092func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) {
38093	return nil, false
38094}
38095
38096// AsWebSource is the BasicCopySource implementation for GreenplumSource.
38097func (gs GreenplumSource) AsWebSource() (*WebSource, bool) {
38098	return nil, false
38099}
38100
38101// AsOracleSource is the BasicCopySource implementation for GreenplumSource.
38102func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) {
38103	return nil, false
38104}
38105
38106// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource.
38107func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
38108	return nil, false
38109}
38110
38111// AsHdfsSource is the BasicCopySource implementation for GreenplumSource.
38112func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) {
38113	return nil, false
38114}
38115
38116// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource.
38117func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) {
38118	return nil, false
38119}
38120
38121// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource.
38122func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) {
38123	return nil, false
38124}
38125
38126// AsSQLSource is the BasicCopySource implementation for GreenplumSource.
38127func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) {
38128	return nil, false
38129}
38130
38131// AsSapEccSource is the BasicCopySource implementation for GreenplumSource.
38132func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) {
38133	return nil, false
38134}
38135
38136// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource.
38137func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
38138	return nil, false
38139}
38140
38141// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource.
38142func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) {
38143	return nil, false
38144}
38145
38146// AsRelationalSource is the BasicCopySource implementation for GreenplumSource.
38147func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) {
38148	return nil, false
38149}
38150
38151// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource.
38152func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) {
38153	return nil, false
38154}
38155
38156// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource.
38157func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
38158	return nil, false
38159}
38160
38161// AsBlobSource is the BasicCopySource implementation for GreenplumSource.
38162func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) {
38163	return nil, false
38164}
38165
38166// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource.
38167func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) {
38168	return nil, false
38169}
38170
38171// AsCopySource is the BasicCopySource implementation for GreenplumSource.
38172func (gs GreenplumSource) AsCopySource() (*CopySource, bool) {
38173	return nil, false
38174}
38175
38176// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource.
38177func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) {
38178	return &gs, true
38179}
38180
38181// GreenplumTableDataset greenplum Database dataset.
38182type GreenplumTableDataset struct {
38183	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
38184	AdditionalProperties map[string]interface{} `json:""`
38185	// Description - Dataset description.
38186	Description *string `json:"description,omitempty"`
38187	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
38188	Structure interface{} `json:"structure,omitempty"`
38189	// LinkedServiceName - Linked service reference.
38190	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
38191	// Parameters - Parameters for dataset.
38192	Parameters map[string]*ParameterSpecification `json:"parameters"`
38193	// Annotations - List of tags that can be used for describing the Dataset.
38194	Annotations *[]interface{} `json:"annotations,omitempty"`
38195	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
38196	Type TypeBasicDataset `json:"type,omitempty"`
38197}
38198
38199// MarshalJSON is the custom marshaler for GreenplumTableDataset.
38200func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) {
38201	gtd.Type = TypeGreenplumTable
38202	objectMap := make(map[string]interface{})
38203	if gtd.Description != nil {
38204		objectMap["description"] = gtd.Description
38205	}
38206	objectMap["structure"] = gtd.Structure
38207	if gtd.LinkedServiceName != nil {
38208		objectMap["linkedServiceName"] = gtd.LinkedServiceName
38209	}
38210	if gtd.Parameters != nil {
38211		objectMap["parameters"] = gtd.Parameters
38212	}
38213	if gtd.Annotations != nil {
38214		objectMap["annotations"] = gtd.Annotations
38215	}
38216	if gtd.Type != "" {
38217		objectMap["type"] = gtd.Type
38218	}
38219	for k, v := range gtd.AdditionalProperties {
38220		objectMap[k] = v
38221	}
38222	return json.Marshal(objectMap)
38223}
38224
38225// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38226func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
38227	return nil, false
38228}
38229
38230// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38231func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
38232	return nil, false
38233}
38234
38235// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38236func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
38237	return nil, false
38238}
38239
38240// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38241func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
38242	return nil, false
38243}
38244
38245// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38246func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
38247	return nil, false
38248}
38249
38250// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38251func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
38252	return nil, false
38253}
38254
38255// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38256func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
38257	return nil, false
38258}
38259
38260// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38261func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
38262	return nil, false
38263}
38264
38265// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38266func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
38267	return nil, false
38268}
38269
38270// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38271func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
38272	return nil, false
38273}
38274
38275// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38276func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
38277	return nil, false
38278}
38279
38280// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38281func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
38282	return nil, false
38283}
38284
38285// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38286func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
38287	return nil, false
38288}
38289
38290// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38291func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
38292	return nil, false
38293}
38294
38295// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38296func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
38297	return nil, false
38298}
38299
38300// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38301func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
38302	return nil, false
38303}
38304
38305// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38306func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
38307	return nil, false
38308}
38309
38310// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38311func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
38312	return nil, false
38313}
38314
38315// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38316func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
38317	return nil, false
38318}
38319
38320// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38321func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
38322	return nil, false
38323}
38324
38325// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38326func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
38327	return nil, false
38328}
38329
38330// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38331func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
38332	return nil, false
38333}
38334
38335// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38336func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
38337	return &gtd, true
38338}
38339
38340// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38341func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
38342	return nil, false
38343}
38344
38345// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38346func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
38347	return nil, false
38348}
38349
38350// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38351func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
38352	return nil, false
38353}
38354
38355// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38356func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
38357	return nil, false
38358}
38359
38360// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38361func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
38362	return nil, false
38363}
38364
38365// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38366func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
38367	return nil, false
38368}
38369
38370// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38371func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
38372	return nil, false
38373}
38374
38375// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset.
38376func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
38377	return nil, false
38378}
38379
38380// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset.
38381func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
38382	return nil, false
38383}
38384
38385// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38386func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
38387	return nil, false
38388}
38389
38390// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38391func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
38392	return nil, false
38393}
38394
38395// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
38396func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
38397	return nil, false
38398}
38399
38400// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
38401func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
38402	return nil, false
38403}
38404
38405// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset.
38406func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
38407	return nil, false
38408}
38409
38410// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38411func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
38412	return nil, false
38413}
38414
38415// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38416func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
38417	return nil, false
38418}
38419
38420// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38421func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
38422	return nil, false
38423}
38424
38425// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset.
38426func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
38427	return nil, false
38428}
38429
38430// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
38431func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
38432	return nil, false
38433}
38434
38435// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset.
38436func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
38437	return nil, false
38438}
38439
38440// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset.
38441func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
38442	return nil, false
38443}
38444
38445// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset.
38446func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
38447	return nil, false
38448}
38449
38450// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset.
38451func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
38452	return nil, false
38453}
38454
38455// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset.
38456func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) {
38457	return nil, false
38458}
38459
38460// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38461func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
38462	return nil, false
38463}
38464
38465// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38466func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
38467	return nil, false
38468}
38469
38470// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38471func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
38472	return nil, false
38473}
38474
38475// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset.
38476func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
38477	return nil, false
38478}
38479
38480// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset.
38481func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
38482	return nil, false
38483}
38484
38485// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset.
38486func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
38487	return nil, false
38488}
38489
38490// AsDataset is the BasicDataset implementation for GreenplumTableDataset.
38491func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) {
38492	return nil, false
38493}
38494
38495// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset.
38496func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) {
38497	return &gtd, true
38498}
38499
38500// HBaseLinkedService hBase server linked service.
38501type HBaseLinkedService struct {
38502	// HBaseLinkedServiceTypeProperties - HBase server linked service properties.
38503	*HBaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
38504	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
38505	AdditionalProperties map[string]interface{} `json:""`
38506	// ConnectVia - The integration runtime reference.
38507	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
38508	// Description - Linked service description.
38509	Description *string `json:"description,omitempty"`
38510	// Parameters - Parameters for linked service.
38511	Parameters map[string]*ParameterSpecification `json:"parameters"`
38512	// Annotations - List of tags that can be used for describing the Dataset.
38513	Annotations *[]interface{} `json:"annotations,omitempty"`
38514	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
38515	Type TypeBasicLinkedService `json:"type,omitempty"`
38516}
38517
38518// MarshalJSON is the custom marshaler for HBaseLinkedService.
38519func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) {
38520	hbls.Type = TypeHBase
38521	objectMap := make(map[string]interface{})
38522	if hbls.HBaseLinkedServiceTypeProperties != nil {
38523		objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties
38524	}
38525	if hbls.ConnectVia != nil {
38526		objectMap["connectVia"] = hbls.ConnectVia
38527	}
38528	if hbls.Description != nil {
38529		objectMap["description"] = hbls.Description
38530	}
38531	if hbls.Parameters != nil {
38532		objectMap["parameters"] = hbls.Parameters
38533	}
38534	if hbls.Annotations != nil {
38535		objectMap["annotations"] = hbls.Annotations
38536	}
38537	if hbls.Type != "" {
38538		objectMap["type"] = hbls.Type
38539	}
38540	for k, v := range hbls.AdditionalProperties {
38541		objectMap[k] = v
38542	}
38543	return json.Marshal(objectMap)
38544}
38545
38546// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38547func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
38548	return nil, false
38549}
38550
38551// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38552func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
38553	return nil, false
38554}
38555
38556// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38557func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
38558	return nil, false
38559}
38560
38561// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38562func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
38563	return nil, false
38564}
38565
38566// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38567func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
38568	return nil, false
38569}
38570
38571// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38572func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
38573	return nil, false
38574}
38575
38576// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38577func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
38578	return nil, false
38579}
38580
38581// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38582func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
38583	return nil, false
38584}
38585
38586// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38587func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
38588	return nil, false
38589}
38590
38591// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38592func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
38593	return nil, false
38594}
38595
38596// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38597func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
38598	return nil, false
38599}
38600
38601// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38602func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
38603	return nil, false
38604}
38605
38606// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38607func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
38608	return nil, false
38609}
38610
38611// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38612func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
38613	return nil, false
38614}
38615
38616// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38617func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
38618	return nil, false
38619}
38620
38621// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38622func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
38623	return nil, false
38624}
38625
38626// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38627func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
38628	return nil, false
38629}
38630
38631// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38632func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
38633	return nil, false
38634}
38635
38636// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38637func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
38638	return nil, false
38639}
38640
38641// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38642func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
38643	return nil, false
38644}
38645
38646// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38647func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
38648	return nil, false
38649}
38650
38651// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38652func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
38653	return nil, false
38654}
38655
38656// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38657func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
38658	return nil, false
38659}
38660
38661// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38662func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
38663	return nil, false
38664}
38665
38666// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38667func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
38668	return &hbls, true
38669}
38670
38671// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38672func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
38673	return nil, false
38674}
38675
38676// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38677func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
38678	return nil, false
38679}
38680
38681// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38682func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
38683	return nil, false
38684}
38685
38686// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38687func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
38688	return nil, false
38689}
38690
38691// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38692func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
38693	return nil, false
38694}
38695
38696// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38697func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
38698	return nil, false
38699}
38700
38701// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38702func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
38703	return nil, false
38704}
38705
38706// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38707func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
38708	return nil, false
38709}
38710
38711// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38712func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
38713	return nil, false
38714}
38715
38716// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38717func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
38718	return nil, false
38719}
38720
38721// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38722func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
38723	return nil, false
38724}
38725
38726// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38727func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
38728	return nil, false
38729}
38730
38731// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38732func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
38733	return nil, false
38734}
38735
38736// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38737func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
38738	return nil, false
38739}
38740
38741// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38742func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
38743	return nil, false
38744}
38745
38746// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38747func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
38748	return nil, false
38749}
38750
38751// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38752func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
38753	return nil, false
38754}
38755
38756// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38757func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
38758	return nil, false
38759}
38760
38761// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38762func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
38763	return nil, false
38764}
38765
38766// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38767func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
38768	return nil, false
38769}
38770
38771// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38772func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
38773	return nil, false
38774}
38775
38776// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38777func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
38778	return nil, false
38779}
38780
38781// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38782func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
38783	return nil, false
38784}
38785
38786// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38787func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
38788	return nil, false
38789}
38790
38791// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38792func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
38793	return nil, false
38794}
38795
38796// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38797func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
38798	return nil, false
38799}
38800
38801// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38802func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
38803	return nil, false
38804}
38805
38806// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38807func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
38808	return nil, false
38809}
38810
38811// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38812func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
38813	return nil, false
38814}
38815
38816// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38817func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
38818	return nil, false
38819}
38820
38821// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38822func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
38823	return nil, false
38824}
38825
38826// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38827func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
38828	return nil, false
38829}
38830
38831// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38832func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
38833	return nil, false
38834}
38835
38836// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38837func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
38838	return nil, false
38839}
38840
38841// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38842func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
38843	return nil, false
38844}
38845
38846// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38847func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
38848	return nil, false
38849}
38850
38851// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38852func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
38853	return nil, false
38854}
38855
38856// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38857func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
38858	return nil, false
38859}
38860
38861// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38862func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
38863	return nil, false
38864}
38865
38866// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38867func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
38868	return nil, false
38869}
38870
38871// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38872func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
38873	return nil, false
38874}
38875
38876// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38877func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
38878	return nil, false
38879}
38880
38881// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38882func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
38883	return nil, false
38884}
38885
38886// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38887func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
38888	return nil, false
38889}
38890
38891// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38892func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
38893	return nil, false
38894}
38895
38896// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38897func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) {
38898	return nil, false
38899}
38900
38901// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService.
38902func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
38903	return &hbls, true
38904}
38905
38906// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct.
38907func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error {
38908	var m map[string]*json.RawMessage
38909	err := json.Unmarshal(body, &m)
38910	if err != nil {
38911		return err
38912	}
38913	for k, v := range m {
38914		switch k {
38915		case "typeProperties":
38916			if v != nil {
38917				var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties
38918				err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties)
38919				if err != nil {
38920					return err
38921				}
38922				hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties
38923			}
38924		default:
38925			if v != nil {
38926				var additionalProperties interface{}
38927				err = json.Unmarshal(*v, &additionalProperties)
38928				if err != nil {
38929					return err
38930				}
38931				if hbls.AdditionalProperties == nil {
38932					hbls.AdditionalProperties = make(map[string]interface{})
38933				}
38934				hbls.AdditionalProperties[k] = additionalProperties
38935			}
38936		case "connectVia":
38937			if v != nil {
38938				var connectVia IntegrationRuntimeReference
38939				err = json.Unmarshal(*v, &connectVia)
38940				if err != nil {
38941					return err
38942				}
38943				hbls.ConnectVia = &connectVia
38944			}
38945		case "description":
38946			if v != nil {
38947				var description string
38948				err = json.Unmarshal(*v, &description)
38949				if err != nil {
38950					return err
38951				}
38952				hbls.Description = &description
38953			}
38954		case "parameters":
38955			if v != nil {
38956				var parameters map[string]*ParameterSpecification
38957				err = json.Unmarshal(*v, &parameters)
38958				if err != nil {
38959					return err
38960				}
38961				hbls.Parameters = parameters
38962			}
38963		case "annotations":
38964			if v != nil {
38965				var annotations []interface{}
38966				err = json.Unmarshal(*v, &annotations)
38967				if err != nil {
38968					return err
38969				}
38970				hbls.Annotations = &annotations
38971			}
38972		case "type":
38973			if v != nil {
38974				var typeVar TypeBasicLinkedService
38975				err = json.Unmarshal(*v, &typeVar)
38976				if err != nil {
38977					return err
38978				}
38979				hbls.Type = typeVar
38980			}
38981		}
38982	}
38983
38984	return nil
38985}
38986
38987// HBaseLinkedServiceTypeProperties hBase server linked service properties.
38988type HBaseLinkedServiceTypeProperties struct {
38989	// Host - The IP address or host name of the HBase server. (i.e. 192.168.222.160)
38990	Host interface{} `json:"host,omitempty"`
38991	// Port - The TCP port that the HBase instance uses to listen for client connections. The default value is 9090.
38992	Port interface{} `json:"port,omitempty"`
38993	// HTTPPath - The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version)
38994	HTTPPath interface{} `json:"httpPath,omitempty"`
38995	// AuthenticationType - The authentication mechanism to use to connect to the HBase server. Possible values include: 'HBaseAuthenticationTypeAnonymous', 'HBaseAuthenticationTypeBasic'
38996	AuthenticationType HBaseAuthenticationType `json:"authenticationType,omitempty"`
38997	// Username - The user name used to connect to the HBase instance.
38998	Username interface{} `json:"username,omitempty"`
38999	// Password - The password corresponding to the user name.
39000	Password BasicSecretBase `json:"password,omitempty"`
39001	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
39002	EnableSsl interface{} `json:"enableSsl,omitempty"`
39003	// 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.
39004	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
39005	// 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.
39006	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
39007	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
39008	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
39009	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
39010	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
39011}
39012
39013// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct.
39014func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
39015	var m map[string]*json.RawMessage
39016	err := json.Unmarshal(body, &m)
39017	if err != nil {
39018		return err
39019	}
39020	for k, v := range m {
39021		switch k {
39022		case "host":
39023			if v != nil {
39024				var host interface{}
39025				err = json.Unmarshal(*v, &host)
39026				if err != nil {
39027					return err
39028				}
39029				hblstp.Host = host
39030			}
39031		case "port":
39032			if v != nil {
39033				var port interface{}
39034				err = json.Unmarshal(*v, &port)
39035				if err != nil {
39036					return err
39037				}
39038				hblstp.Port = port
39039			}
39040		case "httpPath":
39041			if v != nil {
39042				var HTTPPath interface{}
39043				err = json.Unmarshal(*v, &HTTPPath)
39044				if err != nil {
39045					return err
39046				}
39047				hblstp.HTTPPath = HTTPPath
39048			}
39049		case "authenticationType":
39050			if v != nil {
39051				var authenticationType HBaseAuthenticationType
39052				err = json.Unmarshal(*v, &authenticationType)
39053				if err != nil {
39054					return err
39055				}
39056				hblstp.AuthenticationType = authenticationType
39057			}
39058		case "username":
39059			if v != nil {
39060				var username interface{}
39061				err = json.Unmarshal(*v, &username)
39062				if err != nil {
39063					return err
39064				}
39065				hblstp.Username = username
39066			}
39067		case "password":
39068			if v != nil {
39069				password, err := unmarshalBasicSecretBase(*v)
39070				if err != nil {
39071					return err
39072				}
39073				hblstp.Password = password
39074			}
39075		case "enableSsl":
39076			if v != nil {
39077				var enableSsl interface{}
39078				err = json.Unmarshal(*v, &enableSsl)
39079				if err != nil {
39080					return err
39081				}
39082				hblstp.EnableSsl = enableSsl
39083			}
39084		case "trustedCertPath":
39085			if v != nil {
39086				var trustedCertPath interface{}
39087				err = json.Unmarshal(*v, &trustedCertPath)
39088				if err != nil {
39089					return err
39090				}
39091				hblstp.TrustedCertPath = trustedCertPath
39092			}
39093		case "allowHostNameCNMismatch":
39094			if v != nil {
39095				var allowHostNameCNMismatch interface{}
39096				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
39097				if err != nil {
39098					return err
39099				}
39100				hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
39101			}
39102		case "allowSelfSignedServerCert":
39103			if v != nil {
39104				var allowSelfSignedServerCert interface{}
39105				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
39106				if err != nil {
39107					return err
39108				}
39109				hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
39110			}
39111		case "encryptedCredential":
39112			if v != nil {
39113				var encryptedCredential interface{}
39114				err = json.Unmarshal(*v, &encryptedCredential)
39115				if err != nil {
39116					return err
39117				}
39118				hblstp.EncryptedCredential = encryptedCredential
39119			}
39120		}
39121	}
39122
39123	return nil
39124}
39125
39126// HBaseObjectDataset hBase server dataset.
39127type HBaseObjectDataset struct {
39128	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
39129	AdditionalProperties map[string]interface{} `json:""`
39130	// Description - Dataset description.
39131	Description *string `json:"description,omitempty"`
39132	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
39133	Structure interface{} `json:"structure,omitempty"`
39134	// LinkedServiceName - Linked service reference.
39135	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
39136	// Parameters - Parameters for dataset.
39137	Parameters map[string]*ParameterSpecification `json:"parameters"`
39138	// Annotations - List of tags that can be used for describing the Dataset.
39139	Annotations *[]interface{} `json:"annotations,omitempty"`
39140	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
39141	Type TypeBasicDataset `json:"type,omitempty"`
39142}
39143
39144// MarshalJSON is the custom marshaler for HBaseObjectDataset.
39145func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) {
39146	hbod.Type = TypeHBaseObject
39147	objectMap := make(map[string]interface{})
39148	if hbod.Description != nil {
39149		objectMap["description"] = hbod.Description
39150	}
39151	objectMap["structure"] = hbod.Structure
39152	if hbod.LinkedServiceName != nil {
39153		objectMap["linkedServiceName"] = hbod.LinkedServiceName
39154	}
39155	if hbod.Parameters != nil {
39156		objectMap["parameters"] = hbod.Parameters
39157	}
39158	if hbod.Annotations != nil {
39159		objectMap["annotations"] = hbod.Annotations
39160	}
39161	if hbod.Type != "" {
39162		objectMap["type"] = hbod.Type
39163	}
39164	for k, v := range hbod.AdditionalProperties {
39165		objectMap[k] = v
39166	}
39167	return json.Marshal(objectMap)
39168}
39169
39170// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39171func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
39172	return nil, false
39173}
39174
39175// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39176func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
39177	return nil, false
39178}
39179
39180// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39181func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
39182	return nil, false
39183}
39184
39185// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39186func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
39187	return nil, false
39188}
39189
39190// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39191func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
39192	return nil, false
39193}
39194
39195// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39196func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
39197	return nil, false
39198}
39199
39200// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39201func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
39202	return nil, false
39203}
39204
39205// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39206func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
39207	return nil, false
39208}
39209
39210// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39211func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
39212	return nil, false
39213}
39214
39215// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39216func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
39217	return nil, false
39218}
39219
39220// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39221func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
39222	return nil, false
39223}
39224
39225// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39226func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
39227	return nil, false
39228}
39229
39230// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39231func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
39232	return nil, false
39233}
39234
39235// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39236func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
39237	return nil, false
39238}
39239
39240// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39241func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
39242	return nil, false
39243}
39244
39245// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39246func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
39247	return nil, false
39248}
39249
39250// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39251func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
39252	return nil, false
39253}
39254
39255// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39256func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
39257	return nil, false
39258}
39259
39260// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39261func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
39262	return nil, false
39263}
39264
39265// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39266func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
39267	return nil, false
39268}
39269
39270// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39271func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
39272	return nil, false
39273}
39274
39275// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39276func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
39277	return &hbod, true
39278}
39279
39280// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39281func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
39282	return nil, false
39283}
39284
39285// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39286func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
39287	return nil, false
39288}
39289
39290// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39291func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
39292	return nil, false
39293}
39294
39295// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39296func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
39297	return nil, false
39298}
39299
39300// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39301func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
39302	return nil, false
39303}
39304
39305// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39306func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
39307	return nil, false
39308}
39309
39310// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39311func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
39312	return nil, false
39313}
39314
39315// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39316func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
39317	return nil, false
39318}
39319
39320// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset.
39321func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
39322	return nil, false
39323}
39324
39325// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset.
39326func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
39327	return nil, false
39328}
39329
39330// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39331func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
39332	return nil, false
39333}
39334
39335// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39336func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
39337	return nil, false
39338}
39339
39340// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
39341func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
39342	return nil, false
39343}
39344
39345// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
39346func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
39347	return nil, false
39348}
39349
39350// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset.
39351func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
39352	return nil, false
39353}
39354
39355// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39356func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
39357	return nil, false
39358}
39359
39360// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39361func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
39362	return nil, false
39363}
39364
39365// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39366func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
39367	return nil, false
39368}
39369
39370// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset.
39371func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
39372	return nil, false
39373}
39374
39375// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
39376func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
39377	return nil, false
39378}
39379
39380// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset.
39381func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
39382	return nil, false
39383}
39384
39385// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset.
39386func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
39387	return nil, false
39388}
39389
39390// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset.
39391func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
39392	return nil, false
39393}
39394
39395// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset.
39396func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
39397	return nil, false
39398}
39399
39400// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset.
39401func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
39402	return nil, false
39403}
39404
39405// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39406func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
39407	return nil, false
39408}
39409
39410// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39411func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
39412	return nil, false
39413}
39414
39415// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39416func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
39417	return nil, false
39418}
39419
39420// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset.
39421func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
39422	return nil, false
39423}
39424
39425// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset.
39426func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
39427	return nil, false
39428}
39429
39430// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset.
39431func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
39432	return nil, false
39433}
39434
39435// AsDataset is the BasicDataset implementation for HBaseObjectDataset.
39436func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) {
39437	return nil, false
39438}
39439
39440// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset.
39441func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) {
39442	return &hbod, true
39443}
39444
39445// HBaseSource a copy activity HBase server source.
39446type HBaseSource struct {
39447	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
39448	Query interface{} `json:"query,omitempty"`
39449	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
39450	AdditionalProperties map[string]interface{} `json:""`
39451	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
39452	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
39453	// 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])).
39454	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
39455	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
39456	Type TypeBasicCopySource `json:"type,omitempty"`
39457}
39458
39459// MarshalJSON is the custom marshaler for HBaseSource.
39460func (hbs HBaseSource) MarshalJSON() ([]byte, error) {
39461	hbs.Type = TypeHBaseSource
39462	objectMap := make(map[string]interface{})
39463	objectMap["query"] = hbs.Query
39464	objectMap["sourceRetryCount"] = hbs.SourceRetryCount
39465	objectMap["sourceRetryWait"] = hbs.SourceRetryWait
39466	if hbs.Type != "" {
39467		objectMap["type"] = hbs.Type
39468	}
39469	for k, v := range hbs.AdditionalProperties {
39470		objectMap[k] = v
39471	}
39472	return json.Marshal(objectMap)
39473}
39474
39475// AsAmazonRedshiftSource is the BasicCopySource implementation for HBaseSource.
39476func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
39477	return nil, false
39478}
39479
39480// AsResponsysSource is the BasicCopySource implementation for HBaseSource.
39481func (hbs HBaseSource) AsResponsysSource() (*ResponsysSource, bool) {
39482	return nil, false
39483}
39484
39485// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HBaseSource.
39486func (hbs HBaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
39487	return nil, false
39488}
39489
39490// AsVerticaSource is the BasicCopySource implementation for HBaseSource.
39491func (hbs HBaseSource) AsVerticaSource() (*VerticaSource, bool) {
39492	return nil, false
39493}
39494
39495// AsNetezzaSource is the BasicCopySource implementation for HBaseSource.
39496func (hbs HBaseSource) AsNetezzaSource() (*NetezzaSource, bool) {
39497	return nil, false
39498}
39499
39500// AsZohoSource is the BasicCopySource implementation for HBaseSource.
39501func (hbs HBaseSource) AsZohoSource() (*ZohoSource, bool) {
39502	return nil, false
39503}
39504
39505// AsXeroSource is the BasicCopySource implementation for HBaseSource.
39506func (hbs HBaseSource) AsXeroSource() (*XeroSource, bool) {
39507	return nil, false
39508}
39509
39510// AsSquareSource is the BasicCopySource implementation for HBaseSource.
39511func (hbs HBaseSource) AsSquareSource() (*SquareSource, bool) {
39512	return nil, false
39513}
39514
39515// AsSparkSource is the BasicCopySource implementation for HBaseSource.
39516func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) {
39517	return nil, false
39518}
39519
39520// AsShopifySource is the BasicCopySource implementation for HBaseSource.
39521func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) {
39522	return nil, false
39523}
39524
39525// AsServiceNowSource is the BasicCopySource implementation for HBaseSource.
39526func (hbs HBaseSource) AsServiceNowSource() (*ServiceNowSource, bool) {
39527	return nil, false
39528}
39529
39530// AsQuickBooksSource is the BasicCopySource implementation for HBaseSource.
39531func (hbs HBaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
39532	return nil, false
39533}
39534
39535// AsPrestoSource is the BasicCopySource implementation for HBaseSource.
39536func (hbs HBaseSource) AsPrestoSource() (*PrestoSource, bool) {
39537	return nil, false
39538}
39539
39540// AsPhoenixSource is the BasicCopySource implementation for HBaseSource.
39541func (hbs HBaseSource) AsPhoenixSource() (*PhoenixSource, bool) {
39542	return nil, false
39543}
39544
39545// AsPaypalSource is the BasicCopySource implementation for HBaseSource.
39546func (hbs HBaseSource) AsPaypalSource() (*PaypalSource, bool) {
39547	return nil, false
39548}
39549
39550// AsMarketoSource is the BasicCopySource implementation for HBaseSource.
39551func (hbs HBaseSource) AsMarketoSource() (*MarketoSource, bool) {
39552	return nil, false
39553}
39554
39555// AsMariaDBSource is the BasicCopySource implementation for HBaseSource.
39556func (hbs HBaseSource) AsMariaDBSource() (*MariaDBSource, bool) {
39557	return nil, false
39558}
39559
39560// AsMagentoSource is the BasicCopySource implementation for HBaseSource.
39561func (hbs HBaseSource) AsMagentoSource() (*MagentoSource, bool) {
39562	return nil, false
39563}
39564
39565// AsJiraSource is the BasicCopySource implementation for HBaseSource.
39566func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) {
39567	return nil, false
39568}
39569
39570// AsImpalaSource is the BasicCopySource implementation for HBaseSource.
39571func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) {
39572	return nil, false
39573}
39574
39575// AsHubspotSource is the BasicCopySource implementation for HBaseSource.
39576func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) {
39577	return nil, false
39578}
39579
39580// AsHiveSource is the BasicCopySource implementation for HBaseSource.
39581func (hbs HBaseSource) AsHiveSource() (*HiveSource, bool) {
39582	return nil, false
39583}
39584
39585// AsHBaseSource is the BasicCopySource implementation for HBaseSource.
39586func (hbs HBaseSource) AsHBaseSource() (*HBaseSource, bool) {
39587	return &hbs, true
39588}
39589
39590// AsGreenplumSource is the BasicCopySource implementation for HBaseSource.
39591func (hbs HBaseSource) AsGreenplumSource() (*GreenplumSource, bool) {
39592	return nil, false
39593}
39594
39595// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource.
39596func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
39597	return nil, false
39598}
39599
39600// AsEloquaSource is the BasicCopySource implementation for HBaseSource.
39601func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) {
39602	return nil, false
39603}
39604
39605// AsDrillSource is the BasicCopySource implementation for HBaseSource.
39606func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) {
39607	return nil, false
39608}
39609
39610// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource.
39611func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
39612	return nil, false
39613}
39614
39615// AsConcurSource is the BasicCopySource implementation for HBaseSource.
39616func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) {
39617	return nil, false
39618}
39619
39620// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource.
39621func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
39622	return nil, false
39623}
39624
39625// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource.
39626func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
39627	return nil, false
39628}
39629
39630// AsHTTPSource is the BasicCopySource implementation for HBaseSource.
39631func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) {
39632	return nil, false
39633}
39634
39635// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource.
39636func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
39637	return nil, false
39638}
39639
39640// AsMongoDbSource is the BasicCopySource implementation for HBaseSource.
39641func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) {
39642	return nil, false
39643}
39644
39645// AsCassandraSource is the BasicCopySource implementation for HBaseSource.
39646func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) {
39647	return nil, false
39648}
39649
39650// AsWebSource is the BasicCopySource implementation for HBaseSource.
39651func (hbs HBaseSource) AsWebSource() (*WebSource, bool) {
39652	return nil, false
39653}
39654
39655// AsOracleSource is the BasicCopySource implementation for HBaseSource.
39656func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) {
39657	return nil, false
39658}
39659
39660// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource.
39661func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
39662	return nil, false
39663}
39664
39665// AsHdfsSource is the BasicCopySource implementation for HBaseSource.
39666func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) {
39667	return nil, false
39668}
39669
39670// AsFileSystemSource is the BasicCopySource implementation for HBaseSource.
39671func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) {
39672	return nil, false
39673}
39674
39675// AsSQLDWSource is the BasicCopySource implementation for HBaseSource.
39676func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) {
39677	return nil, false
39678}
39679
39680// AsSQLSource is the BasicCopySource implementation for HBaseSource.
39681func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) {
39682	return nil, false
39683}
39684
39685// AsSapEccSource is the BasicCopySource implementation for HBaseSource.
39686func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) {
39687	return nil, false
39688}
39689
39690// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource.
39691func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
39692	return nil, false
39693}
39694
39695// AsSalesforceSource is the BasicCopySource implementation for HBaseSource.
39696func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) {
39697	return nil, false
39698}
39699
39700// AsRelationalSource is the BasicCopySource implementation for HBaseSource.
39701func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) {
39702	return nil, false
39703}
39704
39705// AsDynamicsSource is the BasicCopySource implementation for HBaseSource.
39706func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) {
39707	return nil, false
39708}
39709
39710// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource.
39711func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
39712	return nil, false
39713}
39714
39715// AsBlobSource is the BasicCopySource implementation for HBaseSource.
39716func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) {
39717	return nil, false
39718}
39719
39720// AsAzureTableSource is the BasicCopySource implementation for HBaseSource.
39721func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) {
39722	return nil, false
39723}
39724
39725// AsCopySource is the BasicCopySource implementation for HBaseSource.
39726func (hbs HBaseSource) AsCopySource() (*CopySource, bool) {
39727	return nil, false
39728}
39729
39730// AsBasicCopySource is the BasicCopySource implementation for HBaseSource.
39731func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) {
39732	return &hbs, true
39733}
39734
39735// HdfsLinkedService hadoop Distributed File System (HDFS) linked service.
39736type HdfsLinkedService struct {
39737	// HdfsLinkedServiceTypeProperties - HDFS linked service properties.
39738	*HdfsLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
39739	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
39740	AdditionalProperties map[string]interface{} `json:""`
39741	// ConnectVia - The integration runtime reference.
39742	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
39743	// Description - Linked service description.
39744	Description *string `json:"description,omitempty"`
39745	// Parameters - Parameters for linked service.
39746	Parameters map[string]*ParameterSpecification `json:"parameters"`
39747	// Annotations - List of tags that can be used for describing the Dataset.
39748	Annotations *[]interface{} `json:"annotations,omitempty"`
39749	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
39750	Type TypeBasicLinkedService `json:"type,omitempty"`
39751}
39752
39753// MarshalJSON is the custom marshaler for HdfsLinkedService.
39754func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) {
39755	hls.Type = TypeHdfs
39756	objectMap := make(map[string]interface{})
39757	if hls.HdfsLinkedServiceTypeProperties != nil {
39758		objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties
39759	}
39760	if hls.ConnectVia != nil {
39761		objectMap["connectVia"] = hls.ConnectVia
39762	}
39763	if hls.Description != nil {
39764		objectMap["description"] = hls.Description
39765	}
39766	if hls.Parameters != nil {
39767		objectMap["parameters"] = hls.Parameters
39768	}
39769	if hls.Annotations != nil {
39770		objectMap["annotations"] = hls.Annotations
39771	}
39772	if hls.Type != "" {
39773		objectMap["type"] = hls.Type
39774	}
39775	for k, v := range hls.AdditionalProperties {
39776		objectMap[k] = v
39777	}
39778	return json.Marshal(objectMap)
39779}
39780
39781// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39782func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
39783	return nil, false
39784}
39785
39786// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39787func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
39788	return nil, false
39789}
39790
39791// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39792func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
39793	return nil, false
39794}
39795
39796// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39797func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
39798	return nil, false
39799}
39800
39801// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39802func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
39803	return nil, false
39804}
39805
39806// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39807func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
39808	return nil, false
39809}
39810
39811// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39812func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
39813	return nil, false
39814}
39815
39816// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39817func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
39818	return nil, false
39819}
39820
39821// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39822func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
39823	return nil, false
39824}
39825
39826// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39827func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
39828	return nil, false
39829}
39830
39831// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39832func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
39833	return nil, false
39834}
39835
39836// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39837func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
39838	return nil, false
39839}
39840
39841// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39842func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
39843	return nil, false
39844}
39845
39846// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39847func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
39848	return nil, false
39849}
39850
39851// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39852func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
39853	return nil, false
39854}
39855
39856// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39857func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
39858	return nil, false
39859}
39860
39861// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39862func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
39863	return nil, false
39864}
39865
39866// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39867func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
39868	return nil, false
39869}
39870
39871// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39872func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
39873	return nil, false
39874}
39875
39876// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39877func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
39878	return nil, false
39879}
39880
39881// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39882func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
39883	return nil, false
39884}
39885
39886// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39887func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
39888	return nil, false
39889}
39890
39891// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39892func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
39893	return nil, false
39894}
39895
39896// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39897func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
39898	return nil, false
39899}
39900
39901// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39902func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
39903	return nil, false
39904}
39905
39906// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39907func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
39908	return nil, false
39909}
39910
39911// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39912func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
39913	return nil, false
39914}
39915
39916// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39917func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
39918	return nil, false
39919}
39920
39921// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39922func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
39923	return nil, false
39924}
39925
39926// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39927func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
39928	return nil, false
39929}
39930
39931// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39932func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
39933	return nil, false
39934}
39935
39936// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39937func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
39938	return nil, false
39939}
39940
39941// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39942func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
39943	return nil, false
39944}
39945
39946// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39947func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
39948	return nil, false
39949}
39950
39951// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39952func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
39953	return nil, false
39954}
39955
39956// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39957func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
39958	return nil, false
39959}
39960
39961// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39962func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
39963	return nil, false
39964}
39965
39966// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39967func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
39968	return nil, false
39969}
39970
39971// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39972func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
39973	return nil, false
39974}
39975
39976// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39977func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
39978	return nil, false
39979}
39980
39981// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39982func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
39983	return nil, false
39984}
39985
39986// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39987func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
39988	return nil, false
39989}
39990
39991// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39992func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
39993	return nil, false
39994}
39995
39996// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
39997func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
39998	return nil, false
39999}
40000
40001// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40002func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
40003	return nil, false
40004}
40005
40006// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40007func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
40008	return nil, false
40009}
40010
40011// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40012func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
40013	return nil, false
40014}
40015
40016// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40017func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
40018	return nil, false
40019}
40020
40021// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40022func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
40023	return nil, false
40024}
40025
40026// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40027func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
40028	return nil, false
40029}
40030
40031// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40032func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
40033	return &hls, true
40034}
40035
40036// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40037func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
40038	return nil, false
40039}
40040
40041// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40042func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
40043	return nil, false
40044}
40045
40046// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40047func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
40048	return nil, false
40049}
40050
40051// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40052func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
40053	return nil, false
40054}
40055
40056// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40057func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
40058	return nil, false
40059}
40060
40061// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40062func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
40063	return nil, false
40064}
40065
40066// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40067func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
40068	return nil, false
40069}
40070
40071// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40072func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
40073	return nil, false
40074}
40075
40076// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40077func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
40078	return nil, false
40079}
40080
40081// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40082func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
40083	return nil, false
40084}
40085
40086// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40087func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
40088	return nil, false
40089}
40090
40091// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40092func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
40093	return nil, false
40094}
40095
40096// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40097func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
40098	return nil, false
40099}
40100
40101// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40102func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
40103	return nil, false
40104}
40105
40106// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40107func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
40108	return nil, false
40109}
40110
40111// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40112func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
40113	return nil, false
40114}
40115
40116// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40117func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
40118	return nil, false
40119}
40120
40121// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40122func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
40123	return nil, false
40124}
40125
40126// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40127func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
40128	return nil, false
40129}
40130
40131// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40132func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) {
40133	return nil, false
40134}
40135
40136// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService.
40137func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
40138	return &hls, true
40139}
40140
40141// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct.
40142func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error {
40143	var m map[string]*json.RawMessage
40144	err := json.Unmarshal(body, &m)
40145	if err != nil {
40146		return err
40147	}
40148	for k, v := range m {
40149		switch k {
40150		case "typeProperties":
40151			if v != nil {
40152				var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties
40153				err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties)
40154				if err != nil {
40155					return err
40156				}
40157				hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties
40158			}
40159		default:
40160			if v != nil {
40161				var additionalProperties interface{}
40162				err = json.Unmarshal(*v, &additionalProperties)
40163				if err != nil {
40164					return err
40165				}
40166				if hls.AdditionalProperties == nil {
40167					hls.AdditionalProperties = make(map[string]interface{})
40168				}
40169				hls.AdditionalProperties[k] = additionalProperties
40170			}
40171		case "connectVia":
40172			if v != nil {
40173				var connectVia IntegrationRuntimeReference
40174				err = json.Unmarshal(*v, &connectVia)
40175				if err != nil {
40176					return err
40177				}
40178				hls.ConnectVia = &connectVia
40179			}
40180		case "description":
40181			if v != nil {
40182				var description string
40183				err = json.Unmarshal(*v, &description)
40184				if err != nil {
40185					return err
40186				}
40187				hls.Description = &description
40188			}
40189		case "parameters":
40190			if v != nil {
40191				var parameters map[string]*ParameterSpecification
40192				err = json.Unmarshal(*v, &parameters)
40193				if err != nil {
40194					return err
40195				}
40196				hls.Parameters = parameters
40197			}
40198		case "annotations":
40199			if v != nil {
40200				var annotations []interface{}
40201				err = json.Unmarshal(*v, &annotations)
40202				if err != nil {
40203					return err
40204				}
40205				hls.Annotations = &annotations
40206			}
40207		case "type":
40208			if v != nil {
40209				var typeVar TypeBasicLinkedService
40210				err = json.Unmarshal(*v, &typeVar)
40211				if err != nil {
40212					return err
40213				}
40214				hls.Type = typeVar
40215			}
40216		}
40217	}
40218
40219	return nil
40220}
40221
40222// HdfsLinkedServiceTypeProperties HDFS linked service properties.
40223type HdfsLinkedServiceTypeProperties struct {
40224	// URL - The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).
40225	URL interface{} `json:"url,omitempty"`
40226	// AuthenticationType - Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string).
40227	AuthenticationType interface{} `json:"authenticationType,omitempty"`
40228	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
40229	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
40230	// UserName - User name for Windows authentication. Type: string (or Expression with resultType string).
40231	UserName interface{} `json:"userName,omitempty"`
40232	// Password - Password for Windows authentication.
40233	Password BasicSecretBase `json:"password,omitempty"`
40234}
40235
40236// UnmarshalJSON is the custom unmarshaler for HdfsLinkedServiceTypeProperties struct.
40237func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
40238	var m map[string]*json.RawMessage
40239	err := json.Unmarshal(body, &m)
40240	if err != nil {
40241		return err
40242	}
40243	for k, v := range m {
40244		switch k {
40245		case "url":
40246			if v != nil {
40247				var URL interface{}
40248				err = json.Unmarshal(*v, &URL)
40249				if err != nil {
40250					return err
40251				}
40252				hlstp.URL = URL
40253			}
40254		case "authenticationType":
40255			if v != nil {
40256				var authenticationType interface{}
40257				err = json.Unmarshal(*v, &authenticationType)
40258				if err != nil {
40259					return err
40260				}
40261				hlstp.AuthenticationType = authenticationType
40262			}
40263		case "encryptedCredential":
40264			if v != nil {
40265				var encryptedCredential interface{}
40266				err = json.Unmarshal(*v, &encryptedCredential)
40267				if err != nil {
40268					return err
40269				}
40270				hlstp.EncryptedCredential = encryptedCredential
40271			}
40272		case "userName":
40273			if v != nil {
40274				var userName interface{}
40275				err = json.Unmarshal(*v, &userName)
40276				if err != nil {
40277					return err
40278				}
40279				hlstp.UserName = userName
40280			}
40281		case "password":
40282			if v != nil {
40283				password, err := unmarshalBasicSecretBase(*v)
40284				if err != nil {
40285					return err
40286				}
40287				hlstp.Password = password
40288			}
40289		}
40290	}
40291
40292	return nil
40293}
40294
40295// HdfsSource a copy activity HDFS source.
40296type HdfsSource struct {
40297	// Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean).
40298	Recursive interface{} `json:"recursive,omitempty"`
40299	// DistcpSettings - Specifies Distcp-related settings.
40300	DistcpSettings *DistcpSettings `json:"distcpSettings,omitempty"`
40301	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
40302	AdditionalProperties map[string]interface{} `json:""`
40303	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
40304	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
40305	// 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])).
40306	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
40307	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
40308	Type TypeBasicCopySource `json:"type,omitempty"`
40309}
40310
40311// MarshalJSON is the custom marshaler for HdfsSource.
40312func (hs HdfsSource) MarshalJSON() ([]byte, error) {
40313	hs.Type = TypeHdfsSource
40314	objectMap := make(map[string]interface{})
40315	objectMap["recursive"] = hs.Recursive
40316	if hs.DistcpSettings != nil {
40317		objectMap["distcpSettings"] = hs.DistcpSettings
40318	}
40319	objectMap["sourceRetryCount"] = hs.SourceRetryCount
40320	objectMap["sourceRetryWait"] = hs.SourceRetryWait
40321	if hs.Type != "" {
40322		objectMap["type"] = hs.Type
40323	}
40324	for k, v := range hs.AdditionalProperties {
40325		objectMap[k] = v
40326	}
40327	return json.Marshal(objectMap)
40328}
40329
40330// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource.
40331func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
40332	return nil, false
40333}
40334
40335// AsResponsysSource is the BasicCopySource implementation for HdfsSource.
40336func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) {
40337	return nil, false
40338}
40339
40340// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource.
40341func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
40342	return nil, false
40343}
40344
40345// AsVerticaSource is the BasicCopySource implementation for HdfsSource.
40346func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) {
40347	return nil, false
40348}
40349
40350// AsNetezzaSource is the BasicCopySource implementation for HdfsSource.
40351func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) {
40352	return nil, false
40353}
40354
40355// AsZohoSource is the BasicCopySource implementation for HdfsSource.
40356func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) {
40357	return nil, false
40358}
40359
40360// AsXeroSource is the BasicCopySource implementation for HdfsSource.
40361func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) {
40362	return nil, false
40363}
40364
40365// AsSquareSource is the BasicCopySource implementation for HdfsSource.
40366func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) {
40367	return nil, false
40368}
40369
40370// AsSparkSource is the BasicCopySource implementation for HdfsSource.
40371func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) {
40372	return nil, false
40373}
40374
40375// AsShopifySource is the BasicCopySource implementation for HdfsSource.
40376func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) {
40377	return nil, false
40378}
40379
40380// AsServiceNowSource is the BasicCopySource implementation for HdfsSource.
40381func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) {
40382	return nil, false
40383}
40384
40385// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource.
40386func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
40387	return nil, false
40388}
40389
40390// AsPrestoSource is the BasicCopySource implementation for HdfsSource.
40391func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) {
40392	return nil, false
40393}
40394
40395// AsPhoenixSource is the BasicCopySource implementation for HdfsSource.
40396func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) {
40397	return nil, false
40398}
40399
40400// AsPaypalSource is the BasicCopySource implementation for HdfsSource.
40401func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) {
40402	return nil, false
40403}
40404
40405// AsMarketoSource is the BasicCopySource implementation for HdfsSource.
40406func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) {
40407	return nil, false
40408}
40409
40410// AsMariaDBSource is the BasicCopySource implementation for HdfsSource.
40411func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) {
40412	return nil, false
40413}
40414
40415// AsMagentoSource is the BasicCopySource implementation for HdfsSource.
40416func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) {
40417	return nil, false
40418}
40419
40420// AsJiraSource is the BasicCopySource implementation for HdfsSource.
40421func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) {
40422	return nil, false
40423}
40424
40425// AsImpalaSource is the BasicCopySource implementation for HdfsSource.
40426func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) {
40427	return nil, false
40428}
40429
40430// AsHubspotSource is the BasicCopySource implementation for HdfsSource.
40431func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) {
40432	return nil, false
40433}
40434
40435// AsHiveSource is the BasicCopySource implementation for HdfsSource.
40436func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) {
40437	return nil, false
40438}
40439
40440// AsHBaseSource is the BasicCopySource implementation for HdfsSource.
40441func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) {
40442	return nil, false
40443}
40444
40445// AsGreenplumSource is the BasicCopySource implementation for HdfsSource.
40446func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) {
40447	return nil, false
40448}
40449
40450// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource.
40451func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
40452	return nil, false
40453}
40454
40455// AsEloquaSource is the BasicCopySource implementation for HdfsSource.
40456func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) {
40457	return nil, false
40458}
40459
40460// AsDrillSource is the BasicCopySource implementation for HdfsSource.
40461func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) {
40462	return nil, false
40463}
40464
40465// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource.
40466func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
40467	return nil, false
40468}
40469
40470// AsConcurSource is the BasicCopySource implementation for HdfsSource.
40471func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) {
40472	return nil, false
40473}
40474
40475// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource.
40476func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
40477	return nil, false
40478}
40479
40480// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource.
40481func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
40482	return nil, false
40483}
40484
40485// AsHTTPSource is the BasicCopySource implementation for HdfsSource.
40486func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) {
40487	return nil, false
40488}
40489
40490// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource.
40491func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
40492	return nil, false
40493}
40494
40495// AsMongoDbSource is the BasicCopySource implementation for HdfsSource.
40496func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) {
40497	return nil, false
40498}
40499
40500// AsCassandraSource is the BasicCopySource implementation for HdfsSource.
40501func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) {
40502	return nil, false
40503}
40504
40505// AsWebSource is the BasicCopySource implementation for HdfsSource.
40506func (hs HdfsSource) AsWebSource() (*WebSource, bool) {
40507	return nil, false
40508}
40509
40510// AsOracleSource is the BasicCopySource implementation for HdfsSource.
40511func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) {
40512	return nil, false
40513}
40514
40515// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource.
40516func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
40517	return nil, false
40518}
40519
40520// AsHdfsSource is the BasicCopySource implementation for HdfsSource.
40521func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) {
40522	return &hs, true
40523}
40524
40525// AsFileSystemSource is the BasicCopySource implementation for HdfsSource.
40526func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) {
40527	return nil, false
40528}
40529
40530// AsSQLDWSource is the BasicCopySource implementation for HdfsSource.
40531func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) {
40532	return nil, false
40533}
40534
40535// AsSQLSource is the BasicCopySource implementation for HdfsSource.
40536func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) {
40537	return nil, false
40538}
40539
40540// AsSapEccSource is the BasicCopySource implementation for HdfsSource.
40541func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) {
40542	return nil, false
40543}
40544
40545// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource.
40546func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
40547	return nil, false
40548}
40549
40550// AsSalesforceSource is the BasicCopySource implementation for HdfsSource.
40551func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) {
40552	return nil, false
40553}
40554
40555// AsRelationalSource is the BasicCopySource implementation for HdfsSource.
40556func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) {
40557	return nil, false
40558}
40559
40560// AsDynamicsSource is the BasicCopySource implementation for HdfsSource.
40561func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) {
40562	return nil, false
40563}
40564
40565// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource.
40566func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
40567	return nil, false
40568}
40569
40570// AsBlobSource is the BasicCopySource implementation for HdfsSource.
40571func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) {
40572	return nil, false
40573}
40574
40575// AsAzureTableSource is the BasicCopySource implementation for HdfsSource.
40576func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) {
40577	return nil, false
40578}
40579
40580// AsCopySource is the BasicCopySource implementation for HdfsSource.
40581func (hs HdfsSource) AsCopySource() (*CopySource, bool) {
40582	return nil, false
40583}
40584
40585// AsBasicCopySource is the BasicCopySource implementation for HdfsSource.
40586func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) {
40587	return &hs, true
40588}
40589
40590// HDInsightHiveActivity hDInsight Hive activity type.
40591type HDInsightHiveActivity struct {
40592	// HDInsightHiveActivityTypeProperties - HDInsight Hive activity properties.
40593	*HDInsightHiveActivityTypeProperties `json:"typeProperties,omitempty"`
40594	// LinkedServiceName - Linked service reference.
40595	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
40596	// Policy - Activity policy.
40597	Policy *ActivityPolicy `json:"policy,omitempty"`
40598	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
40599	AdditionalProperties map[string]interface{} `json:""`
40600	// Name - Activity name.
40601	Name *string `json:"name,omitempty"`
40602	// Description - Activity description.
40603	Description *string `json:"description,omitempty"`
40604	// DependsOn - Activity depends on condition.
40605	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
40606	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
40607	Type TypeBasicActivity `json:"type,omitempty"`
40608}
40609
40610// MarshalJSON is the custom marshaler for HDInsightHiveActivity.
40611func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) {
40612	hiha.Type = TypeHDInsightHive
40613	objectMap := make(map[string]interface{})
40614	if hiha.HDInsightHiveActivityTypeProperties != nil {
40615		objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties
40616	}
40617	if hiha.LinkedServiceName != nil {
40618		objectMap["linkedServiceName"] = hiha.LinkedServiceName
40619	}
40620	if hiha.Policy != nil {
40621		objectMap["policy"] = hiha.Policy
40622	}
40623	if hiha.Name != nil {
40624		objectMap["name"] = hiha.Name
40625	}
40626	if hiha.Description != nil {
40627		objectMap["description"] = hiha.Description
40628	}
40629	if hiha.DependsOn != nil {
40630		objectMap["dependsOn"] = hiha.DependsOn
40631	}
40632	if hiha.Type != "" {
40633		objectMap["type"] = hiha.Type
40634	}
40635	for k, v := range hiha.AdditionalProperties {
40636		objectMap[k] = v
40637	}
40638	return json.Marshal(objectMap)
40639}
40640
40641// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity.
40642func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
40643	return nil, false
40644}
40645
40646// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity.
40647func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
40648	return nil, false
40649}
40650
40651// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity.
40652func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
40653	return nil, false
40654}
40655
40656// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
40657func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
40658	return nil, false
40659}
40660
40661// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity.
40662func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
40663	return nil, false
40664}
40665
40666// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity.
40667func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) {
40668	return nil, false
40669}
40670
40671// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity.
40672func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) {
40673	return nil, false
40674}
40675
40676// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity.
40677func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
40678	return nil, false
40679}
40680
40681// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity.
40682func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) {
40683	return nil, false
40684}
40685
40686// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity.
40687func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
40688	return nil, false
40689}
40690
40691// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity.
40692func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
40693	return nil, false
40694}
40695
40696// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity.
40697func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
40698	return nil, false
40699}
40700
40701// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity.
40702func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
40703	return nil, false
40704}
40705
40706// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity.
40707func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
40708	return nil, false
40709}
40710
40711// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity.
40712func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
40713	return &hiha, true
40714}
40715
40716// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity.
40717func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) {
40718	return nil, false
40719}
40720
40721// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
40722func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
40723	return nil, false
40724}
40725
40726// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity.
40727func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
40728	return &hiha, true
40729}
40730
40731// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity.
40732func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) {
40733	return nil, false
40734}
40735
40736// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity.
40737func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) {
40738	return nil, false
40739}
40740
40741// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity.
40742func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) {
40743	return nil, false
40744}
40745
40746// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity.
40747func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) {
40748	return nil, false
40749}
40750
40751// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity.
40752func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
40753	return nil, false
40754}
40755
40756// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity.
40757func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
40758	return nil, false
40759}
40760
40761// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
40762func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) {
40763	return nil, false
40764}
40765
40766// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity.
40767func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
40768	return nil, false
40769}
40770
40771// AsActivity is the BasicActivity implementation for HDInsightHiveActivity.
40772func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) {
40773	return nil, false
40774}
40775
40776// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity.
40777func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) {
40778	return &hiha, true
40779}
40780
40781// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct.
40782func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error {
40783	var m map[string]*json.RawMessage
40784	err := json.Unmarshal(body, &m)
40785	if err != nil {
40786		return err
40787	}
40788	for k, v := range m {
40789		switch k {
40790		case "typeProperties":
40791			if v != nil {
40792				var hDInsightHiveActivityTypeProperties HDInsightHiveActivityTypeProperties
40793				err = json.Unmarshal(*v, &hDInsightHiveActivityTypeProperties)
40794				if err != nil {
40795					return err
40796				}
40797				hiha.HDInsightHiveActivityTypeProperties = &hDInsightHiveActivityTypeProperties
40798			}
40799		case "linkedServiceName":
40800			if v != nil {
40801				var linkedServiceName LinkedServiceReference
40802				err = json.Unmarshal(*v, &linkedServiceName)
40803				if err != nil {
40804					return err
40805				}
40806				hiha.LinkedServiceName = &linkedServiceName
40807			}
40808		case "policy":
40809			if v != nil {
40810				var policy ActivityPolicy
40811				err = json.Unmarshal(*v, &policy)
40812				if err != nil {
40813					return err
40814				}
40815				hiha.Policy = &policy
40816			}
40817		default:
40818			if v != nil {
40819				var additionalProperties interface{}
40820				err = json.Unmarshal(*v, &additionalProperties)
40821				if err != nil {
40822					return err
40823				}
40824				if hiha.AdditionalProperties == nil {
40825					hiha.AdditionalProperties = make(map[string]interface{})
40826				}
40827				hiha.AdditionalProperties[k] = additionalProperties
40828			}
40829		case "name":
40830			if v != nil {
40831				var name string
40832				err = json.Unmarshal(*v, &name)
40833				if err != nil {
40834					return err
40835				}
40836				hiha.Name = &name
40837			}
40838		case "description":
40839			if v != nil {
40840				var description string
40841				err = json.Unmarshal(*v, &description)
40842				if err != nil {
40843					return err
40844				}
40845				hiha.Description = &description
40846			}
40847		case "dependsOn":
40848			if v != nil {
40849				var dependsOn []ActivityDependency
40850				err = json.Unmarshal(*v, &dependsOn)
40851				if err != nil {
40852					return err
40853				}
40854				hiha.DependsOn = &dependsOn
40855			}
40856		case "type":
40857			if v != nil {
40858				var typeVar TypeBasicActivity
40859				err = json.Unmarshal(*v, &typeVar)
40860				if err != nil {
40861					return err
40862				}
40863				hiha.Type = typeVar
40864			}
40865		}
40866	}
40867
40868	return nil
40869}
40870
40871// HDInsightHiveActivityTypeProperties hDInsight Hive activity properties.
40872type HDInsightHiveActivityTypeProperties struct {
40873	// StorageLinkedServices - Storage linked service references.
40874	StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
40875	// Arguments - User specified arguments to HDInsightActivity.
40876	Arguments *[]interface{} `json:"arguments,omitempty"`
40877	// GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
40878	GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
40879	// ScriptPath - Script path. Type: string (or Expression with resultType string).
40880	ScriptPath interface{} `json:"scriptPath,omitempty"`
40881	// ScriptLinkedService - Script linked service reference.
40882	ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
40883	// Defines - Allows user to specify defines for Hive job request.
40884	Defines map[string]interface{} `json:"defines"`
40885}
40886
40887// MarshalJSON is the custom marshaler for HDInsightHiveActivityTypeProperties.
40888func (hihatp HDInsightHiveActivityTypeProperties) MarshalJSON() ([]byte, error) {
40889	objectMap := make(map[string]interface{})
40890	if hihatp.StorageLinkedServices != nil {
40891		objectMap["storageLinkedServices"] = hihatp.StorageLinkedServices
40892	}
40893	if hihatp.Arguments != nil {
40894		objectMap["arguments"] = hihatp.Arguments
40895	}
40896	if hihatp.GetDebugInfo != "" {
40897		objectMap["getDebugInfo"] = hihatp.GetDebugInfo
40898	}
40899	objectMap["scriptPath"] = hihatp.ScriptPath
40900	if hihatp.ScriptLinkedService != nil {
40901		objectMap["scriptLinkedService"] = hihatp.ScriptLinkedService
40902	}
40903	if hihatp.Defines != nil {
40904		objectMap["defines"] = hihatp.Defines
40905	}
40906	return json.Marshal(objectMap)
40907}
40908
40909// HDInsightLinkedService hDInsight linked service.
40910type HDInsightLinkedService struct {
40911	// HDInsightLinkedServiceTypeProperties - HDInsight linked service properties.
40912	*HDInsightLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
40913	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
40914	AdditionalProperties map[string]interface{} `json:""`
40915	// ConnectVia - The integration runtime reference.
40916	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
40917	// Description - Linked service description.
40918	Description *string `json:"description,omitempty"`
40919	// Parameters - Parameters for linked service.
40920	Parameters map[string]*ParameterSpecification `json:"parameters"`
40921	// Annotations - List of tags that can be used for describing the Dataset.
40922	Annotations *[]interface{} `json:"annotations,omitempty"`
40923	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
40924	Type TypeBasicLinkedService `json:"type,omitempty"`
40925}
40926
40927// MarshalJSON is the custom marshaler for HDInsightLinkedService.
40928func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) {
40929	hils.Type = TypeHDInsight
40930	objectMap := make(map[string]interface{})
40931	if hils.HDInsightLinkedServiceTypeProperties != nil {
40932		objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties
40933	}
40934	if hils.ConnectVia != nil {
40935		objectMap["connectVia"] = hils.ConnectVia
40936	}
40937	if hils.Description != nil {
40938		objectMap["description"] = hils.Description
40939	}
40940	if hils.Parameters != nil {
40941		objectMap["parameters"] = hils.Parameters
40942	}
40943	if hils.Annotations != nil {
40944		objectMap["annotations"] = hils.Annotations
40945	}
40946	if hils.Type != "" {
40947		objectMap["type"] = hils.Type
40948	}
40949	for k, v := range hils.AdditionalProperties {
40950		objectMap[k] = v
40951	}
40952	return json.Marshal(objectMap)
40953}
40954
40955// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40956func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
40957	return nil, false
40958}
40959
40960// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40961func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
40962	return nil, false
40963}
40964
40965// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40966func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
40967	return nil, false
40968}
40969
40970// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40971func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
40972	return nil, false
40973}
40974
40975// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40976func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
40977	return nil, false
40978}
40979
40980// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40981func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
40982	return nil, false
40983}
40984
40985// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40986func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
40987	return nil, false
40988}
40989
40990// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40991func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
40992	return nil, false
40993}
40994
40995// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
40996func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
40997	return nil, false
40998}
40999
41000// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41001func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
41002	return nil, false
41003}
41004
41005// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41006func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
41007	return nil, false
41008}
41009
41010// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41011func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
41012	return nil, false
41013}
41014
41015// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41016func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
41017	return nil, false
41018}
41019
41020// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41021func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
41022	return nil, false
41023}
41024
41025// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41026func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
41027	return nil, false
41028}
41029
41030// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41031func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
41032	return nil, false
41033}
41034
41035// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41036func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
41037	return nil, false
41038}
41039
41040// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41041func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
41042	return nil, false
41043}
41044
41045// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41046func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
41047	return nil, false
41048}
41049
41050// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41051func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
41052	return nil, false
41053}
41054
41055// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41056func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
41057	return nil, false
41058}
41059
41060// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41061func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
41062	return nil, false
41063}
41064
41065// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41066func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
41067	return nil, false
41068}
41069
41070// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41071func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
41072	return nil, false
41073}
41074
41075// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41076func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
41077	return nil, false
41078}
41079
41080// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41081func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
41082	return nil, false
41083}
41084
41085// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41086func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
41087	return nil, false
41088}
41089
41090// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41091func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
41092	return nil, false
41093}
41094
41095// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41096func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
41097	return nil, false
41098}
41099
41100// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41101func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
41102	return nil, false
41103}
41104
41105// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41106func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
41107	return nil, false
41108}
41109
41110// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41111func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
41112	return nil, false
41113}
41114
41115// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41116func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
41117	return nil, false
41118}
41119
41120// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41121func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
41122	return nil, false
41123}
41124
41125// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41126func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
41127	return nil, false
41128}
41129
41130// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41131func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
41132	return nil, false
41133}
41134
41135// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41136func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
41137	return nil, false
41138}
41139
41140// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41141func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
41142	return nil, false
41143}
41144
41145// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41146func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
41147	return nil, false
41148}
41149
41150// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41151func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
41152	return nil, false
41153}
41154
41155// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41156func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
41157	return nil, false
41158}
41159
41160// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41161func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
41162	return nil, false
41163}
41164
41165// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41166func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
41167	return nil, false
41168}
41169
41170// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41171func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
41172	return nil, false
41173}
41174
41175// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41176func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
41177	return nil, false
41178}
41179
41180// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41181func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
41182	return nil, false
41183}
41184
41185// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41186func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
41187	return nil, false
41188}
41189
41190// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41191func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
41192	return nil, false
41193}
41194
41195// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41196func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
41197	return nil, false
41198}
41199
41200// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41201func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
41202	return nil, false
41203}
41204
41205// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41206func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
41207	return nil, false
41208}
41209
41210// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41211func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
41212	return nil, false
41213}
41214
41215// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41216func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
41217	return nil, false
41218}
41219
41220// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41221func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
41222	return nil, false
41223}
41224
41225// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41226func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
41227	return nil, false
41228}
41229
41230// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41231func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
41232	return nil, false
41233}
41234
41235// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41236func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
41237	return nil, false
41238}
41239
41240// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41241func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
41242	return nil, false
41243}
41244
41245// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41246func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
41247	return nil, false
41248}
41249
41250// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41251func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
41252	return nil, false
41253}
41254
41255// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41256func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
41257	return nil, false
41258}
41259
41260// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41261func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
41262	return &hils, true
41263}
41264
41265// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41266func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
41267	return nil, false
41268}
41269
41270// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41271func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
41272	return nil, false
41273}
41274
41275// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41276func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
41277	return nil, false
41278}
41279
41280// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41281func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
41282	return nil, false
41283}
41284
41285// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41286func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
41287	return nil, false
41288}
41289
41290// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41291func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
41292	return nil, false
41293}
41294
41295// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41296func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
41297	return nil, false
41298}
41299
41300// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41301func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
41302	return nil, false
41303}
41304
41305// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41306func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) {
41307	return nil, false
41308}
41309
41310// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService.
41311func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
41312	return &hils, true
41313}
41314
41315// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct.
41316func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error {
41317	var m map[string]*json.RawMessage
41318	err := json.Unmarshal(body, &m)
41319	if err != nil {
41320		return err
41321	}
41322	for k, v := range m {
41323		switch k {
41324		case "typeProperties":
41325			if v != nil {
41326				var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties
41327				err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties)
41328				if err != nil {
41329					return err
41330				}
41331				hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties
41332			}
41333		default:
41334			if v != nil {
41335				var additionalProperties interface{}
41336				err = json.Unmarshal(*v, &additionalProperties)
41337				if err != nil {
41338					return err
41339				}
41340				if hils.AdditionalProperties == nil {
41341					hils.AdditionalProperties = make(map[string]interface{})
41342				}
41343				hils.AdditionalProperties[k] = additionalProperties
41344			}
41345		case "connectVia":
41346			if v != nil {
41347				var connectVia IntegrationRuntimeReference
41348				err = json.Unmarshal(*v, &connectVia)
41349				if err != nil {
41350					return err
41351				}
41352				hils.ConnectVia = &connectVia
41353			}
41354		case "description":
41355			if v != nil {
41356				var description string
41357				err = json.Unmarshal(*v, &description)
41358				if err != nil {
41359					return err
41360				}
41361				hils.Description = &description
41362			}
41363		case "parameters":
41364			if v != nil {
41365				var parameters map[string]*ParameterSpecification
41366				err = json.Unmarshal(*v, &parameters)
41367				if err != nil {
41368					return err
41369				}
41370				hils.Parameters = parameters
41371			}
41372		case "annotations":
41373			if v != nil {
41374				var annotations []interface{}
41375				err = json.Unmarshal(*v, &annotations)
41376				if err != nil {
41377					return err
41378				}
41379				hils.Annotations = &annotations
41380			}
41381		case "type":
41382			if v != nil {
41383				var typeVar TypeBasicLinkedService
41384				err = json.Unmarshal(*v, &typeVar)
41385				if err != nil {
41386					return err
41387				}
41388				hils.Type = typeVar
41389			}
41390		}
41391	}
41392
41393	return nil
41394}
41395
41396// HDInsightLinkedServiceTypeProperties hDInsight linked service properties.
41397type HDInsightLinkedServiceTypeProperties struct {
41398	// ClusterURI - HDInsight cluster URI. Type: string (or Expression with resultType string).
41399	ClusterURI interface{} `json:"clusterUri,omitempty"`
41400	// UserName - HDInsight cluster user name. Type: string (or Expression with resultType string).
41401	UserName interface{} `json:"userName,omitempty"`
41402	// Password - HDInsight cluster password.
41403	Password BasicSecretBase `json:"password,omitempty"`
41404	// LinkedServiceName - The Azure Storage linked service reference.
41405	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
41406	// HcatalogLinkedServiceName - A reference to the Azure SQL linked service that points to the HCatalog database.
41407	HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
41408	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
41409	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
41410}
41411
41412// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedServiceTypeProperties struct.
41413func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
41414	var m map[string]*json.RawMessage
41415	err := json.Unmarshal(body, &m)
41416	if err != nil {
41417		return err
41418	}
41419	for k, v := range m {
41420		switch k {
41421		case "clusterUri":
41422			if v != nil {
41423				var clusterURI interface{}
41424				err = json.Unmarshal(*v, &clusterURI)
41425				if err != nil {
41426					return err
41427				}
41428				hilstp.ClusterURI = clusterURI
41429			}
41430		case "userName":
41431			if v != nil {
41432				var userName interface{}
41433				err = json.Unmarshal(*v, &userName)
41434				if err != nil {
41435					return err
41436				}
41437				hilstp.UserName = userName
41438			}
41439		case "password":
41440			if v != nil {
41441				password, err := unmarshalBasicSecretBase(*v)
41442				if err != nil {
41443					return err
41444				}
41445				hilstp.Password = password
41446			}
41447		case "linkedServiceName":
41448			if v != nil {
41449				var linkedServiceName LinkedServiceReference
41450				err = json.Unmarshal(*v, &linkedServiceName)
41451				if err != nil {
41452					return err
41453				}
41454				hilstp.LinkedServiceName = &linkedServiceName
41455			}
41456		case "hcatalogLinkedServiceName":
41457			if v != nil {
41458				var hcatalogLinkedServiceName LinkedServiceReference
41459				err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
41460				if err != nil {
41461					return err
41462				}
41463				hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
41464			}
41465		case "encryptedCredential":
41466			if v != nil {
41467				var encryptedCredential interface{}
41468				err = json.Unmarshal(*v, &encryptedCredential)
41469				if err != nil {
41470					return err
41471				}
41472				hilstp.EncryptedCredential = encryptedCredential
41473			}
41474		}
41475	}
41476
41477	return nil
41478}
41479
41480// HDInsightMapReduceActivity hDInsight MapReduce activity type.
41481type HDInsightMapReduceActivity struct {
41482	// HDInsightMapReduceActivityTypeProperties - HDInsight MapReduce activity properties.
41483	*HDInsightMapReduceActivityTypeProperties `json:"typeProperties,omitempty"`
41484	// LinkedServiceName - Linked service reference.
41485	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
41486	// Policy - Activity policy.
41487	Policy *ActivityPolicy `json:"policy,omitempty"`
41488	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
41489	AdditionalProperties map[string]interface{} `json:""`
41490	// Name - Activity name.
41491	Name *string `json:"name,omitempty"`
41492	// Description - Activity description.
41493	Description *string `json:"description,omitempty"`
41494	// DependsOn - Activity depends on condition.
41495	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
41496	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
41497	Type TypeBasicActivity `json:"type,omitempty"`
41498}
41499
41500// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity.
41501func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) {
41502	himra.Type = TypeHDInsightMapReduce
41503	objectMap := make(map[string]interface{})
41504	if himra.HDInsightMapReduceActivityTypeProperties != nil {
41505		objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties
41506	}
41507	if himra.LinkedServiceName != nil {
41508		objectMap["linkedServiceName"] = himra.LinkedServiceName
41509	}
41510	if himra.Policy != nil {
41511		objectMap["policy"] = himra.Policy
41512	}
41513	if himra.Name != nil {
41514		objectMap["name"] = himra.Name
41515	}
41516	if himra.Description != nil {
41517		objectMap["description"] = himra.Description
41518	}
41519	if himra.DependsOn != nil {
41520		objectMap["dependsOn"] = himra.DependsOn
41521	}
41522	if himra.Type != "" {
41523		objectMap["type"] = himra.Type
41524	}
41525	for k, v := range himra.AdditionalProperties {
41526		objectMap[k] = v
41527	}
41528	return json.Marshal(objectMap)
41529}
41530
41531// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41532func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
41533	return nil, false
41534}
41535
41536// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41537func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
41538	return nil, false
41539}
41540
41541// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41542func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
41543	return nil, false
41544}
41545
41546// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41547func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
41548	return nil, false
41549}
41550
41551// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41552func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
41553	return nil, false
41554}
41555
41556// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41557func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) {
41558	return nil, false
41559}
41560
41561// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41562func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) {
41563	return nil, false
41564}
41565
41566// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41567func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
41568	return nil, false
41569}
41570
41571// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41572func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) {
41573	return nil, false
41574}
41575
41576// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41577func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
41578	return nil, false
41579}
41580
41581// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41582func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
41583	return nil, false
41584}
41585
41586// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41587func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
41588	return nil, false
41589}
41590
41591// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41592func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
41593	return &himra, true
41594}
41595
41596// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41597func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
41598	return nil, false
41599}
41600
41601// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41602func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
41603	return nil, false
41604}
41605
41606// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41607func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) {
41608	return nil, false
41609}
41610
41611// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41612func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
41613	return nil, false
41614}
41615
41616// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41617func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
41618	return &himra, true
41619}
41620
41621// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41622func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) {
41623	return nil, false
41624}
41625
41626// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41627func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) {
41628	return nil, false
41629}
41630
41631// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41632func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) {
41633	return nil, false
41634}
41635
41636// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41637func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) {
41638	return nil, false
41639}
41640
41641// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41642func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
41643	return nil, false
41644}
41645
41646// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41647func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
41648	return nil, false
41649}
41650
41651// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41652func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) {
41653	return nil, false
41654}
41655
41656// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41657func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
41658	return nil, false
41659}
41660
41661// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41662func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) {
41663	return nil, false
41664}
41665
41666// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity.
41667func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) {
41668	return &himra, true
41669}
41670
41671// UnmarshalJSON is the custom unmarshaler for HDInsightMapReduceActivity struct.
41672func (himra *HDInsightMapReduceActivity) UnmarshalJSON(body []byte) error {
41673	var m map[string]*json.RawMessage
41674	err := json.Unmarshal(body, &m)
41675	if err != nil {
41676		return err
41677	}
41678	for k, v := range m {
41679		switch k {
41680		case "typeProperties":
41681			if v != nil {
41682				var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties
41683				err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties)
41684				if err != nil {
41685					return err
41686				}
41687				himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties
41688			}
41689		case "linkedServiceName":
41690			if v != nil {
41691				var linkedServiceName LinkedServiceReference
41692				err = json.Unmarshal(*v, &linkedServiceName)
41693				if err != nil {
41694					return err
41695				}
41696				himra.LinkedServiceName = &linkedServiceName
41697			}
41698		case "policy":
41699			if v != nil {
41700				var policy ActivityPolicy
41701				err = json.Unmarshal(*v, &policy)
41702				if err != nil {
41703					return err
41704				}
41705				himra.Policy = &policy
41706			}
41707		default:
41708			if v != nil {
41709				var additionalProperties interface{}
41710				err = json.Unmarshal(*v, &additionalProperties)
41711				if err != nil {
41712					return err
41713				}
41714				if himra.AdditionalProperties == nil {
41715					himra.AdditionalProperties = make(map[string]interface{})
41716				}
41717				himra.AdditionalProperties[k] = additionalProperties
41718			}
41719		case "name":
41720			if v != nil {
41721				var name string
41722				err = json.Unmarshal(*v, &name)
41723				if err != nil {
41724					return err
41725				}
41726				himra.Name = &name
41727			}
41728		case "description":
41729			if v != nil {
41730				var description string
41731				err = json.Unmarshal(*v, &description)
41732				if err != nil {
41733					return err
41734				}
41735				himra.Description = &description
41736			}
41737		case "dependsOn":
41738			if v != nil {
41739				var dependsOn []ActivityDependency
41740				err = json.Unmarshal(*v, &dependsOn)
41741				if err != nil {
41742					return err
41743				}
41744				himra.DependsOn = &dependsOn
41745			}
41746		case "type":
41747			if v != nil {
41748				var typeVar TypeBasicActivity
41749				err = json.Unmarshal(*v, &typeVar)
41750				if err != nil {
41751					return err
41752				}
41753				himra.Type = typeVar
41754			}
41755		}
41756	}
41757
41758	return nil
41759}
41760
41761// HDInsightMapReduceActivityTypeProperties hDInsight MapReduce activity properties.
41762type HDInsightMapReduceActivityTypeProperties struct {
41763	// StorageLinkedServices - Storage linked service references.
41764	StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
41765	// Arguments - User specified arguments to HDInsightActivity.
41766	Arguments *[]interface{} `json:"arguments,omitempty"`
41767	// GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
41768	GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
41769	// ClassName - Class name. Type: string (or Expression with resultType string).
41770	ClassName interface{} `json:"className,omitempty"`
41771	// JarFilePath - Jar path. Type: string (or Expression with resultType string).
41772	JarFilePath interface{} `json:"jarFilePath,omitempty"`
41773	// JarLinkedService - Jar linked service reference.
41774	JarLinkedService *LinkedServiceReference `json:"jarLinkedService,omitempty"`
41775	// JarLibs - Jar libs.
41776	JarLibs *[]interface{} `json:"jarLibs,omitempty"`
41777	// Defines - Allows user to specify defines for the MapReduce job request.
41778	Defines map[string]interface{} `json:"defines"`
41779}
41780
41781// MarshalJSON is the custom marshaler for HDInsightMapReduceActivityTypeProperties.
41782func (himratp HDInsightMapReduceActivityTypeProperties) MarshalJSON() ([]byte, error) {
41783	objectMap := make(map[string]interface{})
41784	if himratp.StorageLinkedServices != nil {
41785		objectMap["storageLinkedServices"] = himratp.StorageLinkedServices
41786	}
41787	if himratp.Arguments != nil {
41788		objectMap["arguments"] = himratp.Arguments
41789	}
41790	if himratp.GetDebugInfo != "" {
41791		objectMap["getDebugInfo"] = himratp.GetDebugInfo
41792	}
41793	objectMap["className"] = himratp.ClassName
41794	objectMap["jarFilePath"] = himratp.JarFilePath
41795	if himratp.JarLinkedService != nil {
41796		objectMap["jarLinkedService"] = himratp.JarLinkedService
41797	}
41798	if himratp.JarLibs != nil {
41799		objectMap["jarLibs"] = himratp.JarLibs
41800	}
41801	if himratp.Defines != nil {
41802		objectMap["defines"] = himratp.Defines
41803	}
41804	return json.Marshal(objectMap)
41805}
41806
41807// HDInsightOnDemandLinkedService hDInsight ondemand linked service.
41808type HDInsightOnDemandLinkedService struct {
41809	// HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties.
41810	*HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
41811	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
41812	AdditionalProperties map[string]interface{} `json:""`
41813	// ConnectVia - The integration runtime reference.
41814	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
41815	// Description - Linked service description.
41816	Description *string `json:"description,omitempty"`
41817	// Parameters - Parameters for linked service.
41818	Parameters map[string]*ParameterSpecification `json:"parameters"`
41819	// Annotations - List of tags that can be used for describing the Dataset.
41820	Annotations *[]interface{} `json:"annotations,omitempty"`
41821	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
41822	Type TypeBasicLinkedService `json:"type,omitempty"`
41823}
41824
41825// MarshalJSON is the custom marshaler for HDInsightOnDemandLinkedService.
41826func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) {
41827	hiodls.Type = TypeHDInsightOnDemand
41828	objectMap := make(map[string]interface{})
41829	if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil {
41830		objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties
41831	}
41832	if hiodls.ConnectVia != nil {
41833		objectMap["connectVia"] = hiodls.ConnectVia
41834	}
41835	if hiodls.Description != nil {
41836		objectMap["description"] = hiodls.Description
41837	}
41838	if hiodls.Parameters != nil {
41839		objectMap["parameters"] = hiodls.Parameters
41840	}
41841	if hiodls.Annotations != nil {
41842		objectMap["annotations"] = hiodls.Annotations
41843	}
41844	if hiodls.Type != "" {
41845		objectMap["type"] = hiodls.Type
41846	}
41847	for k, v := range hiodls.AdditionalProperties {
41848		objectMap[k] = v
41849	}
41850	return json.Marshal(objectMap)
41851}
41852
41853// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41854func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
41855	return nil, false
41856}
41857
41858// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41859func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
41860	return nil, false
41861}
41862
41863// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41864func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
41865	return nil, false
41866}
41867
41868// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41869func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
41870	return &hiodls, true
41871}
41872
41873// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41874func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
41875	return nil, false
41876}
41877
41878// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41879func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
41880	return nil, false
41881}
41882
41883// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41884func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
41885	return nil, false
41886}
41887
41888// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41889func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
41890	return nil, false
41891}
41892
41893// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41894func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
41895	return nil, false
41896}
41897
41898// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41899func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
41900	return nil, false
41901}
41902
41903// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41904func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
41905	return nil, false
41906}
41907
41908// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41909func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
41910	return nil, false
41911}
41912
41913// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41914func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
41915	return nil, false
41916}
41917
41918// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41919func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
41920	return nil, false
41921}
41922
41923// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41924func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
41925	return nil, false
41926}
41927
41928// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41929func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
41930	return nil, false
41931}
41932
41933// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41934func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
41935	return nil, false
41936}
41937
41938// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41939func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
41940	return nil, false
41941}
41942
41943// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41944func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
41945	return nil, false
41946}
41947
41948// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41949func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
41950	return nil, false
41951}
41952
41953// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41954func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
41955	return nil, false
41956}
41957
41958// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41959func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
41960	return nil, false
41961}
41962
41963// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41964func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
41965	return nil, false
41966}
41967
41968// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41969func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
41970	return nil, false
41971}
41972
41973// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41974func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
41975	return nil, false
41976}
41977
41978// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41979func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
41980	return nil, false
41981}
41982
41983// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41984func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
41985	return nil, false
41986}
41987
41988// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41989func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
41990	return nil, false
41991}
41992
41993// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41994func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
41995	return nil, false
41996}
41997
41998// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
41999func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
42000	return nil, false
42001}
42002
42003// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42004func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
42005	return nil, false
42006}
42007
42008// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42009func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
42010	return nil, false
42011}
42012
42013// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42014func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
42015	return nil, false
42016}
42017
42018// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42019func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
42020	return nil, false
42021}
42022
42023// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42024func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
42025	return nil, false
42026}
42027
42028// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42029func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
42030	return nil, false
42031}
42032
42033// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42034func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
42035	return nil, false
42036}
42037
42038// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42039func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
42040	return nil, false
42041}
42042
42043// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42044func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
42045	return nil, false
42046}
42047
42048// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42049func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
42050	return nil, false
42051}
42052
42053// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42054func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
42055	return nil, false
42056}
42057
42058// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42059func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
42060	return nil, false
42061}
42062
42063// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42064func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
42065	return nil, false
42066}
42067
42068// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42069func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
42070	return nil, false
42071}
42072
42073// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42074func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
42075	return nil, false
42076}
42077
42078// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42079func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
42080	return nil, false
42081}
42082
42083// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42084func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
42085	return nil, false
42086}
42087
42088// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42089func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
42090	return nil, false
42091}
42092
42093// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42094func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
42095	return nil, false
42096}
42097
42098// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42099func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
42100	return nil, false
42101}
42102
42103// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42104func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
42105	return nil, false
42106}
42107
42108// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42109func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
42110	return nil, false
42111}
42112
42113// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42114func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
42115	return nil, false
42116}
42117
42118// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42119func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
42120	return nil, false
42121}
42122
42123// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42124func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
42125	return nil, false
42126}
42127
42128// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42129func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
42130	return nil, false
42131}
42132
42133// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42134func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
42135	return nil, false
42136}
42137
42138// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42139func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
42140	return nil, false
42141}
42142
42143// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42144func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
42145	return nil, false
42146}
42147
42148// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42149func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
42150	return nil, false
42151}
42152
42153// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42154func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
42155	return nil, false
42156}
42157
42158// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42159func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
42160	return nil, false
42161}
42162
42163// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42164func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
42165	return nil, false
42166}
42167
42168// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42169func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
42170	return nil, false
42171}
42172
42173// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42174func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
42175	return nil, false
42176}
42177
42178// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42179func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
42180	return nil, false
42181}
42182
42183// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42184func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
42185	return nil, false
42186}
42187
42188// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42189func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
42190	return nil, false
42191}
42192
42193// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42194func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
42195	return nil, false
42196}
42197
42198// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42199func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
42200	return nil, false
42201}
42202
42203// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42204func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) {
42205	return nil, false
42206}
42207
42208// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService.
42209func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
42210	return &hiodls, true
42211}
42212
42213// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct.
42214func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error {
42215	var m map[string]*json.RawMessage
42216	err := json.Unmarshal(body, &m)
42217	if err != nil {
42218		return err
42219	}
42220	for k, v := range m {
42221		switch k {
42222		case "typeProperties":
42223			if v != nil {
42224				var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties
42225				err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties)
42226				if err != nil {
42227					return err
42228				}
42229				hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties
42230			}
42231		default:
42232			if v != nil {
42233				var additionalProperties interface{}
42234				err = json.Unmarshal(*v, &additionalProperties)
42235				if err != nil {
42236					return err
42237				}
42238				if hiodls.AdditionalProperties == nil {
42239					hiodls.AdditionalProperties = make(map[string]interface{})
42240				}
42241				hiodls.AdditionalProperties[k] = additionalProperties
42242			}
42243		case "connectVia":
42244			if v != nil {
42245				var connectVia IntegrationRuntimeReference
42246				err = json.Unmarshal(*v, &connectVia)
42247				if err != nil {
42248					return err
42249				}
42250				hiodls.ConnectVia = &connectVia
42251			}
42252		case "description":
42253			if v != nil {
42254				var description string
42255				err = json.Unmarshal(*v, &description)
42256				if err != nil {
42257					return err
42258				}
42259				hiodls.Description = &description
42260			}
42261		case "parameters":
42262			if v != nil {
42263				var parameters map[string]*ParameterSpecification
42264				err = json.Unmarshal(*v, &parameters)
42265				if err != nil {
42266					return err
42267				}
42268				hiodls.Parameters = parameters
42269			}
42270		case "annotations":
42271			if v != nil {
42272				var annotations []interface{}
42273				err = json.Unmarshal(*v, &annotations)
42274				if err != nil {
42275					return err
42276				}
42277				hiodls.Annotations = &annotations
42278			}
42279		case "type":
42280			if v != nil {
42281				var typeVar TypeBasicLinkedService
42282				err = json.Unmarshal(*v, &typeVar)
42283				if err != nil {
42284					return err
42285				}
42286				hiodls.Type = typeVar
42287			}
42288		}
42289	}
42290
42291	return nil
42292}
42293
42294// HDInsightOnDemandLinkedServiceTypeProperties hDInsight ondemand linked service properties.
42295type HDInsightOnDemandLinkedServiceTypeProperties struct {
42296	// ClusterSize - Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string).
42297	ClusterSize interface{} `json:"clusterSize,omitempty"`
42298	// TimeToLive - The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string).
42299	TimeToLive interface{} `json:"timeToLive,omitempty"`
42300	// Version - Version of the HDInsight cluster.  Type: string (or Expression with resultType string).
42301	Version interface{} `json:"version,omitempty"`
42302	// LinkedServiceName - Azure Storage linked service to be used by the on-demand cluster for storing and processing data.
42303	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
42304	// HostSubscriptionID - The customer’s subscription to host the cluster. Type: string (or Expression with resultType string).
42305	HostSubscriptionID interface{} `json:"hostSubscriptionId,omitempty"`
42306	// ServicePrincipalID - The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string).
42307	ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"`
42308	// ServicePrincipalKey - The key for the service principal id.
42309	ServicePrincipalKey BasicSecretBase `json:"servicePrincipalKey,omitempty"`
42310	// Tenant - The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string).
42311	Tenant interface{} `json:"tenant,omitempty"`
42312	// ClusterResourceGroup - The resource group where the cluster belongs. Type: string (or Expression with resultType string).
42313	ClusterResourceGroup interface{} `json:"clusterResourceGroup,omitempty"`
42314	// ClusterNamePrefix - The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string).
42315	ClusterNamePrefix interface{} `json:"clusterNamePrefix,omitempty"`
42316	// ClusterUserName - The username to access the cluster. Type: string (or Expression with resultType string).
42317	ClusterUserName interface{} `json:"clusterUserName,omitempty"`
42318	// ClusterPassword - The password to access the cluster.
42319	ClusterPassword BasicSecretBase `json:"clusterPassword,omitempty"`
42320	// ClusterSSHUserName - The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string).
42321	ClusterSSHUserName interface{} `json:"clusterSshUserName,omitempty"`
42322	// ClusterSSHPassword - The password to SSH remotely connect cluster’s node (for Linux).
42323	ClusterSSHPassword BasicSecretBase `json:"clusterSshPassword,omitempty"`
42324	// AdditionalLinkedServiceNames - Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf.
42325	AdditionalLinkedServiceNames *[]LinkedServiceReference `json:"additionalLinkedServiceNames,omitempty"`
42326	// HcatalogLinkedServiceName - The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore.
42327	HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"`
42328	// ClusterType - The cluster type. Type: string (or Expression with resultType string).
42329	ClusterType interface{} `json:"clusterType,omitempty"`
42330	// SparkVersion - The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string).
42331	SparkVersion interface{} `json:"sparkVersion,omitempty"`
42332	// CoreConfiguration - Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created.
42333	CoreConfiguration interface{} `json:"coreConfiguration,omitempty"`
42334	// HBaseConfiguration - Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster.
42335	HBaseConfiguration interface{} `json:"hBaseConfiguration,omitempty"`
42336	// HdfsConfiguration - Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster.
42337	HdfsConfiguration interface{} `json:"hdfsConfiguration,omitempty"`
42338	// HiveConfiguration - Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster.
42339	HiveConfiguration interface{} `json:"hiveConfiguration,omitempty"`
42340	// MapReduceConfiguration - Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster.
42341	MapReduceConfiguration interface{} `json:"mapReduceConfiguration,omitempty"`
42342	// OozieConfiguration - Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster.
42343	OozieConfiguration interface{} `json:"oozieConfiguration,omitempty"`
42344	// StormConfiguration - Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster.
42345	StormConfiguration interface{} `json:"stormConfiguration,omitempty"`
42346	// YarnConfiguration - Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster.
42347	YarnConfiguration interface{} `json:"yarnConfiguration,omitempty"`
42348	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
42349	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
42350	// HeadNodeSize - Specifies the size of the head node for the HDInsight cluster.
42351	HeadNodeSize interface{} `json:"headNodeSize,omitempty"`
42352	// DataNodeSize - Specifies the size of the data node for the HDInsight cluster.
42353	DataNodeSize interface{} `json:"dataNodeSize,omitempty"`
42354	// ZookeeperNodeSize - Specifies the size of the Zoo Keeper node for the HDInsight cluster.
42355	ZookeeperNodeSize interface{} `json:"zookeeperNodeSize,omitempty"`
42356}
42357
42358// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct.
42359func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
42360	var m map[string]*json.RawMessage
42361	err := json.Unmarshal(body, &m)
42362	if err != nil {
42363		return err
42364	}
42365	for k, v := range m {
42366		switch k {
42367		case "clusterSize":
42368			if v != nil {
42369				var clusterSize interface{}
42370				err = json.Unmarshal(*v, &clusterSize)
42371				if err != nil {
42372					return err
42373				}
42374				hiodlstp.ClusterSize = clusterSize
42375			}
42376		case "timeToLive":
42377			if v != nil {
42378				var timeToLive interface{}
42379				err = json.Unmarshal(*v, &timeToLive)
42380				if err != nil {
42381					return err
42382				}
42383				hiodlstp.TimeToLive = timeToLive
42384			}
42385		case "version":
42386			if v != nil {
42387				var version interface{}
42388				err = json.Unmarshal(*v, &version)
42389				if err != nil {
42390					return err
42391				}
42392				hiodlstp.Version = version
42393			}
42394		case "linkedServiceName":
42395			if v != nil {
42396				var linkedServiceName LinkedServiceReference
42397				err = json.Unmarshal(*v, &linkedServiceName)
42398				if err != nil {
42399					return err
42400				}
42401				hiodlstp.LinkedServiceName = &linkedServiceName
42402			}
42403		case "hostSubscriptionId":
42404			if v != nil {
42405				var hostSubscriptionID interface{}
42406				err = json.Unmarshal(*v, &hostSubscriptionID)
42407				if err != nil {
42408					return err
42409				}
42410				hiodlstp.HostSubscriptionID = hostSubscriptionID
42411			}
42412		case "servicePrincipalId":
42413			if v != nil {
42414				var servicePrincipalID interface{}
42415				err = json.Unmarshal(*v, &servicePrincipalID)
42416				if err != nil {
42417					return err
42418				}
42419				hiodlstp.ServicePrincipalID = servicePrincipalID
42420			}
42421		case "servicePrincipalKey":
42422			if v != nil {
42423				servicePrincipalKey, err := unmarshalBasicSecretBase(*v)
42424				if err != nil {
42425					return err
42426				}
42427				hiodlstp.ServicePrincipalKey = servicePrincipalKey
42428			}
42429		case "tenant":
42430			if v != nil {
42431				var tenant interface{}
42432				err = json.Unmarshal(*v, &tenant)
42433				if err != nil {
42434					return err
42435				}
42436				hiodlstp.Tenant = tenant
42437			}
42438		case "clusterResourceGroup":
42439			if v != nil {
42440				var clusterResourceGroup interface{}
42441				err = json.Unmarshal(*v, &clusterResourceGroup)
42442				if err != nil {
42443					return err
42444				}
42445				hiodlstp.ClusterResourceGroup = clusterResourceGroup
42446			}
42447		case "clusterNamePrefix":
42448			if v != nil {
42449				var clusterNamePrefix interface{}
42450				err = json.Unmarshal(*v, &clusterNamePrefix)
42451				if err != nil {
42452					return err
42453				}
42454				hiodlstp.ClusterNamePrefix = clusterNamePrefix
42455			}
42456		case "clusterUserName":
42457			if v != nil {
42458				var clusterUserName interface{}
42459				err = json.Unmarshal(*v, &clusterUserName)
42460				if err != nil {
42461					return err
42462				}
42463				hiodlstp.ClusterUserName = clusterUserName
42464			}
42465		case "clusterPassword":
42466			if v != nil {
42467				clusterPassword, err := unmarshalBasicSecretBase(*v)
42468				if err != nil {
42469					return err
42470				}
42471				hiodlstp.ClusterPassword = clusterPassword
42472			}
42473		case "clusterSshUserName":
42474			if v != nil {
42475				var clusterSSHUserName interface{}
42476				err = json.Unmarshal(*v, &clusterSSHUserName)
42477				if err != nil {
42478					return err
42479				}
42480				hiodlstp.ClusterSSHUserName = clusterSSHUserName
42481			}
42482		case "clusterSshPassword":
42483			if v != nil {
42484				clusterSSHPassword, err := unmarshalBasicSecretBase(*v)
42485				if err != nil {
42486					return err
42487				}
42488				hiodlstp.ClusterSSHPassword = clusterSSHPassword
42489			}
42490		case "additionalLinkedServiceNames":
42491			if v != nil {
42492				var additionalLinkedServiceNames []LinkedServiceReference
42493				err = json.Unmarshal(*v, &additionalLinkedServiceNames)
42494				if err != nil {
42495					return err
42496				}
42497				hiodlstp.AdditionalLinkedServiceNames = &additionalLinkedServiceNames
42498			}
42499		case "hcatalogLinkedServiceName":
42500			if v != nil {
42501				var hcatalogLinkedServiceName LinkedServiceReference
42502				err = json.Unmarshal(*v, &hcatalogLinkedServiceName)
42503				if err != nil {
42504					return err
42505				}
42506				hiodlstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName
42507			}
42508		case "clusterType":
42509			if v != nil {
42510				var clusterType interface{}
42511				err = json.Unmarshal(*v, &clusterType)
42512				if err != nil {
42513					return err
42514				}
42515				hiodlstp.ClusterType = clusterType
42516			}
42517		case "sparkVersion":
42518			if v != nil {
42519				var sparkVersion interface{}
42520				err = json.Unmarshal(*v, &sparkVersion)
42521				if err != nil {
42522					return err
42523				}
42524				hiodlstp.SparkVersion = sparkVersion
42525			}
42526		case "coreConfiguration":
42527			if v != nil {
42528				var coreConfiguration interface{}
42529				err = json.Unmarshal(*v, &coreConfiguration)
42530				if err != nil {
42531					return err
42532				}
42533				hiodlstp.CoreConfiguration = coreConfiguration
42534			}
42535		case "hBaseConfiguration":
42536			if v != nil {
42537				var hBaseConfiguration interface{}
42538				err = json.Unmarshal(*v, &hBaseConfiguration)
42539				if err != nil {
42540					return err
42541				}
42542				hiodlstp.HBaseConfiguration = hBaseConfiguration
42543			}
42544		case "hdfsConfiguration":
42545			if v != nil {
42546				var hdfsConfiguration interface{}
42547				err = json.Unmarshal(*v, &hdfsConfiguration)
42548				if err != nil {
42549					return err
42550				}
42551				hiodlstp.HdfsConfiguration = hdfsConfiguration
42552			}
42553		case "hiveConfiguration":
42554			if v != nil {
42555				var hiveConfiguration interface{}
42556				err = json.Unmarshal(*v, &hiveConfiguration)
42557				if err != nil {
42558					return err
42559				}
42560				hiodlstp.HiveConfiguration = hiveConfiguration
42561			}
42562		case "mapReduceConfiguration":
42563			if v != nil {
42564				var mapReduceConfiguration interface{}
42565				err = json.Unmarshal(*v, &mapReduceConfiguration)
42566				if err != nil {
42567					return err
42568				}
42569				hiodlstp.MapReduceConfiguration = mapReduceConfiguration
42570			}
42571		case "oozieConfiguration":
42572			if v != nil {
42573				var oozieConfiguration interface{}
42574				err = json.Unmarshal(*v, &oozieConfiguration)
42575				if err != nil {
42576					return err
42577				}
42578				hiodlstp.OozieConfiguration = oozieConfiguration
42579			}
42580		case "stormConfiguration":
42581			if v != nil {
42582				var stormConfiguration interface{}
42583				err = json.Unmarshal(*v, &stormConfiguration)
42584				if err != nil {
42585					return err
42586				}
42587				hiodlstp.StormConfiguration = stormConfiguration
42588			}
42589		case "yarnConfiguration":
42590			if v != nil {
42591				var yarnConfiguration interface{}
42592				err = json.Unmarshal(*v, &yarnConfiguration)
42593				if err != nil {
42594					return err
42595				}
42596				hiodlstp.YarnConfiguration = yarnConfiguration
42597			}
42598		case "encryptedCredential":
42599			if v != nil {
42600				var encryptedCredential interface{}
42601				err = json.Unmarshal(*v, &encryptedCredential)
42602				if err != nil {
42603					return err
42604				}
42605				hiodlstp.EncryptedCredential = encryptedCredential
42606			}
42607		case "headNodeSize":
42608			if v != nil {
42609				var headNodeSize interface{}
42610				err = json.Unmarshal(*v, &headNodeSize)
42611				if err != nil {
42612					return err
42613				}
42614				hiodlstp.HeadNodeSize = headNodeSize
42615			}
42616		case "dataNodeSize":
42617			if v != nil {
42618				var dataNodeSize interface{}
42619				err = json.Unmarshal(*v, &dataNodeSize)
42620				if err != nil {
42621					return err
42622				}
42623				hiodlstp.DataNodeSize = dataNodeSize
42624			}
42625		case "zookeeperNodeSize":
42626			if v != nil {
42627				var zookeeperNodeSize interface{}
42628				err = json.Unmarshal(*v, &zookeeperNodeSize)
42629				if err != nil {
42630					return err
42631				}
42632				hiodlstp.ZookeeperNodeSize = zookeeperNodeSize
42633			}
42634		}
42635	}
42636
42637	return nil
42638}
42639
42640// HDInsightPigActivity hDInsight Pig activity type.
42641type HDInsightPigActivity struct {
42642	// HDInsightPigActivityTypeProperties - HDInsight Pig activity properties.
42643	*HDInsightPigActivityTypeProperties `json:"typeProperties,omitempty"`
42644	// LinkedServiceName - Linked service reference.
42645	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
42646	// Policy - Activity policy.
42647	Policy *ActivityPolicy `json:"policy,omitempty"`
42648	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
42649	AdditionalProperties map[string]interface{} `json:""`
42650	// Name - Activity name.
42651	Name *string `json:"name,omitempty"`
42652	// Description - Activity description.
42653	Description *string `json:"description,omitempty"`
42654	// DependsOn - Activity depends on condition.
42655	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
42656	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
42657	Type TypeBasicActivity `json:"type,omitempty"`
42658}
42659
42660// MarshalJSON is the custom marshaler for HDInsightPigActivity.
42661func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) {
42662	hipa.Type = TypeHDInsightPig
42663	objectMap := make(map[string]interface{})
42664	if hipa.HDInsightPigActivityTypeProperties != nil {
42665		objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties
42666	}
42667	if hipa.LinkedServiceName != nil {
42668		objectMap["linkedServiceName"] = hipa.LinkedServiceName
42669	}
42670	if hipa.Policy != nil {
42671		objectMap["policy"] = hipa.Policy
42672	}
42673	if hipa.Name != nil {
42674		objectMap["name"] = hipa.Name
42675	}
42676	if hipa.Description != nil {
42677		objectMap["description"] = hipa.Description
42678	}
42679	if hipa.DependsOn != nil {
42680		objectMap["dependsOn"] = hipa.DependsOn
42681	}
42682	if hipa.Type != "" {
42683		objectMap["type"] = hipa.Type
42684	}
42685	for k, v := range hipa.AdditionalProperties {
42686		objectMap[k] = v
42687	}
42688	return json.Marshal(objectMap)
42689}
42690
42691// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity.
42692func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
42693	return nil, false
42694}
42695
42696// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity.
42697func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
42698	return nil, false
42699}
42700
42701// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity.
42702func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
42703	return nil, false
42704}
42705
42706// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
42707func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
42708	return nil, false
42709}
42710
42711// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity.
42712func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
42713	return nil, false
42714}
42715
42716// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity.
42717func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) {
42718	return nil, false
42719}
42720
42721// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity.
42722func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) {
42723	return nil, false
42724}
42725
42726// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity.
42727func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
42728	return nil, false
42729}
42730
42731// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity.
42732func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) {
42733	return nil, false
42734}
42735
42736// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity.
42737func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
42738	return nil, false
42739}
42740
42741// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity.
42742func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
42743	return nil, false
42744}
42745
42746// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity.
42747func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
42748	return nil, false
42749}
42750
42751// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity.
42752func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
42753	return nil, false
42754}
42755
42756// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity.
42757func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
42758	return &hipa, true
42759}
42760
42761// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity.
42762func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
42763	return nil, false
42764}
42765
42766// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity.
42767func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) {
42768	return nil, false
42769}
42770
42771// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
42772func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
42773	return nil, false
42774}
42775
42776// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity.
42777func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
42778	return &hipa, true
42779}
42780
42781// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity.
42782func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) {
42783	return nil, false
42784}
42785
42786// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity.
42787func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) {
42788	return nil, false
42789}
42790
42791// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity.
42792func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) {
42793	return nil, false
42794}
42795
42796// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity.
42797func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) {
42798	return nil, false
42799}
42800
42801// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity.
42802func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
42803	return nil, false
42804}
42805
42806// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity.
42807func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
42808	return nil, false
42809}
42810
42811// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity.
42812func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) {
42813	return nil, false
42814}
42815
42816// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity.
42817func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
42818	return nil, false
42819}
42820
42821// AsActivity is the BasicActivity implementation for HDInsightPigActivity.
42822func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) {
42823	return nil, false
42824}
42825
42826// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity.
42827func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) {
42828	return &hipa, true
42829}
42830
42831// UnmarshalJSON is the custom unmarshaler for HDInsightPigActivity struct.
42832func (hipa *HDInsightPigActivity) UnmarshalJSON(body []byte) error {
42833	var m map[string]*json.RawMessage
42834	err := json.Unmarshal(body, &m)
42835	if err != nil {
42836		return err
42837	}
42838	for k, v := range m {
42839		switch k {
42840		case "typeProperties":
42841			if v != nil {
42842				var hDInsightPigActivityTypeProperties HDInsightPigActivityTypeProperties
42843				err = json.Unmarshal(*v, &hDInsightPigActivityTypeProperties)
42844				if err != nil {
42845					return err
42846				}
42847				hipa.HDInsightPigActivityTypeProperties = &hDInsightPigActivityTypeProperties
42848			}
42849		case "linkedServiceName":
42850			if v != nil {
42851				var linkedServiceName LinkedServiceReference
42852				err = json.Unmarshal(*v, &linkedServiceName)
42853				if err != nil {
42854					return err
42855				}
42856				hipa.LinkedServiceName = &linkedServiceName
42857			}
42858		case "policy":
42859			if v != nil {
42860				var policy ActivityPolicy
42861				err = json.Unmarshal(*v, &policy)
42862				if err != nil {
42863					return err
42864				}
42865				hipa.Policy = &policy
42866			}
42867		default:
42868			if v != nil {
42869				var additionalProperties interface{}
42870				err = json.Unmarshal(*v, &additionalProperties)
42871				if err != nil {
42872					return err
42873				}
42874				if hipa.AdditionalProperties == nil {
42875					hipa.AdditionalProperties = make(map[string]interface{})
42876				}
42877				hipa.AdditionalProperties[k] = additionalProperties
42878			}
42879		case "name":
42880			if v != nil {
42881				var name string
42882				err = json.Unmarshal(*v, &name)
42883				if err != nil {
42884					return err
42885				}
42886				hipa.Name = &name
42887			}
42888		case "description":
42889			if v != nil {
42890				var description string
42891				err = json.Unmarshal(*v, &description)
42892				if err != nil {
42893					return err
42894				}
42895				hipa.Description = &description
42896			}
42897		case "dependsOn":
42898			if v != nil {
42899				var dependsOn []ActivityDependency
42900				err = json.Unmarshal(*v, &dependsOn)
42901				if err != nil {
42902					return err
42903				}
42904				hipa.DependsOn = &dependsOn
42905			}
42906		case "type":
42907			if v != nil {
42908				var typeVar TypeBasicActivity
42909				err = json.Unmarshal(*v, &typeVar)
42910				if err != nil {
42911					return err
42912				}
42913				hipa.Type = typeVar
42914			}
42915		}
42916	}
42917
42918	return nil
42919}
42920
42921// HDInsightPigActivityTypeProperties hDInsight Pig activity properties.
42922type HDInsightPigActivityTypeProperties struct {
42923	// StorageLinkedServices - Storage linked service references.
42924	StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
42925	// Arguments - User specified arguments to HDInsightActivity.
42926	Arguments *[]interface{} `json:"arguments,omitempty"`
42927	// GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
42928	GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
42929	// ScriptPath - Script path. Type: string (or Expression with resultType string).
42930	ScriptPath interface{} `json:"scriptPath,omitempty"`
42931	// ScriptLinkedService - Script linked service reference.
42932	ScriptLinkedService *LinkedServiceReference `json:"scriptLinkedService,omitempty"`
42933	// Defines - Allows user to specify defines for Pig job request.
42934	Defines map[string]interface{} `json:"defines"`
42935}
42936
42937// MarshalJSON is the custom marshaler for HDInsightPigActivityTypeProperties.
42938func (hipatp HDInsightPigActivityTypeProperties) MarshalJSON() ([]byte, error) {
42939	objectMap := make(map[string]interface{})
42940	if hipatp.StorageLinkedServices != nil {
42941		objectMap["storageLinkedServices"] = hipatp.StorageLinkedServices
42942	}
42943	if hipatp.Arguments != nil {
42944		objectMap["arguments"] = hipatp.Arguments
42945	}
42946	if hipatp.GetDebugInfo != "" {
42947		objectMap["getDebugInfo"] = hipatp.GetDebugInfo
42948	}
42949	objectMap["scriptPath"] = hipatp.ScriptPath
42950	if hipatp.ScriptLinkedService != nil {
42951		objectMap["scriptLinkedService"] = hipatp.ScriptLinkedService
42952	}
42953	if hipatp.Defines != nil {
42954		objectMap["defines"] = hipatp.Defines
42955	}
42956	return json.Marshal(objectMap)
42957}
42958
42959// HDInsightSparkActivity hDInsight Spark activity.
42960type HDInsightSparkActivity struct {
42961	// HDInsightSparkActivityTypeProperties - HDInsight spark activity properties.
42962	*HDInsightSparkActivityTypeProperties `json:"typeProperties,omitempty"`
42963	// LinkedServiceName - Linked service reference.
42964	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
42965	// Policy - Activity policy.
42966	Policy *ActivityPolicy `json:"policy,omitempty"`
42967	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
42968	AdditionalProperties map[string]interface{} `json:""`
42969	// Name - Activity name.
42970	Name *string `json:"name,omitempty"`
42971	// Description - Activity description.
42972	Description *string `json:"description,omitempty"`
42973	// DependsOn - Activity depends on condition.
42974	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
42975	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
42976	Type TypeBasicActivity `json:"type,omitempty"`
42977}
42978
42979// MarshalJSON is the custom marshaler for HDInsightSparkActivity.
42980func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) {
42981	hisa.Type = TypeHDInsightSpark
42982	objectMap := make(map[string]interface{})
42983	if hisa.HDInsightSparkActivityTypeProperties != nil {
42984		objectMap["typeProperties"] = hisa.HDInsightSparkActivityTypeProperties
42985	}
42986	if hisa.LinkedServiceName != nil {
42987		objectMap["linkedServiceName"] = hisa.LinkedServiceName
42988	}
42989	if hisa.Policy != nil {
42990		objectMap["policy"] = hisa.Policy
42991	}
42992	if hisa.Name != nil {
42993		objectMap["name"] = hisa.Name
42994	}
42995	if hisa.Description != nil {
42996		objectMap["description"] = hisa.Description
42997	}
42998	if hisa.DependsOn != nil {
42999		objectMap["dependsOn"] = hisa.DependsOn
43000	}
43001	if hisa.Type != "" {
43002		objectMap["type"] = hisa.Type
43003	}
43004	for k, v := range hisa.AdditionalProperties {
43005		objectMap[k] = v
43006	}
43007	return json.Marshal(objectMap)
43008}
43009
43010// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity.
43011func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
43012	return nil, false
43013}
43014
43015// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity.
43016func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
43017	return nil, false
43018}
43019
43020// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity.
43021func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
43022	return nil, false
43023}
43024
43025// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
43026func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
43027	return nil, false
43028}
43029
43030// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity.
43031func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
43032	return nil, false
43033}
43034
43035// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity.
43036func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) {
43037	return nil, false
43038}
43039
43040// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity.
43041func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) {
43042	return nil, false
43043}
43044
43045// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity.
43046func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
43047	return nil, false
43048}
43049
43050// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity.
43051func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) {
43052	return nil, false
43053}
43054
43055// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity.
43056func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
43057	return nil, false
43058}
43059
43060// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity.
43061func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
43062	return &hisa, true
43063}
43064
43065// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity.
43066func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
43067	return nil, false
43068}
43069
43070// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity.
43071func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
43072	return nil, false
43073}
43074
43075// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity.
43076func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
43077	return nil, false
43078}
43079
43080// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity.
43081func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
43082	return nil, false
43083}
43084
43085// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity.
43086func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) {
43087	return nil, false
43088}
43089
43090// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
43091func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
43092	return nil, false
43093}
43094
43095// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity.
43096func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
43097	return &hisa, true
43098}
43099
43100// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity.
43101func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) {
43102	return nil, false
43103}
43104
43105// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity.
43106func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) {
43107	return nil, false
43108}
43109
43110// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity.
43111func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) {
43112	return nil, false
43113}
43114
43115// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity.
43116func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) {
43117	return nil, false
43118}
43119
43120// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity.
43121func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
43122	return nil, false
43123}
43124
43125// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity.
43126func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
43127	return nil, false
43128}
43129
43130// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
43131func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) {
43132	return nil, false
43133}
43134
43135// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity.
43136func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
43137	return nil, false
43138}
43139
43140// AsActivity is the BasicActivity implementation for HDInsightSparkActivity.
43141func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) {
43142	return nil, false
43143}
43144
43145// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity.
43146func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) {
43147	return &hisa, true
43148}
43149
43150// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct.
43151func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error {
43152	var m map[string]*json.RawMessage
43153	err := json.Unmarshal(body, &m)
43154	if err != nil {
43155		return err
43156	}
43157	for k, v := range m {
43158		switch k {
43159		case "typeProperties":
43160			if v != nil {
43161				var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties
43162				err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties)
43163				if err != nil {
43164					return err
43165				}
43166				hisa.HDInsightSparkActivityTypeProperties = &hDInsightSparkActivityTypeProperties
43167			}
43168		case "linkedServiceName":
43169			if v != nil {
43170				var linkedServiceName LinkedServiceReference
43171				err = json.Unmarshal(*v, &linkedServiceName)
43172				if err != nil {
43173					return err
43174				}
43175				hisa.LinkedServiceName = &linkedServiceName
43176			}
43177		case "policy":
43178			if v != nil {
43179				var policy ActivityPolicy
43180				err = json.Unmarshal(*v, &policy)
43181				if err != nil {
43182					return err
43183				}
43184				hisa.Policy = &policy
43185			}
43186		default:
43187			if v != nil {
43188				var additionalProperties interface{}
43189				err = json.Unmarshal(*v, &additionalProperties)
43190				if err != nil {
43191					return err
43192				}
43193				if hisa.AdditionalProperties == nil {
43194					hisa.AdditionalProperties = make(map[string]interface{})
43195				}
43196				hisa.AdditionalProperties[k] = additionalProperties
43197			}
43198		case "name":
43199			if v != nil {
43200				var name string
43201				err = json.Unmarshal(*v, &name)
43202				if err != nil {
43203					return err
43204				}
43205				hisa.Name = &name
43206			}
43207		case "description":
43208			if v != nil {
43209				var description string
43210				err = json.Unmarshal(*v, &description)
43211				if err != nil {
43212					return err
43213				}
43214				hisa.Description = &description
43215			}
43216		case "dependsOn":
43217			if v != nil {
43218				var dependsOn []ActivityDependency
43219				err = json.Unmarshal(*v, &dependsOn)
43220				if err != nil {
43221					return err
43222				}
43223				hisa.DependsOn = &dependsOn
43224			}
43225		case "type":
43226			if v != nil {
43227				var typeVar TypeBasicActivity
43228				err = json.Unmarshal(*v, &typeVar)
43229				if err != nil {
43230					return err
43231				}
43232				hisa.Type = typeVar
43233			}
43234		}
43235	}
43236
43237	return nil
43238}
43239
43240// HDInsightSparkActivityTypeProperties hDInsight spark activity properties.
43241type HDInsightSparkActivityTypeProperties struct {
43242	// RootPath - The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).
43243	RootPath interface{} `json:"rootPath,omitempty"`
43244	// EntryFilePath - The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).
43245	EntryFilePath interface{} `json:"entryFilePath,omitempty"`
43246	// Arguments - The user-specified arguments to HDInsightSparkActivity.
43247	Arguments *[]interface{} `json:"arguments,omitempty"`
43248	// GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
43249	GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
43250	// SparkJobLinkedService - The storage linked service for uploading the entry file and dependencies, and for receiving logs.
43251	SparkJobLinkedService *LinkedServiceReference `json:"sparkJobLinkedService,omitempty"`
43252	// ClassName - The application's Java/Spark main class.
43253	ClassName *string `json:"className,omitempty"`
43254	// ProxyUser - The user to impersonate that will execute the job. Type: string (or Expression with resultType string).
43255	ProxyUser interface{} `json:"proxyUser,omitempty"`
43256	// SparkConfig - Spark configuration property.
43257	SparkConfig map[string]interface{} `json:"sparkConfig"`
43258}
43259
43260// MarshalJSON is the custom marshaler for HDInsightSparkActivityTypeProperties.
43261func (hisatp HDInsightSparkActivityTypeProperties) MarshalJSON() ([]byte, error) {
43262	objectMap := make(map[string]interface{})
43263	objectMap["rootPath"] = hisatp.RootPath
43264	objectMap["entryFilePath"] = hisatp.EntryFilePath
43265	if hisatp.Arguments != nil {
43266		objectMap["arguments"] = hisatp.Arguments
43267	}
43268	if hisatp.GetDebugInfo != "" {
43269		objectMap["getDebugInfo"] = hisatp.GetDebugInfo
43270	}
43271	if hisatp.SparkJobLinkedService != nil {
43272		objectMap["sparkJobLinkedService"] = hisatp.SparkJobLinkedService
43273	}
43274	if hisatp.ClassName != nil {
43275		objectMap["className"] = hisatp.ClassName
43276	}
43277	objectMap["proxyUser"] = hisatp.ProxyUser
43278	if hisatp.SparkConfig != nil {
43279		objectMap["sparkConfig"] = hisatp.SparkConfig
43280	}
43281	return json.Marshal(objectMap)
43282}
43283
43284// HDInsightStreamingActivity hDInsight streaming activity type.
43285type HDInsightStreamingActivity struct {
43286	// HDInsightStreamingActivityTypeProperties - HDInsight streaming activity properties.
43287	*HDInsightStreamingActivityTypeProperties `json:"typeProperties,omitempty"`
43288	// LinkedServiceName - Linked service reference.
43289	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
43290	// Policy - Activity policy.
43291	Policy *ActivityPolicy `json:"policy,omitempty"`
43292	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
43293	AdditionalProperties map[string]interface{} `json:""`
43294	// Name - Activity name.
43295	Name *string `json:"name,omitempty"`
43296	// Description - Activity description.
43297	Description *string `json:"description,omitempty"`
43298	// DependsOn - Activity depends on condition.
43299	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
43300	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
43301	Type TypeBasicActivity `json:"type,omitempty"`
43302}
43303
43304// MarshalJSON is the custom marshaler for HDInsightStreamingActivity.
43305func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) {
43306	hisa.Type = TypeHDInsightStreaming
43307	objectMap := make(map[string]interface{})
43308	if hisa.HDInsightStreamingActivityTypeProperties != nil {
43309		objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties
43310	}
43311	if hisa.LinkedServiceName != nil {
43312		objectMap["linkedServiceName"] = hisa.LinkedServiceName
43313	}
43314	if hisa.Policy != nil {
43315		objectMap["policy"] = hisa.Policy
43316	}
43317	if hisa.Name != nil {
43318		objectMap["name"] = hisa.Name
43319	}
43320	if hisa.Description != nil {
43321		objectMap["description"] = hisa.Description
43322	}
43323	if hisa.DependsOn != nil {
43324		objectMap["dependsOn"] = hisa.DependsOn
43325	}
43326	if hisa.Type != "" {
43327		objectMap["type"] = hisa.Type
43328	}
43329	for k, v := range hisa.AdditionalProperties {
43330		objectMap[k] = v
43331	}
43332	return json.Marshal(objectMap)
43333}
43334
43335// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43336func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
43337	return nil, false
43338}
43339
43340// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43341func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
43342	return nil, false
43343}
43344
43345// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43346func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
43347	return nil, false
43348}
43349
43350// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43351func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
43352	return nil, false
43353}
43354
43355// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43356func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
43357	return nil, false
43358}
43359
43360// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43361func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) {
43362	return nil, false
43363}
43364
43365// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43366func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) {
43367	return nil, false
43368}
43369
43370// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43371func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
43372	return nil, false
43373}
43374
43375// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43376func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) {
43377	return nil, false
43378}
43379
43380// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43381func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
43382	return nil, false
43383}
43384
43385// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43386func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
43387	return nil, false
43388}
43389
43390// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43391func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
43392	return &hisa, true
43393}
43394
43395// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43396func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
43397	return nil, false
43398}
43399
43400// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43401func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
43402	return nil, false
43403}
43404
43405// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43406func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
43407	return nil, false
43408}
43409
43410// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43411func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) {
43412	return nil, false
43413}
43414
43415// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43416func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
43417	return nil, false
43418}
43419
43420// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43421func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
43422	return &hisa, true
43423}
43424
43425// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43426func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) {
43427	return nil, false
43428}
43429
43430// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43431func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) {
43432	return nil, false
43433}
43434
43435// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43436func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) {
43437	return nil, false
43438}
43439
43440// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43441func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) {
43442	return nil, false
43443}
43444
43445// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43446func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
43447	return nil, false
43448}
43449
43450// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43451func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
43452	return nil, false
43453}
43454
43455// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43456func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) {
43457	return nil, false
43458}
43459
43460// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43461func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
43462	return nil, false
43463}
43464
43465// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43466func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) {
43467	return nil, false
43468}
43469
43470// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity.
43471func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) {
43472	return &hisa, true
43473}
43474
43475// UnmarshalJSON is the custom unmarshaler for HDInsightStreamingActivity struct.
43476func (hisa *HDInsightStreamingActivity) UnmarshalJSON(body []byte) error {
43477	var m map[string]*json.RawMessage
43478	err := json.Unmarshal(body, &m)
43479	if err != nil {
43480		return err
43481	}
43482	for k, v := range m {
43483		switch k {
43484		case "typeProperties":
43485			if v != nil {
43486				var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties
43487				err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties)
43488				if err != nil {
43489					return err
43490				}
43491				hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties
43492			}
43493		case "linkedServiceName":
43494			if v != nil {
43495				var linkedServiceName LinkedServiceReference
43496				err = json.Unmarshal(*v, &linkedServiceName)
43497				if err != nil {
43498					return err
43499				}
43500				hisa.LinkedServiceName = &linkedServiceName
43501			}
43502		case "policy":
43503			if v != nil {
43504				var policy ActivityPolicy
43505				err = json.Unmarshal(*v, &policy)
43506				if err != nil {
43507					return err
43508				}
43509				hisa.Policy = &policy
43510			}
43511		default:
43512			if v != nil {
43513				var additionalProperties interface{}
43514				err = json.Unmarshal(*v, &additionalProperties)
43515				if err != nil {
43516					return err
43517				}
43518				if hisa.AdditionalProperties == nil {
43519					hisa.AdditionalProperties = make(map[string]interface{})
43520				}
43521				hisa.AdditionalProperties[k] = additionalProperties
43522			}
43523		case "name":
43524			if v != nil {
43525				var name string
43526				err = json.Unmarshal(*v, &name)
43527				if err != nil {
43528					return err
43529				}
43530				hisa.Name = &name
43531			}
43532		case "description":
43533			if v != nil {
43534				var description string
43535				err = json.Unmarshal(*v, &description)
43536				if err != nil {
43537					return err
43538				}
43539				hisa.Description = &description
43540			}
43541		case "dependsOn":
43542			if v != nil {
43543				var dependsOn []ActivityDependency
43544				err = json.Unmarshal(*v, &dependsOn)
43545				if err != nil {
43546					return err
43547				}
43548				hisa.DependsOn = &dependsOn
43549			}
43550		case "type":
43551			if v != nil {
43552				var typeVar TypeBasicActivity
43553				err = json.Unmarshal(*v, &typeVar)
43554				if err != nil {
43555					return err
43556				}
43557				hisa.Type = typeVar
43558			}
43559		}
43560	}
43561
43562	return nil
43563}
43564
43565// HDInsightStreamingActivityTypeProperties hDInsight streaming activity properties.
43566type HDInsightStreamingActivityTypeProperties struct {
43567	// StorageLinkedServices - Storage linked service references.
43568	StorageLinkedServices *[]LinkedServiceReference `json:"storageLinkedServices,omitempty"`
43569	// Arguments - User specified arguments to HDInsightActivity.
43570	Arguments *[]interface{} `json:"arguments,omitempty"`
43571	// GetDebugInfo - Debug info option. Possible values include: 'None', 'Always', 'Failure'
43572	GetDebugInfo HDInsightActivityDebugInfoOption `json:"getDebugInfo,omitempty"`
43573	// Mapper - Mapper executable name. Type: string (or Expression with resultType string).
43574	Mapper interface{} `json:"mapper,omitempty"`
43575	// Reducer - Reducer executable name. Type: string (or Expression with resultType string).
43576	Reducer interface{} `json:"reducer,omitempty"`
43577	// Input - Input blob path. Type: string (or Expression with resultType string).
43578	Input interface{} `json:"input,omitempty"`
43579	// Output - Output blob path. Type: string (or Expression with resultType string).
43580	Output interface{} `json:"output,omitempty"`
43581	// FilePaths - Paths to streaming job files. Can be directories.
43582	FilePaths *[]interface{} `json:"filePaths,omitempty"`
43583	// FileLinkedService - Linked service reference where the files are located.
43584	FileLinkedService *LinkedServiceReference `json:"fileLinkedService,omitempty"`
43585	// Combiner - Combiner executable name. Type: string (or Expression with resultType string).
43586	Combiner interface{} `json:"combiner,omitempty"`
43587	// CommandEnvironment - Command line environment values.
43588	CommandEnvironment *[]interface{} `json:"commandEnvironment,omitempty"`
43589	// Defines - Allows user to specify defines for streaming job request.
43590	Defines map[string]interface{} `json:"defines"`
43591}
43592
43593// MarshalJSON is the custom marshaler for HDInsightStreamingActivityTypeProperties.
43594func (hisatp HDInsightStreamingActivityTypeProperties) MarshalJSON() ([]byte, error) {
43595	objectMap := make(map[string]interface{})
43596	if hisatp.StorageLinkedServices != nil {
43597		objectMap["storageLinkedServices"] = hisatp.StorageLinkedServices
43598	}
43599	if hisatp.Arguments != nil {
43600		objectMap["arguments"] = hisatp.Arguments
43601	}
43602	if hisatp.GetDebugInfo != "" {
43603		objectMap["getDebugInfo"] = hisatp.GetDebugInfo
43604	}
43605	objectMap["mapper"] = hisatp.Mapper
43606	objectMap["reducer"] = hisatp.Reducer
43607	objectMap["input"] = hisatp.Input
43608	objectMap["output"] = hisatp.Output
43609	if hisatp.FilePaths != nil {
43610		objectMap["filePaths"] = hisatp.FilePaths
43611	}
43612	if hisatp.FileLinkedService != nil {
43613		objectMap["fileLinkedService"] = hisatp.FileLinkedService
43614	}
43615	objectMap["combiner"] = hisatp.Combiner
43616	if hisatp.CommandEnvironment != nil {
43617		objectMap["commandEnvironment"] = hisatp.CommandEnvironment
43618	}
43619	if hisatp.Defines != nil {
43620		objectMap["defines"] = hisatp.Defines
43621	}
43622	return json.Marshal(objectMap)
43623}
43624
43625// HiveLinkedService hive Server linked service.
43626type HiveLinkedService struct {
43627	// HiveLinkedServiceTypeProperties - Hive Server linked service properties.
43628	*HiveLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
43629	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
43630	AdditionalProperties map[string]interface{} `json:""`
43631	// ConnectVia - The integration runtime reference.
43632	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
43633	// Description - Linked service description.
43634	Description *string `json:"description,omitempty"`
43635	// Parameters - Parameters for linked service.
43636	Parameters map[string]*ParameterSpecification `json:"parameters"`
43637	// Annotations - List of tags that can be used for describing the Dataset.
43638	Annotations *[]interface{} `json:"annotations,omitempty"`
43639	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
43640	Type TypeBasicLinkedService `json:"type,omitempty"`
43641}
43642
43643// MarshalJSON is the custom marshaler for HiveLinkedService.
43644func (hls HiveLinkedService) MarshalJSON() ([]byte, error) {
43645	hls.Type = TypeHive
43646	objectMap := make(map[string]interface{})
43647	if hls.HiveLinkedServiceTypeProperties != nil {
43648		objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties
43649	}
43650	if hls.ConnectVia != nil {
43651		objectMap["connectVia"] = hls.ConnectVia
43652	}
43653	if hls.Description != nil {
43654		objectMap["description"] = hls.Description
43655	}
43656	if hls.Parameters != nil {
43657		objectMap["parameters"] = hls.Parameters
43658	}
43659	if hls.Annotations != nil {
43660		objectMap["annotations"] = hls.Annotations
43661	}
43662	if hls.Type != "" {
43663		objectMap["type"] = hls.Type
43664	}
43665	for k, v := range hls.AdditionalProperties {
43666		objectMap[k] = v
43667	}
43668	return json.Marshal(objectMap)
43669}
43670
43671// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43672func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
43673	return nil, false
43674}
43675
43676// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43677func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
43678	return nil, false
43679}
43680
43681// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43682func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
43683	return nil, false
43684}
43685
43686// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43687func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
43688	return nil, false
43689}
43690
43691// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43692func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
43693	return nil, false
43694}
43695
43696// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43697func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
43698	return nil, false
43699}
43700
43701// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43702func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
43703	return nil, false
43704}
43705
43706// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43707func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
43708	return nil, false
43709}
43710
43711// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43712func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
43713	return nil, false
43714}
43715
43716// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43717func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
43718	return nil, false
43719}
43720
43721// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43722func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
43723	return nil, false
43724}
43725
43726// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43727func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
43728	return nil, false
43729}
43730
43731// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43732func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
43733	return nil, false
43734}
43735
43736// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43737func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
43738	return nil, false
43739}
43740
43741// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43742func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
43743	return nil, false
43744}
43745
43746// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43747func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
43748	return nil, false
43749}
43750
43751// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43752func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
43753	return nil, false
43754}
43755
43756// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43757func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
43758	return nil, false
43759}
43760
43761// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43762func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
43763	return nil, false
43764}
43765
43766// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43767func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
43768	return nil, false
43769}
43770
43771// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43772func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
43773	return nil, false
43774}
43775
43776// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43777func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
43778	return nil, false
43779}
43780
43781// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43782func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
43783	return nil, false
43784}
43785
43786// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43787func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
43788	return &hls, true
43789}
43790
43791// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43792func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
43793	return nil, false
43794}
43795
43796// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43797func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
43798	return nil, false
43799}
43800
43801// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43802func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
43803	return nil, false
43804}
43805
43806// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43807func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
43808	return nil, false
43809}
43810
43811// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43812func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
43813	return nil, false
43814}
43815
43816// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43817func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
43818	return nil, false
43819}
43820
43821// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43822func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
43823	return nil, false
43824}
43825
43826// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43827func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
43828	return nil, false
43829}
43830
43831// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43832func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
43833	return nil, false
43834}
43835
43836// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43837func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
43838	return nil, false
43839}
43840
43841// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43842func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
43843	return nil, false
43844}
43845
43846// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43847func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
43848	return nil, false
43849}
43850
43851// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43852func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
43853	return nil, false
43854}
43855
43856// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43857func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
43858	return nil, false
43859}
43860
43861// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43862func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
43863	return nil, false
43864}
43865
43866// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43867func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
43868	return nil, false
43869}
43870
43871// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43872func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
43873	return nil, false
43874}
43875
43876// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService.
43877func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
43878	return nil, false
43879}
43880
43881// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43882func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
43883	return nil, false
43884}
43885
43886// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43887func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
43888	return nil, false
43889}
43890
43891// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43892func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
43893	return nil, false
43894}
43895
43896// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43897func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
43898	return nil, false
43899}
43900
43901// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43902func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
43903	return nil, false
43904}
43905
43906// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43907func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
43908	return nil, false
43909}
43910
43911// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43912func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
43913	return nil, false
43914}
43915
43916// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43917func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
43918	return nil, false
43919}
43920
43921// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43922func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
43923	return nil, false
43924}
43925
43926// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43927func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
43928	return nil, false
43929}
43930
43931// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43932func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
43933	return nil, false
43934}
43935
43936// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43937func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
43938	return nil, false
43939}
43940
43941// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService.
43942func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
43943	return nil, false
43944}
43945
43946// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43947func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
43948	return nil, false
43949}
43950
43951// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43952func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
43953	return nil, false
43954}
43955
43956// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43957func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
43958	return nil, false
43959}
43960
43961// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43962func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
43963	return nil, false
43964}
43965
43966// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43967func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
43968	return nil, false
43969}
43970
43971// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43972func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
43973	return nil, false
43974}
43975
43976// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43977func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
43978	return nil, false
43979}
43980
43981// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43982func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
43983	return nil, false
43984}
43985
43986// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43987func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
43988	return nil, false
43989}
43990
43991// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43992func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
43993	return nil, false
43994}
43995
43996// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService.
43997func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
43998	return nil, false
43999}
44000
44001// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44002func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
44003	return nil, false
44004}
44005
44006// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44007func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
44008	return nil, false
44009}
44010
44011// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44012func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
44013	return nil, false
44014}
44015
44016// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44017func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
44018	return nil, false
44019}
44020
44021// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44022func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) {
44023	return nil, false
44024}
44025
44026// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService.
44027func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
44028	return &hls, true
44029}
44030
44031// UnmarshalJSON is the custom unmarshaler for HiveLinkedService struct.
44032func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error {
44033	var m map[string]*json.RawMessage
44034	err := json.Unmarshal(body, &m)
44035	if err != nil {
44036		return err
44037	}
44038	for k, v := range m {
44039		switch k {
44040		case "typeProperties":
44041			if v != nil {
44042				var hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties
44043				err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties)
44044				if err != nil {
44045					return err
44046				}
44047				hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties
44048			}
44049		default:
44050			if v != nil {
44051				var additionalProperties interface{}
44052				err = json.Unmarshal(*v, &additionalProperties)
44053				if err != nil {
44054					return err
44055				}
44056				if hls.AdditionalProperties == nil {
44057					hls.AdditionalProperties = make(map[string]interface{})
44058				}
44059				hls.AdditionalProperties[k] = additionalProperties
44060			}
44061		case "connectVia":
44062			if v != nil {
44063				var connectVia IntegrationRuntimeReference
44064				err = json.Unmarshal(*v, &connectVia)
44065				if err != nil {
44066					return err
44067				}
44068				hls.ConnectVia = &connectVia
44069			}
44070		case "description":
44071			if v != nil {
44072				var description string
44073				err = json.Unmarshal(*v, &description)
44074				if err != nil {
44075					return err
44076				}
44077				hls.Description = &description
44078			}
44079		case "parameters":
44080			if v != nil {
44081				var parameters map[string]*ParameterSpecification
44082				err = json.Unmarshal(*v, &parameters)
44083				if err != nil {
44084					return err
44085				}
44086				hls.Parameters = parameters
44087			}
44088		case "annotations":
44089			if v != nil {
44090				var annotations []interface{}
44091				err = json.Unmarshal(*v, &annotations)
44092				if err != nil {
44093					return err
44094				}
44095				hls.Annotations = &annotations
44096			}
44097		case "type":
44098			if v != nil {
44099				var typeVar TypeBasicLinkedService
44100				err = json.Unmarshal(*v, &typeVar)
44101				if err != nil {
44102					return err
44103				}
44104				hls.Type = typeVar
44105			}
44106		}
44107	}
44108
44109	return nil
44110}
44111
44112// HiveLinkedServiceTypeProperties hive Server linked service properties.
44113type HiveLinkedServiceTypeProperties struct {
44114	// Host - IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
44115	Host interface{} `json:"host,omitempty"`
44116	// Port - The TCP port that the Hive server uses to listen for client connections.
44117	Port interface{} `json:"port,omitempty"`
44118	// ServerType - The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer'
44119	ServerType HiveServerType `json:"serverType,omitempty"`
44120	// ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', 'HTTP'
44121	ThriftTransportProtocol HiveThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"`
44122	// AuthenticationType - The authentication method used to access the Hive server. Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService'
44123	AuthenticationType HiveAuthenticationType `json:"authenticationType,omitempty"`
44124	// ServiceDiscoveryMode - true to indicate using the ZooKeeper service, false not.
44125	ServiceDiscoveryMode interface{} `json:"serviceDiscoveryMode,omitempty"`
44126	// ZooKeeperNameSpace - The namespace on ZooKeeper under which Hive Server 2 nodes are added.
44127	ZooKeeperNameSpace interface{} `json:"zooKeeperNameSpace,omitempty"`
44128	// UseNativeQuery - Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
44129	UseNativeQuery interface{} `json:"useNativeQuery,omitempty"`
44130	// Username - The user name that you use to access Hive Server.
44131	Username interface{} `json:"username,omitempty"`
44132	// Password - The password corresponding to the user name that you provided in the Username field
44133	Password BasicSecretBase `json:"password,omitempty"`
44134	// HTTPPath - The partial URL corresponding to the Hive server.
44135	HTTPPath interface{} `json:"httpPath,omitempty"`
44136	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
44137	EnableSsl interface{} `json:"enableSsl,omitempty"`
44138	// 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.
44139	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
44140	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
44141	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
44142	// 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.
44143	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
44144	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
44145	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
44146	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
44147	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
44148}
44149
44150// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct.
44151func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
44152	var m map[string]*json.RawMessage
44153	err := json.Unmarshal(body, &m)
44154	if err != nil {
44155		return err
44156	}
44157	for k, v := range m {
44158		switch k {
44159		case "host":
44160			if v != nil {
44161				var host interface{}
44162				err = json.Unmarshal(*v, &host)
44163				if err != nil {
44164					return err
44165				}
44166				hlstp.Host = host
44167			}
44168		case "port":
44169			if v != nil {
44170				var port interface{}
44171				err = json.Unmarshal(*v, &port)
44172				if err != nil {
44173					return err
44174				}
44175				hlstp.Port = port
44176			}
44177		case "serverType":
44178			if v != nil {
44179				var serverType HiveServerType
44180				err = json.Unmarshal(*v, &serverType)
44181				if err != nil {
44182					return err
44183				}
44184				hlstp.ServerType = serverType
44185			}
44186		case "thriftTransportProtocol":
44187			if v != nil {
44188				var thriftTransportProtocol HiveThriftTransportProtocol
44189				err = json.Unmarshal(*v, &thriftTransportProtocol)
44190				if err != nil {
44191					return err
44192				}
44193				hlstp.ThriftTransportProtocol = thriftTransportProtocol
44194			}
44195		case "authenticationType":
44196			if v != nil {
44197				var authenticationType HiveAuthenticationType
44198				err = json.Unmarshal(*v, &authenticationType)
44199				if err != nil {
44200					return err
44201				}
44202				hlstp.AuthenticationType = authenticationType
44203			}
44204		case "serviceDiscoveryMode":
44205			if v != nil {
44206				var serviceDiscoveryMode interface{}
44207				err = json.Unmarshal(*v, &serviceDiscoveryMode)
44208				if err != nil {
44209					return err
44210				}
44211				hlstp.ServiceDiscoveryMode = serviceDiscoveryMode
44212			}
44213		case "zooKeeperNameSpace":
44214			if v != nil {
44215				var zooKeeperNameSpace interface{}
44216				err = json.Unmarshal(*v, &zooKeeperNameSpace)
44217				if err != nil {
44218					return err
44219				}
44220				hlstp.ZooKeeperNameSpace = zooKeeperNameSpace
44221			}
44222		case "useNativeQuery":
44223			if v != nil {
44224				var useNativeQuery interface{}
44225				err = json.Unmarshal(*v, &useNativeQuery)
44226				if err != nil {
44227					return err
44228				}
44229				hlstp.UseNativeQuery = useNativeQuery
44230			}
44231		case "username":
44232			if v != nil {
44233				var username interface{}
44234				err = json.Unmarshal(*v, &username)
44235				if err != nil {
44236					return err
44237				}
44238				hlstp.Username = username
44239			}
44240		case "password":
44241			if v != nil {
44242				password, err := unmarshalBasicSecretBase(*v)
44243				if err != nil {
44244					return err
44245				}
44246				hlstp.Password = password
44247			}
44248		case "httpPath":
44249			if v != nil {
44250				var HTTPPath interface{}
44251				err = json.Unmarshal(*v, &HTTPPath)
44252				if err != nil {
44253					return err
44254				}
44255				hlstp.HTTPPath = HTTPPath
44256			}
44257		case "enableSsl":
44258			if v != nil {
44259				var enableSsl interface{}
44260				err = json.Unmarshal(*v, &enableSsl)
44261				if err != nil {
44262					return err
44263				}
44264				hlstp.EnableSsl = enableSsl
44265			}
44266		case "trustedCertPath":
44267			if v != nil {
44268				var trustedCertPath interface{}
44269				err = json.Unmarshal(*v, &trustedCertPath)
44270				if err != nil {
44271					return err
44272				}
44273				hlstp.TrustedCertPath = trustedCertPath
44274			}
44275		case "useSystemTrustStore":
44276			if v != nil {
44277				var useSystemTrustStore interface{}
44278				err = json.Unmarshal(*v, &useSystemTrustStore)
44279				if err != nil {
44280					return err
44281				}
44282				hlstp.UseSystemTrustStore = useSystemTrustStore
44283			}
44284		case "allowHostNameCNMismatch":
44285			if v != nil {
44286				var allowHostNameCNMismatch interface{}
44287				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
44288				if err != nil {
44289					return err
44290				}
44291				hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
44292			}
44293		case "allowSelfSignedServerCert":
44294			if v != nil {
44295				var allowSelfSignedServerCert interface{}
44296				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
44297				if err != nil {
44298					return err
44299				}
44300				hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
44301			}
44302		case "encryptedCredential":
44303			if v != nil {
44304				var encryptedCredential interface{}
44305				err = json.Unmarshal(*v, &encryptedCredential)
44306				if err != nil {
44307					return err
44308				}
44309				hlstp.EncryptedCredential = encryptedCredential
44310			}
44311		}
44312	}
44313
44314	return nil
44315}
44316
44317// HiveObjectDataset hive Server dataset.
44318type HiveObjectDataset struct {
44319	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
44320	AdditionalProperties map[string]interface{} `json:""`
44321	// Description - Dataset description.
44322	Description *string `json:"description,omitempty"`
44323	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
44324	Structure interface{} `json:"structure,omitempty"`
44325	// LinkedServiceName - Linked service reference.
44326	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
44327	// Parameters - Parameters for dataset.
44328	Parameters map[string]*ParameterSpecification `json:"parameters"`
44329	// Annotations - List of tags that can be used for describing the Dataset.
44330	Annotations *[]interface{} `json:"annotations,omitempty"`
44331	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
44332	Type TypeBasicDataset `json:"type,omitempty"`
44333}
44334
44335// MarshalJSON is the custom marshaler for HiveObjectDataset.
44336func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) {
44337	hod.Type = TypeHiveObject
44338	objectMap := make(map[string]interface{})
44339	if hod.Description != nil {
44340		objectMap["description"] = hod.Description
44341	}
44342	objectMap["structure"] = hod.Structure
44343	if hod.LinkedServiceName != nil {
44344		objectMap["linkedServiceName"] = hod.LinkedServiceName
44345	}
44346	if hod.Parameters != nil {
44347		objectMap["parameters"] = hod.Parameters
44348	}
44349	if hod.Annotations != nil {
44350		objectMap["annotations"] = hod.Annotations
44351	}
44352	if hod.Type != "" {
44353		objectMap["type"] = hod.Type
44354	}
44355	for k, v := range hod.AdditionalProperties {
44356		objectMap[k] = v
44357	}
44358	return json.Marshal(objectMap)
44359}
44360
44361// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44362func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
44363	return nil, false
44364}
44365
44366// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44367func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
44368	return nil, false
44369}
44370
44371// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset.
44372func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
44373	return nil, false
44374}
44375
44376// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset.
44377func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
44378	return nil, false
44379}
44380
44381// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44382func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
44383	return nil, false
44384}
44385
44386// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44387func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
44388	return nil, false
44389}
44390
44391// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44392func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
44393	return nil, false
44394}
44395
44396// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44397func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
44398	return nil, false
44399}
44400
44401// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44402func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
44403	return nil, false
44404}
44405
44406// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44407func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
44408	return nil, false
44409}
44410
44411// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44412func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
44413	return nil, false
44414}
44415
44416// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44417func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
44418	return nil, false
44419}
44420
44421// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44422func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
44423	return nil, false
44424}
44425
44426// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44427func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
44428	return nil, false
44429}
44430
44431// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44432func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
44433	return nil, false
44434}
44435
44436// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset.
44437func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
44438	return nil, false
44439}
44440
44441// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44442func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
44443	return nil, false
44444}
44445
44446// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44447func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
44448	return nil, false
44449}
44450
44451// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44452func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
44453	return nil, false
44454}
44455
44456// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44457func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
44458	return nil, false
44459}
44460
44461// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44462func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
44463	return &hod, true
44464}
44465
44466// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44467func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
44468	return nil, false
44469}
44470
44471// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset.
44472func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
44473	return nil, false
44474}
44475
44476// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44477func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
44478	return nil, false
44479}
44480
44481// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44482func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
44483	return nil, false
44484}
44485
44486// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset.
44487func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
44488	return nil, false
44489}
44490
44491// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset.
44492func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
44493	return nil, false
44494}
44495
44496// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44497func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
44498	return nil, false
44499}
44500
44501// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
44502func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
44503	return nil, false
44504}
44505
44506// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44507func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
44508	return nil, false
44509}
44510
44511// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset.
44512func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
44513	return nil, false
44514}
44515
44516// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset.
44517func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
44518	return nil, false
44519}
44520
44521// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset.
44522func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
44523	return nil, false
44524}
44525
44526// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset.
44527func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
44528	return nil, false
44529}
44530
44531// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset.
44532func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
44533	return nil, false
44534}
44535
44536// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset.
44537func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
44538	return nil, false
44539}
44540
44541// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset.
44542func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
44543	return nil, false
44544}
44545
44546// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset.
44547func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
44548	return nil, false
44549}
44550
44551// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
44552func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
44553	return nil, false
44554}
44555
44556// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset.
44557func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
44558	return nil, false
44559}
44560
44561// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset.
44562func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
44563	return nil, false
44564}
44565
44566// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
44567func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
44568	return nil, false
44569}
44570
44571// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset.
44572func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
44573	return nil, false
44574}
44575
44576// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset.
44577func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
44578	return nil, false
44579}
44580
44581// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset.
44582func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
44583	return nil, false
44584}
44585
44586// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset.
44587func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
44588	return nil, false
44589}
44590
44591// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset.
44592func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
44593	return nil, false
44594}
44595
44596// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset.
44597func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
44598	return nil, false
44599}
44600
44601// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset.
44602func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
44603	return nil, false
44604}
44605
44606// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset.
44607func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
44608	return nil, false
44609}
44610
44611// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset.
44612func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
44613	return nil, false
44614}
44615
44616// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset.
44617func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
44618	return nil, false
44619}
44620
44621// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset.
44622func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
44623	return nil, false
44624}
44625
44626// AsDataset is the BasicDataset implementation for HiveObjectDataset.
44627func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) {
44628	return nil, false
44629}
44630
44631// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset.
44632func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) {
44633	return &hod, true
44634}
44635
44636// HiveSource a copy activity Hive Server source.
44637type HiveSource struct {
44638	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
44639	Query interface{} `json:"query,omitempty"`
44640	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
44641	AdditionalProperties map[string]interface{} `json:""`
44642	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
44643	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
44644	// 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])).
44645	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
44646	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
44647	Type TypeBasicCopySource `json:"type,omitempty"`
44648}
44649
44650// MarshalJSON is the custom marshaler for HiveSource.
44651func (hs HiveSource) MarshalJSON() ([]byte, error) {
44652	hs.Type = TypeHiveSource
44653	objectMap := make(map[string]interface{})
44654	objectMap["query"] = hs.Query
44655	objectMap["sourceRetryCount"] = hs.SourceRetryCount
44656	objectMap["sourceRetryWait"] = hs.SourceRetryWait
44657	if hs.Type != "" {
44658		objectMap["type"] = hs.Type
44659	}
44660	for k, v := range hs.AdditionalProperties {
44661		objectMap[k] = v
44662	}
44663	return json.Marshal(objectMap)
44664}
44665
44666// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource.
44667func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
44668	return nil, false
44669}
44670
44671// AsResponsysSource is the BasicCopySource implementation for HiveSource.
44672func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) {
44673	return nil, false
44674}
44675
44676// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource.
44677func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
44678	return nil, false
44679}
44680
44681// AsVerticaSource is the BasicCopySource implementation for HiveSource.
44682func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) {
44683	return nil, false
44684}
44685
44686// AsNetezzaSource is the BasicCopySource implementation for HiveSource.
44687func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) {
44688	return nil, false
44689}
44690
44691// AsZohoSource is the BasicCopySource implementation for HiveSource.
44692func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) {
44693	return nil, false
44694}
44695
44696// AsXeroSource is the BasicCopySource implementation for HiveSource.
44697func (hs HiveSource) AsXeroSource() (*XeroSource, bool) {
44698	return nil, false
44699}
44700
44701// AsSquareSource is the BasicCopySource implementation for HiveSource.
44702func (hs HiveSource) AsSquareSource() (*SquareSource, bool) {
44703	return nil, false
44704}
44705
44706// AsSparkSource is the BasicCopySource implementation for HiveSource.
44707func (hs HiveSource) AsSparkSource() (*SparkSource, bool) {
44708	return nil, false
44709}
44710
44711// AsShopifySource is the BasicCopySource implementation for HiveSource.
44712func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) {
44713	return nil, false
44714}
44715
44716// AsServiceNowSource is the BasicCopySource implementation for HiveSource.
44717func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) {
44718	return nil, false
44719}
44720
44721// AsQuickBooksSource is the BasicCopySource implementation for HiveSource.
44722func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
44723	return nil, false
44724}
44725
44726// AsPrestoSource is the BasicCopySource implementation for HiveSource.
44727func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) {
44728	return nil, false
44729}
44730
44731// AsPhoenixSource is the BasicCopySource implementation for HiveSource.
44732func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) {
44733	return nil, false
44734}
44735
44736// AsPaypalSource is the BasicCopySource implementation for HiveSource.
44737func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) {
44738	return nil, false
44739}
44740
44741// AsMarketoSource is the BasicCopySource implementation for HiveSource.
44742func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) {
44743	return nil, false
44744}
44745
44746// AsMariaDBSource is the BasicCopySource implementation for HiveSource.
44747func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) {
44748	return nil, false
44749}
44750
44751// AsMagentoSource is the BasicCopySource implementation for HiveSource.
44752func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) {
44753	return nil, false
44754}
44755
44756// AsJiraSource is the BasicCopySource implementation for HiveSource.
44757func (hs HiveSource) AsJiraSource() (*JiraSource, bool) {
44758	return nil, false
44759}
44760
44761// AsImpalaSource is the BasicCopySource implementation for HiveSource.
44762func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) {
44763	return nil, false
44764}
44765
44766// AsHubspotSource is the BasicCopySource implementation for HiveSource.
44767func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) {
44768	return nil, false
44769}
44770
44771// AsHiveSource is the BasicCopySource implementation for HiveSource.
44772func (hs HiveSource) AsHiveSource() (*HiveSource, bool) {
44773	return &hs, true
44774}
44775
44776// AsHBaseSource is the BasicCopySource implementation for HiveSource.
44777func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) {
44778	return nil, false
44779}
44780
44781// AsGreenplumSource is the BasicCopySource implementation for HiveSource.
44782func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) {
44783	return nil, false
44784}
44785
44786// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource.
44787func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
44788	return nil, false
44789}
44790
44791// AsEloquaSource is the BasicCopySource implementation for HiveSource.
44792func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) {
44793	return nil, false
44794}
44795
44796// AsDrillSource is the BasicCopySource implementation for HiveSource.
44797func (hs HiveSource) AsDrillSource() (*DrillSource, bool) {
44798	return nil, false
44799}
44800
44801// AsCouchbaseSource is the BasicCopySource implementation for HiveSource.
44802func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
44803	return nil, false
44804}
44805
44806// AsConcurSource is the BasicCopySource implementation for HiveSource.
44807func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) {
44808	return nil, false
44809}
44810
44811// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource.
44812func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
44813	return nil, false
44814}
44815
44816// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource.
44817func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
44818	return nil, false
44819}
44820
44821// AsHTTPSource is the BasicCopySource implementation for HiveSource.
44822func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) {
44823	return nil, false
44824}
44825
44826// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource.
44827func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
44828	return nil, false
44829}
44830
44831// AsMongoDbSource is the BasicCopySource implementation for HiveSource.
44832func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, bool) {
44833	return nil, false
44834}
44835
44836// AsCassandraSource is the BasicCopySource implementation for HiveSource.
44837func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) {
44838	return nil, false
44839}
44840
44841// AsWebSource is the BasicCopySource implementation for HiveSource.
44842func (hs HiveSource) AsWebSource() (*WebSource, bool) {
44843	return nil, false
44844}
44845
44846// AsOracleSource is the BasicCopySource implementation for HiveSource.
44847func (hs HiveSource) AsOracleSource() (*OracleSource, bool) {
44848	return nil, false
44849}
44850
44851// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource.
44852func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
44853	return nil, false
44854}
44855
44856// AsHdfsSource is the BasicCopySource implementation for HiveSource.
44857func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) {
44858	return nil, false
44859}
44860
44861// AsFileSystemSource is the BasicCopySource implementation for HiveSource.
44862func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) {
44863	return nil, false
44864}
44865
44866// AsSQLDWSource is the BasicCopySource implementation for HiveSource.
44867func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) {
44868	return nil, false
44869}
44870
44871// AsSQLSource is the BasicCopySource implementation for HiveSource.
44872func (hs HiveSource) AsSQLSource() (*SQLSource, bool) {
44873	return nil, false
44874}
44875
44876// AsSapEccSource is the BasicCopySource implementation for HiveSource.
44877func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) {
44878	return nil, false
44879}
44880
44881// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource.
44882func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
44883	return nil, false
44884}
44885
44886// AsSalesforceSource is the BasicCopySource implementation for HiveSource.
44887func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) {
44888	return nil, false
44889}
44890
44891// AsRelationalSource is the BasicCopySource implementation for HiveSource.
44892func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) {
44893	return nil, false
44894}
44895
44896// AsDynamicsSource is the BasicCopySource implementation for HiveSource.
44897func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) {
44898	return nil, false
44899}
44900
44901// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource.
44902func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
44903	return nil, false
44904}
44905
44906// AsBlobSource is the BasicCopySource implementation for HiveSource.
44907func (hs HiveSource) AsBlobSource() (*BlobSource, bool) {
44908	return nil, false
44909}
44910
44911// AsAzureTableSource is the BasicCopySource implementation for HiveSource.
44912func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) {
44913	return nil, false
44914}
44915
44916// AsCopySource is the BasicCopySource implementation for HiveSource.
44917func (hs HiveSource) AsCopySource() (*CopySource, bool) {
44918	return nil, false
44919}
44920
44921// AsBasicCopySource is the BasicCopySource implementation for HiveSource.
44922func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) {
44923	return &hs, true
44924}
44925
44926// HTTPDataset a file in an HTTP web server.
44927type HTTPDataset struct {
44928	// HTTPDatasetTypeProperties - Properties specific to this dataset type.
44929	*HTTPDatasetTypeProperties `json:"typeProperties,omitempty"`
44930	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
44931	AdditionalProperties map[string]interface{} `json:""`
44932	// Description - Dataset description.
44933	Description *string `json:"description,omitempty"`
44934	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
44935	Structure interface{} `json:"structure,omitempty"`
44936	// LinkedServiceName - Linked service reference.
44937	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
44938	// Parameters - Parameters for dataset.
44939	Parameters map[string]*ParameterSpecification `json:"parameters"`
44940	// Annotations - List of tags that can be used for describing the Dataset.
44941	Annotations *[]interface{} `json:"annotations,omitempty"`
44942	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
44943	Type TypeBasicDataset `json:"type,omitempty"`
44944}
44945
44946// MarshalJSON is the custom marshaler for HTTPDataset.
44947func (hd HTTPDataset) MarshalJSON() ([]byte, error) {
44948	hd.Type = TypeHTTPFile
44949	objectMap := make(map[string]interface{})
44950	if hd.HTTPDatasetTypeProperties != nil {
44951		objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties
44952	}
44953	if hd.Description != nil {
44954		objectMap["description"] = hd.Description
44955	}
44956	objectMap["structure"] = hd.Structure
44957	if hd.LinkedServiceName != nil {
44958		objectMap["linkedServiceName"] = hd.LinkedServiceName
44959	}
44960	if hd.Parameters != nil {
44961		objectMap["parameters"] = hd.Parameters
44962	}
44963	if hd.Annotations != nil {
44964		objectMap["annotations"] = hd.Annotations
44965	}
44966	if hd.Type != "" {
44967		objectMap["type"] = hd.Type
44968	}
44969	for k, v := range hd.AdditionalProperties {
44970		objectMap[k] = v
44971	}
44972	return json.Marshal(objectMap)
44973}
44974
44975// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset.
44976func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
44977	return nil, false
44978}
44979
44980// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset.
44981func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
44982	return nil, false
44983}
44984
44985// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset.
44986func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
44987	return nil, false
44988}
44989
44990// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset.
44991func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
44992	return nil, false
44993}
44994
44995// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset.
44996func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
44997	return nil, false
44998}
44999
45000// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset.
45001func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
45002	return nil, false
45003}
45004
45005// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset.
45006func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
45007	return nil, false
45008}
45009
45010// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset.
45011func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
45012	return nil, false
45013}
45014
45015// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset.
45016func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
45017	return nil, false
45018}
45019
45020// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset.
45021func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
45022	return nil, false
45023}
45024
45025// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset.
45026func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
45027	return nil, false
45028}
45029
45030// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset.
45031func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
45032	return nil, false
45033}
45034
45035// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset.
45036func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
45037	return nil, false
45038}
45039
45040// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset.
45041func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
45042	return nil, false
45043}
45044
45045// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset.
45046func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
45047	return nil, false
45048}
45049
45050// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset.
45051func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
45052	return nil, false
45053}
45054
45055// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset.
45056func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
45057	return nil, false
45058}
45059
45060// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset.
45061func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
45062	return nil, false
45063}
45064
45065// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset.
45066func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
45067	return nil, false
45068}
45069
45070// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset.
45071func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
45072	return nil, false
45073}
45074
45075// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset.
45076func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
45077	return nil, false
45078}
45079
45080// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset.
45081func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
45082	return nil, false
45083}
45084
45085// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset.
45086func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
45087	return nil, false
45088}
45089
45090// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset.
45091func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
45092	return nil, false
45093}
45094
45095// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset.
45096func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
45097	return nil, false
45098}
45099
45100// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset.
45101func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
45102	return nil, false
45103}
45104
45105// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset.
45106func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
45107	return nil, false
45108}
45109
45110// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset.
45111func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
45112	return nil, false
45113}
45114
45115// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset.
45116func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
45117	return nil, false
45118}
45119
45120// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset.
45121func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
45122	return nil, false
45123}
45124
45125// AsHTTPDataset is the BasicDataset implementation for HTTPDataset.
45126func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) {
45127	return &hd, true
45128}
45129
45130// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset.
45131func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
45132	return nil, false
45133}
45134
45135// AsWebTableDataset is the BasicDataset implementation for HTTPDataset.
45136func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) {
45137	return nil, false
45138}
45139
45140// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset.
45141func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
45142	return nil, false
45143}
45144
45145// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset.
45146func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
45147	return nil, false
45148}
45149
45150// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset.
45151func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
45152	return nil, false
45153}
45154
45155// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset.
45156func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
45157	return nil, false
45158}
45159
45160// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset.
45161func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
45162	return nil, false
45163}
45164
45165// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset.
45166func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
45167	return nil, false
45168}
45169
45170// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset.
45171func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
45172	return nil, false
45173}
45174
45175// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset.
45176func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
45177	return nil, false
45178}
45179
45180// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
45181func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
45182	return nil, false
45183}
45184
45185// AsFileShareDataset is the BasicDataset implementation for HTTPDataset.
45186func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) {
45187	return nil, false
45188}
45189
45190// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset.
45191func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
45192	return nil, false
45193}
45194
45195// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset.
45196func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
45197	return nil, false
45198}
45199
45200// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset.
45201func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
45202	return nil, false
45203}
45204
45205// AsCustomDataset is the BasicDataset implementation for HTTPDataset.
45206func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) {
45207	return nil, false
45208}
45209
45210// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset.
45211func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
45212	return nil, false
45213}
45214
45215// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset.
45216func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
45217	return nil, false
45218}
45219
45220// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset.
45221func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
45222	return nil, false
45223}
45224
45225// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset.
45226func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
45227	return nil, false
45228}
45229
45230// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset.
45231func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
45232	return nil, false
45233}
45234
45235// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset.
45236func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
45237	return nil, false
45238}
45239
45240// AsDataset is the BasicDataset implementation for HTTPDataset.
45241func (hd HTTPDataset) AsDataset() (*Dataset, bool) {
45242	return nil, false
45243}
45244
45245// AsBasicDataset is the BasicDataset implementation for HTTPDataset.
45246func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) {
45247	return &hd, true
45248}
45249
45250// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct.
45251func (hd *HTTPDataset) UnmarshalJSON(body []byte) error {
45252	var m map[string]*json.RawMessage
45253	err := json.Unmarshal(body, &m)
45254	if err != nil {
45255		return err
45256	}
45257	for k, v := range m {
45258		switch k {
45259		case "typeProperties":
45260			if v != nil {
45261				var HTTPDatasetTypeProperties HTTPDatasetTypeProperties
45262				err = json.Unmarshal(*v, &HTTPDatasetTypeProperties)
45263				if err != nil {
45264					return err
45265				}
45266				hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties
45267			}
45268		default:
45269			if v != nil {
45270				var additionalProperties interface{}
45271				err = json.Unmarshal(*v, &additionalProperties)
45272				if err != nil {
45273					return err
45274				}
45275				if hd.AdditionalProperties == nil {
45276					hd.AdditionalProperties = make(map[string]interface{})
45277				}
45278				hd.AdditionalProperties[k] = additionalProperties
45279			}
45280		case "description":
45281			if v != nil {
45282				var description string
45283				err = json.Unmarshal(*v, &description)
45284				if err != nil {
45285					return err
45286				}
45287				hd.Description = &description
45288			}
45289		case "structure":
45290			if v != nil {
45291				var structure interface{}
45292				err = json.Unmarshal(*v, &structure)
45293				if err != nil {
45294					return err
45295				}
45296				hd.Structure = structure
45297			}
45298		case "linkedServiceName":
45299			if v != nil {
45300				var linkedServiceName LinkedServiceReference
45301				err = json.Unmarshal(*v, &linkedServiceName)
45302				if err != nil {
45303					return err
45304				}
45305				hd.LinkedServiceName = &linkedServiceName
45306			}
45307		case "parameters":
45308			if v != nil {
45309				var parameters map[string]*ParameterSpecification
45310				err = json.Unmarshal(*v, &parameters)
45311				if err != nil {
45312					return err
45313				}
45314				hd.Parameters = parameters
45315			}
45316		case "annotations":
45317			if v != nil {
45318				var annotations []interface{}
45319				err = json.Unmarshal(*v, &annotations)
45320				if err != nil {
45321					return err
45322				}
45323				hd.Annotations = &annotations
45324			}
45325		case "type":
45326			if v != nil {
45327				var typeVar TypeBasicDataset
45328				err = json.Unmarshal(*v, &typeVar)
45329				if err != nil {
45330					return err
45331				}
45332				hd.Type = typeVar
45333			}
45334		}
45335	}
45336
45337	return nil
45338}
45339
45340// HTTPDatasetTypeProperties properties specific to this dataset type.
45341type HTTPDatasetTypeProperties struct {
45342	// RelativeURL - The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string).
45343	RelativeURL interface{} `json:"relativeUrl,omitempty"`
45344	// RequestMethod - The HTTP method for the HTTP request. Type: string (or Expression with resultType string).
45345	RequestMethod interface{} `json:"requestMethod,omitempty"`
45346	// RequestBody - The body for the HTTP request. Type: string (or Expression with resultType string).
45347	RequestBody interface{} `json:"requestBody,omitempty"`
45348	// AdditionalHeaders - The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1
45349	// ...
45350	// request-header-name-n:request-header-value-n Type: string (or Expression with resultType string).
45351	AdditionalHeaders interface{} `json:"additionalHeaders,omitempty"`
45352	// Format - The format of files.
45353	Format BasicDatasetStorageFormat `json:"format,omitempty"`
45354	// Compression - The data compression method used on files.
45355	Compression BasicDatasetCompression `json:"compression,omitempty"`
45356}
45357
45358// UnmarshalJSON is the custom unmarshaler for HTTPDatasetTypeProperties struct.
45359func (hdtp *HTTPDatasetTypeProperties) UnmarshalJSON(body []byte) error {
45360	var m map[string]*json.RawMessage
45361	err := json.Unmarshal(body, &m)
45362	if err != nil {
45363		return err
45364	}
45365	for k, v := range m {
45366		switch k {
45367		case "relativeUrl":
45368			if v != nil {
45369				var relativeURL interface{}
45370				err = json.Unmarshal(*v, &relativeURL)
45371				if err != nil {
45372					return err
45373				}
45374				hdtp.RelativeURL = relativeURL
45375			}
45376		case "requestMethod":
45377			if v != nil {
45378				var requestMethod interface{}
45379				err = json.Unmarshal(*v, &requestMethod)
45380				if err != nil {
45381					return err
45382				}
45383				hdtp.RequestMethod = requestMethod
45384			}
45385		case "requestBody":
45386			if v != nil {
45387				var requestBody interface{}
45388				err = json.Unmarshal(*v, &requestBody)
45389				if err != nil {
45390					return err
45391				}
45392				hdtp.RequestBody = requestBody
45393			}
45394		case "additionalHeaders":
45395			if v != nil {
45396				var additionalHeaders interface{}
45397				err = json.Unmarshal(*v, &additionalHeaders)
45398				if err != nil {
45399					return err
45400				}
45401				hdtp.AdditionalHeaders = additionalHeaders
45402			}
45403		case "format":
45404			if v != nil {
45405				formatVar, err := unmarshalBasicDatasetStorageFormat(*v)
45406				if err != nil {
45407					return err
45408				}
45409				hdtp.Format = formatVar
45410			}
45411		case "compression":
45412			if v != nil {
45413				compression, err := unmarshalBasicDatasetCompression(*v)
45414				if err != nil {
45415					return err
45416				}
45417				hdtp.Compression = compression
45418			}
45419		}
45420	}
45421
45422	return nil
45423}
45424
45425// HTTPLinkedService linked service for an HTTP source.
45426type HTTPLinkedService struct {
45427	// HTTPLinkedServiceTypeProperties - Properties specific to this linked service type.
45428	*HTTPLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
45429	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
45430	AdditionalProperties map[string]interface{} `json:""`
45431	// ConnectVia - The integration runtime reference.
45432	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
45433	// Description - Linked service description.
45434	Description *string `json:"description,omitempty"`
45435	// Parameters - Parameters for linked service.
45436	Parameters map[string]*ParameterSpecification `json:"parameters"`
45437	// Annotations - List of tags that can be used for describing the Dataset.
45438	Annotations *[]interface{} `json:"annotations,omitempty"`
45439	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
45440	Type TypeBasicLinkedService `json:"type,omitempty"`
45441}
45442
45443// MarshalJSON is the custom marshaler for HTTPLinkedService.
45444func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) {
45445	hls.Type = TypeHTTPServer
45446	objectMap := make(map[string]interface{})
45447	if hls.HTTPLinkedServiceTypeProperties != nil {
45448		objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties
45449	}
45450	if hls.ConnectVia != nil {
45451		objectMap["connectVia"] = hls.ConnectVia
45452	}
45453	if hls.Description != nil {
45454		objectMap["description"] = hls.Description
45455	}
45456	if hls.Parameters != nil {
45457		objectMap["parameters"] = hls.Parameters
45458	}
45459	if hls.Annotations != nil {
45460		objectMap["annotations"] = hls.Annotations
45461	}
45462	if hls.Type != "" {
45463		objectMap["type"] = hls.Type
45464	}
45465	for k, v := range hls.AdditionalProperties {
45466		objectMap[k] = v
45467	}
45468	return json.Marshal(objectMap)
45469}
45470
45471// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45472func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
45473	return nil, false
45474}
45475
45476// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45477func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
45478	return nil, false
45479}
45480
45481// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45482func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
45483	return nil, false
45484}
45485
45486// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45487func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
45488	return nil, false
45489}
45490
45491// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45492func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
45493	return nil, false
45494}
45495
45496// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45497func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
45498	return nil, false
45499}
45500
45501// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45502func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
45503	return nil, false
45504}
45505
45506// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45507func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
45508	return nil, false
45509}
45510
45511// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45512func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
45513	return nil, false
45514}
45515
45516// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45517func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
45518	return nil, false
45519}
45520
45521// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45522func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
45523	return nil, false
45524}
45525
45526// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45527func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
45528	return nil, false
45529}
45530
45531// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45532func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
45533	return nil, false
45534}
45535
45536// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45537func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
45538	return nil, false
45539}
45540
45541// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45542func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
45543	return nil, false
45544}
45545
45546// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45547func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
45548	return nil, false
45549}
45550
45551// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45552func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
45553	return nil, false
45554}
45555
45556// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45557func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
45558	return nil, false
45559}
45560
45561// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45562func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
45563	return nil, false
45564}
45565
45566// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45567func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
45568	return nil, false
45569}
45570
45571// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45572func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
45573	return nil, false
45574}
45575
45576// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45577func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
45578	return nil, false
45579}
45580
45581// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45582func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
45583	return nil, false
45584}
45585
45586// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45587func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
45588	return nil, false
45589}
45590
45591// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45592func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
45593	return nil, false
45594}
45595
45596// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45597func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
45598	return nil, false
45599}
45600
45601// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45602func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
45603	return nil, false
45604}
45605
45606// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45607func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
45608	return nil, false
45609}
45610
45611// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45612func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
45613	return nil, false
45614}
45615
45616// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45617func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
45618	return nil, false
45619}
45620
45621// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45622func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
45623	return nil, false
45624}
45625
45626// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45627func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
45628	return nil, false
45629}
45630
45631// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45632func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
45633	return nil, false
45634}
45635
45636// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45637func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
45638	return nil, false
45639}
45640
45641// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45642func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
45643	return nil, false
45644}
45645
45646// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45647func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
45648	return nil, false
45649}
45650
45651// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45652func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
45653	return nil, false
45654}
45655
45656// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45657func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
45658	return &hls, true
45659}
45660
45661// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45662func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
45663	return nil, false
45664}
45665
45666// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45667func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
45668	return nil, false
45669}
45670
45671// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45672func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
45673	return nil, false
45674}
45675
45676// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45677func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
45678	return nil, false
45679}
45680
45681// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45682func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
45683	return nil, false
45684}
45685
45686// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45687func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
45688	return nil, false
45689}
45690
45691// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45692func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
45693	return nil, false
45694}
45695
45696// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45697func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
45698	return nil, false
45699}
45700
45701// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45702func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
45703	return nil, false
45704}
45705
45706// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45707func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
45708	return nil, false
45709}
45710
45711// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45712func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
45713	return nil, false
45714}
45715
45716// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45717func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
45718	return nil, false
45719}
45720
45721// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45722func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
45723	return nil, false
45724}
45725
45726// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45727func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
45728	return nil, false
45729}
45730
45731// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45732func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
45733	return nil, false
45734}
45735
45736// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45737func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
45738	return nil, false
45739}
45740
45741// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45742func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
45743	return nil, false
45744}
45745
45746// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45747func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
45748	return nil, false
45749}
45750
45751// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45752func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
45753	return nil, false
45754}
45755
45756// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45757func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
45758	return nil, false
45759}
45760
45761// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45762func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
45763	return nil, false
45764}
45765
45766// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45767func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
45768	return nil, false
45769}
45770
45771// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45772func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
45773	return nil, false
45774}
45775
45776// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45777func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
45778	return nil, false
45779}
45780
45781// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45782func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
45783	return nil, false
45784}
45785
45786// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45787func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
45788	return nil, false
45789}
45790
45791// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45792func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
45793	return nil, false
45794}
45795
45796// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45797func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
45798	return nil, false
45799}
45800
45801// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45802func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
45803	return nil, false
45804}
45805
45806// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45807func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
45808	return nil, false
45809}
45810
45811// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45812func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
45813	return nil, false
45814}
45815
45816// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45817func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
45818	return nil, false
45819}
45820
45821// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45822func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) {
45823	return nil, false
45824}
45825
45826// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService.
45827func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
45828	return &hls, true
45829}
45830
45831// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct.
45832func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error {
45833	var m map[string]*json.RawMessage
45834	err := json.Unmarshal(body, &m)
45835	if err != nil {
45836		return err
45837	}
45838	for k, v := range m {
45839		switch k {
45840		case "typeProperties":
45841			if v != nil {
45842				var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties
45843				err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties)
45844				if err != nil {
45845					return err
45846				}
45847				hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties
45848			}
45849		default:
45850			if v != nil {
45851				var additionalProperties interface{}
45852				err = json.Unmarshal(*v, &additionalProperties)
45853				if err != nil {
45854					return err
45855				}
45856				if hls.AdditionalProperties == nil {
45857					hls.AdditionalProperties = make(map[string]interface{})
45858				}
45859				hls.AdditionalProperties[k] = additionalProperties
45860			}
45861		case "connectVia":
45862			if v != nil {
45863				var connectVia IntegrationRuntimeReference
45864				err = json.Unmarshal(*v, &connectVia)
45865				if err != nil {
45866					return err
45867				}
45868				hls.ConnectVia = &connectVia
45869			}
45870		case "description":
45871			if v != nil {
45872				var description string
45873				err = json.Unmarshal(*v, &description)
45874				if err != nil {
45875					return err
45876				}
45877				hls.Description = &description
45878			}
45879		case "parameters":
45880			if v != nil {
45881				var parameters map[string]*ParameterSpecification
45882				err = json.Unmarshal(*v, &parameters)
45883				if err != nil {
45884					return err
45885				}
45886				hls.Parameters = parameters
45887			}
45888		case "annotations":
45889			if v != nil {
45890				var annotations []interface{}
45891				err = json.Unmarshal(*v, &annotations)
45892				if err != nil {
45893					return err
45894				}
45895				hls.Annotations = &annotations
45896			}
45897		case "type":
45898			if v != nil {
45899				var typeVar TypeBasicLinkedService
45900				err = json.Unmarshal(*v, &typeVar)
45901				if err != nil {
45902					return err
45903				}
45904				hls.Type = typeVar
45905			}
45906		}
45907	}
45908
45909	return nil
45910}
45911
45912// HTTPLinkedServiceTypeProperties properties specific to this linked service type.
45913type HTTPLinkedServiceTypeProperties struct {
45914	// URL - The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string).
45915	URL interface{} `json:"url,omitempty"`
45916	// AuthenticationType - The authentication type to be used to connect to the HTTP server. Possible values include: 'HTTPAuthenticationTypeBasic', 'HTTPAuthenticationTypeAnonymous', 'HTTPAuthenticationTypeDigest', 'HTTPAuthenticationTypeWindows', 'HTTPAuthenticationTypeClientCertificate'
45917	AuthenticationType HTTPAuthenticationType `json:"authenticationType,omitempty"`
45918	// UserName - User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).
45919	UserName interface{} `json:"userName,omitempty"`
45920	// Password - Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.
45921	Password BasicSecretBase `json:"password,omitempty"`
45922	// EmbeddedCertData - Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
45923	EmbeddedCertData interface{} `json:"embeddedCertData,omitempty"`
45924	// CertThumbprint - Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
45925	CertThumbprint interface{} `json:"certThumbprint,omitempty"`
45926	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
45927	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
45928	// EnableServerCertificateValidation - If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean).
45929	EnableServerCertificateValidation interface{} `json:"enableServerCertificateValidation,omitempty"`
45930}
45931
45932// UnmarshalJSON is the custom unmarshaler for HTTPLinkedServiceTypeProperties struct.
45933func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
45934	var m map[string]*json.RawMessage
45935	err := json.Unmarshal(body, &m)
45936	if err != nil {
45937		return err
45938	}
45939	for k, v := range m {
45940		switch k {
45941		case "url":
45942			if v != nil {
45943				var URL interface{}
45944				err = json.Unmarshal(*v, &URL)
45945				if err != nil {
45946					return err
45947				}
45948				hlstp.URL = URL
45949			}
45950		case "authenticationType":
45951			if v != nil {
45952				var authenticationType HTTPAuthenticationType
45953				err = json.Unmarshal(*v, &authenticationType)
45954				if err != nil {
45955					return err
45956				}
45957				hlstp.AuthenticationType = authenticationType
45958			}
45959		case "userName":
45960			if v != nil {
45961				var userName interface{}
45962				err = json.Unmarshal(*v, &userName)
45963				if err != nil {
45964					return err
45965				}
45966				hlstp.UserName = userName
45967			}
45968		case "password":
45969			if v != nil {
45970				password, err := unmarshalBasicSecretBase(*v)
45971				if err != nil {
45972					return err
45973				}
45974				hlstp.Password = password
45975			}
45976		case "embeddedCertData":
45977			if v != nil {
45978				var embeddedCertData interface{}
45979				err = json.Unmarshal(*v, &embeddedCertData)
45980				if err != nil {
45981					return err
45982				}
45983				hlstp.EmbeddedCertData = embeddedCertData
45984			}
45985		case "certThumbprint":
45986			if v != nil {
45987				var certThumbprint interface{}
45988				err = json.Unmarshal(*v, &certThumbprint)
45989				if err != nil {
45990					return err
45991				}
45992				hlstp.CertThumbprint = certThumbprint
45993			}
45994		case "encryptedCredential":
45995			if v != nil {
45996				var encryptedCredential interface{}
45997				err = json.Unmarshal(*v, &encryptedCredential)
45998				if err != nil {
45999					return err
46000				}
46001				hlstp.EncryptedCredential = encryptedCredential
46002			}
46003		case "enableServerCertificateValidation":
46004			if v != nil {
46005				var enableServerCertificateValidation interface{}
46006				err = json.Unmarshal(*v, &enableServerCertificateValidation)
46007				if err != nil {
46008					return err
46009				}
46010				hlstp.EnableServerCertificateValidation = enableServerCertificateValidation
46011			}
46012		}
46013	}
46014
46015	return nil
46016}
46017
46018// HTTPSource a copy activity source for an HTTP file.
46019type HTTPSource struct {
46020	// HTTPRequestTimeout - Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
46021	HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"`
46022	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
46023	AdditionalProperties map[string]interface{} `json:""`
46024	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
46025	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
46026	// 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])).
46027	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
46028	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
46029	Type TypeBasicCopySource `json:"type,omitempty"`
46030}
46031
46032// MarshalJSON is the custom marshaler for HTTPSource.
46033func (hs HTTPSource) MarshalJSON() ([]byte, error) {
46034	hs.Type = TypeHTTPSource
46035	objectMap := make(map[string]interface{})
46036	objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout
46037	objectMap["sourceRetryCount"] = hs.SourceRetryCount
46038	objectMap["sourceRetryWait"] = hs.SourceRetryWait
46039	if hs.Type != "" {
46040		objectMap["type"] = hs.Type
46041	}
46042	for k, v := range hs.AdditionalProperties {
46043		objectMap[k] = v
46044	}
46045	return json.Marshal(objectMap)
46046}
46047
46048// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource.
46049func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
46050	return nil, false
46051}
46052
46053// AsResponsysSource is the BasicCopySource implementation for HTTPSource.
46054func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) {
46055	return nil, false
46056}
46057
46058// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource.
46059func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
46060	return nil, false
46061}
46062
46063// AsVerticaSource is the BasicCopySource implementation for HTTPSource.
46064func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) {
46065	return nil, false
46066}
46067
46068// AsNetezzaSource is the BasicCopySource implementation for HTTPSource.
46069func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) {
46070	return nil, false
46071}
46072
46073// AsZohoSource is the BasicCopySource implementation for HTTPSource.
46074func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) {
46075	return nil, false
46076}
46077
46078// AsXeroSource is the BasicCopySource implementation for HTTPSource.
46079func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) {
46080	return nil, false
46081}
46082
46083// AsSquareSource is the BasicCopySource implementation for HTTPSource.
46084func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) {
46085	return nil, false
46086}
46087
46088// AsSparkSource is the BasicCopySource implementation for HTTPSource.
46089func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) {
46090	return nil, false
46091}
46092
46093// AsShopifySource is the BasicCopySource implementation for HTTPSource.
46094func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) {
46095	return nil, false
46096}
46097
46098// AsServiceNowSource is the BasicCopySource implementation for HTTPSource.
46099func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) {
46100	return nil, false
46101}
46102
46103// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource.
46104func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
46105	return nil, false
46106}
46107
46108// AsPrestoSource is the BasicCopySource implementation for HTTPSource.
46109func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) {
46110	return nil, false
46111}
46112
46113// AsPhoenixSource is the BasicCopySource implementation for HTTPSource.
46114func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) {
46115	return nil, false
46116}
46117
46118// AsPaypalSource is the BasicCopySource implementation for HTTPSource.
46119func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) {
46120	return nil, false
46121}
46122
46123// AsMarketoSource is the BasicCopySource implementation for HTTPSource.
46124func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) {
46125	return nil, false
46126}
46127
46128// AsMariaDBSource is the BasicCopySource implementation for HTTPSource.
46129func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) {
46130	return nil, false
46131}
46132
46133// AsMagentoSource is the BasicCopySource implementation for HTTPSource.
46134func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) {
46135	return nil, false
46136}
46137
46138// AsJiraSource is the BasicCopySource implementation for HTTPSource.
46139func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) {
46140	return nil, false
46141}
46142
46143// AsImpalaSource is the BasicCopySource implementation for HTTPSource.
46144func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) {
46145	return nil, false
46146}
46147
46148// AsHubspotSource is the BasicCopySource implementation for HTTPSource.
46149func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) {
46150	return nil, false
46151}
46152
46153// AsHiveSource is the BasicCopySource implementation for HTTPSource.
46154func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) {
46155	return nil, false
46156}
46157
46158// AsHBaseSource is the BasicCopySource implementation for HTTPSource.
46159func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) {
46160	return nil, false
46161}
46162
46163// AsGreenplumSource is the BasicCopySource implementation for HTTPSource.
46164func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) {
46165	return nil, false
46166}
46167
46168// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource.
46169func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
46170	return nil, false
46171}
46172
46173// AsEloquaSource is the BasicCopySource implementation for HTTPSource.
46174func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) {
46175	return nil, false
46176}
46177
46178// AsDrillSource is the BasicCopySource implementation for HTTPSource.
46179func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) {
46180	return nil, false
46181}
46182
46183// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource.
46184func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
46185	return nil, false
46186}
46187
46188// AsConcurSource is the BasicCopySource implementation for HTTPSource.
46189func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) {
46190	return nil, false
46191}
46192
46193// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource.
46194func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
46195	return nil, false
46196}
46197
46198// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource.
46199func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
46200	return nil, false
46201}
46202
46203// AsHTTPSource is the BasicCopySource implementation for HTTPSource.
46204func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) {
46205	return &hs, true
46206}
46207
46208// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource.
46209func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
46210	return nil, false
46211}
46212
46213// AsMongoDbSource is the BasicCopySource implementation for HTTPSource.
46214func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) {
46215	return nil, false
46216}
46217
46218// AsCassandraSource is the BasicCopySource implementation for HTTPSource.
46219func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) {
46220	return nil, false
46221}
46222
46223// AsWebSource is the BasicCopySource implementation for HTTPSource.
46224func (hs HTTPSource) AsWebSource() (*WebSource, bool) {
46225	return nil, false
46226}
46227
46228// AsOracleSource is the BasicCopySource implementation for HTTPSource.
46229func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) {
46230	return nil, false
46231}
46232
46233// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource.
46234func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
46235	return nil, false
46236}
46237
46238// AsHdfsSource is the BasicCopySource implementation for HTTPSource.
46239func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) {
46240	return nil, false
46241}
46242
46243// AsFileSystemSource is the BasicCopySource implementation for HTTPSource.
46244func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) {
46245	return nil, false
46246}
46247
46248// AsSQLDWSource is the BasicCopySource implementation for HTTPSource.
46249func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) {
46250	return nil, false
46251}
46252
46253// AsSQLSource is the BasicCopySource implementation for HTTPSource.
46254func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) {
46255	return nil, false
46256}
46257
46258// AsSapEccSource is the BasicCopySource implementation for HTTPSource.
46259func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) {
46260	return nil, false
46261}
46262
46263// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource.
46264func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
46265	return nil, false
46266}
46267
46268// AsSalesforceSource is the BasicCopySource implementation for HTTPSource.
46269func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) {
46270	return nil, false
46271}
46272
46273// AsRelationalSource is the BasicCopySource implementation for HTTPSource.
46274func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) {
46275	return nil, false
46276}
46277
46278// AsDynamicsSource is the BasicCopySource implementation for HTTPSource.
46279func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) {
46280	return nil, false
46281}
46282
46283// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource.
46284func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
46285	return nil, false
46286}
46287
46288// AsBlobSource is the BasicCopySource implementation for HTTPSource.
46289func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) {
46290	return nil, false
46291}
46292
46293// AsAzureTableSource is the BasicCopySource implementation for HTTPSource.
46294func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) {
46295	return nil, false
46296}
46297
46298// AsCopySource is the BasicCopySource implementation for HTTPSource.
46299func (hs HTTPSource) AsCopySource() (*CopySource, bool) {
46300	return nil, false
46301}
46302
46303// AsBasicCopySource is the BasicCopySource implementation for HTTPSource.
46304func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) {
46305	return &hs, true
46306}
46307
46308// HubspotLinkedService hubspot Serivce linked service.
46309type HubspotLinkedService struct {
46310	// HubspotLinkedServiceTypeProperties - Hubspot Serivce linked service properties.
46311	*HubspotLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
46312	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
46313	AdditionalProperties map[string]interface{} `json:""`
46314	// ConnectVia - The integration runtime reference.
46315	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
46316	// Description - Linked service description.
46317	Description *string `json:"description,omitempty"`
46318	// Parameters - Parameters for linked service.
46319	Parameters map[string]*ParameterSpecification `json:"parameters"`
46320	// Annotations - List of tags that can be used for describing the Dataset.
46321	Annotations *[]interface{} `json:"annotations,omitempty"`
46322	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
46323	Type TypeBasicLinkedService `json:"type,omitempty"`
46324}
46325
46326// MarshalJSON is the custom marshaler for HubspotLinkedService.
46327func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) {
46328	hls.Type = TypeHubspot
46329	objectMap := make(map[string]interface{})
46330	if hls.HubspotLinkedServiceTypeProperties != nil {
46331		objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties
46332	}
46333	if hls.ConnectVia != nil {
46334		objectMap["connectVia"] = hls.ConnectVia
46335	}
46336	if hls.Description != nil {
46337		objectMap["description"] = hls.Description
46338	}
46339	if hls.Parameters != nil {
46340		objectMap["parameters"] = hls.Parameters
46341	}
46342	if hls.Annotations != nil {
46343		objectMap["annotations"] = hls.Annotations
46344	}
46345	if hls.Type != "" {
46346		objectMap["type"] = hls.Type
46347	}
46348	for k, v := range hls.AdditionalProperties {
46349		objectMap[k] = v
46350	}
46351	return json.Marshal(objectMap)
46352}
46353
46354// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46355func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
46356	return nil, false
46357}
46358
46359// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46360func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
46361	return nil, false
46362}
46363
46364// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46365func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
46366	return nil, false
46367}
46368
46369// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46370func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
46371	return nil, false
46372}
46373
46374// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46375func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
46376	return nil, false
46377}
46378
46379// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46380func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
46381	return nil, false
46382}
46383
46384// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46385func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
46386	return nil, false
46387}
46388
46389// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46390func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
46391	return nil, false
46392}
46393
46394// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46395func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
46396	return nil, false
46397}
46398
46399// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46400func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
46401	return nil, false
46402}
46403
46404// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46405func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
46406	return nil, false
46407}
46408
46409// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46410func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
46411	return nil, false
46412}
46413
46414// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46415func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
46416	return nil, false
46417}
46418
46419// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46420func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
46421	return nil, false
46422}
46423
46424// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46425func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
46426	return nil, false
46427}
46428
46429// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46430func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
46431	return nil, false
46432}
46433
46434// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46435func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
46436	return nil, false
46437}
46438
46439// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46440func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
46441	return nil, false
46442}
46443
46444// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46445func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
46446	return nil, false
46447}
46448
46449// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46450func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
46451	return nil, false
46452}
46453
46454// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46455func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
46456	return nil, false
46457}
46458
46459// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46460func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
46461	return nil, false
46462}
46463
46464// AsHubspotLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46465func (hls HubspotLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
46466	return &hls, true
46467}
46468
46469// AsHiveLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46470func (hls HubspotLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
46471	return nil, false
46472}
46473
46474// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46475func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
46476	return nil, false
46477}
46478
46479// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46480func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
46481	return nil, false
46482}
46483
46484// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46485func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
46486	return nil, false
46487}
46488
46489// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46490func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
46491	return nil, false
46492}
46493
46494// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46495func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
46496	return nil, false
46497}
46498
46499// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46500func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
46501	return nil, false
46502}
46503
46504// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46505func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
46506	return nil, false
46507}
46508
46509// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46510func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
46511	return nil, false
46512}
46513
46514// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46515func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
46516	return nil, false
46517}
46518
46519// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46520func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
46521	return nil, false
46522}
46523
46524// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46525func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
46526	return nil, false
46527}
46528
46529// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46530func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
46531	return nil, false
46532}
46533
46534// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46535func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
46536	return nil, false
46537}
46538
46539// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46540func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
46541	return nil, false
46542}
46543
46544// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46545func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
46546	return nil, false
46547}
46548
46549// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46550func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
46551	return nil, false
46552}
46553
46554// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46555func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
46556	return nil, false
46557}
46558
46559// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46560func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
46561	return nil, false
46562}
46563
46564// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46565func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
46566	return nil, false
46567}
46568
46569// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46570func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
46571	return nil, false
46572}
46573
46574// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46575func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
46576	return nil, false
46577}
46578
46579// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46580func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
46581	return nil, false
46582}
46583
46584// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46585func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
46586	return nil, false
46587}
46588
46589// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46590func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
46591	return nil, false
46592}
46593
46594// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46595func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
46596	return nil, false
46597}
46598
46599// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46600func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
46601	return nil, false
46602}
46603
46604// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46605func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
46606	return nil, false
46607}
46608
46609// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46610func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
46611	return nil, false
46612}
46613
46614// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46615func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
46616	return nil, false
46617}
46618
46619// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46620func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
46621	return nil, false
46622}
46623
46624// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46625func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
46626	return nil, false
46627}
46628
46629// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46630func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
46631	return nil, false
46632}
46633
46634// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46635func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
46636	return nil, false
46637}
46638
46639// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46640func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
46641	return nil, false
46642}
46643
46644// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46645func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
46646	return nil, false
46647}
46648
46649// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46650func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
46651	return nil, false
46652}
46653
46654// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46655func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
46656	return nil, false
46657}
46658
46659// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46660func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
46661	return nil, false
46662}
46663
46664// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46665func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
46666	return nil, false
46667}
46668
46669// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46670func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
46671	return nil, false
46672}
46673
46674// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46675func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
46676	return nil, false
46677}
46678
46679// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46680func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
46681	return nil, false
46682}
46683
46684// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46685func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
46686	return nil, false
46687}
46688
46689// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46690func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
46691	return nil, false
46692}
46693
46694// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46695func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
46696	return nil, false
46697}
46698
46699// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46700func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
46701	return nil, false
46702}
46703
46704// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46705func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) {
46706	return nil, false
46707}
46708
46709// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService.
46710func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
46711	return &hls, true
46712}
46713
46714// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct.
46715func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error {
46716	var m map[string]*json.RawMessage
46717	err := json.Unmarshal(body, &m)
46718	if err != nil {
46719		return err
46720	}
46721	for k, v := range m {
46722		switch k {
46723		case "typeProperties":
46724			if v != nil {
46725				var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties
46726				err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties)
46727				if err != nil {
46728					return err
46729				}
46730				hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties
46731			}
46732		default:
46733			if v != nil {
46734				var additionalProperties interface{}
46735				err = json.Unmarshal(*v, &additionalProperties)
46736				if err != nil {
46737					return err
46738				}
46739				if hls.AdditionalProperties == nil {
46740					hls.AdditionalProperties = make(map[string]interface{})
46741				}
46742				hls.AdditionalProperties[k] = additionalProperties
46743			}
46744		case "connectVia":
46745			if v != nil {
46746				var connectVia IntegrationRuntimeReference
46747				err = json.Unmarshal(*v, &connectVia)
46748				if err != nil {
46749					return err
46750				}
46751				hls.ConnectVia = &connectVia
46752			}
46753		case "description":
46754			if v != nil {
46755				var description string
46756				err = json.Unmarshal(*v, &description)
46757				if err != nil {
46758					return err
46759				}
46760				hls.Description = &description
46761			}
46762		case "parameters":
46763			if v != nil {
46764				var parameters map[string]*ParameterSpecification
46765				err = json.Unmarshal(*v, &parameters)
46766				if err != nil {
46767					return err
46768				}
46769				hls.Parameters = parameters
46770			}
46771		case "annotations":
46772			if v != nil {
46773				var annotations []interface{}
46774				err = json.Unmarshal(*v, &annotations)
46775				if err != nil {
46776					return err
46777				}
46778				hls.Annotations = &annotations
46779			}
46780		case "type":
46781			if v != nil {
46782				var typeVar TypeBasicLinkedService
46783				err = json.Unmarshal(*v, &typeVar)
46784				if err != nil {
46785					return err
46786				}
46787				hls.Type = typeVar
46788			}
46789		}
46790	}
46791
46792	return nil
46793}
46794
46795// HubspotLinkedServiceTypeProperties hubspot Serivce linked service properties.
46796type HubspotLinkedServiceTypeProperties struct {
46797	// ClientID - The client ID associated with your Hubspot application.
46798	ClientID interface{} `json:"clientId,omitempty"`
46799	// ClientSecret - The client secret associated with your Hubspot application.
46800	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
46801	// AccessToken - The access token obtained when initially authenticating your OAuth integration.
46802	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
46803	// RefreshToken - The refresh token obtained when initially authenticating your OAuth integration.
46804	RefreshToken BasicSecretBase `json:"refreshToken,omitempty"`
46805	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
46806	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
46807	// 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.
46808	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
46809	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
46810	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
46811	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
46812	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
46813}
46814
46815// UnmarshalJSON is the custom unmarshaler for HubspotLinkedServiceTypeProperties struct.
46816func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
46817	var m map[string]*json.RawMessage
46818	err := json.Unmarshal(body, &m)
46819	if err != nil {
46820		return err
46821	}
46822	for k, v := range m {
46823		switch k {
46824		case "clientId":
46825			if v != nil {
46826				var clientID interface{}
46827				err = json.Unmarshal(*v, &clientID)
46828				if err != nil {
46829					return err
46830				}
46831				hlstp.ClientID = clientID
46832			}
46833		case "clientSecret":
46834			if v != nil {
46835				clientSecret, err := unmarshalBasicSecretBase(*v)
46836				if err != nil {
46837					return err
46838				}
46839				hlstp.ClientSecret = clientSecret
46840			}
46841		case "accessToken":
46842			if v != nil {
46843				accessToken, err := unmarshalBasicSecretBase(*v)
46844				if err != nil {
46845					return err
46846				}
46847				hlstp.AccessToken = accessToken
46848			}
46849		case "refreshToken":
46850			if v != nil {
46851				refreshToken, err := unmarshalBasicSecretBase(*v)
46852				if err != nil {
46853					return err
46854				}
46855				hlstp.RefreshToken = refreshToken
46856			}
46857		case "useEncryptedEndpoints":
46858			if v != nil {
46859				var useEncryptedEndpoints interface{}
46860				err = json.Unmarshal(*v, &useEncryptedEndpoints)
46861				if err != nil {
46862					return err
46863				}
46864				hlstp.UseEncryptedEndpoints = useEncryptedEndpoints
46865			}
46866		case "useHostVerification":
46867			if v != nil {
46868				var useHostVerification interface{}
46869				err = json.Unmarshal(*v, &useHostVerification)
46870				if err != nil {
46871					return err
46872				}
46873				hlstp.UseHostVerification = useHostVerification
46874			}
46875		case "usePeerVerification":
46876			if v != nil {
46877				var usePeerVerification interface{}
46878				err = json.Unmarshal(*v, &usePeerVerification)
46879				if err != nil {
46880					return err
46881				}
46882				hlstp.UsePeerVerification = usePeerVerification
46883			}
46884		case "encryptedCredential":
46885			if v != nil {
46886				var encryptedCredential interface{}
46887				err = json.Unmarshal(*v, &encryptedCredential)
46888				if err != nil {
46889					return err
46890				}
46891				hlstp.EncryptedCredential = encryptedCredential
46892			}
46893		}
46894	}
46895
46896	return nil
46897}
46898
46899// HubspotObjectDataset hubspot Serivce dataset.
46900type HubspotObjectDataset struct {
46901	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
46902	AdditionalProperties map[string]interface{} `json:""`
46903	// Description - Dataset description.
46904	Description *string `json:"description,omitempty"`
46905	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
46906	Structure interface{} `json:"structure,omitempty"`
46907	// LinkedServiceName - Linked service reference.
46908	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
46909	// Parameters - Parameters for dataset.
46910	Parameters map[string]*ParameterSpecification `json:"parameters"`
46911	// Annotations - List of tags that can be used for describing the Dataset.
46912	Annotations *[]interface{} `json:"annotations,omitempty"`
46913	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
46914	Type TypeBasicDataset `json:"type,omitempty"`
46915}
46916
46917// MarshalJSON is the custom marshaler for HubspotObjectDataset.
46918func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) {
46919	hod.Type = TypeHubspotObject
46920	objectMap := make(map[string]interface{})
46921	if hod.Description != nil {
46922		objectMap["description"] = hod.Description
46923	}
46924	objectMap["structure"] = hod.Structure
46925	if hod.LinkedServiceName != nil {
46926		objectMap["linkedServiceName"] = hod.LinkedServiceName
46927	}
46928	if hod.Parameters != nil {
46929		objectMap["parameters"] = hod.Parameters
46930	}
46931	if hod.Annotations != nil {
46932		objectMap["annotations"] = hod.Annotations
46933	}
46934	if hod.Type != "" {
46935		objectMap["type"] = hod.Type
46936	}
46937	for k, v := range hod.AdditionalProperties {
46938		objectMap[k] = v
46939	}
46940	return json.Marshal(objectMap)
46941}
46942
46943// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46944func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
46945	return nil, false
46946}
46947
46948// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46949func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
46950	return nil, false
46951}
46952
46953// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
46954func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
46955	return nil, false
46956}
46957
46958// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset.
46959func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
46960	return nil, false
46961}
46962
46963// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46964func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
46965	return nil, false
46966}
46967
46968// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46969func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
46970	return nil, false
46971}
46972
46973// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46974func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
46975	return nil, false
46976}
46977
46978// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46979func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
46980	return nil, false
46981}
46982
46983// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46984func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
46985	return nil, false
46986}
46987
46988// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46989func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
46990	return nil, false
46991}
46992
46993// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46994func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
46995	return nil, false
46996}
46997
46998// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
46999func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
47000	return nil, false
47001}
47002
47003// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47004func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
47005	return nil, false
47006}
47007
47008// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47009func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
47010	return nil, false
47011}
47012
47013// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47014func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
47015	return nil, false
47016}
47017
47018// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47019func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
47020	return nil, false
47021}
47022
47023// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47024func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
47025	return nil, false
47026}
47027
47028// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47029func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
47030	return nil, false
47031}
47032
47033// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47034func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
47035	return nil, false
47036}
47037
47038// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47039func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
47040	return &hod, true
47041}
47042
47043// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47044func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
47045	return nil, false
47046}
47047
47048// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47049func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
47050	return nil, false
47051}
47052
47053// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47054func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
47055	return nil, false
47056}
47057
47058// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47059func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
47060	return nil, false
47061}
47062
47063// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47064func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
47065	return nil, false
47066}
47067
47068// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47069func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
47070	return nil, false
47071}
47072
47073// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47074func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
47075	return nil, false
47076}
47077
47078// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47079func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
47080	return nil, false
47081}
47082
47083// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47084func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
47085	return nil, false
47086}
47087
47088// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47089func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
47090	return nil, false
47091}
47092
47093// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset.
47094func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
47095	return nil, false
47096}
47097
47098// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset.
47099func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
47100	return nil, false
47101}
47102
47103// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47104func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
47105	return nil, false
47106}
47107
47108// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47109func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
47110	return nil, false
47111}
47112
47113// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
47114func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
47115	return nil, false
47116}
47117
47118// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
47119func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
47120	return nil, false
47121}
47122
47123// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset.
47124func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
47125	return nil, false
47126}
47127
47128// AsRelationalTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47129func (hod HubspotObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
47130	return nil, false
47131}
47132
47133// AsAzureMySQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47134func (hod HubspotObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
47135	return nil, false
47136}
47137
47138// AsOracleTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47139func (hod HubspotObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
47140	return nil, false
47141}
47142
47143// AsODataResourceDataset is the BasicDataset implementation for HubspotObjectDataset.
47144func (hod HubspotObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
47145	return nil, false
47146}
47147
47148// AsMongoDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
47149func (hod HubspotObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
47150	return nil, false
47151}
47152
47153// AsFileShareDataset is the BasicDataset implementation for HubspotObjectDataset.
47154func (hod HubspotObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
47155	return nil, false
47156}
47157
47158// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HubspotObjectDataset.
47159func (hod HubspotObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
47160	return nil, false
47161}
47162
47163// AsDynamicsEntityDataset is the BasicDataset implementation for HubspotObjectDataset.
47164func (hod HubspotObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
47165	return nil, false
47166}
47167
47168// AsDocumentDbCollectionDataset is the BasicDataset implementation for HubspotObjectDataset.
47169func (hod HubspotObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
47170	return nil, false
47171}
47172
47173// AsCustomDataset is the BasicDataset implementation for HubspotObjectDataset.
47174func (hod HubspotObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
47175	return nil, false
47176}
47177
47178// AsCassandraTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47179func (hod HubspotObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
47180	return nil, false
47181}
47182
47183// AsAzureSQLDWTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47184func (hod HubspotObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
47185	return nil, false
47186}
47187
47188// AsAzureSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47189func (hod HubspotObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
47190	return nil, false
47191}
47192
47193// AsAzureTableDataset is the BasicDataset implementation for HubspotObjectDataset.
47194func (hod HubspotObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
47195	return nil, false
47196}
47197
47198// AsAzureBlobDataset is the BasicDataset implementation for HubspotObjectDataset.
47199func (hod HubspotObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
47200	return nil, false
47201}
47202
47203// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset.
47204func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
47205	return nil, false
47206}
47207
47208// AsDataset is the BasicDataset implementation for HubspotObjectDataset.
47209func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) {
47210	return nil, false
47211}
47212
47213// AsBasicDataset is the BasicDataset implementation for HubspotObjectDataset.
47214func (hod HubspotObjectDataset) AsBasicDataset() (BasicDataset, bool) {
47215	return &hod, true
47216}
47217
47218// HubspotSource a copy activity Hubspot Serivce source.
47219type HubspotSource struct {
47220	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
47221	Query interface{} `json:"query,omitempty"`
47222	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
47223	AdditionalProperties map[string]interface{} `json:""`
47224	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
47225	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
47226	// 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])).
47227	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
47228	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
47229	Type TypeBasicCopySource `json:"type,omitempty"`
47230}
47231
47232// MarshalJSON is the custom marshaler for HubspotSource.
47233func (hs HubspotSource) MarshalJSON() ([]byte, error) {
47234	hs.Type = TypeHubspotSource
47235	objectMap := make(map[string]interface{})
47236	objectMap["query"] = hs.Query
47237	objectMap["sourceRetryCount"] = hs.SourceRetryCount
47238	objectMap["sourceRetryWait"] = hs.SourceRetryWait
47239	if hs.Type != "" {
47240		objectMap["type"] = hs.Type
47241	}
47242	for k, v := range hs.AdditionalProperties {
47243		objectMap[k] = v
47244	}
47245	return json.Marshal(objectMap)
47246}
47247
47248// AsAmazonRedshiftSource is the BasicCopySource implementation for HubspotSource.
47249func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
47250	return nil, false
47251}
47252
47253// AsResponsysSource is the BasicCopySource implementation for HubspotSource.
47254func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) {
47255	return nil, false
47256}
47257
47258// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource.
47259func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
47260	return nil, false
47261}
47262
47263// AsVerticaSource is the BasicCopySource implementation for HubspotSource.
47264func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) {
47265	return nil, false
47266}
47267
47268// AsNetezzaSource is the BasicCopySource implementation for HubspotSource.
47269func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) {
47270	return nil, false
47271}
47272
47273// AsZohoSource is the BasicCopySource implementation for HubspotSource.
47274func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) {
47275	return nil, false
47276}
47277
47278// AsXeroSource is the BasicCopySource implementation for HubspotSource.
47279func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) {
47280	return nil, false
47281}
47282
47283// AsSquareSource is the BasicCopySource implementation for HubspotSource.
47284func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) {
47285	return nil, false
47286}
47287
47288// AsSparkSource is the BasicCopySource implementation for HubspotSource.
47289func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) {
47290	return nil, false
47291}
47292
47293// AsShopifySource is the BasicCopySource implementation for HubspotSource.
47294func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) {
47295	return nil, false
47296}
47297
47298// AsServiceNowSource is the BasicCopySource implementation for HubspotSource.
47299func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) {
47300	return nil, false
47301}
47302
47303// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource.
47304func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
47305	return nil, false
47306}
47307
47308// AsPrestoSource is the BasicCopySource implementation for HubspotSource.
47309func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) {
47310	return nil, false
47311}
47312
47313// AsPhoenixSource is the BasicCopySource implementation for HubspotSource.
47314func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) {
47315	return nil, false
47316}
47317
47318// AsPaypalSource is the BasicCopySource implementation for HubspotSource.
47319func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) {
47320	return nil, false
47321}
47322
47323// AsMarketoSource is the BasicCopySource implementation for HubspotSource.
47324func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) {
47325	return nil, false
47326}
47327
47328// AsMariaDBSource is the BasicCopySource implementation for HubspotSource.
47329func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) {
47330	return nil, false
47331}
47332
47333// AsMagentoSource is the BasicCopySource implementation for HubspotSource.
47334func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) {
47335	return nil, false
47336}
47337
47338// AsJiraSource is the BasicCopySource implementation for HubspotSource.
47339func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) {
47340	return nil, false
47341}
47342
47343// AsImpalaSource is the BasicCopySource implementation for HubspotSource.
47344func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) {
47345	return nil, false
47346}
47347
47348// AsHubspotSource is the BasicCopySource implementation for HubspotSource.
47349func (hs HubspotSource) AsHubspotSource() (*HubspotSource, bool) {
47350	return &hs, true
47351}
47352
47353// AsHiveSource is the BasicCopySource implementation for HubspotSource.
47354func (hs HubspotSource) AsHiveSource() (*HiveSource, bool) {
47355	return nil, false
47356}
47357
47358// AsHBaseSource is the BasicCopySource implementation for HubspotSource.
47359func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) {
47360	return nil, false
47361}
47362
47363// AsGreenplumSource is the BasicCopySource implementation for HubspotSource.
47364func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) {
47365	return nil, false
47366}
47367
47368// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource.
47369func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
47370	return nil, false
47371}
47372
47373// AsEloquaSource is the BasicCopySource implementation for HubspotSource.
47374func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) {
47375	return nil, false
47376}
47377
47378// AsDrillSource is the BasicCopySource implementation for HubspotSource.
47379func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) {
47380	return nil, false
47381}
47382
47383// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource.
47384func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
47385	return nil, false
47386}
47387
47388// AsConcurSource is the BasicCopySource implementation for HubspotSource.
47389func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) {
47390	return nil, false
47391}
47392
47393// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource.
47394func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
47395	return nil, false
47396}
47397
47398// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource.
47399func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
47400	return nil, false
47401}
47402
47403// AsHTTPSource is the BasicCopySource implementation for HubspotSource.
47404func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) {
47405	return nil, false
47406}
47407
47408// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource.
47409func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
47410	return nil, false
47411}
47412
47413// AsMongoDbSource is the BasicCopySource implementation for HubspotSource.
47414func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) {
47415	return nil, false
47416}
47417
47418// AsCassandraSource is the BasicCopySource implementation for HubspotSource.
47419func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) {
47420	return nil, false
47421}
47422
47423// AsWebSource is the BasicCopySource implementation for HubspotSource.
47424func (hs HubspotSource) AsWebSource() (*WebSource, bool) {
47425	return nil, false
47426}
47427
47428// AsOracleSource is the BasicCopySource implementation for HubspotSource.
47429func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) {
47430	return nil, false
47431}
47432
47433// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource.
47434func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
47435	return nil, false
47436}
47437
47438// AsHdfsSource is the BasicCopySource implementation for HubspotSource.
47439func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) {
47440	return nil, false
47441}
47442
47443// AsFileSystemSource is the BasicCopySource implementation for HubspotSource.
47444func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) {
47445	return nil, false
47446}
47447
47448// AsSQLDWSource is the BasicCopySource implementation for HubspotSource.
47449func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) {
47450	return nil, false
47451}
47452
47453// AsSQLSource is the BasicCopySource implementation for HubspotSource.
47454func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) {
47455	return nil, false
47456}
47457
47458// AsSapEccSource is the BasicCopySource implementation for HubspotSource.
47459func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) {
47460	return nil, false
47461}
47462
47463// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource.
47464func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
47465	return nil, false
47466}
47467
47468// AsSalesforceSource is the BasicCopySource implementation for HubspotSource.
47469func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) {
47470	return nil, false
47471}
47472
47473// AsRelationalSource is the BasicCopySource implementation for HubspotSource.
47474func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) {
47475	return nil, false
47476}
47477
47478// AsDynamicsSource is the BasicCopySource implementation for HubspotSource.
47479func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) {
47480	return nil, false
47481}
47482
47483// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource.
47484func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
47485	return nil, false
47486}
47487
47488// AsBlobSource is the BasicCopySource implementation for HubspotSource.
47489func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) {
47490	return nil, false
47491}
47492
47493// AsAzureTableSource is the BasicCopySource implementation for HubspotSource.
47494func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) {
47495	return nil, false
47496}
47497
47498// AsCopySource is the BasicCopySource implementation for HubspotSource.
47499func (hs HubspotSource) AsCopySource() (*CopySource, bool) {
47500	return nil, false
47501}
47502
47503// AsBasicCopySource is the BasicCopySource implementation for HubspotSource.
47504func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) {
47505	return &hs, true
47506}
47507
47508// IfConditionActivity this activity evaluates a boolean expression and executes either the activities under the
47509// ifTrueActivities property or the ifFalseActivities property depending on the result of the expression.
47510type IfConditionActivity struct {
47511	// IfConditionActivityTypeProperties - IfCondition activity properties.
47512	*IfConditionActivityTypeProperties `json:"typeProperties,omitempty"`
47513	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
47514	AdditionalProperties map[string]interface{} `json:""`
47515	// Name - Activity name.
47516	Name *string `json:"name,omitempty"`
47517	// Description - Activity description.
47518	Description *string `json:"description,omitempty"`
47519	// DependsOn - Activity depends on condition.
47520	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
47521	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
47522	Type TypeBasicActivity `json:"type,omitempty"`
47523}
47524
47525// MarshalJSON is the custom marshaler for IfConditionActivity.
47526func (ica IfConditionActivity) MarshalJSON() ([]byte, error) {
47527	ica.Type = TypeIfCondition
47528	objectMap := make(map[string]interface{})
47529	if ica.IfConditionActivityTypeProperties != nil {
47530		objectMap["typeProperties"] = ica.IfConditionActivityTypeProperties
47531	}
47532	if ica.Name != nil {
47533		objectMap["name"] = ica.Name
47534	}
47535	if ica.Description != nil {
47536		objectMap["description"] = ica.Description
47537	}
47538	if ica.DependsOn != nil {
47539		objectMap["dependsOn"] = ica.DependsOn
47540	}
47541	if ica.Type != "" {
47542		objectMap["type"] = ica.Type
47543	}
47544	for k, v := range ica.AdditionalProperties {
47545		objectMap[k] = v
47546	}
47547	return json.Marshal(objectMap)
47548}
47549
47550// AsDatabricksNotebookActivity is the BasicActivity implementation for IfConditionActivity.
47551func (ica IfConditionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
47552	return nil, false
47553}
47554
47555// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for IfConditionActivity.
47556func (ica IfConditionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
47557	return nil, false
47558}
47559
47560// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for IfConditionActivity.
47561func (ica IfConditionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
47562	return nil, false
47563}
47564
47565// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for IfConditionActivity.
47566func (ica IfConditionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
47567	return nil, false
47568}
47569
47570// AsGetMetadataActivity is the BasicActivity implementation for IfConditionActivity.
47571func (ica IfConditionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
47572	return nil, false
47573}
47574
47575// AsWebActivity is the BasicActivity implementation for IfConditionActivity.
47576func (ica IfConditionActivity) AsWebActivity() (*WebActivity, bool) {
47577	return nil, false
47578}
47579
47580// AsLookupActivity is the BasicActivity implementation for IfConditionActivity.
47581func (ica IfConditionActivity) AsLookupActivity() (*LookupActivity, bool) {
47582	return nil, false
47583}
47584
47585// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for IfConditionActivity.
47586func (ica IfConditionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
47587	return nil, false
47588}
47589
47590// AsCustomActivity is the BasicActivity implementation for IfConditionActivity.
47591func (ica IfConditionActivity) AsCustomActivity() (*CustomActivity, bool) {
47592	return nil, false
47593}
47594
47595// AsExecuteSSISPackageActivity is the BasicActivity implementation for IfConditionActivity.
47596func (ica IfConditionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
47597	return nil, false
47598}
47599
47600// AsHDInsightSparkActivity is the BasicActivity implementation for IfConditionActivity.
47601func (ica IfConditionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
47602	return nil, false
47603}
47604
47605// AsHDInsightStreamingActivity is the BasicActivity implementation for IfConditionActivity.
47606func (ica IfConditionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
47607	return nil, false
47608}
47609
47610// AsHDInsightMapReduceActivity is the BasicActivity implementation for IfConditionActivity.
47611func (ica IfConditionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
47612	return nil, false
47613}
47614
47615// AsHDInsightPigActivity is the BasicActivity implementation for IfConditionActivity.
47616func (ica IfConditionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
47617	return nil, false
47618}
47619
47620// AsHDInsightHiveActivity is the BasicActivity implementation for IfConditionActivity.
47621func (ica IfConditionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
47622	return nil, false
47623}
47624
47625// AsCopyActivity is the BasicActivity implementation for IfConditionActivity.
47626func (ica IfConditionActivity) AsCopyActivity() (*CopyActivity, bool) {
47627	return nil, false
47628}
47629
47630// AsExecutionActivity is the BasicActivity implementation for IfConditionActivity.
47631func (ica IfConditionActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
47632	return nil, false
47633}
47634
47635// AsBasicExecutionActivity is the BasicActivity implementation for IfConditionActivity.
47636func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
47637	return nil, false
47638}
47639
47640// AsFilterActivity is the BasicActivity implementation for IfConditionActivity.
47641func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) {
47642	return nil, false
47643}
47644
47645// AsUntilActivity is the BasicActivity implementation for IfConditionActivity.
47646func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) {
47647	return nil, false
47648}
47649
47650// AsWaitActivity is the BasicActivity implementation for IfConditionActivity.
47651func (ica IfConditionActivity) AsWaitActivity() (*WaitActivity, bool) {
47652	return nil, false
47653}
47654
47655// AsForEachActivity is the BasicActivity implementation for IfConditionActivity.
47656func (ica IfConditionActivity) AsForEachActivity() (*ForEachActivity, bool) {
47657	return nil, false
47658}
47659
47660// AsIfConditionActivity is the BasicActivity implementation for IfConditionActivity.
47661func (ica IfConditionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
47662	return &ica, true
47663}
47664
47665// AsExecutePipelineActivity is the BasicActivity implementation for IfConditionActivity.
47666func (ica IfConditionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
47667	return nil, false
47668}
47669
47670// AsControlActivity is the BasicActivity implementation for IfConditionActivity.
47671func (ica IfConditionActivity) AsControlActivity() (*ControlActivity, bool) {
47672	return nil, false
47673}
47674
47675// AsBasicControlActivity is the BasicActivity implementation for IfConditionActivity.
47676func (ica IfConditionActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
47677	return &ica, true
47678}
47679
47680// AsActivity is the BasicActivity implementation for IfConditionActivity.
47681func (ica IfConditionActivity) AsActivity() (*Activity, bool) {
47682	return nil, false
47683}
47684
47685// AsBasicActivity is the BasicActivity implementation for IfConditionActivity.
47686func (ica IfConditionActivity) AsBasicActivity() (BasicActivity, bool) {
47687	return &ica, true
47688}
47689
47690// UnmarshalJSON is the custom unmarshaler for IfConditionActivity struct.
47691func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error {
47692	var m map[string]*json.RawMessage
47693	err := json.Unmarshal(body, &m)
47694	if err != nil {
47695		return err
47696	}
47697	for k, v := range m {
47698		switch k {
47699		case "typeProperties":
47700			if v != nil {
47701				var ifConditionActivityTypeProperties IfConditionActivityTypeProperties
47702				err = json.Unmarshal(*v, &ifConditionActivityTypeProperties)
47703				if err != nil {
47704					return err
47705				}
47706				ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties
47707			}
47708		default:
47709			if v != nil {
47710				var additionalProperties interface{}
47711				err = json.Unmarshal(*v, &additionalProperties)
47712				if err != nil {
47713					return err
47714				}
47715				if ica.AdditionalProperties == nil {
47716					ica.AdditionalProperties = make(map[string]interface{})
47717				}
47718				ica.AdditionalProperties[k] = additionalProperties
47719			}
47720		case "name":
47721			if v != nil {
47722				var name string
47723				err = json.Unmarshal(*v, &name)
47724				if err != nil {
47725					return err
47726				}
47727				ica.Name = &name
47728			}
47729		case "description":
47730			if v != nil {
47731				var description string
47732				err = json.Unmarshal(*v, &description)
47733				if err != nil {
47734					return err
47735				}
47736				ica.Description = &description
47737			}
47738		case "dependsOn":
47739			if v != nil {
47740				var dependsOn []ActivityDependency
47741				err = json.Unmarshal(*v, &dependsOn)
47742				if err != nil {
47743					return err
47744				}
47745				ica.DependsOn = &dependsOn
47746			}
47747		case "type":
47748			if v != nil {
47749				var typeVar TypeBasicActivity
47750				err = json.Unmarshal(*v, &typeVar)
47751				if err != nil {
47752					return err
47753				}
47754				ica.Type = typeVar
47755			}
47756		}
47757	}
47758
47759	return nil
47760}
47761
47762// IfConditionActivityTypeProperties ifCondition activity properties.
47763type IfConditionActivityTypeProperties struct {
47764	// Expression - An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.
47765	Expression *Expression `json:"expression,omitempty"`
47766	// IfTrueActivities - List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.
47767	IfTrueActivities *[]BasicActivity `json:"ifTrueActivities,omitempty"`
47768	// IfFalseActivities - List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.
47769	IfFalseActivities *[]BasicActivity `json:"ifFalseActivities,omitempty"`
47770}
47771
47772// UnmarshalJSON is the custom unmarshaler for IfConditionActivityTypeProperties struct.
47773func (icatp *IfConditionActivityTypeProperties) UnmarshalJSON(body []byte) error {
47774	var m map[string]*json.RawMessage
47775	err := json.Unmarshal(body, &m)
47776	if err != nil {
47777		return err
47778	}
47779	for k, v := range m {
47780		switch k {
47781		case "expression":
47782			if v != nil {
47783				var expression Expression
47784				err = json.Unmarshal(*v, &expression)
47785				if err != nil {
47786					return err
47787				}
47788				icatp.Expression = &expression
47789			}
47790		case "ifTrueActivities":
47791			if v != nil {
47792				ifTrueActivities, err := unmarshalBasicActivityArray(*v)
47793				if err != nil {
47794					return err
47795				}
47796				icatp.IfTrueActivities = &ifTrueActivities
47797			}
47798		case "ifFalseActivities":
47799			if v != nil {
47800				ifFalseActivities, err := unmarshalBasicActivityArray(*v)
47801				if err != nil {
47802					return err
47803				}
47804				icatp.IfFalseActivities = &ifFalseActivities
47805			}
47806		}
47807	}
47808
47809	return nil
47810}
47811
47812// ImpalaLinkedService impala server linked service.
47813type ImpalaLinkedService struct {
47814	// ImpalaLinkedServiceTypeProperties - Impala server linked service properties.
47815	*ImpalaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
47816	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
47817	AdditionalProperties map[string]interface{} `json:""`
47818	// ConnectVia - The integration runtime reference.
47819	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
47820	// Description - Linked service description.
47821	Description *string `json:"description,omitempty"`
47822	// Parameters - Parameters for linked service.
47823	Parameters map[string]*ParameterSpecification `json:"parameters"`
47824	// Annotations - List of tags that can be used for describing the Dataset.
47825	Annotations *[]interface{} `json:"annotations,omitempty"`
47826	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
47827	Type TypeBasicLinkedService `json:"type,omitempty"`
47828}
47829
47830// MarshalJSON is the custom marshaler for ImpalaLinkedService.
47831func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) {
47832	ils.Type = TypeImpala
47833	objectMap := make(map[string]interface{})
47834	if ils.ImpalaLinkedServiceTypeProperties != nil {
47835		objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties
47836	}
47837	if ils.ConnectVia != nil {
47838		objectMap["connectVia"] = ils.ConnectVia
47839	}
47840	if ils.Description != nil {
47841		objectMap["description"] = ils.Description
47842	}
47843	if ils.Parameters != nil {
47844		objectMap["parameters"] = ils.Parameters
47845	}
47846	if ils.Annotations != nil {
47847		objectMap["annotations"] = ils.Annotations
47848	}
47849	if ils.Type != "" {
47850		objectMap["type"] = ils.Type
47851	}
47852	for k, v := range ils.AdditionalProperties {
47853		objectMap[k] = v
47854	}
47855	return json.Marshal(objectMap)
47856}
47857
47858// AsResponsysLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47859func (ils ImpalaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
47860	return nil, false
47861}
47862
47863// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47864func (ils ImpalaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
47865	return nil, false
47866}
47867
47868// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47869func (ils ImpalaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
47870	return nil, false
47871}
47872
47873// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47874func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
47875	return nil, false
47876}
47877
47878// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47879func (ils ImpalaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
47880	return nil, false
47881}
47882
47883// AsNetezzaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47884func (ils ImpalaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
47885	return nil, false
47886}
47887
47888// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47889func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
47890	return nil, false
47891}
47892
47893// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47894func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
47895	return nil, false
47896}
47897
47898// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47899func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
47900	return nil, false
47901}
47902
47903// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47904func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
47905	return nil, false
47906}
47907
47908// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47909func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
47910	return nil, false
47911}
47912
47913// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47914func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
47915	return nil, false
47916}
47917
47918// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47919func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
47920	return nil, false
47921}
47922
47923// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47924func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
47925	return nil, false
47926}
47927
47928// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47929func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
47930	return nil, false
47931}
47932
47933// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47934func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
47935	return nil, false
47936}
47937
47938// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47939func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
47940	return nil, false
47941}
47942
47943// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47944func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
47945	return nil, false
47946}
47947
47948// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47949func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
47950	return nil, false
47951}
47952
47953// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47954func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
47955	return nil, false
47956}
47957
47958// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47959func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
47960	return nil, false
47961}
47962
47963// AsImpalaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47964func (ils ImpalaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
47965	return &ils, true
47966}
47967
47968// AsHubspotLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47969func (ils ImpalaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
47970	return nil, false
47971}
47972
47973// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47974func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
47975	return nil, false
47976}
47977
47978// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47979func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
47980	return nil, false
47981}
47982
47983// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47984func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
47985	return nil, false
47986}
47987
47988// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47989func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
47990	return nil, false
47991}
47992
47993// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47994func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
47995	return nil, false
47996}
47997
47998// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
47999func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
48000	return nil, false
48001}
48002
48003// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48004func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
48005	return nil, false
48006}
48007
48008// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48009func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
48010	return nil, false
48011}
48012
48013// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48014func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
48015	return nil, false
48016}
48017
48018// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48019func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
48020	return nil, false
48021}
48022
48023// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48024func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
48025	return nil, false
48026}
48027
48028// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48029func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
48030	return nil, false
48031}
48032
48033// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48034func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
48035	return nil, false
48036}
48037
48038// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48039func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
48040	return nil, false
48041}
48042
48043// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48044func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
48045	return nil, false
48046}
48047
48048// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48049func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
48050	return nil, false
48051}
48052
48053// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48054func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
48055	return nil, false
48056}
48057
48058// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48059func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
48060	return nil, false
48061}
48062
48063// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48064func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
48065	return nil, false
48066}
48067
48068// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48069func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
48070	return nil, false
48071}
48072
48073// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48074func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
48075	return nil, false
48076}
48077
48078// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48079func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
48080	return nil, false
48081}
48082
48083// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48084func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
48085	return nil, false
48086}
48087
48088// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48089func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
48090	return nil, false
48091}
48092
48093// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48094func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
48095	return nil, false
48096}
48097
48098// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48099func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
48100	return nil, false
48101}
48102
48103// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48104func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
48105	return nil, false
48106}
48107
48108// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48109func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
48110	return nil, false
48111}
48112
48113// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48114func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
48115	return nil, false
48116}
48117
48118// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48119func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
48120	return nil, false
48121}
48122
48123// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48124func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
48125	return nil, false
48126}
48127
48128// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48129func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
48130	return nil, false
48131}
48132
48133// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48134func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
48135	return nil, false
48136}
48137
48138// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48139func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
48140	return nil, false
48141}
48142
48143// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48144func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
48145	return nil, false
48146}
48147
48148// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48149func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
48150	return nil, false
48151}
48152
48153// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48154func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
48155	return nil, false
48156}
48157
48158// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48159func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
48160	return nil, false
48161}
48162
48163// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48164func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
48165	return nil, false
48166}
48167
48168// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48169func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
48170	return nil, false
48171}
48172
48173// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48174func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
48175	return nil, false
48176}
48177
48178// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48179func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
48180	return nil, false
48181}
48182
48183// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48184func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
48185	return nil, false
48186}
48187
48188// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48189func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
48190	return nil, false
48191}
48192
48193// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48194func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
48195	return nil, false
48196}
48197
48198// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48199func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
48200	return nil, false
48201}
48202
48203// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48204func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
48205	return nil, false
48206}
48207
48208// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48209func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) {
48210	return nil, false
48211}
48212
48213// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService.
48214func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
48215	return &ils, true
48216}
48217
48218// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct.
48219func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error {
48220	var m map[string]*json.RawMessage
48221	err := json.Unmarshal(body, &m)
48222	if err != nil {
48223		return err
48224	}
48225	for k, v := range m {
48226		switch k {
48227		case "typeProperties":
48228			if v != nil {
48229				var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties
48230				err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties)
48231				if err != nil {
48232					return err
48233				}
48234				ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties
48235			}
48236		default:
48237			if v != nil {
48238				var additionalProperties interface{}
48239				err = json.Unmarshal(*v, &additionalProperties)
48240				if err != nil {
48241					return err
48242				}
48243				if ils.AdditionalProperties == nil {
48244					ils.AdditionalProperties = make(map[string]interface{})
48245				}
48246				ils.AdditionalProperties[k] = additionalProperties
48247			}
48248		case "connectVia":
48249			if v != nil {
48250				var connectVia IntegrationRuntimeReference
48251				err = json.Unmarshal(*v, &connectVia)
48252				if err != nil {
48253					return err
48254				}
48255				ils.ConnectVia = &connectVia
48256			}
48257		case "description":
48258			if v != nil {
48259				var description string
48260				err = json.Unmarshal(*v, &description)
48261				if err != nil {
48262					return err
48263				}
48264				ils.Description = &description
48265			}
48266		case "parameters":
48267			if v != nil {
48268				var parameters map[string]*ParameterSpecification
48269				err = json.Unmarshal(*v, &parameters)
48270				if err != nil {
48271					return err
48272				}
48273				ils.Parameters = parameters
48274			}
48275		case "annotations":
48276			if v != nil {
48277				var annotations []interface{}
48278				err = json.Unmarshal(*v, &annotations)
48279				if err != nil {
48280					return err
48281				}
48282				ils.Annotations = &annotations
48283			}
48284		case "type":
48285			if v != nil {
48286				var typeVar TypeBasicLinkedService
48287				err = json.Unmarshal(*v, &typeVar)
48288				if err != nil {
48289					return err
48290				}
48291				ils.Type = typeVar
48292			}
48293		}
48294	}
48295
48296	return nil
48297}
48298
48299// ImpalaLinkedServiceTypeProperties impala server linked service properties.
48300type ImpalaLinkedServiceTypeProperties struct {
48301	// Host - The IP address or host name of the Impala server. (i.e. 192.168.222.160)
48302	Host interface{} `json:"host,omitempty"`
48303	// Port - The TCP port that the Impala server uses to listen for client connections. The default value is 21050.
48304	Port interface{} `json:"port,omitempty"`
48305	// AuthenticationType - The authentication type to use. Possible values include: 'ImpalaAuthenticationTypeAnonymous', 'ImpalaAuthenticationTypeSASLUsername', 'ImpalaAuthenticationTypeUsernameAndPassword'
48306	AuthenticationType ImpalaAuthenticationType `json:"authenticationType,omitempty"`
48307	// Username - The user name used to access the Impala server. The default value is anonymous when using SASLUsername.
48308	Username interface{} `json:"username,omitempty"`
48309	// Password - The password corresponding to the user name when using UsernameAndPassword.
48310	Password BasicSecretBase `json:"password,omitempty"`
48311	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
48312	EnableSsl interface{} `json:"enableSsl,omitempty"`
48313	// 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.
48314	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
48315	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
48316	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
48317	// 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.
48318	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
48319	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
48320	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
48321	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
48322	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
48323}
48324
48325// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedServiceTypeProperties struct.
48326func (ilstp *ImpalaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
48327	var m map[string]*json.RawMessage
48328	err := json.Unmarshal(body, &m)
48329	if err != nil {
48330		return err
48331	}
48332	for k, v := range m {
48333		switch k {
48334		case "host":
48335			if v != nil {
48336				var host interface{}
48337				err = json.Unmarshal(*v, &host)
48338				if err != nil {
48339					return err
48340				}
48341				ilstp.Host = host
48342			}
48343		case "port":
48344			if v != nil {
48345				var port interface{}
48346				err = json.Unmarshal(*v, &port)
48347				if err != nil {
48348					return err
48349				}
48350				ilstp.Port = port
48351			}
48352		case "authenticationType":
48353			if v != nil {
48354				var authenticationType ImpalaAuthenticationType
48355				err = json.Unmarshal(*v, &authenticationType)
48356				if err != nil {
48357					return err
48358				}
48359				ilstp.AuthenticationType = authenticationType
48360			}
48361		case "username":
48362			if v != nil {
48363				var username interface{}
48364				err = json.Unmarshal(*v, &username)
48365				if err != nil {
48366					return err
48367				}
48368				ilstp.Username = username
48369			}
48370		case "password":
48371			if v != nil {
48372				password, err := unmarshalBasicSecretBase(*v)
48373				if err != nil {
48374					return err
48375				}
48376				ilstp.Password = password
48377			}
48378		case "enableSsl":
48379			if v != nil {
48380				var enableSsl interface{}
48381				err = json.Unmarshal(*v, &enableSsl)
48382				if err != nil {
48383					return err
48384				}
48385				ilstp.EnableSsl = enableSsl
48386			}
48387		case "trustedCertPath":
48388			if v != nil {
48389				var trustedCertPath interface{}
48390				err = json.Unmarshal(*v, &trustedCertPath)
48391				if err != nil {
48392					return err
48393				}
48394				ilstp.TrustedCertPath = trustedCertPath
48395			}
48396		case "useSystemTrustStore":
48397			if v != nil {
48398				var useSystemTrustStore interface{}
48399				err = json.Unmarshal(*v, &useSystemTrustStore)
48400				if err != nil {
48401					return err
48402				}
48403				ilstp.UseSystemTrustStore = useSystemTrustStore
48404			}
48405		case "allowHostNameCNMismatch":
48406			if v != nil {
48407				var allowHostNameCNMismatch interface{}
48408				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
48409				if err != nil {
48410					return err
48411				}
48412				ilstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
48413			}
48414		case "allowSelfSignedServerCert":
48415			if v != nil {
48416				var allowSelfSignedServerCert interface{}
48417				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
48418				if err != nil {
48419					return err
48420				}
48421				ilstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
48422			}
48423		case "encryptedCredential":
48424			if v != nil {
48425				var encryptedCredential interface{}
48426				err = json.Unmarshal(*v, &encryptedCredential)
48427				if err != nil {
48428					return err
48429				}
48430				ilstp.EncryptedCredential = encryptedCredential
48431			}
48432		}
48433	}
48434
48435	return nil
48436}
48437
48438// ImpalaObjectDataset impala server dataset.
48439type ImpalaObjectDataset struct {
48440	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
48441	AdditionalProperties map[string]interface{} `json:""`
48442	// Description - Dataset description.
48443	Description *string `json:"description,omitempty"`
48444	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
48445	Structure interface{} `json:"structure,omitempty"`
48446	// LinkedServiceName - Linked service reference.
48447	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
48448	// Parameters - Parameters for dataset.
48449	Parameters map[string]*ParameterSpecification `json:"parameters"`
48450	// Annotations - List of tags that can be used for describing the Dataset.
48451	Annotations *[]interface{} `json:"annotations,omitempty"`
48452	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
48453	Type TypeBasicDataset `json:"type,omitempty"`
48454}
48455
48456// MarshalJSON is the custom marshaler for ImpalaObjectDataset.
48457func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) {
48458	iod.Type = TypeImpalaObject
48459	objectMap := make(map[string]interface{})
48460	if iod.Description != nil {
48461		objectMap["description"] = iod.Description
48462	}
48463	objectMap["structure"] = iod.Structure
48464	if iod.LinkedServiceName != nil {
48465		objectMap["linkedServiceName"] = iod.LinkedServiceName
48466	}
48467	if iod.Parameters != nil {
48468		objectMap["parameters"] = iod.Parameters
48469	}
48470	if iod.Annotations != nil {
48471		objectMap["annotations"] = iod.Annotations
48472	}
48473	if iod.Type != "" {
48474		objectMap["type"] = iod.Type
48475	}
48476	for k, v := range iod.AdditionalProperties {
48477		objectMap[k] = v
48478	}
48479	return json.Marshal(objectMap)
48480}
48481
48482// AsResponsysObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48483func (iod ImpalaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
48484	return nil, false
48485}
48486
48487// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48488func (iod ImpalaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
48489	return nil, false
48490}
48491
48492// AsVerticaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48493func (iod ImpalaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
48494	return nil, false
48495}
48496
48497// AsNetezzaTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48498func (iod ImpalaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
48499	return nil, false
48500}
48501
48502// AsZohoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48503func (iod ImpalaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
48504	return nil, false
48505}
48506
48507// AsXeroObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48508func (iod ImpalaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
48509	return nil, false
48510}
48511
48512// AsSquareObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48513func (iod ImpalaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
48514	return nil, false
48515}
48516
48517// AsSparkObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48518func (iod ImpalaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
48519	return nil, false
48520}
48521
48522// AsShopifyObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48523func (iod ImpalaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
48524	return nil, false
48525}
48526
48527// AsServiceNowObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48528func (iod ImpalaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
48529	return nil, false
48530}
48531
48532// AsQuickBooksObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48533func (iod ImpalaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
48534	return nil, false
48535}
48536
48537// AsPrestoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48538func (iod ImpalaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
48539	return nil, false
48540}
48541
48542// AsPhoenixObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48543func (iod ImpalaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
48544	return nil, false
48545}
48546
48547// AsPaypalObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48548func (iod ImpalaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
48549	return nil, false
48550}
48551
48552// AsMarketoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48553func (iod ImpalaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
48554	return nil, false
48555}
48556
48557// AsMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48558func (iod ImpalaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
48559	return nil, false
48560}
48561
48562// AsMagentoObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48563func (iod ImpalaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
48564	return nil, false
48565}
48566
48567// AsJiraObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48568func (iod ImpalaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
48569	return nil, false
48570}
48571
48572// AsImpalaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48573func (iod ImpalaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
48574	return &iod, true
48575}
48576
48577// AsHubspotObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48578func (iod ImpalaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
48579	return nil, false
48580}
48581
48582// AsHiveObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48583func (iod ImpalaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
48584	return nil, false
48585}
48586
48587// AsHBaseObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48588func (iod ImpalaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
48589	return nil, false
48590}
48591
48592// AsGreenplumTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48593func (iod ImpalaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
48594	return nil, false
48595}
48596
48597// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48598func (iod ImpalaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
48599	return nil, false
48600}
48601
48602// AsEloquaObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48603func (iod ImpalaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
48604	return nil, false
48605}
48606
48607// AsDrillTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48608func (iod ImpalaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
48609	return nil, false
48610}
48611
48612// AsCouchbaseTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48613func (iod ImpalaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
48614	return nil, false
48615}
48616
48617// AsConcurObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48618func (iod ImpalaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
48619	return nil, false
48620}
48621
48622// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48623func (iod ImpalaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
48624	return nil, false
48625}
48626
48627// AsAmazonMWSObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48628func (iod ImpalaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
48629	return nil, false
48630}
48631
48632// AsHTTPDataset is the BasicDataset implementation for ImpalaObjectDataset.
48633func (iod ImpalaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
48634	return nil, false
48635}
48636
48637// AsAzureSearchIndexDataset is the BasicDataset implementation for ImpalaObjectDataset.
48638func (iod ImpalaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
48639	return nil, false
48640}
48641
48642// AsWebTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48643func (iod ImpalaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
48644	return nil, false
48645}
48646
48647// AsSQLServerTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48648func (iod ImpalaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
48649	return nil, false
48650}
48651
48652// AsSapEccResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
48653func (iod ImpalaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
48654	return nil, false
48655}
48656
48657// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
48658func (iod ImpalaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
48659	return nil, false
48660}
48661
48662// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset.
48663func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
48664	return nil, false
48665}
48666
48667// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48668func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
48669	return nil, false
48670}
48671
48672// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48673func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
48674	return nil, false
48675}
48676
48677// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48678func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
48679	return nil, false
48680}
48681
48682// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset.
48683func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
48684	return nil, false
48685}
48686
48687// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
48688func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
48689	return nil, false
48690}
48691
48692// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset.
48693func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
48694	return nil, false
48695}
48696
48697// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset.
48698func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
48699	return nil, false
48700}
48701
48702// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset.
48703func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
48704	return nil, false
48705}
48706
48707// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset.
48708func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
48709	return nil, false
48710}
48711
48712// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset.
48713func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
48714	return nil, false
48715}
48716
48717// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48718func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
48719	return nil, false
48720}
48721
48722// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48723func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
48724	return nil, false
48725}
48726
48727// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48728func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
48729	return nil, false
48730}
48731
48732// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset.
48733func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
48734	return nil, false
48735}
48736
48737// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset.
48738func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
48739	return nil, false
48740}
48741
48742// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset.
48743func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
48744	return nil, false
48745}
48746
48747// AsDataset is the BasicDataset implementation for ImpalaObjectDataset.
48748func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) {
48749	return nil, false
48750}
48751
48752// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset.
48753func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) {
48754	return &iod, true
48755}
48756
48757// ImpalaSource a copy activity Impala server source.
48758type ImpalaSource struct {
48759	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
48760	Query interface{} `json:"query,omitempty"`
48761	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
48762	AdditionalProperties map[string]interface{} `json:""`
48763	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
48764	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
48765	// 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])).
48766	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
48767	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
48768	Type TypeBasicCopySource `json:"type,omitempty"`
48769}
48770
48771// MarshalJSON is the custom marshaler for ImpalaSource.
48772func (is ImpalaSource) MarshalJSON() ([]byte, error) {
48773	is.Type = TypeImpalaSource
48774	objectMap := make(map[string]interface{})
48775	objectMap["query"] = is.Query
48776	objectMap["sourceRetryCount"] = is.SourceRetryCount
48777	objectMap["sourceRetryWait"] = is.SourceRetryWait
48778	if is.Type != "" {
48779		objectMap["type"] = is.Type
48780	}
48781	for k, v := range is.AdditionalProperties {
48782		objectMap[k] = v
48783	}
48784	return json.Marshal(objectMap)
48785}
48786
48787// AsAmazonRedshiftSource is the BasicCopySource implementation for ImpalaSource.
48788func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
48789	return nil, false
48790}
48791
48792// AsResponsysSource is the BasicCopySource implementation for ImpalaSource.
48793func (is ImpalaSource) AsResponsysSource() (*ResponsysSource, bool) {
48794	return nil, false
48795}
48796
48797// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ImpalaSource.
48798func (is ImpalaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
48799	return nil, false
48800}
48801
48802// AsVerticaSource is the BasicCopySource implementation for ImpalaSource.
48803func (is ImpalaSource) AsVerticaSource() (*VerticaSource, bool) {
48804	return nil, false
48805}
48806
48807// AsNetezzaSource is the BasicCopySource implementation for ImpalaSource.
48808func (is ImpalaSource) AsNetezzaSource() (*NetezzaSource, bool) {
48809	return nil, false
48810}
48811
48812// AsZohoSource is the BasicCopySource implementation for ImpalaSource.
48813func (is ImpalaSource) AsZohoSource() (*ZohoSource, bool) {
48814	return nil, false
48815}
48816
48817// AsXeroSource is the BasicCopySource implementation for ImpalaSource.
48818func (is ImpalaSource) AsXeroSource() (*XeroSource, bool) {
48819	return nil, false
48820}
48821
48822// AsSquareSource is the BasicCopySource implementation for ImpalaSource.
48823func (is ImpalaSource) AsSquareSource() (*SquareSource, bool) {
48824	return nil, false
48825}
48826
48827// AsSparkSource is the BasicCopySource implementation for ImpalaSource.
48828func (is ImpalaSource) AsSparkSource() (*SparkSource, bool) {
48829	return nil, false
48830}
48831
48832// AsShopifySource is the BasicCopySource implementation for ImpalaSource.
48833func (is ImpalaSource) AsShopifySource() (*ShopifySource, bool) {
48834	return nil, false
48835}
48836
48837// AsServiceNowSource is the BasicCopySource implementation for ImpalaSource.
48838func (is ImpalaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
48839	return nil, false
48840}
48841
48842// AsQuickBooksSource is the BasicCopySource implementation for ImpalaSource.
48843func (is ImpalaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
48844	return nil, false
48845}
48846
48847// AsPrestoSource is the BasicCopySource implementation for ImpalaSource.
48848func (is ImpalaSource) AsPrestoSource() (*PrestoSource, bool) {
48849	return nil, false
48850}
48851
48852// AsPhoenixSource is the BasicCopySource implementation for ImpalaSource.
48853func (is ImpalaSource) AsPhoenixSource() (*PhoenixSource, bool) {
48854	return nil, false
48855}
48856
48857// AsPaypalSource is the BasicCopySource implementation for ImpalaSource.
48858func (is ImpalaSource) AsPaypalSource() (*PaypalSource, bool) {
48859	return nil, false
48860}
48861
48862// AsMarketoSource is the BasicCopySource implementation for ImpalaSource.
48863func (is ImpalaSource) AsMarketoSource() (*MarketoSource, bool) {
48864	return nil, false
48865}
48866
48867// AsMariaDBSource is the BasicCopySource implementation for ImpalaSource.
48868func (is ImpalaSource) AsMariaDBSource() (*MariaDBSource, bool) {
48869	return nil, false
48870}
48871
48872// AsMagentoSource is the BasicCopySource implementation for ImpalaSource.
48873func (is ImpalaSource) AsMagentoSource() (*MagentoSource, bool) {
48874	return nil, false
48875}
48876
48877// AsJiraSource is the BasicCopySource implementation for ImpalaSource.
48878func (is ImpalaSource) AsJiraSource() (*JiraSource, bool) {
48879	return nil, false
48880}
48881
48882// AsImpalaSource is the BasicCopySource implementation for ImpalaSource.
48883func (is ImpalaSource) AsImpalaSource() (*ImpalaSource, bool) {
48884	return &is, true
48885}
48886
48887// AsHubspotSource is the BasicCopySource implementation for ImpalaSource.
48888func (is ImpalaSource) AsHubspotSource() (*HubspotSource, bool) {
48889	return nil, false
48890}
48891
48892// AsHiveSource is the BasicCopySource implementation for ImpalaSource.
48893func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) {
48894	return nil, false
48895}
48896
48897// AsHBaseSource is the BasicCopySource implementation for ImpalaSource.
48898func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) {
48899	return nil, false
48900}
48901
48902// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource.
48903func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) {
48904	return nil, false
48905}
48906
48907// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource.
48908func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
48909	return nil, false
48910}
48911
48912// AsEloquaSource is the BasicCopySource implementation for ImpalaSource.
48913func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) {
48914	return nil, false
48915}
48916
48917// AsDrillSource is the BasicCopySource implementation for ImpalaSource.
48918func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) {
48919	return nil, false
48920}
48921
48922// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource.
48923func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
48924	return nil, false
48925}
48926
48927// AsConcurSource is the BasicCopySource implementation for ImpalaSource.
48928func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) {
48929	return nil, false
48930}
48931
48932// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource.
48933func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
48934	return nil, false
48935}
48936
48937// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource.
48938func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
48939	return nil, false
48940}
48941
48942// AsHTTPSource is the BasicCopySource implementation for ImpalaSource.
48943func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) {
48944	return nil, false
48945}
48946
48947// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource.
48948func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
48949	return nil, false
48950}
48951
48952// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource.
48953func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) {
48954	return nil, false
48955}
48956
48957// AsCassandraSource is the BasicCopySource implementation for ImpalaSource.
48958func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) {
48959	return nil, false
48960}
48961
48962// AsWebSource is the BasicCopySource implementation for ImpalaSource.
48963func (is ImpalaSource) AsWebSource() (*WebSource, bool) {
48964	return nil, false
48965}
48966
48967// AsOracleSource is the BasicCopySource implementation for ImpalaSource.
48968func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) {
48969	return nil, false
48970}
48971
48972// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource.
48973func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
48974	return nil, false
48975}
48976
48977// AsHdfsSource is the BasicCopySource implementation for ImpalaSource.
48978func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) {
48979	return nil, false
48980}
48981
48982// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource.
48983func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) {
48984	return nil, false
48985}
48986
48987// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource.
48988func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) {
48989	return nil, false
48990}
48991
48992// AsSQLSource is the BasicCopySource implementation for ImpalaSource.
48993func (is ImpalaSource) AsSQLSource() (*SQLSource, bool) {
48994	return nil, false
48995}
48996
48997// AsSapEccSource is the BasicCopySource implementation for ImpalaSource.
48998func (is ImpalaSource) AsSapEccSource() (*SapEccSource, bool) {
48999	return nil, false
49000}
49001
49002// AsSapCloudForCustomerSource is the BasicCopySource implementation for ImpalaSource.
49003func (is ImpalaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
49004	return nil, false
49005}
49006
49007// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource.
49008func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) {
49009	return nil, false
49010}
49011
49012// AsRelationalSource is the BasicCopySource implementation for ImpalaSource.
49013func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) {
49014	return nil, false
49015}
49016
49017// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource.
49018func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) {
49019	return nil, false
49020}
49021
49022// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource.
49023func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
49024	return nil, false
49025}
49026
49027// AsBlobSource is the BasicCopySource implementation for ImpalaSource.
49028func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) {
49029	return nil, false
49030}
49031
49032// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource.
49033func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) {
49034	return nil, false
49035}
49036
49037// AsCopySource is the BasicCopySource implementation for ImpalaSource.
49038func (is ImpalaSource) AsCopySource() (*CopySource, bool) {
49039	return nil, false
49040}
49041
49042// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource.
49043func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) {
49044	return &is, true
49045}
49046
49047// BasicIntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
49048type BasicIntegrationRuntime interface {
49049	AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool)
49050	AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool)
49051	AsIntegrationRuntime() (*IntegrationRuntime, bool)
49052}
49053
49054// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities.
49055type IntegrationRuntime struct {
49056	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49057	AdditionalProperties map[string]interface{} `json:""`
49058	// Description - Integration runtime description.
49059	Description *string `json:"description,omitempty"`
49060	// Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
49061	Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
49062}
49063
49064func unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) {
49065	var m map[string]interface{}
49066	err := json.Unmarshal(body, &m)
49067	if err != nil {
49068		return nil, err
49069	}
49070
49071	switch m["type"] {
49072	case string(TypeSelfHosted):
49073		var shir SelfHostedIntegrationRuntime
49074		err := json.Unmarshal(body, &shir)
49075		return shir, err
49076	case string(TypeManaged):
49077		var mir ManagedIntegrationRuntime
49078		err := json.Unmarshal(body, &mir)
49079		return mir, err
49080	default:
49081		var ir IntegrationRuntime
49082		err := json.Unmarshal(body, &ir)
49083		return ir, err
49084	}
49085}
49086func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) {
49087	var rawMessages []*json.RawMessage
49088	err := json.Unmarshal(body, &rawMessages)
49089	if err != nil {
49090		return nil, err
49091	}
49092
49093	irArray := make([]BasicIntegrationRuntime, len(rawMessages))
49094
49095	for index, rawMessage := range rawMessages {
49096		ir, err := unmarshalBasicIntegrationRuntime(*rawMessage)
49097		if err != nil {
49098			return nil, err
49099		}
49100		irArray[index] = ir
49101	}
49102	return irArray, nil
49103}
49104
49105// MarshalJSON is the custom marshaler for IntegrationRuntime.
49106func (ir IntegrationRuntime) MarshalJSON() ([]byte, error) {
49107	ir.Type = TypeIntegrationRuntime
49108	objectMap := make(map[string]interface{})
49109	if ir.Description != nil {
49110		objectMap["description"] = ir.Description
49111	}
49112	if ir.Type != "" {
49113		objectMap["type"] = ir.Type
49114	}
49115	for k, v := range ir.AdditionalProperties {
49116		objectMap[k] = v
49117	}
49118	return json.Marshal(objectMap)
49119}
49120
49121// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
49122func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
49123	return nil, false
49124}
49125
49126// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
49127func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
49128	return nil, false
49129}
49130
49131// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
49132func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
49133	return &ir, true
49134}
49135
49136// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime.
49137func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
49138	return &ir, true
49139}
49140
49141// IntegrationRuntimeAuthKeys the integration runtime authentication keys.
49142type IntegrationRuntimeAuthKeys struct {
49143	autorest.Response `json:"-"`
49144	// AuthKey1 - The primary integration runtime authentication key.
49145	AuthKey1 *string `json:"authKey1,omitempty"`
49146	// AuthKey2 - The secondary integration runtime authentication key.
49147	AuthKey2 *string `json:"authKey2,omitempty"`
49148}
49149
49150// IntegrationRuntimeComputeProperties the compute resource properties for managed integration runtime.
49151type IntegrationRuntimeComputeProperties struct {
49152	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49153	AdditionalProperties map[string]interface{} `json:""`
49154	// Location - The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities
49155	Location *string `json:"location,omitempty"`
49156	// NodeSize - The node size requirement to managed integration runtime.
49157	NodeSize *string `json:"nodeSize,omitempty"`
49158	// NumberOfNodes - The required number of nodes for managed integration runtime.
49159	NumberOfNodes *int32 `json:"numberOfNodes,omitempty"`
49160	// MaxParallelExecutionsPerNode - Maximum parallel executions count per node for managed integration runtime.
49161	MaxParallelExecutionsPerNode *int32 `json:"maxParallelExecutionsPerNode,omitempty"`
49162	// VNetProperties - VNet properties for managed integration runtime.
49163	VNetProperties *IntegrationRuntimeVNetProperties `json:"vNetProperties,omitempty"`
49164}
49165
49166// MarshalJSON is the custom marshaler for IntegrationRuntimeComputeProperties.
49167func (ircp IntegrationRuntimeComputeProperties) MarshalJSON() ([]byte, error) {
49168	objectMap := make(map[string]interface{})
49169	if ircp.Location != nil {
49170		objectMap["location"] = ircp.Location
49171	}
49172	if ircp.NodeSize != nil {
49173		objectMap["nodeSize"] = ircp.NodeSize
49174	}
49175	if ircp.NumberOfNodes != nil {
49176		objectMap["numberOfNodes"] = ircp.NumberOfNodes
49177	}
49178	if ircp.MaxParallelExecutionsPerNode != nil {
49179		objectMap["maxParallelExecutionsPerNode"] = ircp.MaxParallelExecutionsPerNode
49180	}
49181	if ircp.VNetProperties != nil {
49182		objectMap["vNetProperties"] = ircp.VNetProperties
49183	}
49184	for k, v := range ircp.AdditionalProperties {
49185		objectMap[k] = v
49186	}
49187	return json.Marshal(objectMap)
49188}
49189
49190// IntegrationRuntimeConnectionInfo connection information for encrypting the on-premises data source credentials.
49191type IntegrationRuntimeConnectionInfo struct {
49192	autorest.Response `json:"-"`
49193	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49194	AdditionalProperties map[string]interface{} `json:""`
49195	// ServiceToken - The token generated in service. Callers use this token to authenticate to integration runtime.
49196	ServiceToken *string `json:"serviceToken,omitempty"`
49197	// IdentityCertThumbprint - The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation.
49198	IdentityCertThumbprint *string `json:"identityCertThumbprint,omitempty"`
49199	// HostServiceURI - The on-premises integration runtime host URL.
49200	HostServiceURI *string `json:"hostServiceUri,omitempty"`
49201	// Version - The integration runtime version.
49202	Version *string `json:"version,omitempty"`
49203	// PublicKey - The public key for encrypting a credential when transferring the credential to the integration runtime.
49204	PublicKey *string `json:"publicKey,omitempty"`
49205	// IsIdentityCertExprired - Whether the identity certificate is expired.
49206	IsIdentityCertExprired *bool `json:"isIdentityCertExprired,omitempty"`
49207}
49208
49209// MarshalJSON is the custom marshaler for IntegrationRuntimeConnectionInfo.
49210func (irci IntegrationRuntimeConnectionInfo) MarshalJSON() ([]byte, error) {
49211	objectMap := make(map[string]interface{})
49212	if irci.ServiceToken != nil {
49213		objectMap["serviceToken"] = irci.ServiceToken
49214	}
49215	if irci.IdentityCertThumbprint != nil {
49216		objectMap["identityCertThumbprint"] = irci.IdentityCertThumbprint
49217	}
49218	if irci.HostServiceURI != nil {
49219		objectMap["hostServiceUri"] = irci.HostServiceURI
49220	}
49221	if irci.Version != nil {
49222		objectMap["version"] = irci.Version
49223	}
49224	if irci.PublicKey != nil {
49225		objectMap["publicKey"] = irci.PublicKey
49226	}
49227	if irci.IsIdentityCertExprired != nil {
49228		objectMap["isIdentityCertExprired"] = irci.IsIdentityCertExprired
49229	}
49230	for k, v := range irci.AdditionalProperties {
49231		objectMap[k] = v
49232	}
49233	return json.Marshal(objectMap)
49234}
49235
49236// IntegrationRuntimeCustomSetupScriptProperties custom setup script properties for a managed dedicated integration
49237// runtime.
49238type IntegrationRuntimeCustomSetupScriptProperties struct {
49239	// BlobContainerURI - The URI of the Azure blob container that contains the custom setup script.
49240	BlobContainerURI *string `json:"blobContainerUri,omitempty"`
49241	// SasToken - The SAS token of the Azure blob container.
49242	SasToken *SecureString `json:"sasToken,omitempty"`
49243}
49244
49245// IntegrationRuntimeListResponse a list of integration runtime resources.
49246type IntegrationRuntimeListResponse struct {
49247	autorest.Response `json:"-"`
49248	// Value - List of integration runtimes.
49249	Value *[]IntegrationRuntimeResource `json:"value,omitempty"`
49250	// NextLink - The link to the next page of results, if any remaining results exist.
49251	NextLink *string `json:"nextLink,omitempty"`
49252}
49253
49254// IntegrationRuntimeListResponseIterator provides access to a complete listing of IntegrationRuntimeResource
49255// values.
49256type IntegrationRuntimeListResponseIterator struct {
49257	i    int
49258	page IntegrationRuntimeListResponsePage
49259}
49260
49261// Next advances to the next value.  If there was an error making
49262// the request the iterator does not advance and the error is returned.
49263func (iter *IntegrationRuntimeListResponseIterator) Next() error {
49264	iter.i++
49265	if iter.i < len(iter.page.Values()) {
49266		return nil
49267	}
49268	err := iter.page.Next()
49269	if err != nil {
49270		iter.i--
49271		return err
49272	}
49273	iter.i = 0
49274	return nil
49275}
49276
49277// NotDone returns true if the enumeration should be started or is not yet complete.
49278func (iter IntegrationRuntimeListResponseIterator) NotDone() bool {
49279	return iter.page.NotDone() && iter.i < len(iter.page.Values())
49280}
49281
49282// Response returns the raw server response from the last page request.
49283func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse {
49284	return iter.page.Response()
49285}
49286
49287// Value returns the current value or a zero-initialized value if the
49288// iterator has advanced beyond the end of the collection.
49289func (iter IntegrationRuntimeListResponseIterator) Value() IntegrationRuntimeResource {
49290	if !iter.page.NotDone() {
49291		return IntegrationRuntimeResource{}
49292	}
49293	return iter.page.Values()[iter.i]
49294}
49295
49296// IsEmpty returns true if the ListResult contains no values.
49297func (irlr IntegrationRuntimeListResponse) IsEmpty() bool {
49298	return irlr.Value == nil || len(*irlr.Value) == 0
49299}
49300
49301// integrationRuntimeListResponsePreparer prepares a request to retrieve the next set of results.
49302// It returns nil if no more results exist.
49303func (irlr IntegrationRuntimeListResponse) integrationRuntimeListResponsePreparer() (*http.Request, error) {
49304	if irlr.NextLink == nil || len(to.String(irlr.NextLink)) < 1 {
49305		return nil, nil
49306	}
49307	return autorest.Prepare(&http.Request{},
49308		autorest.AsJSON(),
49309		autorest.AsGet(),
49310		autorest.WithBaseURL(to.String(irlr.NextLink)))
49311}
49312
49313// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values.
49314type IntegrationRuntimeListResponsePage struct {
49315	fn   func(IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error)
49316	irlr IntegrationRuntimeListResponse
49317}
49318
49319// Next advances to the next page of values.  If there was an error making
49320// the request the page does not advance and the error is returned.
49321func (page *IntegrationRuntimeListResponsePage) Next() error {
49322	next, err := page.fn(page.irlr)
49323	if err != nil {
49324		return err
49325	}
49326	page.irlr = next
49327	return nil
49328}
49329
49330// NotDone returns true if the page enumeration should be started or is not yet complete.
49331func (page IntegrationRuntimeListResponsePage) NotDone() bool {
49332	return !page.irlr.IsEmpty()
49333}
49334
49335// Response returns the raw server response from the last page request.
49336func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse {
49337	return page.irlr
49338}
49339
49340// Values returns the slice of values for the current page or nil if there are no values.
49341func (page IntegrationRuntimeListResponsePage) Values() []IntegrationRuntimeResource {
49342	if page.irlr.IsEmpty() {
49343		return nil
49344	}
49345	return *page.irlr.Value
49346}
49347
49348// IntegrationRuntimeMonitoringData get monitoring data response.
49349type IntegrationRuntimeMonitoringData struct {
49350	autorest.Response `json:"-"`
49351	// Name - Integration runtime name.
49352	Name *string `json:"name,omitempty"`
49353	// Nodes - Integration runtime node monitoring data.
49354	Nodes *[]IntegrationRuntimeNodeMonitoringData `json:"nodes,omitempty"`
49355}
49356
49357// IntegrationRuntimeNodeIPAddress the IP address of self-hosted integration runtime node.
49358type IntegrationRuntimeNodeIPAddress struct {
49359	autorest.Response `json:"-"`
49360	// IPAddress - The IP address of self-hosted integration runtime node.
49361	IPAddress *string `json:"ipAddress,omitempty"`
49362}
49363
49364// IntegrationRuntimeNodeMonitoringData monitoring data for integration runtime node.
49365type IntegrationRuntimeNodeMonitoringData struct {
49366	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49367	AdditionalProperties map[string]interface{} `json:""`
49368	// NodeName - Name of the integration runtime node.
49369	NodeName *string `json:"nodeName,omitempty"`
49370	// AvailableMemoryInMB - Available memory (MB) on the integration runtime node.
49371	AvailableMemoryInMB *int32 `json:"availableMemoryInMB,omitempty"`
49372	// CPUUtilization - CPU percentage on the integration runtime node.
49373	CPUUtilization *float64 `json:"cpuUtilization,omitempty"`
49374	// ConcurrentJobsLimit - Maximum concurrent jobs on the integration runtime node.
49375	ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"`
49376	// ConcurrentJobsRunning - The number of jobs currently running on the integration runtime node.
49377	ConcurrentJobsRunning *int32 `json:"concurrentJobsRunning,omitempty"`
49378	// MaxConcurrentJobs - The maximum concurrent jobs in this integration runtime.
49379	MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"`
49380	// SentBytes - Sent bytes on the integration runtime node.
49381	SentBytes *float64 `json:"sentBytes,omitempty"`
49382	// ReceivedBytes - Received bytes on the integration runtime node.
49383	ReceivedBytes *float64 `json:"receivedBytes,omitempty"`
49384}
49385
49386// MarshalJSON is the custom marshaler for IntegrationRuntimeNodeMonitoringData.
49387func (irnmd IntegrationRuntimeNodeMonitoringData) MarshalJSON() ([]byte, error) {
49388	objectMap := make(map[string]interface{})
49389	if irnmd.NodeName != nil {
49390		objectMap["nodeName"] = irnmd.NodeName
49391	}
49392	if irnmd.AvailableMemoryInMB != nil {
49393		objectMap["availableMemoryInMB"] = irnmd.AvailableMemoryInMB
49394	}
49395	if irnmd.CPUUtilization != nil {
49396		objectMap["cpuUtilization"] = irnmd.CPUUtilization
49397	}
49398	if irnmd.ConcurrentJobsLimit != nil {
49399		objectMap["concurrentJobsLimit"] = irnmd.ConcurrentJobsLimit
49400	}
49401	if irnmd.ConcurrentJobsRunning != nil {
49402		objectMap["concurrentJobsRunning"] = irnmd.ConcurrentJobsRunning
49403	}
49404	if irnmd.MaxConcurrentJobs != nil {
49405		objectMap["maxConcurrentJobs"] = irnmd.MaxConcurrentJobs
49406	}
49407	if irnmd.SentBytes != nil {
49408		objectMap["sentBytes"] = irnmd.SentBytes
49409	}
49410	if irnmd.ReceivedBytes != nil {
49411		objectMap["receivedBytes"] = irnmd.ReceivedBytes
49412	}
49413	for k, v := range irnmd.AdditionalProperties {
49414		objectMap[k] = v
49415	}
49416	return json.Marshal(objectMap)
49417}
49418
49419// IntegrationRuntimeReference integration runtime reference type.
49420type IntegrationRuntimeReference struct {
49421	// Type - Type of integration runtime.
49422	Type *string `json:"type,omitempty"`
49423	// ReferenceName - Reference integration runtime name.
49424	ReferenceName *string `json:"referenceName,omitempty"`
49425	// Parameters - Arguments for integration runtime.
49426	Parameters map[string]interface{} `json:"parameters"`
49427}
49428
49429// MarshalJSON is the custom marshaler for IntegrationRuntimeReference.
49430func (irr IntegrationRuntimeReference) MarshalJSON() ([]byte, error) {
49431	objectMap := make(map[string]interface{})
49432	if irr.Type != nil {
49433		objectMap["type"] = irr.Type
49434	}
49435	if irr.ReferenceName != nil {
49436		objectMap["referenceName"] = irr.ReferenceName
49437	}
49438	if irr.Parameters != nil {
49439		objectMap["parameters"] = irr.Parameters
49440	}
49441	return json.Marshal(objectMap)
49442}
49443
49444// IntegrationRuntimeRegenerateKeyParameters parameters to regenerate the authentication key.
49445type IntegrationRuntimeRegenerateKeyParameters struct {
49446	// KeyName - The name of the authentication key to regenerate. Possible values include: 'AuthKey1', 'AuthKey2'
49447	KeyName IntegrationRuntimeAuthKeyName `json:"keyName,omitempty"`
49448}
49449
49450// IntegrationRuntimeRemoveNodeRequest request to remove a node.
49451type IntegrationRuntimeRemoveNodeRequest struct {
49452	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49453	AdditionalProperties map[string]interface{} `json:""`
49454	// NodeName - The name of the node to be removed.
49455	NodeName *string `json:"nodeName,omitempty"`
49456}
49457
49458// MarshalJSON is the custom marshaler for IntegrationRuntimeRemoveNodeRequest.
49459func (irrnr IntegrationRuntimeRemoveNodeRequest) MarshalJSON() ([]byte, error) {
49460	objectMap := make(map[string]interface{})
49461	if irrnr.NodeName != nil {
49462		objectMap["nodeName"] = irrnr.NodeName
49463	}
49464	for k, v := range irrnr.AdditionalProperties {
49465		objectMap[k] = v
49466	}
49467	return json.Marshal(objectMap)
49468}
49469
49470// IntegrationRuntimeResource integration runtime resource type.
49471type IntegrationRuntimeResource struct {
49472	autorest.Response `json:"-"`
49473	// Properties - Integration runtime properties.
49474	Properties BasicIntegrationRuntime `json:"properties,omitempty"`
49475	// ID - The resource identifier.
49476	ID *string `json:"id,omitempty"`
49477	// Name - The resource name.
49478	Name *string `json:"name,omitempty"`
49479	// Type - The resource type.
49480	Type *string `json:"type,omitempty"`
49481	// Etag - Etag identifies change in the resource.
49482	Etag *string `json:"etag,omitempty"`
49483}
49484
49485// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeResource struct.
49486func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error {
49487	var m map[string]*json.RawMessage
49488	err := json.Unmarshal(body, &m)
49489	if err != nil {
49490		return err
49491	}
49492	for k, v := range m {
49493		switch k {
49494		case "properties":
49495			if v != nil {
49496				properties, err := unmarshalBasicIntegrationRuntime(*v)
49497				if err != nil {
49498					return err
49499				}
49500				irr.Properties = properties
49501			}
49502		case "id":
49503			if v != nil {
49504				var ID string
49505				err = json.Unmarshal(*v, &ID)
49506				if err != nil {
49507					return err
49508				}
49509				irr.ID = &ID
49510			}
49511		case "name":
49512			if v != nil {
49513				var name string
49514				err = json.Unmarshal(*v, &name)
49515				if err != nil {
49516					return err
49517				}
49518				irr.Name = &name
49519			}
49520		case "type":
49521			if v != nil {
49522				var typeVar string
49523				err = json.Unmarshal(*v, &typeVar)
49524				if err != nil {
49525					return err
49526				}
49527				irr.Type = &typeVar
49528			}
49529		case "etag":
49530			if v != nil {
49531				var etag string
49532				err = json.Unmarshal(*v, &etag)
49533				if err != nil {
49534					return err
49535				}
49536				irr.Etag = &etag
49537			}
49538		}
49539	}
49540
49541	return nil
49542}
49543
49544// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime.
49545type IntegrationRuntimeSsisCatalogInfo struct {
49546	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49547	AdditionalProperties map[string]interface{} `json:""`
49548	// CatalogServerEndpoint - The catalog database server URL.
49549	CatalogServerEndpoint *string `json:"catalogServerEndpoint,omitempty"`
49550	// CatalogAdminUserName - The administrator user name of catalog database.
49551	CatalogAdminUserName *string `json:"catalogAdminUserName,omitempty"`
49552	// CatalogAdminPassword - The password of the administrator user account of the catalog database.
49553	CatalogAdminPassword *SecureString `json:"catalogAdminPassword,omitempty"`
49554	// CatalogPricingTier - The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: 'IntegrationRuntimeSsisCatalogPricingTierBasic', 'IntegrationRuntimeSsisCatalogPricingTierStandard', 'IntegrationRuntimeSsisCatalogPricingTierPremium', 'IntegrationRuntimeSsisCatalogPricingTierPremiumRS'
49555	CatalogPricingTier IntegrationRuntimeSsisCatalogPricingTier `json:"catalogPricingTier,omitempty"`
49556}
49557
49558// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisCatalogInfo.
49559func (irsci IntegrationRuntimeSsisCatalogInfo) MarshalJSON() ([]byte, error) {
49560	objectMap := make(map[string]interface{})
49561	if irsci.CatalogServerEndpoint != nil {
49562		objectMap["catalogServerEndpoint"] = irsci.CatalogServerEndpoint
49563	}
49564	if irsci.CatalogAdminUserName != nil {
49565		objectMap["catalogAdminUserName"] = irsci.CatalogAdminUserName
49566	}
49567	if irsci.CatalogAdminPassword != nil {
49568		objectMap["catalogAdminPassword"] = irsci.CatalogAdminPassword
49569	}
49570	if irsci.CatalogPricingTier != "" {
49571		objectMap["catalogPricingTier"] = irsci.CatalogPricingTier
49572	}
49573	for k, v := range irsci.AdditionalProperties {
49574		objectMap[k] = v
49575	}
49576	return json.Marshal(objectMap)
49577}
49578
49579// IntegrationRuntimeSsisProperties SSIS properties for managed integration runtime.
49580type IntegrationRuntimeSsisProperties struct {
49581	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49582	AdditionalProperties map[string]interface{} `json:""`
49583	// CatalogInfo - Catalog information for managed dedicated integration runtime.
49584	CatalogInfo *IntegrationRuntimeSsisCatalogInfo `json:"catalogInfo,omitempty"`
49585	// LicenseType - License type for bringing your own license scenario. Possible values include: 'BasePrice', 'LicenseIncluded'
49586	LicenseType IntegrationRuntimeLicenseType `json:"licenseType,omitempty"`
49587	// CustomSetupScriptProperties - Custom setup script properties for a managed dedicated integration runtime.
49588	CustomSetupScriptProperties *IntegrationRuntimeCustomSetupScriptProperties `json:"customSetupScriptProperties,omitempty"`
49589	// Edition - The edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise'
49590	Edition IntegrationRuntimeEdition `json:"edition,omitempty"`
49591}
49592
49593// MarshalJSON is the custom marshaler for IntegrationRuntimeSsisProperties.
49594func (irsp IntegrationRuntimeSsisProperties) MarshalJSON() ([]byte, error) {
49595	objectMap := make(map[string]interface{})
49596	if irsp.CatalogInfo != nil {
49597		objectMap["catalogInfo"] = irsp.CatalogInfo
49598	}
49599	if irsp.LicenseType != "" {
49600		objectMap["licenseType"] = irsp.LicenseType
49601	}
49602	if irsp.CustomSetupScriptProperties != nil {
49603		objectMap["customSetupScriptProperties"] = irsp.CustomSetupScriptProperties
49604	}
49605	if irsp.Edition != "" {
49606		objectMap["edition"] = irsp.Edition
49607	}
49608	for k, v := range irsp.AdditionalProperties {
49609		objectMap[k] = v
49610	}
49611	return json.Marshal(objectMap)
49612}
49613
49614// IntegrationRuntimesStartFuture an abstraction for monitoring and retrieving the results of a long-running
49615// operation.
49616type IntegrationRuntimesStartFuture struct {
49617	azure.Future
49618	req *http.Request
49619}
49620
49621// Result returns the result of the asynchronous operation.
49622// If the operation has not completed it will return an error.
49623func (future IntegrationRuntimesStartFuture) Result(client IntegrationRuntimesClient) (irsr IntegrationRuntimeStatusResponse, err error) {
49624	var done bool
49625	done, err = future.Done(client)
49626	if err != nil {
49627		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Polling failure")
49628		return
49629	}
49630	if !done {
49631		return irsr, azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture")
49632	}
49633	if future.PollingMethod() == azure.PollingLocation {
49634		irsr, err = client.StartResponder(future.Response())
49635		if err != nil {
49636			err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", future.Response(), "Failure responding to request")
49637		}
49638		return
49639	}
49640	var req *http.Request
49641	var resp *http.Response
49642	if future.PollingURL() != "" {
49643		req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
49644		if err != nil {
49645			return
49646		}
49647	} else {
49648		req = autorest.ChangeToGet(future.req)
49649	}
49650	resp, err = autorest.SendWithSender(client, req,
49651		autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
49652	if err != nil {
49653		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", resp, "Failure sending request")
49654		return
49655	}
49656	irsr, err = client.StartResponder(resp)
49657	if err != nil {
49658		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStartFuture", "Result", resp, "Failure responding to request")
49659	}
49660	return
49661}
49662
49663// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running
49664// operation.
49665type IntegrationRuntimesStopFuture struct {
49666	azure.Future
49667	req *http.Request
49668}
49669
49670// Result returns the result of the asynchronous operation.
49671// If the operation has not completed it will return an error.
49672func (future IntegrationRuntimesStopFuture) Result(client IntegrationRuntimesClient) (ar autorest.Response, err error) {
49673	var done bool
49674	done, err = future.Done(client)
49675	if err != nil {
49676		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Polling failure")
49677		return
49678	}
49679	if !done {
49680		return ar, azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStopFuture")
49681	}
49682	if future.PollingMethod() == azure.PollingLocation {
49683		ar, err = client.StopResponder(future.Response())
49684		if err != nil {
49685			err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", future.Response(), "Failure responding to request")
49686		}
49687		return
49688	}
49689	var req *http.Request
49690	var resp *http.Response
49691	if future.PollingURL() != "" {
49692		req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
49693		if err != nil {
49694			return
49695		}
49696	} else {
49697		req = autorest.ChangeToGet(future.req)
49698	}
49699	resp, err = autorest.SendWithSender(client, req,
49700		autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
49701	if err != nil {
49702		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", resp, "Failure sending request")
49703		return
49704	}
49705	ar, err = client.StopResponder(resp)
49706	if err != nil {
49707		err = autorest.NewErrorWithError(err, "datafactory.IntegrationRuntimesStopFuture", "Result", resp, "Failure responding to request")
49708	}
49709	return
49710}
49711
49712// BasicIntegrationRuntimeStatus integration runtime status.
49713type BasicIntegrationRuntimeStatus interface {
49714	AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool)
49715	AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool)
49716	AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool)
49717}
49718
49719// IntegrationRuntimeStatus integration runtime status.
49720type IntegrationRuntimeStatus struct {
49721	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49722	AdditionalProperties map[string]interface{} `json:""`
49723	// DataFactoryName - The data factory name which the integration runtime belong to.
49724	DataFactoryName *string `json:"dataFactoryName,omitempty"`
49725	// State - The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
49726	State IntegrationRuntimeState `json:"state,omitempty"`
49727	// Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
49728	Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
49729}
49730
49731func unmarshalBasicIntegrationRuntimeStatus(body []byte) (BasicIntegrationRuntimeStatus, error) {
49732	var m map[string]interface{}
49733	err := json.Unmarshal(body, &m)
49734	if err != nil {
49735		return nil, err
49736	}
49737
49738	switch m["type"] {
49739	case string(TypeBasicIntegrationRuntimeStatusTypeSelfHosted):
49740		var shirs SelfHostedIntegrationRuntimeStatus
49741		err := json.Unmarshal(body, &shirs)
49742		return shirs, err
49743	case string(TypeBasicIntegrationRuntimeStatusTypeManaged):
49744		var mirs ManagedIntegrationRuntimeStatus
49745		err := json.Unmarshal(body, &mirs)
49746		return mirs, err
49747	default:
49748		var irs IntegrationRuntimeStatus
49749		err := json.Unmarshal(body, &irs)
49750		return irs, err
49751	}
49752}
49753func unmarshalBasicIntegrationRuntimeStatusArray(body []byte) ([]BasicIntegrationRuntimeStatus, error) {
49754	var rawMessages []*json.RawMessage
49755	err := json.Unmarshal(body, &rawMessages)
49756	if err != nil {
49757		return nil, err
49758	}
49759
49760	irsArray := make([]BasicIntegrationRuntimeStatus, len(rawMessages))
49761
49762	for index, rawMessage := range rawMessages {
49763		irs, err := unmarshalBasicIntegrationRuntimeStatus(*rawMessage)
49764		if err != nil {
49765			return nil, err
49766		}
49767		irsArray[index] = irs
49768	}
49769	return irsArray, nil
49770}
49771
49772// MarshalJSON is the custom marshaler for IntegrationRuntimeStatus.
49773func (irs IntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
49774	irs.Type = TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus
49775	objectMap := make(map[string]interface{})
49776	if irs.DataFactoryName != nil {
49777		objectMap["dataFactoryName"] = irs.DataFactoryName
49778	}
49779	if irs.State != "" {
49780		objectMap["state"] = irs.State
49781	}
49782	if irs.Type != "" {
49783		objectMap["type"] = irs.Type
49784	}
49785	for k, v := range irs.AdditionalProperties {
49786		objectMap[k] = v
49787	}
49788	return json.Marshal(objectMap)
49789}
49790
49791// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
49792func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
49793	return nil, false
49794}
49795
49796// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
49797func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
49798	return nil, false
49799}
49800
49801// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
49802func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
49803	return &irs, true
49804}
49805
49806// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus.
49807func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
49808	return &irs, true
49809}
49810
49811// IntegrationRuntimeStatusListResponse a list of integration runtime status.
49812type IntegrationRuntimeStatusListResponse struct {
49813	// Value - List of integration runtime status.
49814	Value *[]IntegrationRuntimeStatusResponse `json:"value,omitempty"`
49815	// NextLink - The link to the next page of results, if any remaining results exist.
49816	NextLink *string `json:"nextLink,omitempty"`
49817}
49818
49819// IntegrationRuntimeStatusResponse integration runtime status response.
49820type IntegrationRuntimeStatusResponse struct {
49821	autorest.Response `json:"-"`
49822	// Name - The integration runtime name.
49823	Name *string `json:"name,omitempty"`
49824	// Properties - Integration runtime properties.
49825	Properties BasicIntegrationRuntimeStatus `json:"properties,omitempty"`
49826}
49827
49828// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct.
49829func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error {
49830	var m map[string]*json.RawMessage
49831	err := json.Unmarshal(body, &m)
49832	if err != nil {
49833		return err
49834	}
49835	for k, v := range m {
49836		switch k {
49837		case "name":
49838			if v != nil {
49839				var name string
49840				err = json.Unmarshal(*v, &name)
49841				if err != nil {
49842					return err
49843				}
49844				irsr.Name = &name
49845			}
49846		case "properties":
49847			if v != nil {
49848				properties, err := unmarshalBasicIntegrationRuntimeStatus(*v)
49849				if err != nil {
49850					return err
49851				}
49852				irsr.Properties = properties
49853			}
49854		}
49855	}
49856
49857	return nil
49858}
49859
49860// IntegrationRuntimeVNetProperties vNet properties for managed integration runtime.
49861type IntegrationRuntimeVNetProperties struct {
49862	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49863	AdditionalProperties map[string]interface{} `json:""`
49864	// VNetID - The ID of the VNet that this integration runtime will join.
49865	VNetID *string `json:"vNetId,omitempty"`
49866	// Subnet - The name of the subnet this integration runtime will join.
49867	Subnet *string `json:"subnet,omitempty"`
49868}
49869
49870// MarshalJSON is the custom marshaler for IntegrationRuntimeVNetProperties.
49871func (irvnp IntegrationRuntimeVNetProperties) MarshalJSON() ([]byte, error) {
49872	objectMap := make(map[string]interface{})
49873	if irvnp.VNetID != nil {
49874		objectMap["vNetId"] = irvnp.VNetID
49875	}
49876	if irvnp.Subnet != nil {
49877		objectMap["subnet"] = irvnp.Subnet
49878	}
49879	for k, v := range irvnp.AdditionalProperties {
49880		objectMap[k] = v
49881	}
49882	return json.Marshal(objectMap)
49883}
49884
49885// JiraLinkedService jira Serivce linked service.
49886type JiraLinkedService struct {
49887	// JiraLinkedServiceTypeProperties - Jira Serivce linked service properties.
49888	*JiraLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
49889	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
49890	AdditionalProperties map[string]interface{} `json:""`
49891	// ConnectVia - The integration runtime reference.
49892	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
49893	// Description - Linked service description.
49894	Description *string `json:"description,omitempty"`
49895	// Parameters - Parameters for linked service.
49896	Parameters map[string]*ParameterSpecification `json:"parameters"`
49897	// Annotations - List of tags that can be used for describing the Dataset.
49898	Annotations *[]interface{} `json:"annotations,omitempty"`
49899	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
49900	Type TypeBasicLinkedService `json:"type,omitempty"`
49901}
49902
49903// MarshalJSON is the custom marshaler for JiraLinkedService.
49904func (jls JiraLinkedService) MarshalJSON() ([]byte, error) {
49905	jls.Type = TypeJira
49906	objectMap := make(map[string]interface{})
49907	if jls.JiraLinkedServiceTypeProperties != nil {
49908		objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties
49909	}
49910	if jls.ConnectVia != nil {
49911		objectMap["connectVia"] = jls.ConnectVia
49912	}
49913	if jls.Description != nil {
49914		objectMap["description"] = jls.Description
49915	}
49916	if jls.Parameters != nil {
49917		objectMap["parameters"] = jls.Parameters
49918	}
49919	if jls.Annotations != nil {
49920		objectMap["annotations"] = jls.Annotations
49921	}
49922	if jls.Type != "" {
49923		objectMap["type"] = jls.Type
49924	}
49925	for k, v := range jls.AdditionalProperties {
49926		objectMap[k] = v
49927	}
49928	return json.Marshal(objectMap)
49929}
49930
49931// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49932func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
49933	return nil, false
49934}
49935
49936// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49937func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
49938	return nil, false
49939}
49940
49941// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49942func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
49943	return nil, false
49944}
49945
49946// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49947func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
49948	return nil, false
49949}
49950
49951// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49952func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
49953	return nil, false
49954}
49955
49956// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49957func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
49958	return nil, false
49959}
49960
49961// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49962func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
49963	return nil, false
49964}
49965
49966// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49967func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
49968	return nil, false
49969}
49970
49971// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49972func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
49973	return nil, false
49974}
49975
49976// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49977func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
49978	return nil, false
49979}
49980
49981// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49982func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
49983	return nil, false
49984}
49985
49986// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49987func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
49988	return nil, false
49989}
49990
49991// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49992func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
49993	return nil, false
49994}
49995
49996// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService.
49997func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
49998	return nil, false
49999}
50000
50001// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50002func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
50003	return nil, false
50004}
50005
50006// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50007func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
50008	return nil, false
50009}
50010
50011// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50012func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
50013	return nil, false
50014}
50015
50016// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50017func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
50018	return nil, false
50019}
50020
50021// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50022func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
50023	return nil, false
50024}
50025
50026// AsMagentoLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50027func (jls JiraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
50028	return nil, false
50029}
50030
50031// AsJiraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50032func (jls JiraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
50033	return &jls, true
50034}
50035
50036// AsImpalaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50037func (jls JiraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
50038	return nil, false
50039}
50040
50041// AsHubspotLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50042func (jls JiraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
50043	return nil, false
50044}
50045
50046// AsHiveLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50047func (jls JiraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
50048	return nil, false
50049}
50050
50051// AsHBaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50052func (jls JiraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
50053	return nil, false
50054}
50055
50056// AsGreenplumLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50057func (jls JiraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
50058	return nil, false
50059}
50060
50061// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50062func (jls JiraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
50063	return nil, false
50064}
50065
50066// AsEloquaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50067func (jls JiraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
50068	return nil, false
50069}
50070
50071// AsDrillLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50072func (jls JiraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
50073	return nil, false
50074}
50075
50076// AsCouchbaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50077func (jls JiraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
50078	return nil, false
50079}
50080
50081// AsConcurLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50082func (jls JiraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
50083	return nil, false
50084}
50085
50086// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50087func (jls JiraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
50088	return nil, false
50089}
50090
50091// AsAmazonMWSLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50092func (jls JiraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
50093	return nil, false
50094}
50095
50096// AsSapHanaLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50097func (jls JiraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
50098	return nil, false
50099}
50100
50101// AsSapBWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50102func (jls JiraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
50103	return nil, false
50104}
50105
50106// AsSftpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50107func (jls JiraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
50108	return nil, false
50109}
50110
50111// AsFtpServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50112func (jls JiraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
50113	return nil, false
50114}
50115
50116// AsHTTPLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50117func (jls JiraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
50118	return nil, false
50119}
50120
50121// AsAzureSearchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50122func (jls JiraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
50123	return nil, false
50124}
50125
50126// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50127func (jls JiraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
50128	return nil, false
50129}
50130
50131// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50132func (jls JiraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
50133	return nil, false
50134}
50135
50136// AsAmazonS3LinkedService is the BasicLinkedService implementation for JiraLinkedService.
50137func (jls JiraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
50138	return nil, false
50139}
50140
50141// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50142func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
50143	return nil, false
50144}
50145
50146// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50147func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
50148	return nil, false
50149}
50150
50151// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50152func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
50153	return nil, false
50154}
50155
50156// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50157func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
50158	return nil, false
50159}
50160
50161// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50162func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
50163	return nil, false
50164}
50165
50166// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50167func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
50168	return nil, false
50169}
50170
50171// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50172func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
50173	return nil, false
50174}
50175
50176// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50177func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
50178	return nil, false
50179}
50180
50181// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50182func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
50183	return nil, false
50184}
50185
50186// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50187func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
50188	return nil, false
50189}
50190
50191// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50192func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
50193	return nil, false
50194}
50195
50196// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50197func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
50198	return nil, false
50199}
50200
50201// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService.
50202func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
50203	return nil, false
50204}
50205
50206// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50207func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
50208	return nil, false
50209}
50210
50211// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50212func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
50213	return nil, false
50214}
50215
50216// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50217func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
50218	return nil, false
50219}
50220
50221// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50222func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
50223	return nil, false
50224}
50225
50226// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50227func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
50228	return nil, false
50229}
50230
50231// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50232func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
50233	return nil, false
50234}
50235
50236// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50237func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
50238	return nil, false
50239}
50240
50241// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50242func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
50243	return nil, false
50244}
50245
50246// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50247func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
50248	return nil, false
50249}
50250
50251// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50252func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
50253	return nil, false
50254}
50255
50256// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50257func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
50258	return nil, false
50259}
50260
50261// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50262func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
50263	return nil, false
50264}
50265
50266// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50267func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
50268	return nil, false
50269}
50270
50271// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50272func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
50273	return nil, false
50274}
50275
50276// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50277func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
50278	return nil, false
50279}
50280
50281// AsLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50282func (jls JiraLinkedService) AsLinkedService() (*LinkedService, bool) {
50283	return nil, false
50284}
50285
50286// AsBasicLinkedService is the BasicLinkedService implementation for JiraLinkedService.
50287func (jls JiraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
50288	return &jls, true
50289}
50290
50291// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct.
50292func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error {
50293	var m map[string]*json.RawMessage
50294	err := json.Unmarshal(body, &m)
50295	if err != nil {
50296		return err
50297	}
50298	for k, v := range m {
50299		switch k {
50300		case "typeProperties":
50301			if v != nil {
50302				var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties
50303				err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties)
50304				if err != nil {
50305					return err
50306				}
50307				jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties
50308			}
50309		default:
50310			if v != nil {
50311				var additionalProperties interface{}
50312				err = json.Unmarshal(*v, &additionalProperties)
50313				if err != nil {
50314					return err
50315				}
50316				if jls.AdditionalProperties == nil {
50317					jls.AdditionalProperties = make(map[string]interface{})
50318				}
50319				jls.AdditionalProperties[k] = additionalProperties
50320			}
50321		case "connectVia":
50322			if v != nil {
50323				var connectVia IntegrationRuntimeReference
50324				err = json.Unmarshal(*v, &connectVia)
50325				if err != nil {
50326					return err
50327				}
50328				jls.ConnectVia = &connectVia
50329			}
50330		case "description":
50331			if v != nil {
50332				var description string
50333				err = json.Unmarshal(*v, &description)
50334				if err != nil {
50335					return err
50336				}
50337				jls.Description = &description
50338			}
50339		case "parameters":
50340			if v != nil {
50341				var parameters map[string]*ParameterSpecification
50342				err = json.Unmarshal(*v, &parameters)
50343				if err != nil {
50344					return err
50345				}
50346				jls.Parameters = parameters
50347			}
50348		case "annotations":
50349			if v != nil {
50350				var annotations []interface{}
50351				err = json.Unmarshal(*v, &annotations)
50352				if err != nil {
50353					return err
50354				}
50355				jls.Annotations = &annotations
50356			}
50357		case "type":
50358			if v != nil {
50359				var typeVar TypeBasicLinkedService
50360				err = json.Unmarshal(*v, &typeVar)
50361				if err != nil {
50362					return err
50363				}
50364				jls.Type = typeVar
50365			}
50366		}
50367	}
50368
50369	return nil
50370}
50371
50372// JiraLinkedServiceTypeProperties jira Serivce linked service properties.
50373type JiraLinkedServiceTypeProperties struct {
50374	// Host - The IP address or host name of the Jira service. (e.g. jira.example.com)
50375	Host interface{} `json:"host,omitempty"`
50376	// Port - The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP.
50377	Port interface{} `json:"port,omitempty"`
50378	// Username - The user name that you use to access Jira Service.
50379	Username interface{} `json:"username,omitempty"`
50380	// Password - The password corresponding to the user name that you provided in the username field.
50381	Password BasicSecretBase `json:"password,omitempty"`
50382	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
50383	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
50384	// 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.
50385	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
50386	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
50387	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
50388	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
50389	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
50390}
50391
50392// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct.
50393func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
50394	var m map[string]*json.RawMessage
50395	err := json.Unmarshal(body, &m)
50396	if err != nil {
50397		return err
50398	}
50399	for k, v := range m {
50400		switch k {
50401		case "host":
50402			if v != nil {
50403				var host interface{}
50404				err = json.Unmarshal(*v, &host)
50405				if err != nil {
50406					return err
50407				}
50408				jlstp.Host = host
50409			}
50410		case "port":
50411			if v != nil {
50412				var port interface{}
50413				err = json.Unmarshal(*v, &port)
50414				if err != nil {
50415					return err
50416				}
50417				jlstp.Port = port
50418			}
50419		case "username":
50420			if v != nil {
50421				var username interface{}
50422				err = json.Unmarshal(*v, &username)
50423				if err != nil {
50424					return err
50425				}
50426				jlstp.Username = username
50427			}
50428		case "password":
50429			if v != nil {
50430				password, err := unmarshalBasicSecretBase(*v)
50431				if err != nil {
50432					return err
50433				}
50434				jlstp.Password = password
50435			}
50436		case "useEncryptedEndpoints":
50437			if v != nil {
50438				var useEncryptedEndpoints interface{}
50439				err = json.Unmarshal(*v, &useEncryptedEndpoints)
50440				if err != nil {
50441					return err
50442				}
50443				jlstp.UseEncryptedEndpoints = useEncryptedEndpoints
50444			}
50445		case "useHostVerification":
50446			if v != nil {
50447				var useHostVerification interface{}
50448				err = json.Unmarshal(*v, &useHostVerification)
50449				if err != nil {
50450					return err
50451				}
50452				jlstp.UseHostVerification = useHostVerification
50453			}
50454		case "usePeerVerification":
50455			if v != nil {
50456				var usePeerVerification interface{}
50457				err = json.Unmarshal(*v, &usePeerVerification)
50458				if err != nil {
50459					return err
50460				}
50461				jlstp.UsePeerVerification = usePeerVerification
50462			}
50463		case "encryptedCredential":
50464			if v != nil {
50465				var encryptedCredential interface{}
50466				err = json.Unmarshal(*v, &encryptedCredential)
50467				if err != nil {
50468					return err
50469				}
50470				jlstp.EncryptedCredential = encryptedCredential
50471			}
50472		}
50473	}
50474
50475	return nil
50476}
50477
50478// JiraObjectDataset jira Serivce dataset.
50479type JiraObjectDataset struct {
50480	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
50481	AdditionalProperties map[string]interface{} `json:""`
50482	// Description - Dataset description.
50483	Description *string `json:"description,omitempty"`
50484	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
50485	Structure interface{} `json:"structure,omitempty"`
50486	// LinkedServiceName - Linked service reference.
50487	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
50488	// Parameters - Parameters for dataset.
50489	Parameters map[string]*ParameterSpecification `json:"parameters"`
50490	// Annotations - List of tags that can be used for describing the Dataset.
50491	Annotations *[]interface{} `json:"annotations,omitempty"`
50492	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
50493	Type TypeBasicDataset `json:"type,omitempty"`
50494}
50495
50496// MarshalJSON is the custom marshaler for JiraObjectDataset.
50497func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) {
50498	jod.Type = TypeJiraObject
50499	objectMap := make(map[string]interface{})
50500	if jod.Description != nil {
50501		objectMap["description"] = jod.Description
50502	}
50503	objectMap["structure"] = jod.Structure
50504	if jod.LinkedServiceName != nil {
50505		objectMap["linkedServiceName"] = jod.LinkedServiceName
50506	}
50507	if jod.Parameters != nil {
50508		objectMap["parameters"] = jod.Parameters
50509	}
50510	if jod.Annotations != nil {
50511		objectMap["annotations"] = jod.Annotations
50512	}
50513	if jod.Type != "" {
50514		objectMap["type"] = jod.Type
50515	}
50516	for k, v := range jod.AdditionalProperties {
50517		objectMap[k] = v
50518	}
50519	return json.Marshal(objectMap)
50520}
50521
50522// AsResponsysObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50523func (jod JiraObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
50524	return nil, false
50525}
50526
50527// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50528func (jod JiraObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
50529	return nil, false
50530}
50531
50532// AsVerticaTableDataset is the BasicDataset implementation for JiraObjectDataset.
50533func (jod JiraObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
50534	return nil, false
50535}
50536
50537// AsNetezzaTableDataset is the BasicDataset implementation for JiraObjectDataset.
50538func (jod JiraObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
50539	return nil, false
50540}
50541
50542// AsZohoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50543func (jod JiraObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
50544	return nil, false
50545}
50546
50547// AsXeroObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50548func (jod JiraObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
50549	return nil, false
50550}
50551
50552// AsSquareObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50553func (jod JiraObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
50554	return nil, false
50555}
50556
50557// AsSparkObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50558func (jod JiraObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
50559	return nil, false
50560}
50561
50562// AsShopifyObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50563func (jod JiraObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
50564	return nil, false
50565}
50566
50567// AsServiceNowObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50568func (jod JiraObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
50569	return nil, false
50570}
50571
50572// AsQuickBooksObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50573func (jod JiraObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
50574	return nil, false
50575}
50576
50577// AsPrestoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50578func (jod JiraObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
50579	return nil, false
50580}
50581
50582// AsPhoenixObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50583func (jod JiraObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
50584	return nil, false
50585}
50586
50587// AsPaypalObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50588func (jod JiraObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
50589	return nil, false
50590}
50591
50592// AsMarketoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50593func (jod JiraObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
50594	return nil, false
50595}
50596
50597// AsMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset.
50598func (jod JiraObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
50599	return nil, false
50600}
50601
50602// AsMagentoObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50603func (jod JiraObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
50604	return nil, false
50605}
50606
50607// AsJiraObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50608func (jod JiraObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
50609	return &jod, true
50610}
50611
50612// AsImpalaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50613func (jod JiraObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
50614	return nil, false
50615}
50616
50617// AsHubspotObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50618func (jod JiraObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
50619	return nil, false
50620}
50621
50622// AsHiveObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50623func (jod JiraObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
50624	return nil, false
50625}
50626
50627// AsHBaseObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50628func (jod JiraObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
50629	return nil, false
50630}
50631
50632// AsGreenplumTableDataset is the BasicDataset implementation for JiraObjectDataset.
50633func (jod JiraObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
50634	return nil, false
50635}
50636
50637// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50638func (jod JiraObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
50639	return nil, false
50640}
50641
50642// AsEloquaObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50643func (jod JiraObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
50644	return nil, false
50645}
50646
50647// AsDrillTableDataset is the BasicDataset implementation for JiraObjectDataset.
50648func (jod JiraObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
50649	return nil, false
50650}
50651
50652// AsCouchbaseTableDataset is the BasicDataset implementation for JiraObjectDataset.
50653func (jod JiraObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
50654	return nil, false
50655}
50656
50657// AsConcurObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50658func (jod JiraObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
50659	return nil, false
50660}
50661
50662// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
50663func (jod JiraObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
50664	return nil, false
50665}
50666
50667// AsAmazonMWSObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50668func (jod JiraObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
50669	return nil, false
50670}
50671
50672// AsHTTPDataset is the BasicDataset implementation for JiraObjectDataset.
50673func (jod JiraObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
50674	return nil, false
50675}
50676
50677// AsAzureSearchIndexDataset is the BasicDataset implementation for JiraObjectDataset.
50678func (jod JiraObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
50679	return nil, false
50680}
50681
50682// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset.
50683func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
50684	return nil, false
50685}
50686
50687// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset.
50688func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
50689	return nil, false
50690}
50691
50692// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset.
50693func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
50694	return nil, false
50695}
50696
50697// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset.
50698func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
50699	return nil, false
50700}
50701
50702// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset.
50703func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
50704	return nil, false
50705}
50706
50707// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset.
50708func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
50709	return nil, false
50710}
50711
50712// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
50713func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
50714	return nil, false
50715}
50716
50717// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset.
50718func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
50719	return nil, false
50720}
50721
50722// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset.
50723func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
50724	return nil, false
50725}
50726
50727// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
50728func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
50729	return nil, false
50730}
50731
50732// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset.
50733func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
50734	return nil, false
50735}
50736
50737// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset.
50738func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
50739	return nil, false
50740}
50741
50742// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset.
50743func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
50744	return nil, false
50745}
50746
50747// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset.
50748func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
50749	return nil, false
50750}
50751
50752// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset.
50753func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
50754	return nil, false
50755}
50756
50757// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset.
50758func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
50759	return nil, false
50760}
50761
50762// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset.
50763func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
50764	return nil, false
50765}
50766
50767// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset.
50768func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
50769	return nil, false
50770}
50771
50772// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset.
50773func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
50774	return nil, false
50775}
50776
50777// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset.
50778func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
50779	return nil, false
50780}
50781
50782// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset.
50783func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
50784	return nil, false
50785}
50786
50787// AsDataset is the BasicDataset implementation for JiraObjectDataset.
50788func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) {
50789	return nil, false
50790}
50791
50792// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset.
50793func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) {
50794	return &jod, true
50795}
50796
50797// JiraSource a copy activity Jira Serivce source.
50798type JiraSource struct {
50799	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
50800	Query interface{} `json:"query,omitempty"`
50801	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
50802	AdditionalProperties map[string]interface{} `json:""`
50803	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
50804	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
50805	// 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])).
50806	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
50807	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
50808	Type TypeBasicCopySource `json:"type,omitempty"`
50809}
50810
50811// MarshalJSON is the custom marshaler for JiraSource.
50812func (js JiraSource) MarshalJSON() ([]byte, error) {
50813	js.Type = TypeJiraSource
50814	objectMap := make(map[string]interface{})
50815	objectMap["query"] = js.Query
50816	objectMap["sourceRetryCount"] = js.SourceRetryCount
50817	objectMap["sourceRetryWait"] = js.SourceRetryWait
50818	if js.Type != "" {
50819		objectMap["type"] = js.Type
50820	}
50821	for k, v := range js.AdditionalProperties {
50822		objectMap[k] = v
50823	}
50824	return json.Marshal(objectMap)
50825}
50826
50827// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource.
50828func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
50829	return nil, false
50830}
50831
50832// AsResponsysSource is the BasicCopySource implementation for JiraSource.
50833func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) {
50834	return nil, false
50835}
50836
50837// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource.
50838func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
50839	return nil, false
50840}
50841
50842// AsVerticaSource is the BasicCopySource implementation for JiraSource.
50843func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) {
50844	return nil, false
50845}
50846
50847// AsNetezzaSource is the BasicCopySource implementation for JiraSource.
50848func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) {
50849	return nil, false
50850}
50851
50852// AsZohoSource is the BasicCopySource implementation for JiraSource.
50853func (js JiraSource) AsZohoSource() (*ZohoSource, bool) {
50854	return nil, false
50855}
50856
50857// AsXeroSource is the BasicCopySource implementation for JiraSource.
50858func (js JiraSource) AsXeroSource() (*XeroSource, bool) {
50859	return nil, false
50860}
50861
50862// AsSquareSource is the BasicCopySource implementation for JiraSource.
50863func (js JiraSource) AsSquareSource() (*SquareSource, bool) {
50864	return nil, false
50865}
50866
50867// AsSparkSource is the BasicCopySource implementation for JiraSource.
50868func (js JiraSource) AsSparkSource() (*SparkSource, bool) {
50869	return nil, false
50870}
50871
50872// AsShopifySource is the BasicCopySource implementation for JiraSource.
50873func (js JiraSource) AsShopifySource() (*ShopifySource, bool) {
50874	return nil, false
50875}
50876
50877// AsServiceNowSource is the BasicCopySource implementation for JiraSource.
50878func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) {
50879	return nil, false
50880}
50881
50882// AsQuickBooksSource is the BasicCopySource implementation for JiraSource.
50883func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
50884	return nil, false
50885}
50886
50887// AsPrestoSource is the BasicCopySource implementation for JiraSource.
50888func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) {
50889	return nil, false
50890}
50891
50892// AsPhoenixSource is the BasicCopySource implementation for JiraSource.
50893func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) {
50894	return nil, false
50895}
50896
50897// AsPaypalSource is the BasicCopySource implementation for JiraSource.
50898func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) {
50899	return nil, false
50900}
50901
50902// AsMarketoSource is the BasicCopySource implementation for JiraSource.
50903func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) {
50904	return nil, false
50905}
50906
50907// AsMariaDBSource is the BasicCopySource implementation for JiraSource.
50908func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) {
50909	return nil, false
50910}
50911
50912// AsMagentoSource is the BasicCopySource implementation for JiraSource.
50913func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) {
50914	return nil, false
50915}
50916
50917// AsJiraSource is the BasicCopySource implementation for JiraSource.
50918func (js JiraSource) AsJiraSource() (*JiraSource, bool) {
50919	return &js, true
50920}
50921
50922// AsImpalaSource is the BasicCopySource implementation for JiraSource.
50923func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) {
50924	return nil, false
50925}
50926
50927// AsHubspotSource is the BasicCopySource implementation for JiraSource.
50928func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) {
50929	return nil, false
50930}
50931
50932// AsHiveSource is the BasicCopySource implementation for JiraSource.
50933func (js JiraSource) AsHiveSource() (*HiveSource, bool) {
50934	return nil, false
50935}
50936
50937// AsHBaseSource is the BasicCopySource implementation for JiraSource.
50938func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) {
50939	return nil, false
50940}
50941
50942// AsGreenplumSource is the BasicCopySource implementation for JiraSource.
50943func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) {
50944	return nil, false
50945}
50946
50947// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource.
50948func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
50949	return nil, false
50950}
50951
50952// AsEloquaSource is the BasicCopySource implementation for JiraSource.
50953func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) {
50954	return nil, false
50955}
50956
50957// AsDrillSource is the BasicCopySource implementation for JiraSource.
50958func (js JiraSource) AsDrillSource() (*DrillSource, bool) {
50959	return nil, false
50960}
50961
50962// AsCouchbaseSource is the BasicCopySource implementation for JiraSource.
50963func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
50964	return nil, false
50965}
50966
50967// AsConcurSource is the BasicCopySource implementation for JiraSource.
50968func (js JiraSource) AsConcurSource() (*ConcurSource, bool) {
50969	return nil, false
50970}
50971
50972// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource.
50973func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
50974	return nil, false
50975}
50976
50977// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource.
50978func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
50979	return nil, false
50980}
50981
50982// AsHTTPSource is the BasicCopySource implementation for JiraSource.
50983func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) {
50984	return nil, false
50985}
50986
50987// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource.
50988func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
50989	return nil, false
50990}
50991
50992// AsMongoDbSource is the BasicCopySource implementation for JiraSource.
50993func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) {
50994	return nil, false
50995}
50996
50997// AsCassandraSource is the BasicCopySource implementation for JiraSource.
50998func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) {
50999	return nil, false
51000}
51001
51002// AsWebSource is the BasicCopySource implementation for JiraSource.
51003func (js JiraSource) AsWebSource() (*WebSource, bool) {
51004	return nil, false
51005}
51006
51007// AsOracleSource is the BasicCopySource implementation for JiraSource.
51008func (js JiraSource) AsOracleSource() (*OracleSource, bool) {
51009	return nil, false
51010}
51011
51012// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource.
51013func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
51014	return nil, false
51015}
51016
51017// AsHdfsSource is the BasicCopySource implementation for JiraSource.
51018func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) {
51019	return nil, false
51020}
51021
51022// AsFileSystemSource is the BasicCopySource implementation for JiraSource.
51023func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) {
51024	return nil, false
51025}
51026
51027// AsSQLDWSource is the BasicCopySource implementation for JiraSource.
51028func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) {
51029	return nil, false
51030}
51031
51032// AsSQLSource is the BasicCopySource implementation for JiraSource.
51033func (js JiraSource) AsSQLSource() (*SQLSource, bool) {
51034	return nil, false
51035}
51036
51037// AsSapEccSource is the BasicCopySource implementation for JiraSource.
51038func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) {
51039	return nil, false
51040}
51041
51042// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource.
51043func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
51044	return nil, false
51045}
51046
51047// AsSalesforceSource is the BasicCopySource implementation for JiraSource.
51048func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) {
51049	return nil, false
51050}
51051
51052// AsRelationalSource is the BasicCopySource implementation for JiraSource.
51053func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) {
51054	return nil, false
51055}
51056
51057// AsDynamicsSource is the BasicCopySource implementation for JiraSource.
51058func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) {
51059	return nil, false
51060}
51061
51062// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource.
51063func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
51064	return nil, false
51065}
51066
51067// AsBlobSource is the BasicCopySource implementation for JiraSource.
51068func (js JiraSource) AsBlobSource() (*BlobSource, bool) {
51069	return nil, false
51070}
51071
51072// AsAzureTableSource is the BasicCopySource implementation for JiraSource.
51073func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) {
51074	return nil, false
51075}
51076
51077// AsCopySource is the BasicCopySource implementation for JiraSource.
51078func (js JiraSource) AsCopySource() (*CopySource, bool) {
51079	return nil, false
51080}
51081
51082// AsBasicCopySource is the BasicCopySource implementation for JiraSource.
51083func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) {
51084	return &js, true
51085}
51086
51087// JSONFormat the data stored in JSON format.
51088type JSONFormat struct {
51089	// FilePattern - File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: 'SetOfObjects', 'ArrayOfObjects'
51090	FilePattern JSONFormatFilePattern `json:"filePattern,omitempty"`
51091	// NestingSeparator - The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string).
51092	NestingSeparator interface{} `json:"nestingSeparator,omitempty"`
51093	// EncodingName - The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string).
51094	EncodingName interface{} `json:"encodingName,omitempty"`
51095	// JSONNodeReference - The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string).
51096	JSONNodeReference interface{} `json:"jsonNodeReference,omitempty"`
51097	// JSONPathDefinition - The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object).
51098	JSONPathDefinition interface{} `json:"jsonPathDefinition,omitempty"`
51099	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
51100	AdditionalProperties map[string]interface{} `json:""`
51101	// Serializer - Serializer. Type: string (or Expression with resultType string).
51102	Serializer interface{} `json:"serializer,omitempty"`
51103	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
51104	Deserializer interface{} `json:"deserializer,omitempty"`
51105	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
51106	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
51107}
51108
51109// MarshalJSON is the custom marshaler for JSONFormat.
51110func (jf JSONFormat) MarshalJSON() ([]byte, error) {
51111	jf.Type = TypeJSONFormat
51112	objectMap := make(map[string]interface{})
51113	if jf.FilePattern != "" {
51114		objectMap["filePattern"] = jf.FilePattern
51115	}
51116	objectMap["nestingSeparator"] = jf.NestingSeparator
51117	objectMap["encodingName"] = jf.EncodingName
51118	objectMap["jsonNodeReference"] = jf.JSONNodeReference
51119	objectMap["jsonPathDefinition"] = jf.JSONPathDefinition
51120	objectMap["serializer"] = jf.Serializer
51121	objectMap["deserializer"] = jf.Deserializer
51122	if jf.Type != "" {
51123		objectMap["type"] = jf.Type
51124	}
51125	for k, v := range jf.AdditionalProperties {
51126		objectMap[k] = v
51127	}
51128	return json.Marshal(objectMap)
51129}
51130
51131// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51132func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) {
51133	return nil, false
51134}
51135
51136// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51137func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) {
51138	return nil, false
51139}
51140
51141// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51142func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) {
51143	return nil, false
51144}
51145
51146// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51147func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) {
51148	return &jf, true
51149}
51150
51151// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51152func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) {
51153	return nil, false
51154}
51155
51156// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51157func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
51158	return nil, false
51159}
51160
51161// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat.
51162func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
51163	return &jf, true
51164}
51165
51166// LinkedIntegrationRuntime the linked integration runtime information.
51167type LinkedIntegrationRuntime struct {
51168	// Name - The name of the linked integration runtime.
51169	Name *string `json:"name,omitempty"`
51170	// SubscriptionID - The subscription ID for which the linked integration runtime belong to.
51171	SubscriptionID *string `json:"subscriptionId,omitempty"`
51172	// DataFactoryName - The name of the data factory for which the linked integration runtime belong to.
51173	DataFactoryName *string `json:"dataFactoryName,omitempty"`
51174	// DataFactoryLocation - The location of the data factory for which the linked integration runtime belong to.
51175	DataFactoryLocation *string `json:"dataFactoryLocation,omitempty"`
51176	// CreateTime - The creating time of the linked integration runtime.
51177	CreateTime *date.Time `json:"createTime,omitempty"`
51178}
51179
51180// LinkedIntegrationRuntimeKey the base definition of a secret type.
51181type LinkedIntegrationRuntimeKey struct {
51182	// Key - Type of the secret.
51183	Key *SecureString `json:"key,omitempty"`
51184	// AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeProperties', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
51185	AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
51186}
51187
51188// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeKey.
51189func (lirk LinkedIntegrationRuntimeKey) MarshalJSON() ([]byte, error) {
51190	lirk.AuthorizationType = AuthorizationTypeKey
51191	objectMap := make(map[string]interface{})
51192	if lirk.Key != nil {
51193		objectMap["key"] = lirk.Key
51194	}
51195	if lirk.AuthorizationType != "" {
51196		objectMap["authorizationType"] = lirk.AuthorizationType
51197	}
51198	return json.Marshal(objectMap)
51199}
51200
51201// AsLinkedIntegrationRuntimeRbac is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeKey.
51202func (lirk LinkedIntegrationRuntimeKey) AsLinkedIntegrationRuntimeRbac() (*LinkedIntegrationRuntimeRbac, bool) {
51203	return nil, false
51204}
51205
51206// AsLinkedIntegrationRuntimeKey is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeKey.
51207func (lirk LinkedIntegrationRuntimeKey) AsLinkedIntegrationRuntimeKey() (*LinkedIntegrationRuntimeKey, bool) {
51208	return &lirk, true
51209}
51210
51211// AsLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeKey.
51212func (lirk LinkedIntegrationRuntimeKey) AsLinkedIntegrationRuntimeProperties() (*LinkedIntegrationRuntimeProperties, bool) {
51213	return nil, false
51214}
51215
51216// AsBasicLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeKey.
51217func (lirk LinkedIntegrationRuntimeKey) AsBasicLinkedIntegrationRuntimeProperties() (BasicLinkedIntegrationRuntimeProperties, bool) {
51218	return &lirk, true
51219}
51220
51221// BasicLinkedIntegrationRuntimeProperties the base definition of a secret type.
51222type BasicLinkedIntegrationRuntimeProperties interface {
51223	AsLinkedIntegrationRuntimeRbac() (*LinkedIntegrationRuntimeRbac, bool)
51224	AsLinkedIntegrationRuntimeKey() (*LinkedIntegrationRuntimeKey, bool)
51225	AsLinkedIntegrationRuntimeProperties() (*LinkedIntegrationRuntimeProperties, bool)
51226}
51227
51228// LinkedIntegrationRuntimeProperties the base definition of a secret type.
51229type LinkedIntegrationRuntimeProperties struct {
51230	// AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeProperties', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
51231	AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
51232}
51233
51234func unmarshalBasicLinkedIntegrationRuntimeProperties(body []byte) (BasicLinkedIntegrationRuntimeProperties, error) {
51235	var m map[string]interface{}
51236	err := json.Unmarshal(body, &m)
51237	if err != nil {
51238		return nil, err
51239	}
51240
51241	switch m["authorizationType"] {
51242	case string(AuthorizationTypeRBAC):
51243		var lirr LinkedIntegrationRuntimeRbac
51244		err := json.Unmarshal(body, &lirr)
51245		return lirr, err
51246	case string(AuthorizationTypeKey):
51247		var lirk LinkedIntegrationRuntimeKey
51248		err := json.Unmarshal(body, &lirk)
51249		return lirk, err
51250	default:
51251		var lirp LinkedIntegrationRuntimeProperties
51252		err := json.Unmarshal(body, &lirp)
51253		return lirp, err
51254	}
51255}
51256func unmarshalBasicLinkedIntegrationRuntimePropertiesArray(body []byte) ([]BasicLinkedIntegrationRuntimeProperties, error) {
51257	var rawMessages []*json.RawMessage
51258	err := json.Unmarshal(body, &rawMessages)
51259	if err != nil {
51260		return nil, err
51261	}
51262
51263	lirpArray := make([]BasicLinkedIntegrationRuntimeProperties, len(rawMessages))
51264
51265	for index, rawMessage := range rawMessages {
51266		lirp, err := unmarshalBasicLinkedIntegrationRuntimeProperties(*rawMessage)
51267		if err != nil {
51268			return nil, err
51269		}
51270		lirpArray[index] = lirp
51271	}
51272	return lirpArray, nil
51273}
51274
51275// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeProperties.
51276func (lirp LinkedIntegrationRuntimeProperties) MarshalJSON() ([]byte, error) {
51277	lirp.AuthorizationType = AuthorizationTypeLinkedIntegrationRuntimeProperties
51278	objectMap := make(map[string]interface{})
51279	if lirp.AuthorizationType != "" {
51280		objectMap["authorizationType"] = lirp.AuthorizationType
51281	}
51282	return json.Marshal(objectMap)
51283}
51284
51285// AsLinkedIntegrationRuntimeRbac is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeProperties.
51286func (lirp LinkedIntegrationRuntimeProperties) AsLinkedIntegrationRuntimeRbac() (*LinkedIntegrationRuntimeRbac, bool) {
51287	return nil, false
51288}
51289
51290// AsLinkedIntegrationRuntimeKey is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeProperties.
51291func (lirp LinkedIntegrationRuntimeProperties) AsLinkedIntegrationRuntimeKey() (*LinkedIntegrationRuntimeKey, bool) {
51292	return nil, false
51293}
51294
51295// AsLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeProperties.
51296func (lirp LinkedIntegrationRuntimeProperties) AsLinkedIntegrationRuntimeProperties() (*LinkedIntegrationRuntimeProperties, bool) {
51297	return &lirp, true
51298}
51299
51300// AsBasicLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeProperties.
51301func (lirp LinkedIntegrationRuntimeProperties) AsBasicLinkedIntegrationRuntimeProperties() (BasicLinkedIntegrationRuntimeProperties, bool) {
51302	return &lirp, true
51303}
51304
51305// LinkedIntegrationRuntimeRbac the base definition of a secret type.
51306type LinkedIntegrationRuntimeRbac struct {
51307	// ResourceID - The resource ID of the integration runtime to be shared.
51308	ResourceID *string `json:"resourceId,omitempty"`
51309	// AuthorizationType - Possible values include: 'AuthorizationTypeLinkedIntegrationRuntimeProperties', 'AuthorizationTypeRBAC', 'AuthorizationTypeKey'
51310	AuthorizationType AuthorizationType `json:"authorizationType,omitempty"`
51311}
51312
51313// MarshalJSON is the custom marshaler for LinkedIntegrationRuntimeRbac.
51314func (lirr LinkedIntegrationRuntimeRbac) MarshalJSON() ([]byte, error) {
51315	lirr.AuthorizationType = AuthorizationTypeRBAC
51316	objectMap := make(map[string]interface{})
51317	if lirr.ResourceID != nil {
51318		objectMap["resourceId"] = lirr.ResourceID
51319	}
51320	if lirr.AuthorizationType != "" {
51321		objectMap["authorizationType"] = lirr.AuthorizationType
51322	}
51323	return json.Marshal(objectMap)
51324}
51325
51326// AsLinkedIntegrationRuntimeRbac is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeRbac.
51327func (lirr LinkedIntegrationRuntimeRbac) AsLinkedIntegrationRuntimeRbac() (*LinkedIntegrationRuntimeRbac, bool) {
51328	return &lirr, true
51329}
51330
51331// AsLinkedIntegrationRuntimeKey is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeRbac.
51332func (lirr LinkedIntegrationRuntimeRbac) AsLinkedIntegrationRuntimeKey() (*LinkedIntegrationRuntimeKey, bool) {
51333	return nil, false
51334}
51335
51336// AsLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeRbac.
51337func (lirr LinkedIntegrationRuntimeRbac) AsLinkedIntegrationRuntimeProperties() (*LinkedIntegrationRuntimeProperties, bool) {
51338	return nil, false
51339}
51340
51341// AsBasicLinkedIntegrationRuntimeProperties is the BasicLinkedIntegrationRuntimeProperties implementation for LinkedIntegrationRuntimeRbac.
51342func (lirr LinkedIntegrationRuntimeRbac) AsBasicLinkedIntegrationRuntimeProperties() (BasicLinkedIntegrationRuntimeProperties, bool) {
51343	return &lirr, true
51344}
51345
51346// LinkedIntegrationRuntimeTypeProperties the base definition of a secret type.
51347type LinkedIntegrationRuntimeTypeProperties struct {
51348	LinkedInfo BasicLinkedIntegrationRuntimeProperties `json:"linkedInfo,omitempty"`
51349}
51350
51351// UnmarshalJSON is the custom unmarshaler for LinkedIntegrationRuntimeTypeProperties struct.
51352func (lirtp *LinkedIntegrationRuntimeTypeProperties) UnmarshalJSON(body []byte) error {
51353	var m map[string]*json.RawMessage
51354	err := json.Unmarshal(body, &m)
51355	if err != nil {
51356		return err
51357	}
51358	for k, v := range m {
51359		switch k {
51360		case "linkedInfo":
51361			if v != nil {
51362				linkedInfo, err := unmarshalBasicLinkedIntegrationRuntimeProperties(*v)
51363				if err != nil {
51364					return err
51365				}
51366				lirtp.LinkedInfo = linkedInfo
51367			}
51368		}
51369	}
51370
51371	return nil
51372}
51373
51374// BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be
51375// used to connect with related store or compute resource.
51376type BasicLinkedService interface {
51377	AsResponsysLinkedService() (*ResponsysLinkedService, bool)
51378	AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool)
51379	AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool)
51380	AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool)
51381	AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool)
51382	AsNetezzaLinkedService() (*NetezzaLinkedService, bool)
51383	AsVerticaLinkedService() (*VerticaLinkedService, bool)
51384	AsZohoLinkedService() (*ZohoLinkedService, bool)
51385	AsXeroLinkedService() (*XeroLinkedService, bool)
51386	AsSquareLinkedService() (*SquareLinkedService, bool)
51387	AsSparkLinkedService() (*SparkLinkedService, bool)
51388	AsShopifyLinkedService() (*ShopifyLinkedService, bool)
51389	AsServiceNowLinkedService() (*ServiceNowLinkedService, bool)
51390	AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool)
51391	AsPrestoLinkedService() (*PrestoLinkedService, bool)
51392	AsPhoenixLinkedService() (*PhoenixLinkedService, bool)
51393	AsPaypalLinkedService() (*PaypalLinkedService, bool)
51394	AsMarketoLinkedService() (*MarketoLinkedService, bool)
51395	AsMariaDBLinkedService() (*MariaDBLinkedService, bool)
51396	AsMagentoLinkedService() (*MagentoLinkedService, bool)
51397	AsJiraLinkedService() (*JiraLinkedService, bool)
51398	AsImpalaLinkedService() (*ImpalaLinkedService, bool)
51399	AsHubspotLinkedService() (*HubspotLinkedService, bool)
51400	AsHiveLinkedService() (*HiveLinkedService, bool)
51401	AsHBaseLinkedService() (*HBaseLinkedService, bool)
51402	AsGreenplumLinkedService() (*GreenplumLinkedService, bool)
51403	AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool)
51404	AsEloquaLinkedService() (*EloquaLinkedService, bool)
51405	AsDrillLinkedService() (*DrillLinkedService, bool)
51406	AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool)
51407	AsConcurLinkedService() (*ConcurLinkedService, bool)
51408	AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool)
51409	AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool)
51410	AsSapHanaLinkedService() (*SapHanaLinkedService, bool)
51411	AsSapBWLinkedService() (*SapBWLinkedService, bool)
51412	AsSftpServerLinkedService() (*SftpServerLinkedService, bool)
51413	AsFtpServerLinkedService() (*FtpServerLinkedService, bool)
51414	AsHTTPLinkedService() (*HTTPLinkedService, bool)
51415	AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool)
51416	AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool)
51417	AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool)
51418	AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool)
51419	AsSapEccLinkedService() (*SapEccLinkedService, bool)
51420	AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool)
51421	AsSalesforceLinkedService() (*SalesforceLinkedService, bool)
51422	AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool)
51423	AsMongoDbLinkedService() (*MongoDbLinkedService, bool)
51424	AsCassandraLinkedService() (*CassandraLinkedService, bool)
51425	AsWebLinkedService() (*WebLinkedService, bool)
51426	AsODataLinkedService() (*ODataLinkedService, bool)
51427	AsHdfsLinkedService() (*HdfsLinkedService, bool)
51428	AsOdbcLinkedService() (*OdbcLinkedService, bool)
51429	AsAzureMLLinkedService() (*AzureMLLinkedService, bool)
51430	AsTeradataLinkedService() (*TeradataLinkedService, bool)
51431	AsDb2LinkedService() (*Db2LinkedService, bool)
51432	AsSybaseLinkedService() (*SybaseLinkedService, bool)
51433	AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool)
51434	AsMySQLLinkedService() (*MySQLLinkedService, bool)
51435	AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool)
51436	AsOracleLinkedService() (*OracleLinkedService, bool)
51437	AsFileServerLinkedService() (*FileServerLinkedService, bool)
51438	AsHDInsightLinkedService() (*HDInsightLinkedService, bool)
51439	AsDynamicsLinkedService() (*DynamicsLinkedService, bool)
51440	AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool)
51441	AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool)
51442	AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool)
51443	AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool)
51444	AsSQLServerLinkedService() (*SQLServerLinkedService, bool)
51445	AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool)
51446	AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool)
51447	AsLinkedService() (*LinkedService, bool)
51448}
51449
51450// LinkedService the Azure Data Factory nested object which contains the information and credential which can be
51451// used to connect with related store or compute resource.
51452type LinkedService struct {
51453	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
51454	AdditionalProperties map[string]interface{} `json:""`
51455	// ConnectVia - The integration runtime reference.
51456	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
51457	// Description - Linked service description.
51458	Description *string `json:"description,omitempty"`
51459	// Parameters - Parameters for linked service.
51460	Parameters map[string]*ParameterSpecification `json:"parameters"`
51461	// Annotations - List of tags that can be used for describing the Dataset.
51462	Annotations *[]interface{} `json:"annotations,omitempty"`
51463	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
51464	Type TypeBasicLinkedService `json:"type,omitempty"`
51465}
51466
51467func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) {
51468	var m map[string]interface{}
51469	err := json.Unmarshal(body, &m)
51470	if err != nil {
51471		return nil, err
51472	}
51473
51474	switch m["type"] {
51475	case string(TypeResponsys):
51476		var rls ResponsysLinkedService
51477		err := json.Unmarshal(body, &rls)
51478		return rls, err
51479	case string(TypeAzureDatabricks):
51480		var adls AzureDatabricksLinkedService
51481		err := json.Unmarshal(body, &adls)
51482		return adls, err
51483	case string(TypeAzureDataLakeAnalytics):
51484		var adlals AzureDataLakeAnalyticsLinkedService
51485		err := json.Unmarshal(body, &adlals)
51486		return adlals, err
51487	case string(TypeHDInsightOnDemand):
51488		var hiodls HDInsightOnDemandLinkedService
51489		err := json.Unmarshal(body, &hiodls)
51490		return hiodls, err
51491	case string(TypeSalesforceMarketingCloud):
51492		var smcls SalesforceMarketingCloudLinkedService
51493		err := json.Unmarshal(body, &smcls)
51494		return smcls, err
51495	case string(TypeNetezza):
51496		var nls NetezzaLinkedService
51497		err := json.Unmarshal(body, &nls)
51498		return nls, err
51499	case string(TypeVertica):
51500		var vls VerticaLinkedService
51501		err := json.Unmarshal(body, &vls)
51502		return vls, err
51503	case string(TypeZoho):
51504		var zls ZohoLinkedService
51505		err := json.Unmarshal(body, &zls)
51506		return zls, err
51507	case string(TypeXero):
51508		var xls XeroLinkedService
51509		err := json.Unmarshal(body, &xls)
51510		return xls, err
51511	case string(TypeSquare):
51512		var sls SquareLinkedService
51513		err := json.Unmarshal(body, &sls)
51514		return sls, err
51515	case string(TypeSpark):
51516		var sls SparkLinkedService
51517		err := json.Unmarshal(body, &sls)
51518		return sls, err
51519	case string(TypeShopify):
51520		var sls ShopifyLinkedService
51521		err := json.Unmarshal(body, &sls)
51522		return sls, err
51523	case string(TypeServiceNow):
51524		var snls ServiceNowLinkedService
51525		err := json.Unmarshal(body, &snls)
51526		return snls, err
51527	case string(TypeQuickBooks):
51528		var qbls QuickBooksLinkedService
51529		err := json.Unmarshal(body, &qbls)
51530		return qbls, err
51531	case string(TypePresto):
51532		var pls PrestoLinkedService
51533		err := json.Unmarshal(body, &pls)
51534		return pls, err
51535	case string(TypePhoenix):
51536		var pls PhoenixLinkedService
51537		err := json.Unmarshal(body, &pls)
51538		return pls, err
51539	case string(TypePaypal):
51540		var pls PaypalLinkedService
51541		err := json.Unmarshal(body, &pls)
51542		return pls, err
51543	case string(TypeMarketo):
51544		var mls MarketoLinkedService
51545		err := json.Unmarshal(body, &mls)
51546		return mls, err
51547	case string(TypeMariaDB):
51548		var mdls MariaDBLinkedService
51549		err := json.Unmarshal(body, &mdls)
51550		return mdls, err
51551	case string(TypeMagento):
51552		var mls MagentoLinkedService
51553		err := json.Unmarshal(body, &mls)
51554		return mls, err
51555	case string(TypeJira):
51556		var jls JiraLinkedService
51557		err := json.Unmarshal(body, &jls)
51558		return jls, err
51559	case string(TypeImpala):
51560		var ils ImpalaLinkedService
51561		err := json.Unmarshal(body, &ils)
51562		return ils, err
51563	case string(TypeHubspot):
51564		var hls HubspotLinkedService
51565		err := json.Unmarshal(body, &hls)
51566		return hls, err
51567	case string(TypeHive):
51568		var hls HiveLinkedService
51569		err := json.Unmarshal(body, &hls)
51570		return hls, err
51571	case string(TypeHBase):
51572		var hbls HBaseLinkedService
51573		err := json.Unmarshal(body, &hbls)
51574		return hbls, err
51575	case string(TypeGreenplum):
51576		var gls GreenplumLinkedService
51577		err := json.Unmarshal(body, &gls)
51578		return gls, err
51579	case string(TypeGoogleBigQuery):
51580		var gbqls GoogleBigQueryLinkedService
51581		err := json.Unmarshal(body, &gbqls)
51582		return gbqls, err
51583	case string(TypeEloqua):
51584		var els EloquaLinkedService
51585		err := json.Unmarshal(body, &els)
51586		return els, err
51587	case string(TypeDrill):
51588		var dls DrillLinkedService
51589		err := json.Unmarshal(body, &dls)
51590		return dls, err
51591	case string(TypeCouchbase):
51592		var cls CouchbaseLinkedService
51593		err := json.Unmarshal(body, &cls)
51594		return cls, err
51595	case string(TypeConcur):
51596		var cls ConcurLinkedService
51597		err := json.Unmarshal(body, &cls)
51598		return cls, err
51599	case string(TypeAzurePostgreSQL):
51600		var apsls AzurePostgreSQLLinkedService
51601		err := json.Unmarshal(body, &apsls)
51602		return apsls, err
51603	case string(TypeAmazonMWS):
51604		var amls AmazonMWSLinkedService
51605		err := json.Unmarshal(body, &amls)
51606		return amls, err
51607	case string(TypeSapHana):
51608		var shls SapHanaLinkedService
51609		err := json.Unmarshal(body, &shls)
51610		return shls, err
51611	case string(TypeSapBW):
51612		var sbls SapBWLinkedService
51613		err := json.Unmarshal(body, &sbls)
51614		return sbls, err
51615	case string(TypeSftp):
51616		var ssls SftpServerLinkedService
51617		err := json.Unmarshal(body, &ssls)
51618		return ssls, err
51619	case string(TypeFtpServer):
51620		var fsls FtpServerLinkedService
51621		err := json.Unmarshal(body, &fsls)
51622		return fsls, err
51623	case string(TypeHTTPServer):
51624		var hls HTTPLinkedService
51625		err := json.Unmarshal(body, &hls)
51626		return hls, err
51627	case string(TypeAzureSearch):
51628		var asls AzureSearchLinkedService
51629		err := json.Unmarshal(body, &asls)
51630		return asls, err
51631	case string(TypeCustomDataSource):
51632		var cdsls CustomDataSourceLinkedService
51633		err := json.Unmarshal(body, &cdsls)
51634		return cdsls, err
51635	case string(TypeAmazonRedshift):
51636		var arls AmazonRedshiftLinkedService
51637		err := json.Unmarshal(body, &arls)
51638		return arls, err
51639	case string(TypeAmazonS3):
51640		var asls AmazonS3LinkedService
51641		err := json.Unmarshal(body, &asls)
51642		return asls, err
51643	case string(TypeSapEcc):
51644		var sels SapEccLinkedService
51645		err := json.Unmarshal(body, &sels)
51646		return sels, err
51647	case string(TypeSapCloudForCustomer):
51648		var scfcls SapCloudForCustomerLinkedService
51649		err := json.Unmarshal(body, &scfcls)
51650		return scfcls, err
51651	case string(TypeSalesforce):
51652		var sls SalesforceLinkedService
51653		err := json.Unmarshal(body, &sls)
51654		return sls, err
51655	case string(TypeAzureDataLakeStore):
51656		var adlsls AzureDataLakeStoreLinkedService
51657		err := json.Unmarshal(body, &adlsls)
51658		return adlsls, err
51659	case string(TypeMongoDb):
51660		var mdls MongoDbLinkedService
51661		err := json.Unmarshal(body, &mdls)
51662		return mdls, err
51663	case string(TypeCassandra):
51664		var cls CassandraLinkedService
51665		err := json.Unmarshal(body, &cls)
51666		return cls, err
51667	case string(TypeWeb):
51668		var wls WebLinkedService
51669		err := json.Unmarshal(body, &wls)
51670		return wls, err
51671	case string(TypeOData):
51672		var odls ODataLinkedService
51673		err := json.Unmarshal(body, &odls)
51674		return odls, err
51675	case string(TypeHdfs):
51676		var hls HdfsLinkedService
51677		err := json.Unmarshal(body, &hls)
51678		return hls, err
51679	case string(TypeOdbc):
51680		var ols OdbcLinkedService
51681		err := json.Unmarshal(body, &ols)
51682		return ols, err
51683	case string(TypeAzureML):
51684		var amls AzureMLLinkedService
51685		err := json.Unmarshal(body, &amls)
51686		return amls, err
51687	case string(TypeTeradata):
51688		var TLSVar TeradataLinkedService
51689		err := json.Unmarshal(body, &TLSVar)
51690		return TLSVar, err
51691	case string(TypeDb2):
51692		var d2ls Db2LinkedService
51693		err := json.Unmarshal(body, &d2ls)
51694		return d2ls, err
51695	case string(TypeSybase):
51696		var sls SybaseLinkedService
51697		err := json.Unmarshal(body, &sls)
51698		return sls, err
51699	case string(TypePostgreSQL):
51700		var psls PostgreSQLLinkedService
51701		err := json.Unmarshal(body, &psls)
51702		return psls, err
51703	case string(TypeMySQL):
51704		var msls MySQLLinkedService
51705		err := json.Unmarshal(body, &msls)
51706		return msls, err
51707	case string(TypeAzureMySQL):
51708		var amsls AzureMySQLLinkedService
51709		err := json.Unmarshal(body, &amsls)
51710		return amsls, err
51711	case string(TypeOracle):
51712		var ols OracleLinkedService
51713		err := json.Unmarshal(body, &ols)
51714		return ols, err
51715	case string(TypeFileServer):
51716		var fsls FileServerLinkedService
51717		err := json.Unmarshal(body, &fsls)
51718		return fsls, err
51719	case string(TypeHDInsight):
51720		var hils HDInsightLinkedService
51721		err := json.Unmarshal(body, &hils)
51722		return hils, err
51723	case string(TypeDynamics):
51724		var dls DynamicsLinkedService
51725		err := json.Unmarshal(body, &dls)
51726		return dls, err
51727	case string(TypeCosmosDb):
51728		var cdls CosmosDbLinkedService
51729		err := json.Unmarshal(body, &cdls)
51730		return cdls, err
51731	case string(TypeAzureKeyVault):
51732		var akvls AzureKeyVaultLinkedService
51733		err := json.Unmarshal(body, &akvls)
51734		return akvls, err
51735	case string(TypeAzureBatch):
51736		var abls AzureBatchLinkedService
51737		err := json.Unmarshal(body, &abls)
51738		return abls, err
51739	case string(TypeAzureSQLDatabase):
51740		var asdls AzureSQLDatabaseLinkedService
51741		err := json.Unmarshal(body, &asdls)
51742		return asdls, err
51743	case string(TypeSQLServer):
51744		var ssls SQLServerLinkedService
51745		err := json.Unmarshal(body, &ssls)
51746		return ssls, err
51747	case string(TypeAzureSQLDW):
51748		var asdls AzureSQLDWLinkedService
51749		err := json.Unmarshal(body, &asdls)
51750		return asdls, err
51751	case string(TypeAzureStorage):
51752		var asls AzureStorageLinkedService
51753		err := json.Unmarshal(body, &asls)
51754		return asls, err
51755	default:
51756		var ls LinkedService
51757		err := json.Unmarshal(body, &ls)
51758		return ls, err
51759	}
51760}
51761func unmarshalBasicLinkedServiceArray(body []byte) ([]BasicLinkedService, error) {
51762	var rawMessages []*json.RawMessage
51763	err := json.Unmarshal(body, &rawMessages)
51764	if err != nil {
51765		return nil, err
51766	}
51767
51768	lsArray := make([]BasicLinkedService, len(rawMessages))
51769
51770	for index, rawMessage := range rawMessages {
51771		ls, err := unmarshalBasicLinkedService(*rawMessage)
51772		if err != nil {
51773			return nil, err
51774		}
51775		lsArray[index] = ls
51776	}
51777	return lsArray, nil
51778}
51779
51780// MarshalJSON is the custom marshaler for LinkedService.
51781func (ls LinkedService) MarshalJSON() ([]byte, error) {
51782	ls.Type = TypeLinkedService
51783	objectMap := make(map[string]interface{})
51784	if ls.ConnectVia != nil {
51785		objectMap["connectVia"] = ls.ConnectVia
51786	}
51787	if ls.Description != nil {
51788		objectMap["description"] = ls.Description
51789	}
51790	if ls.Parameters != nil {
51791		objectMap["parameters"] = ls.Parameters
51792	}
51793	if ls.Annotations != nil {
51794		objectMap["annotations"] = ls.Annotations
51795	}
51796	if ls.Type != "" {
51797		objectMap["type"] = ls.Type
51798	}
51799	for k, v := range ls.AdditionalProperties {
51800		objectMap[k] = v
51801	}
51802	return json.Marshal(objectMap)
51803}
51804
51805// AsResponsysLinkedService is the BasicLinkedService implementation for LinkedService.
51806func (ls LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
51807	return nil, false
51808}
51809
51810// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService.
51811func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
51812	return nil, false
51813}
51814
51815// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService.
51816func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
51817	return nil, false
51818}
51819
51820// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for LinkedService.
51821func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
51822	return nil, false
51823}
51824
51825// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for LinkedService.
51826func (ls LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
51827	return nil, false
51828}
51829
51830// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService.
51831func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
51832	return nil, false
51833}
51834
51835// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService.
51836func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
51837	return nil, false
51838}
51839
51840// AsZohoLinkedService is the BasicLinkedService implementation for LinkedService.
51841func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
51842	return nil, false
51843}
51844
51845// AsXeroLinkedService is the BasicLinkedService implementation for LinkedService.
51846func (ls LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
51847	return nil, false
51848}
51849
51850// AsSquareLinkedService is the BasicLinkedService implementation for LinkedService.
51851func (ls LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
51852	return nil, false
51853}
51854
51855// AsSparkLinkedService is the BasicLinkedService implementation for LinkedService.
51856func (ls LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
51857	return nil, false
51858}
51859
51860// AsShopifyLinkedService is the BasicLinkedService implementation for LinkedService.
51861func (ls LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
51862	return nil, false
51863}
51864
51865// AsServiceNowLinkedService is the BasicLinkedService implementation for LinkedService.
51866func (ls LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
51867	return nil, false
51868}
51869
51870// AsQuickBooksLinkedService is the BasicLinkedService implementation for LinkedService.
51871func (ls LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
51872	return nil, false
51873}
51874
51875// AsPrestoLinkedService is the BasicLinkedService implementation for LinkedService.
51876func (ls LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
51877	return nil, false
51878}
51879
51880// AsPhoenixLinkedService is the BasicLinkedService implementation for LinkedService.
51881func (ls LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
51882	return nil, false
51883}
51884
51885// AsPaypalLinkedService is the BasicLinkedService implementation for LinkedService.
51886func (ls LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
51887	return nil, false
51888}
51889
51890// AsMarketoLinkedService is the BasicLinkedService implementation for LinkedService.
51891func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
51892	return nil, false
51893}
51894
51895// AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService.
51896func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
51897	return nil, false
51898}
51899
51900// AsMagentoLinkedService is the BasicLinkedService implementation for LinkedService.
51901func (ls LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
51902	return nil, false
51903}
51904
51905// AsJiraLinkedService is the BasicLinkedService implementation for LinkedService.
51906func (ls LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
51907	return nil, false
51908}
51909
51910// AsImpalaLinkedService is the BasicLinkedService implementation for LinkedService.
51911func (ls LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
51912	return nil, false
51913}
51914
51915// AsHubspotLinkedService is the BasicLinkedService implementation for LinkedService.
51916func (ls LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
51917	return nil, false
51918}
51919
51920// AsHiveLinkedService is the BasicLinkedService implementation for LinkedService.
51921func (ls LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
51922	return nil, false
51923}
51924
51925// AsHBaseLinkedService is the BasicLinkedService implementation for LinkedService.
51926func (ls LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
51927	return nil, false
51928}
51929
51930// AsGreenplumLinkedService is the BasicLinkedService implementation for LinkedService.
51931func (ls LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
51932	return nil, false
51933}
51934
51935// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for LinkedService.
51936func (ls LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
51937	return nil, false
51938}
51939
51940// AsEloquaLinkedService is the BasicLinkedService implementation for LinkedService.
51941func (ls LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
51942	return nil, false
51943}
51944
51945// AsDrillLinkedService is the BasicLinkedService implementation for LinkedService.
51946func (ls LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
51947	return nil, false
51948}
51949
51950// AsCouchbaseLinkedService is the BasicLinkedService implementation for LinkedService.
51951func (ls LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
51952	return nil, false
51953}
51954
51955// AsConcurLinkedService is the BasicLinkedService implementation for LinkedService.
51956func (ls LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
51957	return nil, false
51958}
51959
51960// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
51961func (ls LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
51962	return nil, false
51963}
51964
51965// AsAmazonMWSLinkedService is the BasicLinkedService implementation for LinkedService.
51966func (ls LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
51967	return nil, false
51968}
51969
51970// AsSapHanaLinkedService is the BasicLinkedService implementation for LinkedService.
51971func (ls LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
51972	return nil, false
51973}
51974
51975// AsSapBWLinkedService is the BasicLinkedService implementation for LinkedService.
51976func (ls LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
51977	return nil, false
51978}
51979
51980// AsSftpServerLinkedService is the BasicLinkedService implementation for LinkedService.
51981func (ls LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
51982	return nil, false
51983}
51984
51985// AsFtpServerLinkedService is the BasicLinkedService implementation for LinkedService.
51986func (ls LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
51987	return nil, false
51988}
51989
51990// AsHTTPLinkedService is the BasicLinkedService implementation for LinkedService.
51991func (ls LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
51992	return nil, false
51993}
51994
51995// AsAzureSearchLinkedService is the BasicLinkedService implementation for LinkedService.
51996func (ls LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
51997	return nil, false
51998}
51999
52000// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for LinkedService.
52001func (ls LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
52002	return nil, false
52003}
52004
52005// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for LinkedService.
52006func (ls LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
52007	return nil, false
52008}
52009
52010// AsAmazonS3LinkedService is the BasicLinkedService implementation for LinkedService.
52011func (ls LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
52012	return nil, false
52013}
52014
52015// AsSapEccLinkedService is the BasicLinkedService implementation for LinkedService.
52016func (ls LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
52017	return nil, false
52018}
52019
52020// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for LinkedService.
52021func (ls LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
52022	return nil, false
52023}
52024
52025// AsSalesforceLinkedService is the BasicLinkedService implementation for LinkedService.
52026func (ls LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
52027	return nil, false
52028}
52029
52030// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for LinkedService.
52031func (ls LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
52032	return nil, false
52033}
52034
52035// AsMongoDbLinkedService is the BasicLinkedService implementation for LinkedService.
52036func (ls LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
52037	return nil, false
52038}
52039
52040// AsCassandraLinkedService is the BasicLinkedService implementation for LinkedService.
52041func (ls LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
52042	return nil, false
52043}
52044
52045// AsWebLinkedService is the BasicLinkedService implementation for LinkedService.
52046func (ls LinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
52047	return nil, false
52048}
52049
52050// AsODataLinkedService is the BasicLinkedService implementation for LinkedService.
52051func (ls LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
52052	return nil, false
52053}
52054
52055// AsHdfsLinkedService is the BasicLinkedService implementation for LinkedService.
52056func (ls LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
52057	return nil, false
52058}
52059
52060// AsOdbcLinkedService is the BasicLinkedService implementation for LinkedService.
52061func (ls LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
52062	return nil, false
52063}
52064
52065// AsAzureMLLinkedService is the BasicLinkedService implementation for LinkedService.
52066func (ls LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
52067	return nil, false
52068}
52069
52070// AsTeradataLinkedService is the BasicLinkedService implementation for LinkedService.
52071func (ls LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
52072	return nil, false
52073}
52074
52075// AsDb2LinkedService is the BasicLinkedService implementation for LinkedService.
52076func (ls LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
52077	return nil, false
52078}
52079
52080// AsSybaseLinkedService is the BasicLinkedService implementation for LinkedService.
52081func (ls LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
52082	return nil, false
52083}
52084
52085// AsPostgreSQLLinkedService is the BasicLinkedService implementation for LinkedService.
52086func (ls LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
52087	return nil, false
52088}
52089
52090// AsMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
52091func (ls LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
52092	return nil, false
52093}
52094
52095// AsAzureMySQLLinkedService is the BasicLinkedService implementation for LinkedService.
52096func (ls LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
52097	return nil, false
52098}
52099
52100// AsOracleLinkedService is the BasicLinkedService implementation for LinkedService.
52101func (ls LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
52102	return nil, false
52103}
52104
52105// AsFileServerLinkedService is the BasicLinkedService implementation for LinkedService.
52106func (ls LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
52107	return nil, false
52108}
52109
52110// AsHDInsightLinkedService is the BasicLinkedService implementation for LinkedService.
52111func (ls LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
52112	return nil, false
52113}
52114
52115// AsDynamicsLinkedService is the BasicLinkedService implementation for LinkedService.
52116func (ls LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
52117	return nil, false
52118}
52119
52120// AsCosmosDbLinkedService is the BasicLinkedService implementation for LinkedService.
52121func (ls LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
52122	return nil, false
52123}
52124
52125// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for LinkedService.
52126func (ls LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
52127	return nil, false
52128}
52129
52130// AsAzureBatchLinkedService is the BasicLinkedService implementation for LinkedService.
52131func (ls LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
52132	return nil, false
52133}
52134
52135// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for LinkedService.
52136func (ls LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
52137	return nil, false
52138}
52139
52140// AsSQLServerLinkedService is the BasicLinkedService implementation for LinkedService.
52141func (ls LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
52142	return nil, false
52143}
52144
52145// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for LinkedService.
52146func (ls LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
52147	return nil, false
52148}
52149
52150// AsAzureStorageLinkedService is the BasicLinkedService implementation for LinkedService.
52151func (ls LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
52152	return nil, false
52153}
52154
52155// AsLinkedService is the BasicLinkedService implementation for LinkedService.
52156func (ls LinkedService) AsLinkedService() (*LinkedService, bool) {
52157	return &ls, true
52158}
52159
52160// AsBasicLinkedService is the BasicLinkedService implementation for LinkedService.
52161func (ls LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
52162	return &ls, true
52163}
52164
52165// LinkedServiceListResponse a list of linked service resources.
52166type LinkedServiceListResponse struct {
52167	autorest.Response `json:"-"`
52168	// Value - List of linked services.
52169	Value *[]LinkedServiceResource `json:"value,omitempty"`
52170	// NextLink - The link to the next page of results, if any remaining results exist.
52171	NextLink *string `json:"nextLink,omitempty"`
52172}
52173
52174// LinkedServiceListResponseIterator provides access to a complete listing of LinkedServiceResource values.
52175type LinkedServiceListResponseIterator struct {
52176	i    int
52177	page LinkedServiceListResponsePage
52178}
52179
52180// Next advances to the next value.  If there was an error making
52181// the request the iterator does not advance and the error is returned.
52182func (iter *LinkedServiceListResponseIterator) Next() error {
52183	iter.i++
52184	if iter.i < len(iter.page.Values()) {
52185		return nil
52186	}
52187	err := iter.page.Next()
52188	if err != nil {
52189		iter.i--
52190		return err
52191	}
52192	iter.i = 0
52193	return nil
52194}
52195
52196// NotDone returns true if the enumeration should be started or is not yet complete.
52197func (iter LinkedServiceListResponseIterator) NotDone() bool {
52198	return iter.page.NotDone() && iter.i < len(iter.page.Values())
52199}
52200
52201// Response returns the raw server response from the last page request.
52202func (iter LinkedServiceListResponseIterator) Response() LinkedServiceListResponse {
52203	return iter.page.Response()
52204}
52205
52206// Value returns the current value or a zero-initialized value if the
52207// iterator has advanced beyond the end of the collection.
52208func (iter LinkedServiceListResponseIterator) Value() LinkedServiceResource {
52209	if !iter.page.NotDone() {
52210		return LinkedServiceResource{}
52211	}
52212	return iter.page.Values()[iter.i]
52213}
52214
52215// IsEmpty returns true if the ListResult contains no values.
52216func (lslr LinkedServiceListResponse) IsEmpty() bool {
52217	return lslr.Value == nil || len(*lslr.Value) == 0
52218}
52219
52220// linkedServiceListResponsePreparer prepares a request to retrieve the next set of results.
52221// It returns nil if no more results exist.
52222func (lslr LinkedServiceListResponse) linkedServiceListResponsePreparer() (*http.Request, error) {
52223	if lslr.NextLink == nil || len(to.String(lslr.NextLink)) < 1 {
52224		return nil, nil
52225	}
52226	return autorest.Prepare(&http.Request{},
52227		autorest.AsJSON(),
52228		autorest.AsGet(),
52229		autorest.WithBaseURL(to.String(lslr.NextLink)))
52230}
52231
52232// LinkedServiceListResponsePage contains a page of LinkedServiceResource values.
52233type LinkedServiceListResponsePage struct {
52234	fn   func(LinkedServiceListResponse) (LinkedServiceListResponse, error)
52235	lslr LinkedServiceListResponse
52236}
52237
52238// Next advances to the next page of values.  If there was an error making
52239// the request the page does not advance and the error is returned.
52240func (page *LinkedServiceListResponsePage) Next() error {
52241	next, err := page.fn(page.lslr)
52242	if err != nil {
52243		return err
52244	}
52245	page.lslr = next
52246	return nil
52247}
52248
52249// NotDone returns true if the page enumeration should be started or is not yet complete.
52250func (page LinkedServiceListResponsePage) NotDone() bool {
52251	return !page.lslr.IsEmpty()
52252}
52253
52254// Response returns the raw server response from the last page request.
52255func (page LinkedServiceListResponsePage) Response() LinkedServiceListResponse {
52256	return page.lslr
52257}
52258
52259// Values returns the slice of values for the current page or nil if there are no values.
52260func (page LinkedServiceListResponsePage) Values() []LinkedServiceResource {
52261	if page.lslr.IsEmpty() {
52262		return nil
52263	}
52264	return *page.lslr.Value
52265}
52266
52267// LinkedServiceReference linked service reference type.
52268type LinkedServiceReference struct {
52269	// Type - Linked service reference type.
52270	Type *string `json:"type,omitempty"`
52271	// ReferenceName - Reference LinkedService name.
52272	ReferenceName *string `json:"referenceName,omitempty"`
52273	// Parameters - Arguments for LinkedService.
52274	Parameters map[string]interface{} `json:"parameters"`
52275}
52276
52277// MarshalJSON is the custom marshaler for LinkedServiceReference.
52278func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) {
52279	objectMap := make(map[string]interface{})
52280	if lsr.Type != nil {
52281		objectMap["type"] = lsr.Type
52282	}
52283	if lsr.ReferenceName != nil {
52284		objectMap["referenceName"] = lsr.ReferenceName
52285	}
52286	if lsr.Parameters != nil {
52287		objectMap["parameters"] = lsr.Parameters
52288	}
52289	return json.Marshal(objectMap)
52290}
52291
52292// LinkedServiceResource linked service resource type.
52293type LinkedServiceResource struct {
52294	autorest.Response `json:"-"`
52295	// Properties - Properties of linked service.
52296	Properties BasicLinkedService `json:"properties,omitempty"`
52297	// ID - The resource identifier.
52298	ID *string `json:"id,omitempty"`
52299	// Name - The resource name.
52300	Name *string `json:"name,omitempty"`
52301	// Type - The resource type.
52302	Type *string `json:"type,omitempty"`
52303	// Etag - Etag identifies change in the resource.
52304	Etag *string `json:"etag,omitempty"`
52305}
52306
52307// UnmarshalJSON is the custom unmarshaler for LinkedServiceResource struct.
52308func (lsr *LinkedServiceResource) UnmarshalJSON(body []byte) error {
52309	var m map[string]*json.RawMessage
52310	err := json.Unmarshal(body, &m)
52311	if err != nil {
52312		return err
52313	}
52314	for k, v := range m {
52315		switch k {
52316		case "properties":
52317			if v != nil {
52318				properties, err := unmarshalBasicLinkedService(*v)
52319				if err != nil {
52320					return err
52321				}
52322				lsr.Properties = properties
52323			}
52324		case "id":
52325			if v != nil {
52326				var ID string
52327				err = json.Unmarshal(*v, &ID)
52328				if err != nil {
52329					return err
52330				}
52331				lsr.ID = &ID
52332			}
52333		case "name":
52334			if v != nil {
52335				var name string
52336				err = json.Unmarshal(*v, &name)
52337				if err != nil {
52338					return err
52339				}
52340				lsr.Name = &name
52341			}
52342		case "type":
52343			if v != nil {
52344				var typeVar string
52345				err = json.Unmarshal(*v, &typeVar)
52346				if err != nil {
52347					return err
52348				}
52349				lsr.Type = &typeVar
52350			}
52351		case "etag":
52352			if v != nil {
52353				var etag string
52354				err = json.Unmarshal(*v, &etag)
52355				if err != nil {
52356					return err
52357				}
52358				lsr.Etag = &etag
52359			}
52360		}
52361	}
52362
52363	return nil
52364}
52365
52366// LookupActivity lookup activity.
52367type LookupActivity struct {
52368	// LookupActivityTypeProperties - Lookup activity properties.
52369	*LookupActivityTypeProperties `json:"typeProperties,omitempty"`
52370	// LinkedServiceName - Linked service reference.
52371	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
52372	// Policy - Activity policy.
52373	Policy *ActivityPolicy `json:"policy,omitempty"`
52374	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
52375	AdditionalProperties map[string]interface{} `json:""`
52376	// Name - Activity name.
52377	Name *string `json:"name,omitempty"`
52378	// Description - Activity description.
52379	Description *string `json:"description,omitempty"`
52380	// DependsOn - Activity depends on condition.
52381	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
52382	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
52383	Type TypeBasicActivity `json:"type,omitempty"`
52384}
52385
52386// MarshalJSON is the custom marshaler for LookupActivity.
52387func (la LookupActivity) MarshalJSON() ([]byte, error) {
52388	la.Type = TypeLookup
52389	objectMap := make(map[string]interface{})
52390	if la.LookupActivityTypeProperties != nil {
52391		objectMap["typeProperties"] = la.LookupActivityTypeProperties
52392	}
52393	if la.LinkedServiceName != nil {
52394		objectMap["linkedServiceName"] = la.LinkedServiceName
52395	}
52396	if la.Policy != nil {
52397		objectMap["policy"] = la.Policy
52398	}
52399	if la.Name != nil {
52400		objectMap["name"] = la.Name
52401	}
52402	if la.Description != nil {
52403		objectMap["description"] = la.Description
52404	}
52405	if la.DependsOn != nil {
52406		objectMap["dependsOn"] = la.DependsOn
52407	}
52408	if la.Type != "" {
52409		objectMap["type"] = la.Type
52410	}
52411	for k, v := range la.AdditionalProperties {
52412		objectMap[k] = v
52413	}
52414	return json.Marshal(objectMap)
52415}
52416
52417// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity.
52418func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
52419	return nil, false
52420}
52421
52422// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity.
52423func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
52424	return nil, false
52425}
52426
52427// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for LookupActivity.
52428func (la LookupActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
52429	return nil, false
52430}
52431
52432// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for LookupActivity.
52433func (la LookupActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
52434	return nil, false
52435}
52436
52437// AsGetMetadataActivity is the BasicActivity implementation for LookupActivity.
52438func (la LookupActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
52439	return nil, false
52440}
52441
52442// AsWebActivity is the BasicActivity implementation for LookupActivity.
52443func (la LookupActivity) AsWebActivity() (*WebActivity, bool) {
52444	return nil, false
52445}
52446
52447// AsLookupActivity is the BasicActivity implementation for LookupActivity.
52448func (la LookupActivity) AsLookupActivity() (*LookupActivity, bool) {
52449	return &la, true
52450}
52451
52452// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for LookupActivity.
52453func (la LookupActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
52454	return nil, false
52455}
52456
52457// AsCustomActivity is the BasicActivity implementation for LookupActivity.
52458func (la LookupActivity) AsCustomActivity() (*CustomActivity, bool) {
52459	return nil, false
52460}
52461
52462// AsExecuteSSISPackageActivity is the BasicActivity implementation for LookupActivity.
52463func (la LookupActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
52464	return nil, false
52465}
52466
52467// AsHDInsightSparkActivity is the BasicActivity implementation for LookupActivity.
52468func (la LookupActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
52469	return nil, false
52470}
52471
52472// AsHDInsightStreamingActivity is the BasicActivity implementation for LookupActivity.
52473func (la LookupActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
52474	return nil, false
52475}
52476
52477// AsHDInsightMapReduceActivity is the BasicActivity implementation for LookupActivity.
52478func (la LookupActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
52479	return nil, false
52480}
52481
52482// AsHDInsightPigActivity is the BasicActivity implementation for LookupActivity.
52483func (la LookupActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
52484	return nil, false
52485}
52486
52487// AsHDInsightHiveActivity is the BasicActivity implementation for LookupActivity.
52488func (la LookupActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
52489	return nil, false
52490}
52491
52492// AsCopyActivity is the BasicActivity implementation for LookupActivity.
52493func (la LookupActivity) AsCopyActivity() (*CopyActivity, bool) {
52494	return nil, false
52495}
52496
52497// AsExecutionActivity is the BasicActivity implementation for LookupActivity.
52498func (la LookupActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
52499	return nil, false
52500}
52501
52502// AsBasicExecutionActivity is the BasicActivity implementation for LookupActivity.
52503func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
52504	return &la, true
52505}
52506
52507// AsFilterActivity is the BasicActivity implementation for LookupActivity.
52508func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) {
52509	return nil, false
52510}
52511
52512// AsUntilActivity is the BasicActivity implementation for LookupActivity.
52513func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) {
52514	return nil, false
52515}
52516
52517// AsWaitActivity is the BasicActivity implementation for LookupActivity.
52518func (la LookupActivity) AsWaitActivity() (*WaitActivity, bool) {
52519	return nil, false
52520}
52521
52522// AsForEachActivity is the BasicActivity implementation for LookupActivity.
52523func (la LookupActivity) AsForEachActivity() (*ForEachActivity, bool) {
52524	return nil, false
52525}
52526
52527// AsIfConditionActivity is the BasicActivity implementation for LookupActivity.
52528func (la LookupActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
52529	return nil, false
52530}
52531
52532// AsExecutePipelineActivity is the BasicActivity implementation for LookupActivity.
52533func (la LookupActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
52534	return nil, false
52535}
52536
52537// AsControlActivity is the BasicActivity implementation for LookupActivity.
52538func (la LookupActivity) AsControlActivity() (*ControlActivity, bool) {
52539	return nil, false
52540}
52541
52542// AsBasicControlActivity is the BasicActivity implementation for LookupActivity.
52543func (la LookupActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
52544	return nil, false
52545}
52546
52547// AsActivity is the BasicActivity implementation for LookupActivity.
52548func (la LookupActivity) AsActivity() (*Activity, bool) {
52549	return nil, false
52550}
52551
52552// AsBasicActivity is the BasicActivity implementation for LookupActivity.
52553func (la LookupActivity) AsBasicActivity() (BasicActivity, bool) {
52554	return &la, true
52555}
52556
52557// UnmarshalJSON is the custom unmarshaler for LookupActivity struct.
52558func (la *LookupActivity) UnmarshalJSON(body []byte) error {
52559	var m map[string]*json.RawMessage
52560	err := json.Unmarshal(body, &m)
52561	if err != nil {
52562		return err
52563	}
52564	for k, v := range m {
52565		switch k {
52566		case "typeProperties":
52567			if v != nil {
52568				var lookupActivityTypeProperties LookupActivityTypeProperties
52569				err = json.Unmarshal(*v, &lookupActivityTypeProperties)
52570				if err != nil {
52571					return err
52572				}
52573				la.LookupActivityTypeProperties = &lookupActivityTypeProperties
52574			}
52575		case "linkedServiceName":
52576			if v != nil {
52577				var linkedServiceName LinkedServiceReference
52578				err = json.Unmarshal(*v, &linkedServiceName)
52579				if err != nil {
52580					return err
52581				}
52582				la.LinkedServiceName = &linkedServiceName
52583			}
52584		case "policy":
52585			if v != nil {
52586				var policy ActivityPolicy
52587				err = json.Unmarshal(*v, &policy)
52588				if err != nil {
52589					return err
52590				}
52591				la.Policy = &policy
52592			}
52593		default:
52594			if v != nil {
52595				var additionalProperties interface{}
52596				err = json.Unmarshal(*v, &additionalProperties)
52597				if err != nil {
52598					return err
52599				}
52600				if la.AdditionalProperties == nil {
52601					la.AdditionalProperties = make(map[string]interface{})
52602				}
52603				la.AdditionalProperties[k] = additionalProperties
52604			}
52605		case "name":
52606			if v != nil {
52607				var name string
52608				err = json.Unmarshal(*v, &name)
52609				if err != nil {
52610					return err
52611				}
52612				la.Name = &name
52613			}
52614		case "description":
52615			if v != nil {
52616				var description string
52617				err = json.Unmarshal(*v, &description)
52618				if err != nil {
52619					return err
52620				}
52621				la.Description = &description
52622			}
52623		case "dependsOn":
52624			if v != nil {
52625				var dependsOn []ActivityDependency
52626				err = json.Unmarshal(*v, &dependsOn)
52627				if err != nil {
52628					return err
52629				}
52630				la.DependsOn = &dependsOn
52631			}
52632		case "type":
52633			if v != nil {
52634				var typeVar TypeBasicActivity
52635				err = json.Unmarshal(*v, &typeVar)
52636				if err != nil {
52637					return err
52638				}
52639				la.Type = typeVar
52640			}
52641		}
52642	}
52643
52644	return nil
52645}
52646
52647// LookupActivityTypeProperties lookup activity properties.
52648type LookupActivityTypeProperties struct {
52649	// Source - Dataset-specific source properties, same as copy activity source.
52650	Source BasicCopySource `json:"source,omitempty"`
52651	// Dataset - Lookup activity dataset reference.
52652	Dataset *DatasetReference `json:"dataset,omitempty"`
52653	// FirstRowOnly - Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean).
52654	FirstRowOnly interface{} `json:"firstRowOnly,omitempty"`
52655}
52656
52657// UnmarshalJSON is the custom unmarshaler for LookupActivityTypeProperties struct.
52658func (latp *LookupActivityTypeProperties) UnmarshalJSON(body []byte) error {
52659	var m map[string]*json.RawMessage
52660	err := json.Unmarshal(body, &m)
52661	if err != nil {
52662		return err
52663	}
52664	for k, v := range m {
52665		switch k {
52666		case "source":
52667			if v != nil {
52668				source, err := unmarshalBasicCopySource(*v)
52669				if err != nil {
52670					return err
52671				}
52672				latp.Source = source
52673			}
52674		case "dataset":
52675			if v != nil {
52676				var dataset DatasetReference
52677				err = json.Unmarshal(*v, &dataset)
52678				if err != nil {
52679					return err
52680				}
52681				latp.Dataset = &dataset
52682			}
52683		case "firstRowOnly":
52684			if v != nil {
52685				var firstRowOnly interface{}
52686				err = json.Unmarshal(*v, &firstRowOnly)
52687				if err != nil {
52688					return err
52689				}
52690				latp.FirstRowOnly = firstRowOnly
52691			}
52692		}
52693	}
52694
52695	return nil
52696}
52697
52698// MagentoLinkedService magento server linked service.
52699type MagentoLinkedService struct {
52700	// MagentoLinkedServiceTypeProperties - Magento server linked service properties.
52701	*MagentoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
52702	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
52703	AdditionalProperties map[string]interface{} `json:""`
52704	// ConnectVia - The integration runtime reference.
52705	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
52706	// Description - Linked service description.
52707	Description *string `json:"description,omitempty"`
52708	// Parameters - Parameters for linked service.
52709	Parameters map[string]*ParameterSpecification `json:"parameters"`
52710	// Annotations - List of tags that can be used for describing the Dataset.
52711	Annotations *[]interface{} `json:"annotations,omitempty"`
52712	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
52713	Type TypeBasicLinkedService `json:"type,omitempty"`
52714}
52715
52716// MarshalJSON is the custom marshaler for MagentoLinkedService.
52717func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) {
52718	mls.Type = TypeMagento
52719	objectMap := make(map[string]interface{})
52720	if mls.MagentoLinkedServiceTypeProperties != nil {
52721		objectMap["typeProperties"] = mls.MagentoLinkedServiceTypeProperties
52722	}
52723	if mls.ConnectVia != nil {
52724		objectMap["connectVia"] = mls.ConnectVia
52725	}
52726	if mls.Description != nil {
52727		objectMap["description"] = mls.Description
52728	}
52729	if mls.Parameters != nil {
52730		objectMap["parameters"] = mls.Parameters
52731	}
52732	if mls.Annotations != nil {
52733		objectMap["annotations"] = mls.Annotations
52734	}
52735	if mls.Type != "" {
52736		objectMap["type"] = mls.Type
52737	}
52738	for k, v := range mls.AdditionalProperties {
52739		objectMap[k] = v
52740	}
52741	return json.Marshal(objectMap)
52742}
52743
52744// AsResponsysLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52745func (mls MagentoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
52746	return nil, false
52747}
52748
52749// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52750func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
52751	return nil, false
52752}
52753
52754// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52755func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
52756	return nil, false
52757}
52758
52759// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52760func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
52761	return nil, false
52762}
52763
52764// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52765func (mls MagentoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
52766	return nil, false
52767}
52768
52769// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52770func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
52771	return nil, false
52772}
52773
52774// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52775func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
52776	return nil, false
52777}
52778
52779// AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52780func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
52781	return nil, false
52782}
52783
52784// AsXeroLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52785func (mls MagentoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
52786	return nil, false
52787}
52788
52789// AsSquareLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52790func (mls MagentoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
52791	return nil, false
52792}
52793
52794// AsSparkLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52795func (mls MagentoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
52796	return nil, false
52797}
52798
52799// AsShopifyLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52800func (mls MagentoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
52801	return nil, false
52802}
52803
52804// AsServiceNowLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52805func (mls MagentoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
52806	return nil, false
52807}
52808
52809// AsQuickBooksLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52810func (mls MagentoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
52811	return nil, false
52812}
52813
52814// AsPrestoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52815func (mls MagentoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
52816	return nil, false
52817}
52818
52819// AsPhoenixLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52820func (mls MagentoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
52821	return nil, false
52822}
52823
52824// AsPaypalLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52825func (mls MagentoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
52826	return nil, false
52827}
52828
52829// AsMarketoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52830func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
52831	return nil, false
52832}
52833
52834// AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52835func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
52836	return nil, false
52837}
52838
52839// AsMagentoLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52840func (mls MagentoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
52841	return &mls, true
52842}
52843
52844// AsJiraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52845func (mls MagentoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
52846	return nil, false
52847}
52848
52849// AsImpalaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52850func (mls MagentoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
52851	return nil, false
52852}
52853
52854// AsHubspotLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52855func (mls MagentoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
52856	return nil, false
52857}
52858
52859// AsHiveLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52860func (mls MagentoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
52861	return nil, false
52862}
52863
52864// AsHBaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52865func (mls MagentoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
52866	return nil, false
52867}
52868
52869// AsGreenplumLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52870func (mls MagentoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
52871	return nil, false
52872}
52873
52874// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52875func (mls MagentoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
52876	return nil, false
52877}
52878
52879// AsEloquaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52880func (mls MagentoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
52881	return nil, false
52882}
52883
52884// AsDrillLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52885func (mls MagentoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
52886	return nil, false
52887}
52888
52889// AsCouchbaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52890func (mls MagentoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
52891	return nil, false
52892}
52893
52894// AsConcurLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52895func (mls MagentoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
52896	return nil, false
52897}
52898
52899// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52900func (mls MagentoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
52901	return nil, false
52902}
52903
52904// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52905func (mls MagentoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
52906	return nil, false
52907}
52908
52909// AsSapHanaLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52910func (mls MagentoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
52911	return nil, false
52912}
52913
52914// AsSapBWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52915func (mls MagentoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
52916	return nil, false
52917}
52918
52919// AsSftpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52920func (mls MagentoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
52921	return nil, false
52922}
52923
52924// AsFtpServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52925func (mls MagentoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
52926	return nil, false
52927}
52928
52929// AsHTTPLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52930func (mls MagentoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
52931	return nil, false
52932}
52933
52934// AsAzureSearchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52935func (mls MagentoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
52936	return nil, false
52937}
52938
52939// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52940func (mls MagentoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
52941	return nil, false
52942}
52943
52944// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52945func (mls MagentoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
52946	return nil, false
52947}
52948
52949// AsAmazonS3LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52950func (mls MagentoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
52951	return nil, false
52952}
52953
52954// AsSapEccLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52955func (mls MagentoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
52956	return nil, false
52957}
52958
52959// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52960func (mls MagentoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
52961	return nil, false
52962}
52963
52964// AsSalesforceLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52965func (mls MagentoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
52966	return nil, false
52967}
52968
52969// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52970func (mls MagentoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
52971	return nil, false
52972}
52973
52974// AsMongoDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52975func (mls MagentoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
52976	return nil, false
52977}
52978
52979// AsCassandraLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52980func (mls MagentoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
52981	return nil, false
52982}
52983
52984// AsWebLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52985func (mls MagentoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
52986	return nil, false
52987}
52988
52989// AsODataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52990func (mls MagentoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
52991	return nil, false
52992}
52993
52994// AsHdfsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
52995func (mls MagentoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
52996	return nil, false
52997}
52998
52999// AsOdbcLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53000func (mls MagentoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
53001	return nil, false
53002}
53003
53004// AsAzureMLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53005func (mls MagentoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
53006	return nil, false
53007}
53008
53009// AsTeradataLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53010func (mls MagentoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
53011	return nil, false
53012}
53013
53014// AsDb2LinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53015func (mls MagentoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
53016	return nil, false
53017}
53018
53019// AsSybaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53020func (mls MagentoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
53021	return nil, false
53022}
53023
53024// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53025func (mls MagentoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
53026	return nil, false
53027}
53028
53029// AsMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53030func (mls MagentoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
53031	return nil, false
53032}
53033
53034// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53035func (mls MagentoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
53036	return nil, false
53037}
53038
53039// AsOracleLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53040func (mls MagentoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
53041	return nil, false
53042}
53043
53044// AsFileServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53045func (mls MagentoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
53046	return nil, false
53047}
53048
53049// AsHDInsightLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53050func (mls MagentoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
53051	return nil, false
53052}
53053
53054// AsDynamicsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53055func (mls MagentoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
53056	return nil, false
53057}
53058
53059// AsCosmosDbLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53060func (mls MagentoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
53061	return nil, false
53062}
53063
53064// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53065func (mls MagentoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
53066	return nil, false
53067}
53068
53069// AsAzureBatchLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53070func (mls MagentoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
53071	return nil, false
53072}
53073
53074// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53075func (mls MagentoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
53076	return nil, false
53077}
53078
53079// AsSQLServerLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53080func (mls MagentoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
53081	return nil, false
53082}
53083
53084// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53085func (mls MagentoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
53086	return nil, false
53087}
53088
53089// AsAzureStorageLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53090func (mls MagentoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
53091	return nil, false
53092}
53093
53094// AsLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53095func (mls MagentoLinkedService) AsLinkedService() (*LinkedService, bool) {
53096	return nil, false
53097}
53098
53099// AsBasicLinkedService is the BasicLinkedService implementation for MagentoLinkedService.
53100func (mls MagentoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
53101	return &mls, true
53102}
53103
53104// UnmarshalJSON is the custom unmarshaler for MagentoLinkedService struct.
53105func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error {
53106	var m map[string]*json.RawMessage
53107	err := json.Unmarshal(body, &m)
53108	if err != nil {
53109		return err
53110	}
53111	for k, v := range m {
53112		switch k {
53113		case "typeProperties":
53114			if v != nil {
53115				var magentoLinkedServiceTypeProperties MagentoLinkedServiceTypeProperties
53116				err = json.Unmarshal(*v, &magentoLinkedServiceTypeProperties)
53117				if err != nil {
53118					return err
53119				}
53120				mls.MagentoLinkedServiceTypeProperties = &magentoLinkedServiceTypeProperties
53121			}
53122		default:
53123			if v != nil {
53124				var additionalProperties interface{}
53125				err = json.Unmarshal(*v, &additionalProperties)
53126				if err != nil {
53127					return err
53128				}
53129				if mls.AdditionalProperties == nil {
53130					mls.AdditionalProperties = make(map[string]interface{})
53131				}
53132				mls.AdditionalProperties[k] = additionalProperties
53133			}
53134		case "connectVia":
53135			if v != nil {
53136				var connectVia IntegrationRuntimeReference
53137				err = json.Unmarshal(*v, &connectVia)
53138				if err != nil {
53139					return err
53140				}
53141				mls.ConnectVia = &connectVia
53142			}
53143		case "description":
53144			if v != nil {
53145				var description string
53146				err = json.Unmarshal(*v, &description)
53147				if err != nil {
53148					return err
53149				}
53150				mls.Description = &description
53151			}
53152		case "parameters":
53153			if v != nil {
53154				var parameters map[string]*ParameterSpecification
53155				err = json.Unmarshal(*v, &parameters)
53156				if err != nil {
53157					return err
53158				}
53159				mls.Parameters = parameters
53160			}
53161		case "annotations":
53162			if v != nil {
53163				var annotations []interface{}
53164				err = json.Unmarshal(*v, &annotations)
53165				if err != nil {
53166					return err
53167				}
53168				mls.Annotations = &annotations
53169			}
53170		case "type":
53171			if v != nil {
53172				var typeVar TypeBasicLinkedService
53173				err = json.Unmarshal(*v, &typeVar)
53174				if err != nil {
53175					return err
53176				}
53177				mls.Type = typeVar
53178			}
53179		}
53180	}
53181
53182	return nil
53183}
53184
53185// MagentoLinkedServiceTypeProperties magento server linked service properties.
53186type MagentoLinkedServiceTypeProperties struct {
53187	// Host - The URL of the Magento instance. (i.e. 192.168.222.110/magento3)
53188	Host interface{} `json:"host,omitempty"`
53189	// AccessToken - The access token from Magento.
53190	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
53191	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
53192	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
53193	// 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.
53194	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
53195	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
53196	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
53197	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
53198	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
53199}
53200
53201// UnmarshalJSON is the custom unmarshaler for MagentoLinkedServiceTypeProperties struct.
53202func (mlstp *MagentoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
53203	var m map[string]*json.RawMessage
53204	err := json.Unmarshal(body, &m)
53205	if err != nil {
53206		return err
53207	}
53208	for k, v := range m {
53209		switch k {
53210		case "host":
53211			if v != nil {
53212				var host interface{}
53213				err = json.Unmarshal(*v, &host)
53214				if err != nil {
53215					return err
53216				}
53217				mlstp.Host = host
53218			}
53219		case "accessToken":
53220			if v != nil {
53221				accessToken, err := unmarshalBasicSecretBase(*v)
53222				if err != nil {
53223					return err
53224				}
53225				mlstp.AccessToken = accessToken
53226			}
53227		case "useEncryptedEndpoints":
53228			if v != nil {
53229				var useEncryptedEndpoints interface{}
53230				err = json.Unmarshal(*v, &useEncryptedEndpoints)
53231				if err != nil {
53232					return err
53233				}
53234				mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
53235			}
53236		case "useHostVerification":
53237			if v != nil {
53238				var useHostVerification interface{}
53239				err = json.Unmarshal(*v, &useHostVerification)
53240				if err != nil {
53241					return err
53242				}
53243				mlstp.UseHostVerification = useHostVerification
53244			}
53245		case "usePeerVerification":
53246			if v != nil {
53247				var usePeerVerification interface{}
53248				err = json.Unmarshal(*v, &usePeerVerification)
53249				if err != nil {
53250					return err
53251				}
53252				mlstp.UsePeerVerification = usePeerVerification
53253			}
53254		case "encryptedCredential":
53255			if v != nil {
53256				var encryptedCredential interface{}
53257				err = json.Unmarshal(*v, &encryptedCredential)
53258				if err != nil {
53259					return err
53260				}
53261				mlstp.EncryptedCredential = encryptedCredential
53262			}
53263		}
53264	}
53265
53266	return nil
53267}
53268
53269// MagentoObjectDataset magento server dataset.
53270type MagentoObjectDataset struct {
53271	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
53272	AdditionalProperties map[string]interface{} `json:""`
53273	// Description - Dataset description.
53274	Description *string `json:"description,omitempty"`
53275	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
53276	Structure interface{} `json:"structure,omitempty"`
53277	// LinkedServiceName - Linked service reference.
53278	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
53279	// Parameters - Parameters for dataset.
53280	Parameters map[string]*ParameterSpecification `json:"parameters"`
53281	// Annotations - List of tags that can be used for describing the Dataset.
53282	Annotations *[]interface{} `json:"annotations,omitempty"`
53283	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
53284	Type TypeBasicDataset `json:"type,omitempty"`
53285}
53286
53287// MarshalJSON is the custom marshaler for MagentoObjectDataset.
53288func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) {
53289	mod.Type = TypeMagentoObject
53290	objectMap := make(map[string]interface{})
53291	if mod.Description != nil {
53292		objectMap["description"] = mod.Description
53293	}
53294	objectMap["structure"] = mod.Structure
53295	if mod.LinkedServiceName != nil {
53296		objectMap["linkedServiceName"] = mod.LinkedServiceName
53297	}
53298	if mod.Parameters != nil {
53299		objectMap["parameters"] = mod.Parameters
53300	}
53301	if mod.Annotations != nil {
53302		objectMap["annotations"] = mod.Annotations
53303	}
53304	if mod.Type != "" {
53305		objectMap["type"] = mod.Type
53306	}
53307	for k, v := range mod.AdditionalProperties {
53308		objectMap[k] = v
53309	}
53310	return json.Marshal(objectMap)
53311}
53312
53313// AsResponsysObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53314func (mod MagentoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
53315	return nil, false
53316}
53317
53318// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53319func (mod MagentoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
53320	return nil, false
53321}
53322
53323// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53324func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
53325	return nil, false
53326}
53327
53328// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53329func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
53330	return nil, false
53331}
53332
53333// AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53334func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
53335	return nil, false
53336}
53337
53338// AsXeroObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53339func (mod MagentoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
53340	return nil, false
53341}
53342
53343// AsSquareObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53344func (mod MagentoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
53345	return nil, false
53346}
53347
53348// AsSparkObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53349func (mod MagentoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
53350	return nil, false
53351}
53352
53353// AsShopifyObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53354func (mod MagentoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
53355	return nil, false
53356}
53357
53358// AsServiceNowObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53359func (mod MagentoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
53360	return nil, false
53361}
53362
53363// AsQuickBooksObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53364func (mod MagentoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
53365	return nil, false
53366}
53367
53368// AsPrestoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53369func (mod MagentoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
53370	return nil, false
53371}
53372
53373// AsPhoenixObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53374func (mod MagentoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
53375	return nil, false
53376}
53377
53378// AsPaypalObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53379func (mod MagentoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
53380	return nil, false
53381}
53382
53383// AsMarketoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53384func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
53385	return nil, false
53386}
53387
53388// AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53389func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
53390	return nil, false
53391}
53392
53393// AsMagentoObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53394func (mod MagentoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
53395	return &mod, true
53396}
53397
53398// AsJiraObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53399func (mod MagentoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
53400	return nil, false
53401}
53402
53403// AsImpalaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53404func (mod MagentoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
53405	return nil, false
53406}
53407
53408// AsHubspotObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53409func (mod MagentoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
53410	return nil, false
53411}
53412
53413// AsHiveObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53414func (mod MagentoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
53415	return nil, false
53416}
53417
53418// AsHBaseObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53419func (mod MagentoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
53420	return nil, false
53421}
53422
53423// AsGreenplumTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53424func (mod MagentoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
53425	return nil, false
53426}
53427
53428// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53429func (mod MagentoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
53430	return nil, false
53431}
53432
53433// AsEloquaObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53434func (mod MagentoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
53435	return nil, false
53436}
53437
53438// AsDrillTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53439func (mod MagentoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
53440	return nil, false
53441}
53442
53443// AsCouchbaseTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53444func (mod MagentoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
53445	return nil, false
53446}
53447
53448// AsConcurObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53449func (mod MagentoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
53450	return nil, false
53451}
53452
53453// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53454func (mod MagentoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
53455	return nil, false
53456}
53457
53458// AsAmazonMWSObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53459func (mod MagentoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
53460	return nil, false
53461}
53462
53463// AsHTTPDataset is the BasicDataset implementation for MagentoObjectDataset.
53464func (mod MagentoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
53465	return nil, false
53466}
53467
53468// AsAzureSearchIndexDataset is the BasicDataset implementation for MagentoObjectDataset.
53469func (mod MagentoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
53470	return nil, false
53471}
53472
53473// AsWebTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53474func (mod MagentoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
53475	return nil, false
53476}
53477
53478// AsSQLServerTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53479func (mod MagentoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
53480	return nil, false
53481}
53482
53483// AsSapEccResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
53484func (mod MagentoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
53485	return nil, false
53486}
53487
53488// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
53489func (mod MagentoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
53490	return nil, false
53491}
53492
53493// AsSalesforceObjectDataset is the BasicDataset implementation for MagentoObjectDataset.
53494func (mod MagentoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
53495	return nil, false
53496}
53497
53498// AsRelationalTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53499func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
53500	return nil, false
53501}
53502
53503// AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53504func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
53505	return nil, false
53506}
53507
53508// AsOracleTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53509func (mod MagentoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
53510	return nil, false
53511}
53512
53513// AsODataResourceDataset is the BasicDataset implementation for MagentoObjectDataset.
53514func (mod MagentoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
53515	return nil, false
53516}
53517
53518// AsMongoDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
53519func (mod MagentoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
53520	return nil, false
53521}
53522
53523// AsFileShareDataset is the BasicDataset implementation for MagentoObjectDataset.
53524func (mod MagentoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
53525	return nil, false
53526}
53527
53528// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MagentoObjectDataset.
53529func (mod MagentoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
53530	return nil, false
53531}
53532
53533// AsDynamicsEntityDataset is the BasicDataset implementation for MagentoObjectDataset.
53534func (mod MagentoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
53535	return nil, false
53536}
53537
53538// AsDocumentDbCollectionDataset is the BasicDataset implementation for MagentoObjectDataset.
53539func (mod MagentoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
53540	return nil, false
53541}
53542
53543// AsCustomDataset is the BasicDataset implementation for MagentoObjectDataset.
53544func (mod MagentoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
53545	return nil, false
53546}
53547
53548// AsCassandraTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53549func (mod MagentoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
53550	return nil, false
53551}
53552
53553// AsAzureSQLDWTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53554func (mod MagentoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
53555	return nil, false
53556}
53557
53558// AsAzureSQLTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53559func (mod MagentoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
53560	return nil, false
53561}
53562
53563// AsAzureTableDataset is the BasicDataset implementation for MagentoObjectDataset.
53564func (mod MagentoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
53565	return nil, false
53566}
53567
53568// AsAzureBlobDataset is the BasicDataset implementation for MagentoObjectDataset.
53569func (mod MagentoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
53570	return nil, false
53571}
53572
53573// AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset.
53574func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
53575	return nil, false
53576}
53577
53578// AsDataset is the BasicDataset implementation for MagentoObjectDataset.
53579func (mod MagentoObjectDataset) AsDataset() (*Dataset, bool) {
53580	return nil, false
53581}
53582
53583// AsBasicDataset is the BasicDataset implementation for MagentoObjectDataset.
53584func (mod MagentoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
53585	return &mod, true
53586}
53587
53588// MagentoSource a copy activity Magento server source.
53589type MagentoSource struct {
53590	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
53591	Query interface{} `json:"query,omitempty"`
53592	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
53593	AdditionalProperties map[string]interface{} `json:""`
53594	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
53595	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
53596	// 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])).
53597	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
53598	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
53599	Type TypeBasicCopySource `json:"type,omitempty"`
53600}
53601
53602// MarshalJSON is the custom marshaler for MagentoSource.
53603func (ms MagentoSource) MarshalJSON() ([]byte, error) {
53604	ms.Type = TypeMagentoSource
53605	objectMap := make(map[string]interface{})
53606	objectMap["query"] = ms.Query
53607	objectMap["sourceRetryCount"] = ms.SourceRetryCount
53608	objectMap["sourceRetryWait"] = ms.SourceRetryWait
53609	if ms.Type != "" {
53610		objectMap["type"] = ms.Type
53611	}
53612	for k, v := range ms.AdditionalProperties {
53613		objectMap[k] = v
53614	}
53615	return json.Marshal(objectMap)
53616}
53617
53618// AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource.
53619func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
53620	return nil, false
53621}
53622
53623// AsResponsysSource is the BasicCopySource implementation for MagentoSource.
53624func (ms MagentoSource) AsResponsysSource() (*ResponsysSource, bool) {
53625	return nil, false
53626}
53627
53628// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MagentoSource.
53629func (ms MagentoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
53630	return nil, false
53631}
53632
53633// AsVerticaSource is the BasicCopySource implementation for MagentoSource.
53634func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) {
53635	return nil, false
53636}
53637
53638// AsNetezzaSource is the BasicCopySource implementation for MagentoSource.
53639func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) {
53640	return nil, false
53641}
53642
53643// AsZohoSource is the BasicCopySource implementation for MagentoSource.
53644func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) {
53645	return nil, false
53646}
53647
53648// AsXeroSource is the BasicCopySource implementation for MagentoSource.
53649func (ms MagentoSource) AsXeroSource() (*XeroSource, bool) {
53650	return nil, false
53651}
53652
53653// AsSquareSource is the BasicCopySource implementation for MagentoSource.
53654func (ms MagentoSource) AsSquareSource() (*SquareSource, bool) {
53655	return nil, false
53656}
53657
53658// AsSparkSource is the BasicCopySource implementation for MagentoSource.
53659func (ms MagentoSource) AsSparkSource() (*SparkSource, bool) {
53660	return nil, false
53661}
53662
53663// AsShopifySource is the BasicCopySource implementation for MagentoSource.
53664func (ms MagentoSource) AsShopifySource() (*ShopifySource, bool) {
53665	return nil, false
53666}
53667
53668// AsServiceNowSource is the BasicCopySource implementation for MagentoSource.
53669func (ms MagentoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
53670	return nil, false
53671}
53672
53673// AsQuickBooksSource is the BasicCopySource implementation for MagentoSource.
53674func (ms MagentoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
53675	return nil, false
53676}
53677
53678// AsPrestoSource is the BasicCopySource implementation for MagentoSource.
53679func (ms MagentoSource) AsPrestoSource() (*PrestoSource, bool) {
53680	return nil, false
53681}
53682
53683// AsPhoenixSource is the BasicCopySource implementation for MagentoSource.
53684func (ms MagentoSource) AsPhoenixSource() (*PhoenixSource, bool) {
53685	return nil, false
53686}
53687
53688// AsPaypalSource is the BasicCopySource implementation for MagentoSource.
53689func (ms MagentoSource) AsPaypalSource() (*PaypalSource, bool) {
53690	return nil, false
53691}
53692
53693// AsMarketoSource is the BasicCopySource implementation for MagentoSource.
53694func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) {
53695	return nil, false
53696}
53697
53698// AsMariaDBSource is the BasicCopySource implementation for MagentoSource.
53699func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) {
53700	return nil, false
53701}
53702
53703// AsMagentoSource is the BasicCopySource implementation for MagentoSource.
53704func (ms MagentoSource) AsMagentoSource() (*MagentoSource, bool) {
53705	return &ms, true
53706}
53707
53708// AsJiraSource is the BasicCopySource implementation for MagentoSource.
53709func (ms MagentoSource) AsJiraSource() (*JiraSource, bool) {
53710	return nil, false
53711}
53712
53713// AsImpalaSource is the BasicCopySource implementation for MagentoSource.
53714func (ms MagentoSource) AsImpalaSource() (*ImpalaSource, bool) {
53715	return nil, false
53716}
53717
53718// AsHubspotSource is the BasicCopySource implementation for MagentoSource.
53719func (ms MagentoSource) AsHubspotSource() (*HubspotSource, bool) {
53720	return nil, false
53721}
53722
53723// AsHiveSource is the BasicCopySource implementation for MagentoSource.
53724func (ms MagentoSource) AsHiveSource() (*HiveSource, bool) {
53725	return nil, false
53726}
53727
53728// AsHBaseSource is the BasicCopySource implementation for MagentoSource.
53729func (ms MagentoSource) AsHBaseSource() (*HBaseSource, bool) {
53730	return nil, false
53731}
53732
53733// AsGreenplumSource is the BasicCopySource implementation for MagentoSource.
53734func (ms MagentoSource) AsGreenplumSource() (*GreenplumSource, bool) {
53735	return nil, false
53736}
53737
53738// AsGoogleBigQuerySource is the BasicCopySource implementation for MagentoSource.
53739func (ms MagentoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
53740	return nil, false
53741}
53742
53743// AsEloquaSource is the BasicCopySource implementation for MagentoSource.
53744func (ms MagentoSource) AsEloquaSource() (*EloquaSource, bool) {
53745	return nil, false
53746}
53747
53748// AsDrillSource is the BasicCopySource implementation for MagentoSource.
53749func (ms MagentoSource) AsDrillSource() (*DrillSource, bool) {
53750	return nil, false
53751}
53752
53753// AsCouchbaseSource is the BasicCopySource implementation for MagentoSource.
53754func (ms MagentoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
53755	return nil, false
53756}
53757
53758// AsConcurSource is the BasicCopySource implementation for MagentoSource.
53759func (ms MagentoSource) AsConcurSource() (*ConcurSource, bool) {
53760	return nil, false
53761}
53762
53763// AsAzurePostgreSQLSource is the BasicCopySource implementation for MagentoSource.
53764func (ms MagentoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
53765	return nil, false
53766}
53767
53768// AsAmazonMWSSource is the BasicCopySource implementation for MagentoSource.
53769func (ms MagentoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
53770	return nil, false
53771}
53772
53773// AsHTTPSource is the BasicCopySource implementation for MagentoSource.
53774func (ms MagentoSource) AsHTTPSource() (*HTTPSource, bool) {
53775	return nil, false
53776}
53777
53778// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MagentoSource.
53779func (ms MagentoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
53780	return nil, false
53781}
53782
53783// AsMongoDbSource is the BasicCopySource implementation for MagentoSource.
53784func (ms MagentoSource) AsMongoDbSource() (*MongoDbSource, bool) {
53785	return nil, false
53786}
53787
53788// AsCassandraSource is the BasicCopySource implementation for MagentoSource.
53789func (ms MagentoSource) AsCassandraSource() (*CassandraSource, bool) {
53790	return nil, false
53791}
53792
53793// AsWebSource is the BasicCopySource implementation for MagentoSource.
53794func (ms MagentoSource) AsWebSource() (*WebSource, bool) {
53795	return nil, false
53796}
53797
53798// AsOracleSource is the BasicCopySource implementation for MagentoSource.
53799func (ms MagentoSource) AsOracleSource() (*OracleSource, bool) {
53800	return nil, false
53801}
53802
53803// AsAzureMySQLSource is the BasicCopySource implementation for MagentoSource.
53804func (ms MagentoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
53805	return nil, false
53806}
53807
53808// AsHdfsSource is the BasicCopySource implementation for MagentoSource.
53809func (ms MagentoSource) AsHdfsSource() (*HdfsSource, bool) {
53810	return nil, false
53811}
53812
53813// AsFileSystemSource is the BasicCopySource implementation for MagentoSource.
53814func (ms MagentoSource) AsFileSystemSource() (*FileSystemSource, bool) {
53815	return nil, false
53816}
53817
53818// AsSQLDWSource is the BasicCopySource implementation for MagentoSource.
53819func (ms MagentoSource) AsSQLDWSource() (*SQLDWSource, bool) {
53820	return nil, false
53821}
53822
53823// AsSQLSource is the BasicCopySource implementation for MagentoSource.
53824func (ms MagentoSource) AsSQLSource() (*SQLSource, bool) {
53825	return nil, false
53826}
53827
53828// AsSapEccSource is the BasicCopySource implementation for MagentoSource.
53829func (ms MagentoSource) AsSapEccSource() (*SapEccSource, bool) {
53830	return nil, false
53831}
53832
53833// AsSapCloudForCustomerSource is the BasicCopySource implementation for MagentoSource.
53834func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
53835	return nil, false
53836}
53837
53838// AsSalesforceSource is the BasicCopySource implementation for MagentoSource.
53839func (ms MagentoSource) AsSalesforceSource() (*SalesforceSource, bool) {
53840	return nil, false
53841}
53842
53843// AsRelationalSource is the BasicCopySource implementation for MagentoSource.
53844func (ms MagentoSource) AsRelationalSource() (*RelationalSource, bool) {
53845	return nil, false
53846}
53847
53848// AsDynamicsSource is the BasicCopySource implementation for MagentoSource.
53849func (ms MagentoSource) AsDynamicsSource() (*DynamicsSource, bool) {
53850	return nil, false
53851}
53852
53853// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource.
53854func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
53855	return nil, false
53856}
53857
53858// AsBlobSource is the BasicCopySource implementation for MagentoSource.
53859func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) {
53860	return nil, false
53861}
53862
53863// AsAzureTableSource is the BasicCopySource implementation for MagentoSource.
53864func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) {
53865	return nil, false
53866}
53867
53868// AsCopySource is the BasicCopySource implementation for MagentoSource.
53869func (ms MagentoSource) AsCopySource() (*CopySource, bool) {
53870	return nil, false
53871}
53872
53873// AsBasicCopySource is the BasicCopySource implementation for MagentoSource.
53874func (ms MagentoSource) AsBasicCopySource() (BasicCopySource, bool) {
53875	return &ms, true
53876}
53877
53878// ManagedIntegrationRuntime managed integration runtime, including managed elastic and managed dedicated
53879// integration runtimes.
53880type ManagedIntegrationRuntime struct {
53881	// State - Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
53882	State IntegrationRuntimeState `json:"state,omitempty"`
53883	// ManagedIntegrationRuntimeTypeProperties - Managed integration runtime properties.
53884	*ManagedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"`
53885	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
53886	AdditionalProperties map[string]interface{} `json:""`
53887	// Description - Integration runtime description.
53888	Description *string `json:"description,omitempty"`
53889	// Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
53890	Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
53891}
53892
53893// MarshalJSON is the custom marshaler for ManagedIntegrationRuntime.
53894func (mir ManagedIntegrationRuntime) MarshalJSON() ([]byte, error) {
53895	mir.Type = TypeManaged
53896	objectMap := make(map[string]interface{})
53897	if mir.State != "" {
53898		objectMap["state"] = mir.State
53899	}
53900	if mir.ManagedIntegrationRuntimeTypeProperties != nil {
53901		objectMap["typeProperties"] = mir.ManagedIntegrationRuntimeTypeProperties
53902	}
53903	if mir.Description != nil {
53904		objectMap["description"] = mir.Description
53905	}
53906	if mir.Type != "" {
53907		objectMap["type"] = mir.Type
53908	}
53909	for k, v := range mir.AdditionalProperties {
53910		objectMap[k] = v
53911	}
53912	return json.Marshal(objectMap)
53913}
53914
53915// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
53916func (mir ManagedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
53917	return nil, false
53918}
53919
53920// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
53921func (mir ManagedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
53922	return &mir, true
53923}
53924
53925// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
53926func (mir ManagedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
53927	return nil, false
53928}
53929
53930// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for ManagedIntegrationRuntime.
53931func (mir ManagedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
53932	return &mir, true
53933}
53934
53935// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntime struct.
53936func (mir *ManagedIntegrationRuntime) UnmarshalJSON(body []byte) error {
53937	var m map[string]*json.RawMessage
53938	err := json.Unmarshal(body, &m)
53939	if err != nil {
53940		return err
53941	}
53942	for k, v := range m {
53943		switch k {
53944		case "state":
53945			if v != nil {
53946				var state IntegrationRuntimeState
53947				err = json.Unmarshal(*v, &state)
53948				if err != nil {
53949					return err
53950				}
53951				mir.State = state
53952			}
53953		case "typeProperties":
53954			if v != nil {
53955				var managedIntegrationRuntimeTypeProperties ManagedIntegrationRuntimeTypeProperties
53956				err = json.Unmarshal(*v, &managedIntegrationRuntimeTypeProperties)
53957				if err != nil {
53958					return err
53959				}
53960				mir.ManagedIntegrationRuntimeTypeProperties = &managedIntegrationRuntimeTypeProperties
53961			}
53962		default:
53963			if v != nil {
53964				var additionalProperties interface{}
53965				err = json.Unmarshal(*v, &additionalProperties)
53966				if err != nil {
53967					return err
53968				}
53969				if mir.AdditionalProperties == nil {
53970					mir.AdditionalProperties = make(map[string]interface{})
53971				}
53972				mir.AdditionalProperties[k] = additionalProperties
53973			}
53974		case "description":
53975			if v != nil {
53976				var description string
53977				err = json.Unmarshal(*v, &description)
53978				if err != nil {
53979					return err
53980				}
53981				mir.Description = &description
53982			}
53983		case "type":
53984			if v != nil {
53985				var typeVar TypeBasicIntegrationRuntime
53986				err = json.Unmarshal(*v, &typeVar)
53987				if err != nil {
53988					return err
53989				}
53990				mir.Type = typeVar
53991			}
53992		}
53993	}
53994
53995	return nil
53996}
53997
53998// ManagedIntegrationRuntimeError error definition for managed integration runtime.
53999type ManagedIntegrationRuntimeError struct {
54000	// Time - The time when the error occurred.
54001	Time *date.Time `json:"time,omitempty"`
54002	// Code - Error code.
54003	Code *string `json:"code,omitempty"`
54004	// Parameters - Managed integration runtime error parameters.
54005	Parameters *[]string `json:"parameters,omitempty"`
54006	// Message - Error message.
54007	Message *string `json:"message,omitempty"`
54008}
54009
54010// ManagedIntegrationRuntimeNode properties of integration runtime node.
54011type ManagedIntegrationRuntimeNode struct {
54012	// NodeID - The managed integration runtime node id.
54013	NodeID *string `json:"nodeId,omitempty"`
54014	// Status - The managed integration runtime node status. Possible values include: 'ManagedIntegrationRuntimeNodeStatusStarting', 'ManagedIntegrationRuntimeNodeStatusAvailable', 'ManagedIntegrationRuntimeNodeStatusRecycling', 'ManagedIntegrationRuntimeNodeStatusUnavailable'
54015	Status ManagedIntegrationRuntimeNodeStatus `json:"status,omitempty"`
54016	// Errors - The errors that occurred on this integration runtime node.
54017	Errors *[]ManagedIntegrationRuntimeError `json:"errors,omitempty"`
54018}
54019
54020// ManagedIntegrationRuntimeOperationResult properties of managed integration runtime operation result.
54021type ManagedIntegrationRuntimeOperationResult struct {
54022	// Type - The operation type. Could be start or stop.
54023	Type *string `json:"type,omitempty"`
54024	// StartTime - The start time of the operation.
54025	StartTime *date.Time `json:"startTime,omitempty"`
54026	// Result - The operation result.
54027	Result *string `json:"result,omitempty"`
54028	// ErrorCode - The error code.
54029	ErrorCode *string `json:"errorCode,omitempty"`
54030	// Parameters - Managed integration runtime error parameters.
54031	Parameters *[]string `json:"parameters,omitempty"`
54032	// ActivityID - The activity id for the operation request.
54033	ActivityID *string `json:"activityId,omitempty"`
54034}
54035
54036// ManagedIntegrationRuntimeStatus managed integration runtime status.
54037type ManagedIntegrationRuntimeStatus struct {
54038	// ManagedIntegrationRuntimeStatusTypeProperties - Managed integration runtime status type properties.
54039	*ManagedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"`
54040	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
54041	AdditionalProperties map[string]interface{} `json:""`
54042	// DataFactoryName - The data factory name which the integration runtime belong to.
54043	DataFactoryName *string `json:"dataFactoryName,omitempty"`
54044	// State - The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
54045	State IntegrationRuntimeState `json:"state,omitempty"`
54046	// Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
54047	Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
54048}
54049
54050// MarshalJSON is the custom marshaler for ManagedIntegrationRuntimeStatus.
54051func (mirs ManagedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
54052	mirs.Type = TypeBasicIntegrationRuntimeStatusTypeManaged
54053	objectMap := make(map[string]interface{})
54054	if mirs.ManagedIntegrationRuntimeStatusTypeProperties != nil {
54055		objectMap["typeProperties"] = mirs.ManagedIntegrationRuntimeStatusTypeProperties
54056	}
54057	if mirs.DataFactoryName != nil {
54058		objectMap["dataFactoryName"] = mirs.DataFactoryName
54059	}
54060	if mirs.State != "" {
54061		objectMap["state"] = mirs.State
54062	}
54063	if mirs.Type != "" {
54064		objectMap["type"] = mirs.Type
54065	}
54066	for k, v := range mirs.AdditionalProperties {
54067		objectMap[k] = v
54068	}
54069	return json.Marshal(objectMap)
54070}
54071
54072// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
54073func (mirs ManagedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
54074	return nil, false
54075}
54076
54077// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
54078func (mirs ManagedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
54079	return &mirs, true
54080}
54081
54082// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
54083func (mirs ManagedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
54084	return nil, false
54085}
54086
54087// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for ManagedIntegrationRuntimeStatus.
54088func (mirs ManagedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
54089	return &mirs, true
54090}
54091
54092// UnmarshalJSON is the custom unmarshaler for ManagedIntegrationRuntimeStatus struct.
54093func (mirs *ManagedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
54094	var m map[string]*json.RawMessage
54095	err := json.Unmarshal(body, &m)
54096	if err != nil {
54097		return err
54098	}
54099	for k, v := range m {
54100		switch k {
54101		case "typeProperties":
54102			if v != nil {
54103				var managedIntegrationRuntimeStatusTypeProperties ManagedIntegrationRuntimeStatusTypeProperties
54104				err = json.Unmarshal(*v, &managedIntegrationRuntimeStatusTypeProperties)
54105				if err != nil {
54106					return err
54107				}
54108				mirs.ManagedIntegrationRuntimeStatusTypeProperties = &managedIntegrationRuntimeStatusTypeProperties
54109			}
54110		default:
54111			if v != nil {
54112				var additionalProperties interface{}
54113				err = json.Unmarshal(*v, &additionalProperties)
54114				if err != nil {
54115					return err
54116				}
54117				if mirs.AdditionalProperties == nil {
54118					mirs.AdditionalProperties = make(map[string]interface{})
54119				}
54120				mirs.AdditionalProperties[k] = additionalProperties
54121			}
54122		case "dataFactoryName":
54123			if v != nil {
54124				var dataFactoryName string
54125				err = json.Unmarshal(*v, &dataFactoryName)
54126				if err != nil {
54127					return err
54128				}
54129				mirs.DataFactoryName = &dataFactoryName
54130			}
54131		case "state":
54132			if v != nil {
54133				var state IntegrationRuntimeState
54134				err = json.Unmarshal(*v, &state)
54135				if err != nil {
54136					return err
54137				}
54138				mirs.State = state
54139			}
54140		case "type":
54141			if v != nil {
54142				var typeVar TypeBasicIntegrationRuntimeStatus
54143				err = json.Unmarshal(*v, &typeVar)
54144				if err != nil {
54145					return err
54146				}
54147				mirs.Type = typeVar
54148			}
54149		}
54150	}
54151
54152	return nil
54153}
54154
54155// ManagedIntegrationRuntimeStatusTypeProperties managed integration runtime status type properties.
54156type ManagedIntegrationRuntimeStatusTypeProperties struct {
54157	// CreateTime - The time at which the integration runtime was created, in ISO8601 format.
54158	CreateTime *date.Time `json:"createTime,omitempty"`
54159	// Nodes - The list of nodes for managed integration runtime.
54160	Nodes *[]ManagedIntegrationRuntimeNode `json:"nodes,omitempty"`
54161	// OtherErrors - The errors that occurred on this integration runtime.
54162	OtherErrors *[]ManagedIntegrationRuntimeError `json:"otherErrors,omitempty"`
54163	// LastOperation - The last operation result that occurred on this integration runtime.
54164	LastOperation *ManagedIntegrationRuntimeOperationResult `json:"lastOperation,omitempty"`
54165}
54166
54167// ManagedIntegrationRuntimeTypeProperties managed integration runtime type properties.
54168type ManagedIntegrationRuntimeTypeProperties struct {
54169	// ComputeProperties - The compute resource for managed integration runtime.
54170	ComputeProperties *IntegrationRuntimeComputeProperties `json:"computeProperties,omitempty"`
54171	// SsisProperties - SSIS properties for managed integration runtime.
54172	SsisProperties *IntegrationRuntimeSsisProperties `json:"ssisProperties,omitempty"`
54173}
54174
54175// MariaDBLinkedService mariaDB server linked service.
54176type MariaDBLinkedService struct {
54177	// MariaDBLinkedServiceTypeProperties - MariaDB server linked service properties.
54178	*MariaDBLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
54179	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
54180	AdditionalProperties map[string]interface{} `json:""`
54181	// ConnectVia - The integration runtime reference.
54182	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
54183	// Description - Linked service description.
54184	Description *string `json:"description,omitempty"`
54185	// Parameters - Parameters for linked service.
54186	Parameters map[string]*ParameterSpecification `json:"parameters"`
54187	// Annotations - List of tags that can be used for describing the Dataset.
54188	Annotations *[]interface{} `json:"annotations,omitempty"`
54189	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
54190	Type TypeBasicLinkedService `json:"type,omitempty"`
54191}
54192
54193// MarshalJSON is the custom marshaler for MariaDBLinkedService.
54194func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) {
54195	mdls.Type = TypeMariaDB
54196	objectMap := make(map[string]interface{})
54197	if mdls.MariaDBLinkedServiceTypeProperties != nil {
54198		objectMap["typeProperties"] = mdls.MariaDBLinkedServiceTypeProperties
54199	}
54200	if mdls.ConnectVia != nil {
54201		objectMap["connectVia"] = mdls.ConnectVia
54202	}
54203	if mdls.Description != nil {
54204		objectMap["description"] = mdls.Description
54205	}
54206	if mdls.Parameters != nil {
54207		objectMap["parameters"] = mdls.Parameters
54208	}
54209	if mdls.Annotations != nil {
54210		objectMap["annotations"] = mdls.Annotations
54211	}
54212	if mdls.Type != "" {
54213		objectMap["type"] = mdls.Type
54214	}
54215	for k, v := range mdls.AdditionalProperties {
54216		objectMap[k] = v
54217	}
54218	return json.Marshal(objectMap)
54219}
54220
54221// AsResponsysLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54222func (mdls MariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
54223	return nil, false
54224}
54225
54226// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54227func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
54228	return nil, false
54229}
54230
54231// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54232func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
54233	return nil, false
54234}
54235
54236// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54237func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
54238	return nil, false
54239}
54240
54241// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54242func (mdls MariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
54243	return nil, false
54244}
54245
54246// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54247func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
54248	return nil, false
54249}
54250
54251// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54252func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
54253	return nil, false
54254}
54255
54256// AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54257func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
54258	return nil, false
54259}
54260
54261// AsXeroLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54262func (mdls MariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
54263	return nil, false
54264}
54265
54266// AsSquareLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54267func (mdls MariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
54268	return nil, false
54269}
54270
54271// AsSparkLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54272func (mdls MariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
54273	return nil, false
54274}
54275
54276// AsShopifyLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54277func (mdls MariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
54278	return nil, false
54279}
54280
54281// AsServiceNowLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54282func (mdls MariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
54283	return nil, false
54284}
54285
54286// AsQuickBooksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54287func (mdls MariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
54288	return nil, false
54289}
54290
54291// AsPrestoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54292func (mdls MariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
54293	return nil, false
54294}
54295
54296// AsPhoenixLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54297func (mdls MariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
54298	return nil, false
54299}
54300
54301// AsPaypalLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54302func (mdls MariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
54303	return nil, false
54304}
54305
54306// AsMarketoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54307func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
54308	return nil, false
54309}
54310
54311// AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54312func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
54313	return &mdls, true
54314}
54315
54316// AsMagentoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54317func (mdls MariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
54318	return nil, false
54319}
54320
54321// AsJiraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54322func (mdls MariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
54323	return nil, false
54324}
54325
54326// AsImpalaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54327func (mdls MariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
54328	return nil, false
54329}
54330
54331// AsHubspotLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54332func (mdls MariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
54333	return nil, false
54334}
54335
54336// AsHiveLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54337func (mdls MariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
54338	return nil, false
54339}
54340
54341// AsHBaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54342func (mdls MariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
54343	return nil, false
54344}
54345
54346// AsGreenplumLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54347func (mdls MariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
54348	return nil, false
54349}
54350
54351// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54352func (mdls MariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
54353	return nil, false
54354}
54355
54356// AsEloquaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54357func (mdls MariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
54358	return nil, false
54359}
54360
54361// AsDrillLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54362func (mdls MariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
54363	return nil, false
54364}
54365
54366// AsCouchbaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54367func (mdls MariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
54368	return nil, false
54369}
54370
54371// AsConcurLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54372func (mdls MariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
54373	return nil, false
54374}
54375
54376// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54377func (mdls MariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
54378	return nil, false
54379}
54380
54381// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54382func (mdls MariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
54383	return nil, false
54384}
54385
54386// AsSapHanaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54387func (mdls MariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
54388	return nil, false
54389}
54390
54391// AsSapBWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54392func (mdls MariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
54393	return nil, false
54394}
54395
54396// AsSftpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54397func (mdls MariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
54398	return nil, false
54399}
54400
54401// AsFtpServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54402func (mdls MariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
54403	return nil, false
54404}
54405
54406// AsHTTPLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54407func (mdls MariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
54408	return nil, false
54409}
54410
54411// AsAzureSearchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54412func (mdls MariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
54413	return nil, false
54414}
54415
54416// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54417func (mdls MariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
54418	return nil, false
54419}
54420
54421// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54422func (mdls MariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
54423	return nil, false
54424}
54425
54426// AsAmazonS3LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54427func (mdls MariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
54428	return nil, false
54429}
54430
54431// AsSapEccLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54432func (mdls MariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
54433	return nil, false
54434}
54435
54436// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54437func (mdls MariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
54438	return nil, false
54439}
54440
54441// AsSalesforceLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54442func (mdls MariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
54443	return nil, false
54444}
54445
54446// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54447func (mdls MariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
54448	return nil, false
54449}
54450
54451// AsMongoDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54452func (mdls MariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
54453	return nil, false
54454}
54455
54456// AsCassandraLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54457func (mdls MariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
54458	return nil, false
54459}
54460
54461// AsWebLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54462func (mdls MariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
54463	return nil, false
54464}
54465
54466// AsODataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54467func (mdls MariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
54468	return nil, false
54469}
54470
54471// AsHdfsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54472func (mdls MariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
54473	return nil, false
54474}
54475
54476// AsOdbcLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54477func (mdls MariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
54478	return nil, false
54479}
54480
54481// AsAzureMLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54482func (mdls MariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
54483	return nil, false
54484}
54485
54486// AsTeradataLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54487func (mdls MariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
54488	return nil, false
54489}
54490
54491// AsDb2LinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54492func (mdls MariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
54493	return nil, false
54494}
54495
54496// AsSybaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54497func (mdls MariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
54498	return nil, false
54499}
54500
54501// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54502func (mdls MariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
54503	return nil, false
54504}
54505
54506// AsMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54507func (mdls MariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
54508	return nil, false
54509}
54510
54511// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54512func (mdls MariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
54513	return nil, false
54514}
54515
54516// AsOracleLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54517func (mdls MariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
54518	return nil, false
54519}
54520
54521// AsFileServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54522func (mdls MariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
54523	return nil, false
54524}
54525
54526// AsHDInsightLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54527func (mdls MariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
54528	return nil, false
54529}
54530
54531// AsDynamicsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54532func (mdls MariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
54533	return nil, false
54534}
54535
54536// AsCosmosDbLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54537func (mdls MariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
54538	return nil, false
54539}
54540
54541// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54542func (mdls MariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
54543	return nil, false
54544}
54545
54546// AsAzureBatchLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54547func (mdls MariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
54548	return nil, false
54549}
54550
54551// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54552func (mdls MariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
54553	return nil, false
54554}
54555
54556// AsSQLServerLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54557func (mdls MariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
54558	return nil, false
54559}
54560
54561// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54562func (mdls MariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
54563	return nil, false
54564}
54565
54566// AsAzureStorageLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54567func (mdls MariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
54568	return nil, false
54569}
54570
54571// AsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54572func (mdls MariaDBLinkedService) AsLinkedService() (*LinkedService, bool) {
54573	return nil, false
54574}
54575
54576// AsBasicLinkedService is the BasicLinkedService implementation for MariaDBLinkedService.
54577func (mdls MariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
54578	return &mdls, true
54579}
54580
54581// UnmarshalJSON is the custom unmarshaler for MariaDBLinkedService struct.
54582func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error {
54583	var m map[string]*json.RawMessage
54584	err := json.Unmarshal(body, &m)
54585	if err != nil {
54586		return err
54587	}
54588	for k, v := range m {
54589		switch k {
54590		case "typeProperties":
54591			if v != nil {
54592				var mariaDBLinkedServiceTypeProperties MariaDBLinkedServiceTypeProperties
54593				err = json.Unmarshal(*v, &mariaDBLinkedServiceTypeProperties)
54594				if err != nil {
54595					return err
54596				}
54597				mdls.MariaDBLinkedServiceTypeProperties = &mariaDBLinkedServiceTypeProperties
54598			}
54599		default:
54600			if v != nil {
54601				var additionalProperties interface{}
54602				err = json.Unmarshal(*v, &additionalProperties)
54603				if err != nil {
54604					return err
54605				}
54606				if mdls.AdditionalProperties == nil {
54607					mdls.AdditionalProperties = make(map[string]interface{})
54608				}
54609				mdls.AdditionalProperties[k] = additionalProperties
54610			}
54611		case "connectVia":
54612			if v != nil {
54613				var connectVia IntegrationRuntimeReference
54614				err = json.Unmarshal(*v, &connectVia)
54615				if err != nil {
54616					return err
54617				}
54618				mdls.ConnectVia = &connectVia
54619			}
54620		case "description":
54621			if v != nil {
54622				var description string
54623				err = json.Unmarshal(*v, &description)
54624				if err != nil {
54625					return err
54626				}
54627				mdls.Description = &description
54628			}
54629		case "parameters":
54630			if v != nil {
54631				var parameters map[string]*ParameterSpecification
54632				err = json.Unmarshal(*v, &parameters)
54633				if err != nil {
54634					return err
54635				}
54636				mdls.Parameters = parameters
54637			}
54638		case "annotations":
54639			if v != nil {
54640				var annotations []interface{}
54641				err = json.Unmarshal(*v, &annotations)
54642				if err != nil {
54643					return err
54644				}
54645				mdls.Annotations = &annotations
54646			}
54647		case "type":
54648			if v != nil {
54649				var typeVar TypeBasicLinkedService
54650				err = json.Unmarshal(*v, &typeVar)
54651				if err != nil {
54652					return err
54653				}
54654				mdls.Type = typeVar
54655			}
54656		}
54657	}
54658
54659	return nil
54660}
54661
54662// MariaDBLinkedServiceTypeProperties mariaDB server linked service properties.
54663type MariaDBLinkedServiceTypeProperties struct {
54664	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
54665	ConnectionString interface{} `json:"connectionString,omitempty"`
54666	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
54667	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
54668}
54669
54670// MariaDBSource a copy activity MariaDB server source.
54671type MariaDBSource struct {
54672	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
54673	Query interface{} `json:"query,omitempty"`
54674	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
54675	AdditionalProperties map[string]interface{} `json:""`
54676	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
54677	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
54678	// 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])).
54679	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
54680	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
54681	Type TypeBasicCopySource `json:"type,omitempty"`
54682}
54683
54684// MarshalJSON is the custom marshaler for MariaDBSource.
54685func (mds MariaDBSource) MarshalJSON() ([]byte, error) {
54686	mds.Type = TypeMariaDBSource
54687	objectMap := make(map[string]interface{})
54688	objectMap["query"] = mds.Query
54689	objectMap["sourceRetryCount"] = mds.SourceRetryCount
54690	objectMap["sourceRetryWait"] = mds.SourceRetryWait
54691	if mds.Type != "" {
54692		objectMap["type"] = mds.Type
54693	}
54694	for k, v := range mds.AdditionalProperties {
54695		objectMap[k] = v
54696	}
54697	return json.Marshal(objectMap)
54698}
54699
54700// AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource.
54701func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
54702	return nil, false
54703}
54704
54705// AsResponsysSource is the BasicCopySource implementation for MariaDBSource.
54706func (mds MariaDBSource) AsResponsysSource() (*ResponsysSource, bool) {
54707	return nil, false
54708}
54709
54710// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MariaDBSource.
54711func (mds MariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
54712	return nil, false
54713}
54714
54715// AsVerticaSource is the BasicCopySource implementation for MariaDBSource.
54716func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) {
54717	return nil, false
54718}
54719
54720// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource.
54721func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) {
54722	return nil, false
54723}
54724
54725// AsZohoSource is the BasicCopySource implementation for MariaDBSource.
54726func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) {
54727	return nil, false
54728}
54729
54730// AsXeroSource is the BasicCopySource implementation for MariaDBSource.
54731func (mds MariaDBSource) AsXeroSource() (*XeroSource, bool) {
54732	return nil, false
54733}
54734
54735// AsSquareSource is the BasicCopySource implementation for MariaDBSource.
54736func (mds MariaDBSource) AsSquareSource() (*SquareSource, bool) {
54737	return nil, false
54738}
54739
54740// AsSparkSource is the BasicCopySource implementation for MariaDBSource.
54741func (mds MariaDBSource) AsSparkSource() (*SparkSource, bool) {
54742	return nil, false
54743}
54744
54745// AsShopifySource is the BasicCopySource implementation for MariaDBSource.
54746func (mds MariaDBSource) AsShopifySource() (*ShopifySource, bool) {
54747	return nil, false
54748}
54749
54750// AsServiceNowSource is the BasicCopySource implementation for MariaDBSource.
54751func (mds MariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) {
54752	return nil, false
54753}
54754
54755// AsQuickBooksSource is the BasicCopySource implementation for MariaDBSource.
54756func (mds MariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
54757	return nil, false
54758}
54759
54760// AsPrestoSource is the BasicCopySource implementation for MariaDBSource.
54761func (mds MariaDBSource) AsPrestoSource() (*PrestoSource, bool) {
54762	return nil, false
54763}
54764
54765// AsPhoenixSource is the BasicCopySource implementation for MariaDBSource.
54766func (mds MariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) {
54767	return nil, false
54768}
54769
54770// AsPaypalSource is the BasicCopySource implementation for MariaDBSource.
54771func (mds MariaDBSource) AsPaypalSource() (*PaypalSource, bool) {
54772	return nil, false
54773}
54774
54775// AsMarketoSource is the BasicCopySource implementation for MariaDBSource.
54776func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) {
54777	return nil, false
54778}
54779
54780// AsMariaDBSource is the BasicCopySource implementation for MariaDBSource.
54781func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) {
54782	return &mds, true
54783}
54784
54785// AsMagentoSource is the BasicCopySource implementation for MariaDBSource.
54786func (mds MariaDBSource) AsMagentoSource() (*MagentoSource, bool) {
54787	return nil, false
54788}
54789
54790// AsJiraSource is the BasicCopySource implementation for MariaDBSource.
54791func (mds MariaDBSource) AsJiraSource() (*JiraSource, bool) {
54792	return nil, false
54793}
54794
54795// AsImpalaSource is the BasicCopySource implementation for MariaDBSource.
54796func (mds MariaDBSource) AsImpalaSource() (*ImpalaSource, bool) {
54797	return nil, false
54798}
54799
54800// AsHubspotSource is the BasicCopySource implementation for MariaDBSource.
54801func (mds MariaDBSource) AsHubspotSource() (*HubspotSource, bool) {
54802	return nil, false
54803}
54804
54805// AsHiveSource is the BasicCopySource implementation for MariaDBSource.
54806func (mds MariaDBSource) AsHiveSource() (*HiveSource, bool) {
54807	return nil, false
54808}
54809
54810// AsHBaseSource is the BasicCopySource implementation for MariaDBSource.
54811func (mds MariaDBSource) AsHBaseSource() (*HBaseSource, bool) {
54812	return nil, false
54813}
54814
54815// AsGreenplumSource is the BasicCopySource implementation for MariaDBSource.
54816func (mds MariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) {
54817	return nil, false
54818}
54819
54820// AsGoogleBigQuerySource is the BasicCopySource implementation for MariaDBSource.
54821func (mds MariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
54822	return nil, false
54823}
54824
54825// AsEloquaSource is the BasicCopySource implementation for MariaDBSource.
54826func (mds MariaDBSource) AsEloquaSource() (*EloquaSource, bool) {
54827	return nil, false
54828}
54829
54830// AsDrillSource is the BasicCopySource implementation for MariaDBSource.
54831func (mds MariaDBSource) AsDrillSource() (*DrillSource, bool) {
54832	return nil, false
54833}
54834
54835// AsCouchbaseSource is the BasicCopySource implementation for MariaDBSource.
54836func (mds MariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
54837	return nil, false
54838}
54839
54840// AsConcurSource is the BasicCopySource implementation for MariaDBSource.
54841func (mds MariaDBSource) AsConcurSource() (*ConcurSource, bool) {
54842	return nil, false
54843}
54844
54845// AsAzurePostgreSQLSource is the BasicCopySource implementation for MariaDBSource.
54846func (mds MariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
54847	return nil, false
54848}
54849
54850// AsAmazonMWSSource is the BasicCopySource implementation for MariaDBSource.
54851func (mds MariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
54852	return nil, false
54853}
54854
54855// AsHTTPSource is the BasicCopySource implementation for MariaDBSource.
54856func (mds MariaDBSource) AsHTTPSource() (*HTTPSource, bool) {
54857	return nil, false
54858}
54859
54860// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MariaDBSource.
54861func (mds MariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
54862	return nil, false
54863}
54864
54865// AsMongoDbSource is the BasicCopySource implementation for MariaDBSource.
54866func (mds MariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) {
54867	return nil, false
54868}
54869
54870// AsCassandraSource is the BasicCopySource implementation for MariaDBSource.
54871func (mds MariaDBSource) AsCassandraSource() (*CassandraSource, bool) {
54872	return nil, false
54873}
54874
54875// AsWebSource is the BasicCopySource implementation for MariaDBSource.
54876func (mds MariaDBSource) AsWebSource() (*WebSource, bool) {
54877	return nil, false
54878}
54879
54880// AsOracleSource is the BasicCopySource implementation for MariaDBSource.
54881func (mds MariaDBSource) AsOracleSource() (*OracleSource, bool) {
54882	return nil, false
54883}
54884
54885// AsAzureMySQLSource is the BasicCopySource implementation for MariaDBSource.
54886func (mds MariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
54887	return nil, false
54888}
54889
54890// AsHdfsSource is the BasicCopySource implementation for MariaDBSource.
54891func (mds MariaDBSource) AsHdfsSource() (*HdfsSource, bool) {
54892	return nil, false
54893}
54894
54895// AsFileSystemSource is the BasicCopySource implementation for MariaDBSource.
54896func (mds MariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) {
54897	return nil, false
54898}
54899
54900// AsSQLDWSource is the BasicCopySource implementation for MariaDBSource.
54901func (mds MariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) {
54902	return nil, false
54903}
54904
54905// AsSQLSource is the BasicCopySource implementation for MariaDBSource.
54906func (mds MariaDBSource) AsSQLSource() (*SQLSource, bool) {
54907	return nil, false
54908}
54909
54910// AsSapEccSource is the BasicCopySource implementation for MariaDBSource.
54911func (mds MariaDBSource) AsSapEccSource() (*SapEccSource, bool) {
54912	return nil, false
54913}
54914
54915// AsSapCloudForCustomerSource is the BasicCopySource implementation for MariaDBSource.
54916func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
54917	return nil, false
54918}
54919
54920// AsSalesforceSource is the BasicCopySource implementation for MariaDBSource.
54921func (mds MariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) {
54922	return nil, false
54923}
54924
54925// AsRelationalSource is the BasicCopySource implementation for MariaDBSource.
54926func (mds MariaDBSource) AsRelationalSource() (*RelationalSource, bool) {
54927	return nil, false
54928}
54929
54930// AsDynamicsSource is the BasicCopySource implementation for MariaDBSource.
54931func (mds MariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) {
54932	return nil, false
54933}
54934
54935// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource.
54936func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
54937	return nil, false
54938}
54939
54940// AsBlobSource is the BasicCopySource implementation for MariaDBSource.
54941func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) {
54942	return nil, false
54943}
54944
54945// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource.
54946func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) {
54947	return nil, false
54948}
54949
54950// AsCopySource is the BasicCopySource implementation for MariaDBSource.
54951func (mds MariaDBSource) AsCopySource() (*CopySource, bool) {
54952	return nil, false
54953}
54954
54955// AsBasicCopySource is the BasicCopySource implementation for MariaDBSource.
54956func (mds MariaDBSource) AsBasicCopySource() (BasicCopySource, bool) {
54957	return &mds, true
54958}
54959
54960// MariaDBTableDataset mariaDB server dataset.
54961type MariaDBTableDataset struct {
54962	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
54963	AdditionalProperties map[string]interface{} `json:""`
54964	// Description - Dataset description.
54965	Description *string `json:"description,omitempty"`
54966	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
54967	Structure interface{} `json:"structure,omitempty"`
54968	// LinkedServiceName - Linked service reference.
54969	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
54970	// Parameters - Parameters for dataset.
54971	Parameters map[string]*ParameterSpecification `json:"parameters"`
54972	// Annotations - List of tags that can be used for describing the Dataset.
54973	Annotations *[]interface{} `json:"annotations,omitempty"`
54974	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
54975	Type TypeBasicDataset `json:"type,omitempty"`
54976}
54977
54978// MarshalJSON is the custom marshaler for MariaDBTableDataset.
54979func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) {
54980	mdtd.Type = TypeMariaDBTable
54981	objectMap := make(map[string]interface{})
54982	if mdtd.Description != nil {
54983		objectMap["description"] = mdtd.Description
54984	}
54985	objectMap["structure"] = mdtd.Structure
54986	if mdtd.LinkedServiceName != nil {
54987		objectMap["linkedServiceName"] = mdtd.LinkedServiceName
54988	}
54989	if mdtd.Parameters != nil {
54990		objectMap["parameters"] = mdtd.Parameters
54991	}
54992	if mdtd.Annotations != nil {
54993		objectMap["annotations"] = mdtd.Annotations
54994	}
54995	if mdtd.Type != "" {
54996		objectMap["type"] = mdtd.Type
54997	}
54998	for k, v := range mdtd.AdditionalProperties {
54999		objectMap[k] = v
55000	}
55001	return json.Marshal(objectMap)
55002}
55003
55004// AsResponsysObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55005func (mdtd MariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
55006	return nil, false
55007}
55008
55009// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55010func (mdtd MariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
55011	return nil, false
55012}
55013
55014// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55015func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
55016	return nil, false
55017}
55018
55019// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55020func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
55021	return nil, false
55022}
55023
55024// AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55025func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
55026	return nil, false
55027}
55028
55029// AsXeroObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55030func (mdtd MariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
55031	return nil, false
55032}
55033
55034// AsSquareObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55035func (mdtd MariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
55036	return nil, false
55037}
55038
55039// AsSparkObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55040func (mdtd MariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
55041	return nil, false
55042}
55043
55044// AsShopifyObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55045func (mdtd MariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
55046	return nil, false
55047}
55048
55049// AsServiceNowObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55050func (mdtd MariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
55051	return nil, false
55052}
55053
55054// AsQuickBooksObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55055func (mdtd MariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
55056	return nil, false
55057}
55058
55059// AsPrestoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55060func (mdtd MariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
55061	return nil, false
55062}
55063
55064// AsPhoenixObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55065func (mdtd MariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
55066	return nil, false
55067}
55068
55069// AsPaypalObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55070func (mdtd MariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
55071	return nil, false
55072}
55073
55074// AsMarketoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55075func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
55076	return nil, false
55077}
55078
55079// AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55080func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
55081	return &mdtd, true
55082}
55083
55084// AsMagentoObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55085func (mdtd MariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
55086	return nil, false
55087}
55088
55089// AsJiraObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55090func (mdtd MariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
55091	return nil, false
55092}
55093
55094// AsImpalaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55095func (mdtd MariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
55096	return nil, false
55097}
55098
55099// AsHubspotObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55100func (mdtd MariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
55101	return nil, false
55102}
55103
55104// AsHiveObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55105func (mdtd MariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
55106	return nil, false
55107}
55108
55109// AsHBaseObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55110func (mdtd MariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
55111	return nil, false
55112}
55113
55114// AsGreenplumTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55115func (mdtd MariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
55116	return nil, false
55117}
55118
55119// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55120func (mdtd MariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
55121	return nil, false
55122}
55123
55124// AsEloquaObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55125func (mdtd MariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
55126	return nil, false
55127}
55128
55129// AsDrillTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55130func (mdtd MariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
55131	return nil, false
55132}
55133
55134// AsCouchbaseTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55135func (mdtd MariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
55136	return nil, false
55137}
55138
55139// AsConcurObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55140func (mdtd MariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
55141	return nil, false
55142}
55143
55144// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55145func (mdtd MariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
55146	return nil, false
55147}
55148
55149// AsAmazonMWSObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55150func (mdtd MariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
55151	return nil, false
55152}
55153
55154// AsHTTPDataset is the BasicDataset implementation for MariaDBTableDataset.
55155func (mdtd MariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
55156	return nil, false
55157}
55158
55159// AsAzureSearchIndexDataset is the BasicDataset implementation for MariaDBTableDataset.
55160func (mdtd MariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
55161	return nil, false
55162}
55163
55164// AsWebTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55165func (mdtd MariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
55166	return nil, false
55167}
55168
55169// AsSQLServerTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55170func (mdtd MariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
55171	return nil, false
55172}
55173
55174// AsSapEccResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
55175func (mdtd MariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
55176	return nil, false
55177}
55178
55179// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
55180func (mdtd MariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
55181	return nil, false
55182}
55183
55184// AsSalesforceObjectDataset is the BasicDataset implementation for MariaDBTableDataset.
55185func (mdtd MariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
55186	return nil, false
55187}
55188
55189// AsRelationalTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55190func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
55191	return nil, false
55192}
55193
55194// AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55195func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
55196	return nil, false
55197}
55198
55199// AsOracleTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55200func (mdtd MariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
55201	return nil, false
55202}
55203
55204// AsODataResourceDataset is the BasicDataset implementation for MariaDBTableDataset.
55205func (mdtd MariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
55206	return nil, false
55207}
55208
55209// AsMongoDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
55210func (mdtd MariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
55211	return nil, false
55212}
55213
55214// AsFileShareDataset is the BasicDataset implementation for MariaDBTableDataset.
55215func (mdtd MariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
55216	return nil, false
55217}
55218
55219// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MariaDBTableDataset.
55220func (mdtd MariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
55221	return nil, false
55222}
55223
55224// AsDynamicsEntityDataset is the BasicDataset implementation for MariaDBTableDataset.
55225func (mdtd MariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
55226	return nil, false
55227}
55228
55229// AsDocumentDbCollectionDataset is the BasicDataset implementation for MariaDBTableDataset.
55230func (mdtd MariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
55231	return nil, false
55232}
55233
55234// AsCustomDataset is the BasicDataset implementation for MariaDBTableDataset.
55235func (mdtd MariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) {
55236	return nil, false
55237}
55238
55239// AsCassandraTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55240func (mdtd MariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
55241	return nil, false
55242}
55243
55244// AsAzureSQLDWTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55245func (mdtd MariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
55246	return nil, false
55247}
55248
55249// AsAzureSQLTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55250func (mdtd MariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
55251	return nil, false
55252}
55253
55254// AsAzureTableDataset is the BasicDataset implementation for MariaDBTableDataset.
55255func (mdtd MariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
55256	return nil, false
55257}
55258
55259// AsAzureBlobDataset is the BasicDataset implementation for MariaDBTableDataset.
55260func (mdtd MariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
55261	return nil, false
55262}
55263
55264// AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset.
55265func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
55266	return nil, false
55267}
55268
55269// AsDataset is the BasicDataset implementation for MariaDBTableDataset.
55270func (mdtd MariaDBTableDataset) AsDataset() (*Dataset, bool) {
55271	return nil, false
55272}
55273
55274// AsBasicDataset is the BasicDataset implementation for MariaDBTableDataset.
55275func (mdtd MariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) {
55276	return &mdtd, true
55277}
55278
55279// MarketoLinkedService marketo server linked service.
55280type MarketoLinkedService struct {
55281	// MarketoLinkedServiceTypeProperties - Marketo server linked service properties.
55282	*MarketoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
55283	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
55284	AdditionalProperties map[string]interface{} `json:""`
55285	// ConnectVia - The integration runtime reference.
55286	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
55287	// Description - Linked service description.
55288	Description *string `json:"description,omitempty"`
55289	// Parameters - Parameters for linked service.
55290	Parameters map[string]*ParameterSpecification `json:"parameters"`
55291	// Annotations - List of tags that can be used for describing the Dataset.
55292	Annotations *[]interface{} `json:"annotations,omitempty"`
55293	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
55294	Type TypeBasicLinkedService `json:"type,omitempty"`
55295}
55296
55297// MarshalJSON is the custom marshaler for MarketoLinkedService.
55298func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) {
55299	mls.Type = TypeMarketo
55300	objectMap := make(map[string]interface{})
55301	if mls.MarketoLinkedServiceTypeProperties != nil {
55302		objectMap["typeProperties"] = mls.MarketoLinkedServiceTypeProperties
55303	}
55304	if mls.ConnectVia != nil {
55305		objectMap["connectVia"] = mls.ConnectVia
55306	}
55307	if mls.Description != nil {
55308		objectMap["description"] = mls.Description
55309	}
55310	if mls.Parameters != nil {
55311		objectMap["parameters"] = mls.Parameters
55312	}
55313	if mls.Annotations != nil {
55314		objectMap["annotations"] = mls.Annotations
55315	}
55316	if mls.Type != "" {
55317		objectMap["type"] = mls.Type
55318	}
55319	for k, v := range mls.AdditionalProperties {
55320		objectMap[k] = v
55321	}
55322	return json.Marshal(objectMap)
55323}
55324
55325// AsResponsysLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55326func (mls MarketoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
55327	return nil, false
55328}
55329
55330// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55331func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
55332	return nil, false
55333}
55334
55335// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55336func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
55337	return nil, false
55338}
55339
55340// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55341func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
55342	return nil, false
55343}
55344
55345// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55346func (mls MarketoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
55347	return nil, false
55348}
55349
55350// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55351func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
55352	return nil, false
55353}
55354
55355// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55356func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
55357	return nil, false
55358}
55359
55360// AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55361func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
55362	return nil, false
55363}
55364
55365// AsXeroLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55366func (mls MarketoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
55367	return nil, false
55368}
55369
55370// AsSquareLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55371func (mls MarketoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
55372	return nil, false
55373}
55374
55375// AsSparkLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55376func (mls MarketoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
55377	return nil, false
55378}
55379
55380// AsShopifyLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55381func (mls MarketoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
55382	return nil, false
55383}
55384
55385// AsServiceNowLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55386func (mls MarketoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
55387	return nil, false
55388}
55389
55390// AsQuickBooksLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55391func (mls MarketoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
55392	return nil, false
55393}
55394
55395// AsPrestoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55396func (mls MarketoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
55397	return nil, false
55398}
55399
55400// AsPhoenixLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55401func (mls MarketoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
55402	return nil, false
55403}
55404
55405// AsPaypalLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55406func (mls MarketoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
55407	return nil, false
55408}
55409
55410// AsMarketoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55411func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
55412	return &mls, true
55413}
55414
55415// AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55416func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
55417	return nil, false
55418}
55419
55420// AsMagentoLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55421func (mls MarketoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
55422	return nil, false
55423}
55424
55425// AsJiraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55426func (mls MarketoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
55427	return nil, false
55428}
55429
55430// AsImpalaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55431func (mls MarketoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
55432	return nil, false
55433}
55434
55435// AsHubspotLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55436func (mls MarketoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
55437	return nil, false
55438}
55439
55440// AsHiveLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55441func (mls MarketoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
55442	return nil, false
55443}
55444
55445// AsHBaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55446func (mls MarketoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
55447	return nil, false
55448}
55449
55450// AsGreenplumLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55451func (mls MarketoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
55452	return nil, false
55453}
55454
55455// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55456func (mls MarketoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
55457	return nil, false
55458}
55459
55460// AsEloquaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55461func (mls MarketoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
55462	return nil, false
55463}
55464
55465// AsDrillLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55466func (mls MarketoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
55467	return nil, false
55468}
55469
55470// AsCouchbaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55471func (mls MarketoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
55472	return nil, false
55473}
55474
55475// AsConcurLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55476func (mls MarketoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
55477	return nil, false
55478}
55479
55480// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55481func (mls MarketoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
55482	return nil, false
55483}
55484
55485// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55486func (mls MarketoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
55487	return nil, false
55488}
55489
55490// AsSapHanaLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55491func (mls MarketoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
55492	return nil, false
55493}
55494
55495// AsSapBWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55496func (mls MarketoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
55497	return nil, false
55498}
55499
55500// AsSftpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55501func (mls MarketoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
55502	return nil, false
55503}
55504
55505// AsFtpServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55506func (mls MarketoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
55507	return nil, false
55508}
55509
55510// AsHTTPLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55511func (mls MarketoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
55512	return nil, false
55513}
55514
55515// AsAzureSearchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55516func (mls MarketoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
55517	return nil, false
55518}
55519
55520// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55521func (mls MarketoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
55522	return nil, false
55523}
55524
55525// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55526func (mls MarketoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
55527	return nil, false
55528}
55529
55530// AsAmazonS3LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55531func (mls MarketoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
55532	return nil, false
55533}
55534
55535// AsSapEccLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55536func (mls MarketoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
55537	return nil, false
55538}
55539
55540// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55541func (mls MarketoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
55542	return nil, false
55543}
55544
55545// AsSalesforceLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55546func (mls MarketoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
55547	return nil, false
55548}
55549
55550// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55551func (mls MarketoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
55552	return nil, false
55553}
55554
55555// AsMongoDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55556func (mls MarketoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
55557	return nil, false
55558}
55559
55560// AsCassandraLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55561func (mls MarketoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
55562	return nil, false
55563}
55564
55565// AsWebLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55566func (mls MarketoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
55567	return nil, false
55568}
55569
55570// AsODataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55571func (mls MarketoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
55572	return nil, false
55573}
55574
55575// AsHdfsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55576func (mls MarketoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
55577	return nil, false
55578}
55579
55580// AsOdbcLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55581func (mls MarketoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
55582	return nil, false
55583}
55584
55585// AsAzureMLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55586func (mls MarketoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
55587	return nil, false
55588}
55589
55590// AsTeradataLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55591func (mls MarketoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
55592	return nil, false
55593}
55594
55595// AsDb2LinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55596func (mls MarketoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
55597	return nil, false
55598}
55599
55600// AsSybaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55601func (mls MarketoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
55602	return nil, false
55603}
55604
55605// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55606func (mls MarketoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
55607	return nil, false
55608}
55609
55610// AsMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55611func (mls MarketoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
55612	return nil, false
55613}
55614
55615// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55616func (mls MarketoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
55617	return nil, false
55618}
55619
55620// AsOracleLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55621func (mls MarketoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
55622	return nil, false
55623}
55624
55625// AsFileServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55626func (mls MarketoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
55627	return nil, false
55628}
55629
55630// AsHDInsightLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55631func (mls MarketoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
55632	return nil, false
55633}
55634
55635// AsDynamicsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55636func (mls MarketoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
55637	return nil, false
55638}
55639
55640// AsCosmosDbLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55641func (mls MarketoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
55642	return nil, false
55643}
55644
55645// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55646func (mls MarketoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
55647	return nil, false
55648}
55649
55650// AsAzureBatchLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55651func (mls MarketoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
55652	return nil, false
55653}
55654
55655// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55656func (mls MarketoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
55657	return nil, false
55658}
55659
55660// AsSQLServerLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55661func (mls MarketoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
55662	return nil, false
55663}
55664
55665// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55666func (mls MarketoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
55667	return nil, false
55668}
55669
55670// AsAzureStorageLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55671func (mls MarketoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
55672	return nil, false
55673}
55674
55675// AsLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55676func (mls MarketoLinkedService) AsLinkedService() (*LinkedService, bool) {
55677	return nil, false
55678}
55679
55680// AsBasicLinkedService is the BasicLinkedService implementation for MarketoLinkedService.
55681func (mls MarketoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
55682	return &mls, true
55683}
55684
55685// UnmarshalJSON is the custom unmarshaler for MarketoLinkedService struct.
55686func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error {
55687	var m map[string]*json.RawMessage
55688	err := json.Unmarshal(body, &m)
55689	if err != nil {
55690		return err
55691	}
55692	for k, v := range m {
55693		switch k {
55694		case "typeProperties":
55695			if v != nil {
55696				var marketoLinkedServiceTypeProperties MarketoLinkedServiceTypeProperties
55697				err = json.Unmarshal(*v, &marketoLinkedServiceTypeProperties)
55698				if err != nil {
55699					return err
55700				}
55701				mls.MarketoLinkedServiceTypeProperties = &marketoLinkedServiceTypeProperties
55702			}
55703		default:
55704			if v != nil {
55705				var additionalProperties interface{}
55706				err = json.Unmarshal(*v, &additionalProperties)
55707				if err != nil {
55708					return err
55709				}
55710				if mls.AdditionalProperties == nil {
55711					mls.AdditionalProperties = make(map[string]interface{})
55712				}
55713				mls.AdditionalProperties[k] = additionalProperties
55714			}
55715		case "connectVia":
55716			if v != nil {
55717				var connectVia IntegrationRuntimeReference
55718				err = json.Unmarshal(*v, &connectVia)
55719				if err != nil {
55720					return err
55721				}
55722				mls.ConnectVia = &connectVia
55723			}
55724		case "description":
55725			if v != nil {
55726				var description string
55727				err = json.Unmarshal(*v, &description)
55728				if err != nil {
55729					return err
55730				}
55731				mls.Description = &description
55732			}
55733		case "parameters":
55734			if v != nil {
55735				var parameters map[string]*ParameterSpecification
55736				err = json.Unmarshal(*v, &parameters)
55737				if err != nil {
55738					return err
55739				}
55740				mls.Parameters = parameters
55741			}
55742		case "annotations":
55743			if v != nil {
55744				var annotations []interface{}
55745				err = json.Unmarshal(*v, &annotations)
55746				if err != nil {
55747					return err
55748				}
55749				mls.Annotations = &annotations
55750			}
55751		case "type":
55752			if v != nil {
55753				var typeVar TypeBasicLinkedService
55754				err = json.Unmarshal(*v, &typeVar)
55755				if err != nil {
55756					return err
55757				}
55758				mls.Type = typeVar
55759			}
55760		}
55761	}
55762
55763	return nil
55764}
55765
55766// MarketoLinkedServiceTypeProperties marketo server linked service properties.
55767type MarketoLinkedServiceTypeProperties struct {
55768	// Endpoint - The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com)
55769	Endpoint interface{} `json:"endpoint,omitempty"`
55770	// ClientID - The client Id of your Marketo service.
55771	ClientID interface{} `json:"clientId,omitempty"`
55772	// ClientSecret - The client secret of your Marketo service.
55773	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
55774	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
55775	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
55776	// 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.
55777	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
55778	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
55779	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
55780	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
55781	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
55782}
55783
55784// UnmarshalJSON is the custom unmarshaler for MarketoLinkedServiceTypeProperties struct.
55785func (mlstp *MarketoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
55786	var m map[string]*json.RawMessage
55787	err := json.Unmarshal(body, &m)
55788	if err != nil {
55789		return err
55790	}
55791	for k, v := range m {
55792		switch k {
55793		case "endpoint":
55794			if v != nil {
55795				var endpoint interface{}
55796				err = json.Unmarshal(*v, &endpoint)
55797				if err != nil {
55798					return err
55799				}
55800				mlstp.Endpoint = endpoint
55801			}
55802		case "clientId":
55803			if v != nil {
55804				var clientID interface{}
55805				err = json.Unmarshal(*v, &clientID)
55806				if err != nil {
55807					return err
55808				}
55809				mlstp.ClientID = clientID
55810			}
55811		case "clientSecret":
55812			if v != nil {
55813				clientSecret, err := unmarshalBasicSecretBase(*v)
55814				if err != nil {
55815					return err
55816				}
55817				mlstp.ClientSecret = clientSecret
55818			}
55819		case "useEncryptedEndpoints":
55820			if v != nil {
55821				var useEncryptedEndpoints interface{}
55822				err = json.Unmarshal(*v, &useEncryptedEndpoints)
55823				if err != nil {
55824					return err
55825				}
55826				mlstp.UseEncryptedEndpoints = useEncryptedEndpoints
55827			}
55828		case "useHostVerification":
55829			if v != nil {
55830				var useHostVerification interface{}
55831				err = json.Unmarshal(*v, &useHostVerification)
55832				if err != nil {
55833					return err
55834				}
55835				mlstp.UseHostVerification = useHostVerification
55836			}
55837		case "usePeerVerification":
55838			if v != nil {
55839				var usePeerVerification interface{}
55840				err = json.Unmarshal(*v, &usePeerVerification)
55841				if err != nil {
55842					return err
55843				}
55844				mlstp.UsePeerVerification = usePeerVerification
55845			}
55846		case "encryptedCredential":
55847			if v != nil {
55848				var encryptedCredential interface{}
55849				err = json.Unmarshal(*v, &encryptedCredential)
55850				if err != nil {
55851					return err
55852				}
55853				mlstp.EncryptedCredential = encryptedCredential
55854			}
55855		}
55856	}
55857
55858	return nil
55859}
55860
55861// MarketoObjectDataset marketo server dataset.
55862type MarketoObjectDataset struct {
55863	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
55864	AdditionalProperties map[string]interface{} `json:""`
55865	// Description - Dataset description.
55866	Description *string `json:"description,omitempty"`
55867	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
55868	Structure interface{} `json:"structure,omitempty"`
55869	// LinkedServiceName - Linked service reference.
55870	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
55871	// Parameters - Parameters for dataset.
55872	Parameters map[string]*ParameterSpecification `json:"parameters"`
55873	// Annotations - List of tags that can be used for describing the Dataset.
55874	Annotations *[]interface{} `json:"annotations,omitempty"`
55875	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
55876	Type TypeBasicDataset `json:"type,omitempty"`
55877}
55878
55879// MarshalJSON is the custom marshaler for MarketoObjectDataset.
55880func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) {
55881	mod.Type = TypeMarketoObject
55882	objectMap := make(map[string]interface{})
55883	if mod.Description != nil {
55884		objectMap["description"] = mod.Description
55885	}
55886	objectMap["structure"] = mod.Structure
55887	if mod.LinkedServiceName != nil {
55888		objectMap["linkedServiceName"] = mod.LinkedServiceName
55889	}
55890	if mod.Parameters != nil {
55891		objectMap["parameters"] = mod.Parameters
55892	}
55893	if mod.Annotations != nil {
55894		objectMap["annotations"] = mod.Annotations
55895	}
55896	if mod.Type != "" {
55897		objectMap["type"] = mod.Type
55898	}
55899	for k, v := range mod.AdditionalProperties {
55900		objectMap[k] = v
55901	}
55902	return json.Marshal(objectMap)
55903}
55904
55905// AsResponsysObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55906func (mod MarketoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
55907	return nil, false
55908}
55909
55910// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55911func (mod MarketoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
55912	return nil, false
55913}
55914
55915// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
55916func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
55917	return nil, false
55918}
55919
55920// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset.
55921func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
55922	return nil, false
55923}
55924
55925// AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55926func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
55927	return nil, false
55928}
55929
55930// AsXeroObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55931func (mod MarketoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
55932	return nil, false
55933}
55934
55935// AsSquareObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55936func (mod MarketoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
55937	return nil, false
55938}
55939
55940// AsSparkObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55941func (mod MarketoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
55942	return nil, false
55943}
55944
55945// AsShopifyObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55946func (mod MarketoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
55947	return nil, false
55948}
55949
55950// AsServiceNowObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55951func (mod MarketoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
55952	return nil, false
55953}
55954
55955// AsQuickBooksObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55956func (mod MarketoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
55957	return nil, false
55958}
55959
55960// AsPrestoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55961func (mod MarketoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
55962	return nil, false
55963}
55964
55965// AsPhoenixObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55966func (mod MarketoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
55967	return nil, false
55968}
55969
55970// AsPaypalObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55971func (mod MarketoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
55972	return nil, false
55973}
55974
55975// AsMarketoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55976func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
55977	return &mod, true
55978}
55979
55980// AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset.
55981func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
55982	return nil, false
55983}
55984
55985// AsMagentoObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55986func (mod MarketoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
55987	return nil, false
55988}
55989
55990// AsJiraObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55991func (mod MarketoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
55992	return nil, false
55993}
55994
55995// AsImpalaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
55996func (mod MarketoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
55997	return nil, false
55998}
55999
56000// AsHubspotObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56001func (mod MarketoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
56002	return nil, false
56003}
56004
56005// AsHiveObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56006func (mod MarketoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
56007	return nil, false
56008}
56009
56010// AsHBaseObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56011func (mod MarketoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
56012	return nil, false
56013}
56014
56015// AsGreenplumTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56016func (mod MarketoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
56017	return nil, false
56018}
56019
56020// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56021func (mod MarketoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
56022	return nil, false
56023}
56024
56025// AsEloquaObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56026func (mod MarketoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
56027	return nil, false
56028}
56029
56030// AsDrillTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56031func (mod MarketoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
56032	return nil, false
56033}
56034
56035// AsCouchbaseTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56036func (mod MarketoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
56037	return nil, false
56038}
56039
56040// AsConcurObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56041func (mod MarketoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
56042	return nil, false
56043}
56044
56045// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56046func (mod MarketoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
56047	return nil, false
56048}
56049
56050// AsAmazonMWSObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56051func (mod MarketoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
56052	return nil, false
56053}
56054
56055// AsHTTPDataset is the BasicDataset implementation for MarketoObjectDataset.
56056func (mod MarketoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
56057	return nil, false
56058}
56059
56060// AsAzureSearchIndexDataset is the BasicDataset implementation for MarketoObjectDataset.
56061func (mod MarketoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
56062	return nil, false
56063}
56064
56065// AsWebTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56066func (mod MarketoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
56067	return nil, false
56068}
56069
56070// AsSQLServerTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56071func (mod MarketoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
56072	return nil, false
56073}
56074
56075// AsSapEccResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
56076func (mod MarketoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
56077	return nil, false
56078}
56079
56080// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
56081func (mod MarketoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
56082	return nil, false
56083}
56084
56085// AsSalesforceObjectDataset is the BasicDataset implementation for MarketoObjectDataset.
56086func (mod MarketoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
56087	return nil, false
56088}
56089
56090// AsRelationalTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56091func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
56092	return nil, false
56093}
56094
56095// AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56096func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
56097	return nil, false
56098}
56099
56100// AsOracleTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56101func (mod MarketoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
56102	return nil, false
56103}
56104
56105// AsODataResourceDataset is the BasicDataset implementation for MarketoObjectDataset.
56106func (mod MarketoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
56107	return nil, false
56108}
56109
56110// AsMongoDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
56111func (mod MarketoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
56112	return nil, false
56113}
56114
56115// AsFileShareDataset is the BasicDataset implementation for MarketoObjectDataset.
56116func (mod MarketoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
56117	return nil, false
56118}
56119
56120// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MarketoObjectDataset.
56121func (mod MarketoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
56122	return nil, false
56123}
56124
56125// AsDynamicsEntityDataset is the BasicDataset implementation for MarketoObjectDataset.
56126func (mod MarketoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
56127	return nil, false
56128}
56129
56130// AsDocumentDbCollectionDataset is the BasicDataset implementation for MarketoObjectDataset.
56131func (mod MarketoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
56132	return nil, false
56133}
56134
56135// AsCustomDataset is the BasicDataset implementation for MarketoObjectDataset.
56136func (mod MarketoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
56137	return nil, false
56138}
56139
56140// AsCassandraTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56141func (mod MarketoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
56142	return nil, false
56143}
56144
56145// AsAzureSQLDWTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56146func (mod MarketoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
56147	return nil, false
56148}
56149
56150// AsAzureSQLTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56151func (mod MarketoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
56152	return nil, false
56153}
56154
56155// AsAzureTableDataset is the BasicDataset implementation for MarketoObjectDataset.
56156func (mod MarketoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
56157	return nil, false
56158}
56159
56160// AsAzureBlobDataset is the BasicDataset implementation for MarketoObjectDataset.
56161func (mod MarketoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
56162	return nil, false
56163}
56164
56165// AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset.
56166func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
56167	return nil, false
56168}
56169
56170// AsDataset is the BasicDataset implementation for MarketoObjectDataset.
56171func (mod MarketoObjectDataset) AsDataset() (*Dataset, bool) {
56172	return nil, false
56173}
56174
56175// AsBasicDataset is the BasicDataset implementation for MarketoObjectDataset.
56176func (mod MarketoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
56177	return &mod, true
56178}
56179
56180// MarketoSource a copy activity Marketo server source.
56181type MarketoSource struct {
56182	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
56183	Query interface{} `json:"query,omitempty"`
56184	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
56185	AdditionalProperties map[string]interface{} `json:""`
56186	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
56187	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
56188	// 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])).
56189	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
56190	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
56191	Type TypeBasicCopySource `json:"type,omitempty"`
56192}
56193
56194// MarshalJSON is the custom marshaler for MarketoSource.
56195func (ms MarketoSource) MarshalJSON() ([]byte, error) {
56196	ms.Type = TypeMarketoSource
56197	objectMap := make(map[string]interface{})
56198	objectMap["query"] = ms.Query
56199	objectMap["sourceRetryCount"] = ms.SourceRetryCount
56200	objectMap["sourceRetryWait"] = ms.SourceRetryWait
56201	if ms.Type != "" {
56202		objectMap["type"] = ms.Type
56203	}
56204	for k, v := range ms.AdditionalProperties {
56205		objectMap[k] = v
56206	}
56207	return json.Marshal(objectMap)
56208}
56209
56210// AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource.
56211func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
56212	return nil, false
56213}
56214
56215// AsResponsysSource is the BasicCopySource implementation for MarketoSource.
56216func (ms MarketoSource) AsResponsysSource() (*ResponsysSource, bool) {
56217	return nil, false
56218}
56219
56220// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MarketoSource.
56221func (ms MarketoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
56222	return nil, false
56223}
56224
56225// AsVerticaSource is the BasicCopySource implementation for MarketoSource.
56226func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) {
56227	return nil, false
56228}
56229
56230// AsNetezzaSource is the BasicCopySource implementation for MarketoSource.
56231func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) {
56232	return nil, false
56233}
56234
56235// AsZohoSource is the BasicCopySource implementation for MarketoSource.
56236func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) {
56237	return nil, false
56238}
56239
56240// AsXeroSource is the BasicCopySource implementation for MarketoSource.
56241func (ms MarketoSource) AsXeroSource() (*XeroSource, bool) {
56242	return nil, false
56243}
56244
56245// AsSquareSource is the BasicCopySource implementation for MarketoSource.
56246func (ms MarketoSource) AsSquareSource() (*SquareSource, bool) {
56247	return nil, false
56248}
56249
56250// AsSparkSource is the BasicCopySource implementation for MarketoSource.
56251func (ms MarketoSource) AsSparkSource() (*SparkSource, bool) {
56252	return nil, false
56253}
56254
56255// AsShopifySource is the BasicCopySource implementation for MarketoSource.
56256func (ms MarketoSource) AsShopifySource() (*ShopifySource, bool) {
56257	return nil, false
56258}
56259
56260// AsServiceNowSource is the BasicCopySource implementation for MarketoSource.
56261func (ms MarketoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
56262	return nil, false
56263}
56264
56265// AsQuickBooksSource is the BasicCopySource implementation for MarketoSource.
56266func (ms MarketoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
56267	return nil, false
56268}
56269
56270// AsPrestoSource is the BasicCopySource implementation for MarketoSource.
56271func (ms MarketoSource) AsPrestoSource() (*PrestoSource, bool) {
56272	return nil, false
56273}
56274
56275// AsPhoenixSource is the BasicCopySource implementation for MarketoSource.
56276func (ms MarketoSource) AsPhoenixSource() (*PhoenixSource, bool) {
56277	return nil, false
56278}
56279
56280// AsPaypalSource is the BasicCopySource implementation for MarketoSource.
56281func (ms MarketoSource) AsPaypalSource() (*PaypalSource, bool) {
56282	return nil, false
56283}
56284
56285// AsMarketoSource is the BasicCopySource implementation for MarketoSource.
56286func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) {
56287	return &ms, true
56288}
56289
56290// AsMariaDBSource is the BasicCopySource implementation for MarketoSource.
56291func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) {
56292	return nil, false
56293}
56294
56295// AsMagentoSource is the BasicCopySource implementation for MarketoSource.
56296func (ms MarketoSource) AsMagentoSource() (*MagentoSource, bool) {
56297	return nil, false
56298}
56299
56300// AsJiraSource is the BasicCopySource implementation for MarketoSource.
56301func (ms MarketoSource) AsJiraSource() (*JiraSource, bool) {
56302	return nil, false
56303}
56304
56305// AsImpalaSource is the BasicCopySource implementation for MarketoSource.
56306func (ms MarketoSource) AsImpalaSource() (*ImpalaSource, bool) {
56307	return nil, false
56308}
56309
56310// AsHubspotSource is the BasicCopySource implementation for MarketoSource.
56311func (ms MarketoSource) AsHubspotSource() (*HubspotSource, bool) {
56312	return nil, false
56313}
56314
56315// AsHiveSource is the BasicCopySource implementation for MarketoSource.
56316func (ms MarketoSource) AsHiveSource() (*HiveSource, bool) {
56317	return nil, false
56318}
56319
56320// AsHBaseSource is the BasicCopySource implementation for MarketoSource.
56321func (ms MarketoSource) AsHBaseSource() (*HBaseSource, bool) {
56322	return nil, false
56323}
56324
56325// AsGreenplumSource is the BasicCopySource implementation for MarketoSource.
56326func (ms MarketoSource) AsGreenplumSource() (*GreenplumSource, bool) {
56327	return nil, false
56328}
56329
56330// AsGoogleBigQuerySource is the BasicCopySource implementation for MarketoSource.
56331func (ms MarketoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
56332	return nil, false
56333}
56334
56335// AsEloquaSource is the BasicCopySource implementation for MarketoSource.
56336func (ms MarketoSource) AsEloquaSource() (*EloquaSource, bool) {
56337	return nil, false
56338}
56339
56340// AsDrillSource is the BasicCopySource implementation for MarketoSource.
56341func (ms MarketoSource) AsDrillSource() (*DrillSource, bool) {
56342	return nil, false
56343}
56344
56345// AsCouchbaseSource is the BasicCopySource implementation for MarketoSource.
56346func (ms MarketoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
56347	return nil, false
56348}
56349
56350// AsConcurSource is the BasicCopySource implementation for MarketoSource.
56351func (ms MarketoSource) AsConcurSource() (*ConcurSource, bool) {
56352	return nil, false
56353}
56354
56355// AsAzurePostgreSQLSource is the BasicCopySource implementation for MarketoSource.
56356func (ms MarketoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
56357	return nil, false
56358}
56359
56360// AsAmazonMWSSource is the BasicCopySource implementation for MarketoSource.
56361func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
56362	return nil, false
56363}
56364
56365// AsHTTPSource is the BasicCopySource implementation for MarketoSource.
56366func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) {
56367	return nil, false
56368}
56369
56370// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource.
56371func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
56372	return nil, false
56373}
56374
56375// AsMongoDbSource is the BasicCopySource implementation for MarketoSource.
56376func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) {
56377	return nil, false
56378}
56379
56380// AsCassandraSource is the BasicCopySource implementation for MarketoSource.
56381func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) {
56382	return nil, false
56383}
56384
56385// AsWebSource is the BasicCopySource implementation for MarketoSource.
56386func (ms MarketoSource) AsWebSource() (*WebSource, bool) {
56387	return nil, false
56388}
56389
56390// AsOracleSource is the BasicCopySource implementation for MarketoSource.
56391func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) {
56392	return nil, false
56393}
56394
56395// AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource.
56396func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
56397	return nil, false
56398}
56399
56400// AsHdfsSource is the BasicCopySource implementation for MarketoSource.
56401func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) {
56402	return nil, false
56403}
56404
56405// AsFileSystemSource is the BasicCopySource implementation for MarketoSource.
56406func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) {
56407	return nil, false
56408}
56409
56410// AsSQLDWSource is the BasicCopySource implementation for MarketoSource.
56411func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) {
56412	return nil, false
56413}
56414
56415// AsSQLSource is the BasicCopySource implementation for MarketoSource.
56416func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) {
56417	return nil, false
56418}
56419
56420// AsSapEccSource is the BasicCopySource implementation for MarketoSource.
56421func (ms MarketoSource) AsSapEccSource() (*SapEccSource, bool) {
56422	return nil, false
56423}
56424
56425// AsSapCloudForCustomerSource is the BasicCopySource implementation for MarketoSource.
56426func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
56427	return nil, false
56428}
56429
56430// AsSalesforceSource is the BasicCopySource implementation for MarketoSource.
56431func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) {
56432	return nil, false
56433}
56434
56435// AsRelationalSource is the BasicCopySource implementation for MarketoSource.
56436func (ms MarketoSource) AsRelationalSource() (*RelationalSource, bool) {
56437	return nil, false
56438}
56439
56440// AsDynamicsSource is the BasicCopySource implementation for MarketoSource.
56441func (ms MarketoSource) AsDynamicsSource() (*DynamicsSource, bool) {
56442	return nil, false
56443}
56444
56445// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource.
56446func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
56447	return nil, false
56448}
56449
56450// AsBlobSource is the BasicCopySource implementation for MarketoSource.
56451func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) {
56452	return nil, false
56453}
56454
56455// AsAzureTableSource is the BasicCopySource implementation for MarketoSource.
56456func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) {
56457	return nil, false
56458}
56459
56460// AsCopySource is the BasicCopySource implementation for MarketoSource.
56461func (ms MarketoSource) AsCopySource() (*CopySource, bool) {
56462	return nil, false
56463}
56464
56465// AsBasicCopySource is the BasicCopySource implementation for MarketoSource.
56466func (ms MarketoSource) AsBasicCopySource() (BasicCopySource, bool) {
56467	return &ms, true
56468}
56469
56470// MongoDbCollectionDataset the MongoDB database dataset.
56471type MongoDbCollectionDataset struct {
56472	// MongoDbCollectionDatasetTypeProperties - MongoDB database dataset properties.
56473	*MongoDbCollectionDatasetTypeProperties `json:"typeProperties,omitempty"`
56474	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
56475	AdditionalProperties map[string]interface{} `json:""`
56476	// Description - Dataset description.
56477	Description *string `json:"description,omitempty"`
56478	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
56479	Structure interface{} `json:"structure,omitempty"`
56480	// LinkedServiceName - Linked service reference.
56481	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
56482	// Parameters - Parameters for dataset.
56483	Parameters map[string]*ParameterSpecification `json:"parameters"`
56484	// Annotations - List of tags that can be used for describing the Dataset.
56485	Annotations *[]interface{} `json:"annotations,omitempty"`
56486	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
56487	Type TypeBasicDataset `json:"type,omitempty"`
56488}
56489
56490// MarshalJSON is the custom marshaler for MongoDbCollectionDataset.
56491func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) {
56492	mdcd.Type = TypeMongoDbCollection
56493	objectMap := make(map[string]interface{})
56494	if mdcd.MongoDbCollectionDatasetTypeProperties != nil {
56495		objectMap["typeProperties"] = mdcd.MongoDbCollectionDatasetTypeProperties
56496	}
56497	if mdcd.Description != nil {
56498		objectMap["description"] = mdcd.Description
56499	}
56500	objectMap["structure"] = mdcd.Structure
56501	if mdcd.LinkedServiceName != nil {
56502		objectMap["linkedServiceName"] = mdcd.LinkedServiceName
56503	}
56504	if mdcd.Parameters != nil {
56505		objectMap["parameters"] = mdcd.Parameters
56506	}
56507	if mdcd.Annotations != nil {
56508		objectMap["annotations"] = mdcd.Annotations
56509	}
56510	if mdcd.Type != "" {
56511		objectMap["type"] = mdcd.Type
56512	}
56513	for k, v := range mdcd.AdditionalProperties {
56514		objectMap[k] = v
56515	}
56516	return json.Marshal(objectMap)
56517}
56518
56519// AsResponsysObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56520func (mdcd MongoDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
56521	return nil, false
56522}
56523
56524// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56525func (mdcd MongoDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
56526	return nil, false
56527}
56528
56529// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56530func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
56531	return nil, false
56532}
56533
56534// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56535func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
56536	return nil, false
56537}
56538
56539// AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56540func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
56541	return nil, false
56542}
56543
56544// AsXeroObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56545func (mdcd MongoDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
56546	return nil, false
56547}
56548
56549// AsSquareObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56550func (mdcd MongoDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
56551	return nil, false
56552}
56553
56554// AsSparkObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56555func (mdcd MongoDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
56556	return nil, false
56557}
56558
56559// AsShopifyObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56560func (mdcd MongoDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
56561	return nil, false
56562}
56563
56564// AsServiceNowObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56565func (mdcd MongoDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
56566	return nil, false
56567}
56568
56569// AsQuickBooksObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56570func (mdcd MongoDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
56571	return nil, false
56572}
56573
56574// AsPrestoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56575func (mdcd MongoDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
56576	return nil, false
56577}
56578
56579// AsPhoenixObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56580func (mdcd MongoDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
56581	return nil, false
56582}
56583
56584// AsPaypalObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56585func (mdcd MongoDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
56586	return nil, false
56587}
56588
56589// AsMarketoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56590func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
56591	return nil, false
56592}
56593
56594// AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56595func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
56596	return nil, false
56597}
56598
56599// AsMagentoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56600func (mdcd MongoDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
56601	return nil, false
56602}
56603
56604// AsJiraObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56605func (mdcd MongoDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
56606	return nil, false
56607}
56608
56609// AsImpalaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56610func (mdcd MongoDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
56611	return nil, false
56612}
56613
56614// AsHubspotObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56615func (mdcd MongoDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
56616	return nil, false
56617}
56618
56619// AsHiveObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56620func (mdcd MongoDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
56621	return nil, false
56622}
56623
56624// AsHBaseObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56625func (mdcd MongoDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
56626	return nil, false
56627}
56628
56629// AsGreenplumTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56630func (mdcd MongoDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
56631	return nil, false
56632}
56633
56634// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56635func (mdcd MongoDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
56636	return nil, false
56637}
56638
56639// AsEloquaObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56640func (mdcd MongoDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
56641	return nil, false
56642}
56643
56644// AsDrillTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56645func (mdcd MongoDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
56646	return nil, false
56647}
56648
56649// AsCouchbaseTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56650func (mdcd MongoDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
56651	return nil, false
56652}
56653
56654// AsConcurObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56655func (mdcd MongoDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
56656	return nil, false
56657}
56658
56659// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56660func (mdcd MongoDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
56661	return nil, false
56662}
56663
56664// AsAmazonMWSObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56665func (mdcd MongoDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
56666	return nil, false
56667}
56668
56669// AsHTTPDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56670func (mdcd MongoDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) {
56671	return nil, false
56672}
56673
56674// AsAzureSearchIndexDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56675func (mdcd MongoDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
56676	return nil, false
56677}
56678
56679// AsWebTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56680func (mdcd MongoDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) {
56681	return nil, false
56682}
56683
56684// AsSQLServerTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56685func (mdcd MongoDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
56686	return nil, false
56687}
56688
56689// AsSapEccResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56690func (mdcd MongoDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
56691	return nil, false
56692}
56693
56694// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56695func (mdcd MongoDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
56696	return nil, false
56697}
56698
56699// AsSalesforceObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56700func (mdcd MongoDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
56701	return nil, false
56702}
56703
56704// AsRelationalTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56705func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
56706	return nil, false
56707}
56708
56709// AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56710func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
56711	return nil, false
56712}
56713
56714// AsOracleTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56715func (mdcd MongoDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
56716	return nil, false
56717}
56718
56719// AsODataResourceDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56720func (mdcd MongoDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
56721	return nil, false
56722}
56723
56724// AsMongoDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56725func (mdcd MongoDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
56726	return &mdcd, true
56727}
56728
56729// AsFileShareDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56730func (mdcd MongoDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) {
56731	return nil, false
56732}
56733
56734// AsAzureDataLakeStoreDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56735func (mdcd MongoDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
56736	return nil, false
56737}
56738
56739// AsDynamicsEntityDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56740func (mdcd MongoDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
56741	return nil, false
56742}
56743
56744// AsDocumentDbCollectionDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56745func (mdcd MongoDbCollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
56746	return nil, false
56747}
56748
56749// AsCustomDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56750func (mdcd MongoDbCollectionDataset) AsCustomDataset() (*CustomDataset, bool) {
56751	return nil, false
56752}
56753
56754// AsCassandraTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56755func (mdcd MongoDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
56756	return nil, false
56757}
56758
56759// AsAzureSQLDWTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56760func (mdcd MongoDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
56761	return nil, false
56762}
56763
56764// AsAzureSQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56765func (mdcd MongoDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
56766	return nil, false
56767}
56768
56769// AsAzureTableDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56770func (mdcd MongoDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
56771	return nil, false
56772}
56773
56774// AsAzureBlobDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56775func (mdcd MongoDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
56776	return nil, false
56777}
56778
56779// AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset.
56780func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
56781	return nil, false
56782}
56783
56784// AsDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56785func (mdcd MongoDbCollectionDataset) AsDataset() (*Dataset, bool) {
56786	return nil, false
56787}
56788
56789// AsBasicDataset is the BasicDataset implementation for MongoDbCollectionDataset.
56790func (mdcd MongoDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) {
56791	return &mdcd, true
56792}
56793
56794// UnmarshalJSON is the custom unmarshaler for MongoDbCollectionDataset struct.
56795func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error {
56796	var m map[string]*json.RawMessage
56797	err := json.Unmarshal(body, &m)
56798	if err != nil {
56799		return err
56800	}
56801	for k, v := range m {
56802		switch k {
56803		case "typeProperties":
56804			if v != nil {
56805				var mongoDbCollectionDatasetTypeProperties MongoDbCollectionDatasetTypeProperties
56806				err = json.Unmarshal(*v, &mongoDbCollectionDatasetTypeProperties)
56807				if err != nil {
56808					return err
56809				}
56810				mdcd.MongoDbCollectionDatasetTypeProperties = &mongoDbCollectionDatasetTypeProperties
56811			}
56812		default:
56813			if v != nil {
56814				var additionalProperties interface{}
56815				err = json.Unmarshal(*v, &additionalProperties)
56816				if err != nil {
56817					return err
56818				}
56819				if mdcd.AdditionalProperties == nil {
56820					mdcd.AdditionalProperties = make(map[string]interface{})
56821				}
56822				mdcd.AdditionalProperties[k] = additionalProperties
56823			}
56824		case "description":
56825			if v != nil {
56826				var description string
56827				err = json.Unmarshal(*v, &description)
56828				if err != nil {
56829					return err
56830				}
56831				mdcd.Description = &description
56832			}
56833		case "structure":
56834			if v != nil {
56835				var structure interface{}
56836				err = json.Unmarshal(*v, &structure)
56837				if err != nil {
56838					return err
56839				}
56840				mdcd.Structure = structure
56841			}
56842		case "linkedServiceName":
56843			if v != nil {
56844				var linkedServiceName LinkedServiceReference
56845				err = json.Unmarshal(*v, &linkedServiceName)
56846				if err != nil {
56847					return err
56848				}
56849				mdcd.LinkedServiceName = &linkedServiceName
56850			}
56851		case "parameters":
56852			if v != nil {
56853				var parameters map[string]*ParameterSpecification
56854				err = json.Unmarshal(*v, &parameters)
56855				if err != nil {
56856					return err
56857				}
56858				mdcd.Parameters = parameters
56859			}
56860		case "annotations":
56861			if v != nil {
56862				var annotations []interface{}
56863				err = json.Unmarshal(*v, &annotations)
56864				if err != nil {
56865					return err
56866				}
56867				mdcd.Annotations = &annotations
56868			}
56869		case "type":
56870			if v != nil {
56871				var typeVar TypeBasicDataset
56872				err = json.Unmarshal(*v, &typeVar)
56873				if err != nil {
56874					return err
56875				}
56876				mdcd.Type = typeVar
56877			}
56878		}
56879	}
56880
56881	return nil
56882}
56883
56884// MongoDbCollectionDatasetTypeProperties mongoDB database dataset properties.
56885type MongoDbCollectionDatasetTypeProperties struct {
56886	// CollectionName - The table name of the MongoDB database. Type: string (or Expression with resultType string).
56887	CollectionName interface{} `json:"collectionName,omitempty"`
56888}
56889
56890// MongoDbLinkedService linked service for MongoDb data source.
56891type MongoDbLinkedService struct {
56892	// MongoDbLinkedServiceTypeProperties - MongoDB linked service properties.
56893	*MongoDbLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
56894	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
56895	AdditionalProperties map[string]interface{} `json:""`
56896	// ConnectVia - The integration runtime reference.
56897	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
56898	// Description - Linked service description.
56899	Description *string `json:"description,omitempty"`
56900	// Parameters - Parameters for linked service.
56901	Parameters map[string]*ParameterSpecification `json:"parameters"`
56902	// Annotations - List of tags that can be used for describing the Dataset.
56903	Annotations *[]interface{} `json:"annotations,omitempty"`
56904	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
56905	Type TypeBasicLinkedService `json:"type,omitempty"`
56906}
56907
56908// MarshalJSON is the custom marshaler for MongoDbLinkedService.
56909func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) {
56910	mdls.Type = TypeMongoDb
56911	objectMap := make(map[string]interface{})
56912	if mdls.MongoDbLinkedServiceTypeProperties != nil {
56913		objectMap["typeProperties"] = mdls.MongoDbLinkedServiceTypeProperties
56914	}
56915	if mdls.ConnectVia != nil {
56916		objectMap["connectVia"] = mdls.ConnectVia
56917	}
56918	if mdls.Description != nil {
56919		objectMap["description"] = mdls.Description
56920	}
56921	if mdls.Parameters != nil {
56922		objectMap["parameters"] = mdls.Parameters
56923	}
56924	if mdls.Annotations != nil {
56925		objectMap["annotations"] = mdls.Annotations
56926	}
56927	if mdls.Type != "" {
56928		objectMap["type"] = mdls.Type
56929	}
56930	for k, v := range mdls.AdditionalProperties {
56931		objectMap[k] = v
56932	}
56933	return json.Marshal(objectMap)
56934}
56935
56936// AsResponsysLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56937func (mdls MongoDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
56938	return nil, false
56939}
56940
56941// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56942func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
56943	return nil, false
56944}
56945
56946// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56947func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
56948	return nil, false
56949}
56950
56951// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56952func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
56953	return nil, false
56954}
56955
56956// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56957func (mdls MongoDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
56958	return nil, false
56959}
56960
56961// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56962func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
56963	return nil, false
56964}
56965
56966// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56967func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
56968	return nil, false
56969}
56970
56971// AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56972func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
56973	return nil, false
56974}
56975
56976// AsXeroLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56977func (mdls MongoDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
56978	return nil, false
56979}
56980
56981// AsSquareLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56982func (mdls MongoDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
56983	return nil, false
56984}
56985
56986// AsSparkLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56987func (mdls MongoDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
56988	return nil, false
56989}
56990
56991// AsShopifyLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56992func (mdls MongoDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
56993	return nil, false
56994}
56995
56996// AsServiceNowLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
56997func (mdls MongoDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
56998	return nil, false
56999}
57000
57001// AsQuickBooksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57002func (mdls MongoDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
57003	return nil, false
57004}
57005
57006// AsPrestoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57007func (mdls MongoDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
57008	return nil, false
57009}
57010
57011// AsPhoenixLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57012func (mdls MongoDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
57013	return nil, false
57014}
57015
57016// AsPaypalLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57017func (mdls MongoDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
57018	return nil, false
57019}
57020
57021// AsMarketoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57022func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
57023	return nil, false
57024}
57025
57026// AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57027func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
57028	return nil, false
57029}
57030
57031// AsMagentoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57032func (mdls MongoDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
57033	return nil, false
57034}
57035
57036// AsJiraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57037func (mdls MongoDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
57038	return nil, false
57039}
57040
57041// AsImpalaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57042func (mdls MongoDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
57043	return nil, false
57044}
57045
57046// AsHubspotLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57047func (mdls MongoDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
57048	return nil, false
57049}
57050
57051// AsHiveLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57052func (mdls MongoDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
57053	return nil, false
57054}
57055
57056// AsHBaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57057func (mdls MongoDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
57058	return nil, false
57059}
57060
57061// AsGreenplumLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57062func (mdls MongoDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
57063	return nil, false
57064}
57065
57066// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57067func (mdls MongoDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
57068	return nil, false
57069}
57070
57071// AsEloquaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57072func (mdls MongoDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
57073	return nil, false
57074}
57075
57076// AsDrillLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57077func (mdls MongoDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
57078	return nil, false
57079}
57080
57081// AsCouchbaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57082func (mdls MongoDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
57083	return nil, false
57084}
57085
57086// AsConcurLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57087func (mdls MongoDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
57088	return nil, false
57089}
57090
57091// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57092func (mdls MongoDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
57093	return nil, false
57094}
57095
57096// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57097func (mdls MongoDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
57098	return nil, false
57099}
57100
57101// AsSapHanaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57102func (mdls MongoDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
57103	return nil, false
57104}
57105
57106// AsSapBWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57107func (mdls MongoDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
57108	return nil, false
57109}
57110
57111// AsSftpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57112func (mdls MongoDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
57113	return nil, false
57114}
57115
57116// AsFtpServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57117func (mdls MongoDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
57118	return nil, false
57119}
57120
57121// AsHTTPLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57122func (mdls MongoDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
57123	return nil, false
57124}
57125
57126// AsAzureSearchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57127func (mdls MongoDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
57128	return nil, false
57129}
57130
57131// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57132func (mdls MongoDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
57133	return nil, false
57134}
57135
57136// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57137func (mdls MongoDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
57138	return nil, false
57139}
57140
57141// AsAmazonS3LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57142func (mdls MongoDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
57143	return nil, false
57144}
57145
57146// AsSapEccLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57147func (mdls MongoDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
57148	return nil, false
57149}
57150
57151// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57152func (mdls MongoDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
57153	return nil, false
57154}
57155
57156// AsSalesforceLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57157func (mdls MongoDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
57158	return nil, false
57159}
57160
57161// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57162func (mdls MongoDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
57163	return nil, false
57164}
57165
57166// AsMongoDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57167func (mdls MongoDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
57168	return &mdls, true
57169}
57170
57171// AsCassandraLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57172func (mdls MongoDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
57173	return nil, false
57174}
57175
57176// AsWebLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57177func (mdls MongoDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
57178	return nil, false
57179}
57180
57181// AsODataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57182func (mdls MongoDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
57183	return nil, false
57184}
57185
57186// AsHdfsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57187func (mdls MongoDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
57188	return nil, false
57189}
57190
57191// AsOdbcLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57192func (mdls MongoDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
57193	return nil, false
57194}
57195
57196// AsAzureMLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57197func (mdls MongoDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
57198	return nil, false
57199}
57200
57201// AsTeradataLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57202func (mdls MongoDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
57203	return nil, false
57204}
57205
57206// AsDb2LinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57207func (mdls MongoDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
57208	return nil, false
57209}
57210
57211// AsSybaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57212func (mdls MongoDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
57213	return nil, false
57214}
57215
57216// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57217func (mdls MongoDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
57218	return nil, false
57219}
57220
57221// AsMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57222func (mdls MongoDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
57223	return nil, false
57224}
57225
57226// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57227func (mdls MongoDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
57228	return nil, false
57229}
57230
57231// AsOracleLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57232func (mdls MongoDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
57233	return nil, false
57234}
57235
57236// AsFileServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57237func (mdls MongoDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
57238	return nil, false
57239}
57240
57241// AsHDInsightLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57242func (mdls MongoDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
57243	return nil, false
57244}
57245
57246// AsDynamicsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57247func (mdls MongoDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
57248	return nil, false
57249}
57250
57251// AsCosmosDbLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57252func (mdls MongoDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
57253	return nil, false
57254}
57255
57256// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57257func (mdls MongoDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
57258	return nil, false
57259}
57260
57261// AsAzureBatchLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57262func (mdls MongoDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
57263	return nil, false
57264}
57265
57266// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57267func (mdls MongoDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
57268	return nil, false
57269}
57270
57271// AsSQLServerLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57272func (mdls MongoDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
57273	return nil, false
57274}
57275
57276// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57277func (mdls MongoDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
57278	return nil, false
57279}
57280
57281// AsAzureStorageLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57282func (mdls MongoDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
57283	return nil, false
57284}
57285
57286// AsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57287func (mdls MongoDbLinkedService) AsLinkedService() (*LinkedService, bool) {
57288	return nil, false
57289}
57290
57291// AsBasicLinkedService is the BasicLinkedService implementation for MongoDbLinkedService.
57292func (mdls MongoDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
57293	return &mdls, true
57294}
57295
57296// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedService struct.
57297func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error {
57298	var m map[string]*json.RawMessage
57299	err := json.Unmarshal(body, &m)
57300	if err != nil {
57301		return err
57302	}
57303	for k, v := range m {
57304		switch k {
57305		case "typeProperties":
57306			if v != nil {
57307				var mongoDbLinkedServiceTypeProperties MongoDbLinkedServiceTypeProperties
57308				err = json.Unmarshal(*v, &mongoDbLinkedServiceTypeProperties)
57309				if err != nil {
57310					return err
57311				}
57312				mdls.MongoDbLinkedServiceTypeProperties = &mongoDbLinkedServiceTypeProperties
57313			}
57314		default:
57315			if v != nil {
57316				var additionalProperties interface{}
57317				err = json.Unmarshal(*v, &additionalProperties)
57318				if err != nil {
57319					return err
57320				}
57321				if mdls.AdditionalProperties == nil {
57322					mdls.AdditionalProperties = make(map[string]interface{})
57323				}
57324				mdls.AdditionalProperties[k] = additionalProperties
57325			}
57326		case "connectVia":
57327			if v != nil {
57328				var connectVia IntegrationRuntimeReference
57329				err = json.Unmarshal(*v, &connectVia)
57330				if err != nil {
57331					return err
57332				}
57333				mdls.ConnectVia = &connectVia
57334			}
57335		case "description":
57336			if v != nil {
57337				var description string
57338				err = json.Unmarshal(*v, &description)
57339				if err != nil {
57340					return err
57341				}
57342				mdls.Description = &description
57343			}
57344		case "parameters":
57345			if v != nil {
57346				var parameters map[string]*ParameterSpecification
57347				err = json.Unmarshal(*v, &parameters)
57348				if err != nil {
57349					return err
57350				}
57351				mdls.Parameters = parameters
57352			}
57353		case "annotations":
57354			if v != nil {
57355				var annotations []interface{}
57356				err = json.Unmarshal(*v, &annotations)
57357				if err != nil {
57358					return err
57359				}
57360				mdls.Annotations = &annotations
57361			}
57362		case "type":
57363			if v != nil {
57364				var typeVar TypeBasicLinkedService
57365				err = json.Unmarshal(*v, &typeVar)
57366				if err != nil {
57367					return err
57368				}
57369				mdls.Type = typeVar
57370			}
57371		}
57372	}
57373
57374	return nil
57375}
57376
57377// MongoDbLinkedServiceTypeProperties mongoDB linked service properties.
57378type MongoDbLinkedServiceTypeProperties struct {
57379	// Server - The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).
57380	Server interface{} `json:"server,omitempty"`
57381	// AuthenticationType - The authentication type to be used to connect to the MongoDB database. Possible values include: 'MongoDbAuthenticationTypeBasic', 'MongoDbAuthenticationTypeAnonymous'
57382	AuthenticationType MongoDbAuthenticationType `json:"authenticationType,omitempty"`
57383	// DatabaseName - The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).
57384	DatabaseName interface{} `json:"databaseName,omitempty"`
57385	// Username - Username for authentication. Type: string (or Expression with resultType string).
57386	Username interface{} `json:"username,omitempty"`
57387	// Password - Password for authentication.
57388	Password BasicSecretBase `json:"password,omitempty"`
57389	// AuthSource - Database to verify the username and password. Type: string (or Expression with resultType string).
57390	AuthSource interface{} `json:"authSource,omitempty"`
57391	// Port - The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.
57392	Port interface{} `json:"port,omitempty"`
57393	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).
57394	EnableSsl interface{} `json:"enableSsl,omitempty"`
57395	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).
57396	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
57397	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
57398	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
57399}
57400
57401// UnmarshalJSON is the custom unmarshaler for MongoDbLinkedServiceTypeProperties struct.
57402func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
57403	var m map[string]*json.RawMessage
57404	err := json.Unmarshal(body, &m)
57405	if err != nil {
57406		return err
57407	}
57408	for k, v := range m {
57409		switch k {
57410		case "server":
57411			if v != nil {
57412				var server interface{}
57413				err = json.Unmarshal(*v, &server)
57414				if err != nil {
57415					return err
57416				}
57417				mdlstp.Server = server
57418			}
57419		case "authenticationType":
57420			if v != nil {
57421				var authenticationType MongoDbAuthenticationType
57422				err = json.Unmarshal(*v, &authenticationType)
57423				if err != nil {
57424					return err
57425				}
57426				mdlstp.AuthenticationType = authenticationType
57427			}
57428		case "databaseName":
57429			if v != nil {
57430				var databaseName interface{}
57431				err = json.Unmarshal(*v, &databaseName)
57432				if err != nil {
57433					return err
57434				}
57435				mdlstp.DatabaseName = databaseName
57436			}
57437		case "username":
57438			if v != nil {
57439				var username interface{}
57440				err = json.Unmarshal(*v, &username)
57441				if err != nil {
57442					return err
57443				}
57444				mdlstp.Username = username
57445			}
57446		case "password":
57447			if v != nil {
57448				password, err := unmarshalBasicSecretBase(*v)
57449				if err != nil {
57450					return err
57451				}
57452				mdlstp.Password = password
57453			}
57454		case "authSource":
57455			if v != nil {
57456				var authSource interface{}
57457				err = json.Unmarshal(*v, &authSource)
57458				if err != nil {
57459					return err
57460				}
57461				mdlstp.AuthSource = authSource
57462			}
57463		case "port":
57464			if v != nil {
57465				var port interface{}
57466				err = json.Unmarshal(*v, &port)
57467				if err != nil {
57468					return err
57469				}
57470				mdlstp.Port = port
57471			}
57472		case "enableSsl":
57473			if v != nil {
57474				var enableSsl interface{}
57475				err = json.Unmarshal(*v, &enableSsl)
57476				if err != nil {
57477					return err
57478				}
57479				mdlstp.EnableSsl = enableSsl
57480			}
57481		case "allowSelfSignedServerCert":
57482			if v != nil {
57483				var allowSelfSignedServerCert interface{}
57484				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
57485				if err != nil {
57486					return err
57487				}
57488				mdlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
57489			}
57490		case "encryptedCredential":
57491			if v != nil {
57492				var encryptedCredential interface{}
57493				err = json.Unmarshal(*v, &encryptedCredential)
57494				if err != nil {
57495					return err
57496				}
57497				mdlstp.EncryptedCredential = encryptedCredential
57498			}
57499		}
57500	}
57501
57502	return nil
57503}
57504
57505// MongoDbSource a copy activity source for a MongoDB database.
57506type MongoDbSource struct {
57507	// Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string).
57508	Query interface{} `json:"query,omitempty"`
57509	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
57510	AdditionalProperties map[string]interface{} `json:""`
57511	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
57512	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
57513	// 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])).
57514	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
57515	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
57516	Type TypeBasicCopySource `json:"type,omitempty"`
57517}
57518
57519// MarshalJSON is the custom marshaler for MongoDbSource.
57520func (mds MongoDbSource) MarshalJSON() ([]byte, error) {
57521	mds.Type = TypeMongoDbSource
57522	objectMap := make(map[string]interface{})
57523	objectMap["query"] = mds.Query
57524	objectMap["sourceRetryCount"] = mds.SourceRetryCount
57525	objectMap["sourceRetryWait"] = mds.SourceRetryWait
57526	if mds.Type != "" {
57527		objectMap["type"] = mds.Type
57528	}
57529	for k, v := range mds.AdditionalProperties {
57530		objectMap[k] = v
57531	}
57532	return json.Marshal(objectMap)
57533}
57534
57535// AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource.
57536func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
57537	return nil, false
57538}
57539
57540// AsResponsysSource is the BasicCopySource implementation for MongoDbSource.
57541func (mds MongoDbSource) AsResponsysSource() (*ResponsysSource, bool) {
57542	return nil, false
57543}
57544
57545// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for MongoDbSource.
57546func (mds MongoDbSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
57547	return nil, false
57548}
57549
57550// AsVerticaSource is the BasicCopySource implementation for MongoDbSource.
57551func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) {
57552	return nil, false
57553}
57554
57555// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource.
57556func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) {
57557	return nil, false
57558}
57559
57560// AsZohoSource is the BasicCopySource implementation for MongoDbSource.
57561func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) {
57562	return nil, false
57563}
57564
57565// AsXeroSource is the BasicCopySource implementation for MongoDbSource.
57566func (mds MongoDbSource) AsXeroSource() (*XeroSource, bool) {
57567	return nil, false
57568}
57569
57570// AsSquareSource is the BasicCopySource implementation for MongoDbSource.
57571func (mds MongoDbSource) AsSquareSource() (*SquareSource, bool) {
57572	return nil, false
57573}
57574
57575// AsSparkSource is the BasicCopySource implementation for MongoDbSource.
57576func (mds MongoDbSource) AsSparkSource() (*SparkSource, bool) {
57577	return nil, false
57578}
57579
57580// AsShopifySource is the BasicCopySource implementation for MongoDbSource.
57581func (mds MongoDbSource) AsShopifySource() (*ShopifySource, bool) {
57582	return nil, false
57583}
57584
57585// AsServiceNowSource is the BasicCopySource implementation for MongoDbSource.
57586func (mds MongoDbSource) AsServiceNowSource() (*ServiceNowSource, bool) {
57587	return nil, false
57588}
57589
57590// AsQuickBooksSource is the BasicCopySource implementation for MongoDbSource.
57591func (mds MongoDbSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
57592	return nil, false
57593}
57594
57595// AsPrestoSource is the BasicCopySource implementation for MongoDbSource.
57596func (mds MongoDbSource) AsPrestoSource() (*PrestoSource, bool) {
57597	return nil, false
57598}
57599
57600// AsPhoenixSource is the BasicCopySource implementation for MongoDbSource.
57601func (mds MongoDbSource) AsPhoenixSource() (*PhoenixSource, bool) {
57602	return nil, false
57603}
57604
57605// AsPaypalSource is the BasicCopySource implementation for MongoDbSource.
57606func (mds MongoDbSource) AsPaypalSource() (*PaypalSource, bool) {
57607	return nil, false
57608}
57609
57610// AsMarketoSource is the BasicCopySource implementation for MongoDbSource.
57611func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) {
57612	return nil, false
57613}
57614
57615// AsMariaDBSource is the BasicCopySource implementation for MongoDbSource.
57616func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) {
57617	return nil, false
57618}
57619
57620// AsMagentoSource is the BasicCopySource implementation for MongoDbSource.
57621func (mds MongoDbSource) AsMagentoSource() (*MagentoSource, bool) {
57622	return nil, false
57623}
57624
57625// AsJiraSource is the BasicCopySource implementation for MongoDbSource.
57626func (mds MongoDbSource) AsJiraSource() (*JiraSource, bool) {
57627	return nil, false
57628}
57629
57630// AsImpalaSource is the BasicCopySource implementation for MongoDbSource.
57631func (mds MongoDbSource) AsImpalaSource() (*ImpalaSource, bool) {
57632	return nil, false
57633}
57634
57635// AsHubspotSource is the BasicCopySource implementation for MongoDbSource.
57636func (mds MongoDbSource) AsHubspotSource() (*HubspotSource, bool) {
57637	return nil, false
57638}
57639
57640// AsHiveSource is the BasicCopySource implementation for MongoDbSource.
57641func (mds MongoDbSource) AsHiveSource() (*HiveSource, bool) {
57642	return nil, false
57643}
57644
57645// AsHBaseSource is the BasicCopySource implementation for MongoDbSource.
57646func (mds MongoDbSource) AsHBaseSource() (*HBaseSource, bool) {
57647	return nil, false
57648}
57649
57650// AsGreenplumSource is the BasicCopySource implementation for MongoDbSource.
57651func (mds MongoDbSource) AsGreenplumSource() (*GreenplumSource, bool) {
57652	return nil, false
57653}
57654
57655// AsGoogleBigQuerySource is the BasicCopySource implementation for MongoDbSource.
57656func (mds MongoDbSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
57657	return nil, false
57658}
57659
57660// AsEloquaSource is the BasicCopySource implementation for MongoDbSource.
57661func (mds MongoDbSource) AsEloquaSource() (*EloquaSource, bool) {
57662	return nil, false
57663}
57664
57665// AsDrillSource is the BasicCopySource implementation for MongoDbSource.
57666func (mds MongoDbSource) AsDrillSource() (*DrillSource, bool) {
57667	return nil, false
57668}
57669
57670// AsCouchbaseSource is the BasicCopySource implementation for MongoDbSource.
57671func (mds MongoDbSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
57672	return nil, false
57673}
57674
57675// AsConcurSource is the BasicCopySource implementation for MongoDbSource.
57676func (mds MongoDbSource) AsConcurSource() (*ConcurSource, bool) {
57677	return nil, false
57678}
57679
57680// AsAzurePostgreSQLSource is the BasicCopySource implementation for MongoDbSource.
57681func (mds MongoDbSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
57682	return nil, false
57683}
57684
57685// AsAmazonMWSSource is the BasicCopySource implementation for MongoDbSource.
57686func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
57687	return nil, false
57688}
57689
57690// AsHTTPSource is the BasicCopySource implementation for MongoDbSource.
57691func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) {
57692	return nil, false
57693}
57694
57695// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource.
57696func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
57697	return nil, false
57698}
57699
57700// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource.
57701func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) {
57702	return &mds, true
57703}
57704
57705// AsCassandraSource is the BasicCopySource implementation for MongoDbSource.
57706func (mds MongoDbSource) AsCassandraSource() (*CassandraSource, bool) {
57707	return nil, false
57708}
57709
57710// AsWebSource is the BasicCopySource implementation for MongoDbSource.
57711func (mds MongoDbSource) AsWebSource() (*WebSource, bool) {
57712	return nil, false
57713}
57714
57715// AsOracleSource is the BasicCopySource implementation for MongoDbSource.
57716func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) {
57717	return nil, false
57718}
57719
57720// AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource.
57721func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
57722	return nil, false
57723}
57724
57725// AsHdfsSource is the BasicCopySource implementation for MongoDbSource.
57726func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) {
57727	return nil, false
57728}
57729
57730// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource.
57731func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) {
57732	return nil, false
57733}
57734
57735// AsSQLDWSource is the BasicCopySource implementation for MongoDbSource.
57736func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) {
57737	return nil, false
57738}
57739
57740// AsSQLSource is the BasicCopySource implementation for MongoDbSource.
57741func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) {
57742	return nil, false
57743}
57744
57745// AsSapEccSource is the BasicCopySource implementation for MongoDbSource.
57746func (mds MongoDbSource) AsSapEccSource() (*SapEccSource, bool) {
57747	return nil, false
57748}
57749
57750// AsSapCloudForCustomerSource is the BasicCopySource implementation for MongoDbSource.
57751func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
57752	return nil, false
57753}
57754
57755// AsSalesforceSource is the BasicCopySource implementation for MongoDbSource.
57756func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) {
57757	return nil, false
57758}
57759
57760// AsRelationalSource is the BasicCopySource implementation for MongoDbSource.
57761func (mds MongoDbSource) AsRelationalSource() (*RelationalSource, bool) {
57762	return nil, false
57763}
57764
57765// AsDynamicsSource is the BasicCopySource implementation for MongoDbSource.
57766func (mds MongoDbSource) AsDynamicsSource() (*DynamicsSource, bool) {
57767	return nil, false
57768}
57769
57770// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource.
57771func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
57772	return nil, false
57773}
57774
57775// AsBlobSource is the BasicCopySource implementation for MongoDbSource.
57776func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) {
57777	return nil, false
57778}
57779
57780// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource.
57781func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) {
57782	return nil, false
57783}
57784
57785// AsCopySource is the BasicCopySource implementation for MongoDbSource.
57786func (mds MongoDbSource) AsCopySource() (*CopySource, bool) {
57787	return nil, false
57788}
57789
57790// AsBasicCopySource is the BasicCopySource implementation for MongoDbSource.
57791func (mds MongoDbSource) AsBasicCopySource() (BasicCopySource, bool) {
57792	return &mds, true
57793}
57794
57795// BasicMultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
57796type BasicMultiplePipelineTrigger interface {
57797	AsBlobTrigger() (*BlobTrigger, bool)
57798	AsScheduleTrigger() (*ScheduleTrigger, bool)
57799	AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool)
57800}
57801
57802// MultiplePipelineTrigger base class for all triggers that support one to many model for trigger to pipeline.
57803type MultiplePipelineTrigger struct {
57804	// Pipelines - Pipelines that need to be started.
57805	Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
57806	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
57807	AdditionalProperties map[string]interface{} `json:""`
57808	// Description - Trigger description.
57809	Description *string `json:"description,omitempty"`
57810	// RuntimeState - Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
57811	RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
57812	// Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
57813	Type TypeBasicTrigger `json:"type,omitempty"`
57814}
57815
57816func unmarshalBasicMultiplePipelineTrigger(body []byte) (BasicMultiplePipelineTrigger, error) {
57817	var m map[string]interface{}
57818	err := json.Unmarshal(body, &m)
57819	if err != nil {
57820		return nil, err
57821	}
57822
57823	switch m["type"] {
57824	case string(TypeBlobTrigger):
57825		var bt BlobTrigger
57826		err := json.Unmarshal(body, &bt)
57827		return bt, err
57828	case string(TypeScheduleTrigger):
57829		var st ScheduleTrigger
57830		err := json.Unmarshal(body, &st)
57831		return st, err
57832	default:
57833		var mpt MultiplePipelineTrigger
57834		err := json.Unmarshal(body, &mpt)
57835		return mpt, err
57836	}
57837}
57838func unmarshalBasicMultiplePipelineTriggerArray(body []byte) ([]BasicMultiplePipelineTrigger, error) {
57839	var rawMessages []*json.RawMessage
57840	err := json.Unmarshal(body, &rawMessages)
57841	if err != nil {
57842		return nil, err
57843	}
57844
57845	mptArray := make([]BasicMultiplePipelineTrigger, len(rawMessages))
57846
57847	for index, rawMessage := range rawMessages {
57848		mpt, err := unmarshalBasicMultiplePipelineTrigger(*rawMessage)
57849		if err != nil {
57850			return nil, err
57851		}
57852		mptArray[index] = mpt
57853	}
57854	return mptArray, nil
57855}
57856
57857// MarshalJSON is the custom marshaler for MultiplePipelineTrigger.
57858func (mpt MultiplePipelineTrigger) MarshalJSON() ([]byte, error) {
57859	mpt.Type = TypeMultiplePipelineTrigger
57860	objectMap := make(map[string]interface{})
57861	if mpt.Pipelines != nil {
57862		objectMap["pipelines"] = mpt.Pipelines
57863	}
57864	if mpt.Description != nil {
57865		objectMap["description"] = mpt.Description
57866	}
57867	if mpt.RuntimeState != "" {
57868		objectMap["runtimeState"] = mpt.RuntimeState
57869	}
57870	if mpt.Type != "" {
57871		objectMap["type"] = mpt.Type
57872	}
57873	for k, v := range mpt.AdditionalProperties {
57874		objectMap[k] = v
57875	}
57876	return json.Marshal(objectMap)
57877}
57878
57879// AsTumblingWindowTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57880func (mpt MultiplePipelineTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
57881	return nil, false
57882}
57883
57884// AsBlobTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57885func (mpt MultiplePipelineTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
57886	return nil, false
57887}
57888
57889// AsScheduleTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57890func (mpt MultiplePipelineTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
57891	return nil, false
57892}
57893
57894// AsMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57895func (mpt MultiplePipelineTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
57896	return &mpt, true
57897}
57898
57899// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57900func (mpt MultiplePipelineTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
57901	return &mpt, true
57902}
57903
57904// AsTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57905func (mpt MultiplePipelineTrigger) AsTrigger() (*Trigger, bool) {
57906	return nil, false
57907}
57908
57909// AsBasicTrigger is the BasicTrigger implementation for MultiplePipelineTrigger.
57910func (mpt MultiplePipelineTrigger) AsBasicTrigger() (BasicTrigger, bool) {
57911	return &mpt, true
57912}
57913
57914// MySQLLinkedService linked service for MySQL data source.
57915type MySQLLinkedService struct {
57916	// MySQLLinkedServiceTypeProperties - MySQL linked service properties.
57917	*MySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
57918	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
57919	AdditionalProperties map[string]interface{} `json:""`
57920	// ConnectVia - The integration runtime reference.
57921	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
57922	// Description - Linked service description.
57923	Description *string `json:"description,omitempty"`
57924	// Parameters - Parameters for linked service.
57925	Parameters map[string]*ParameterSpecification `json:"parameters"`
57926	// Annotations - List of tags that can be used for describing the Dataset.
57927	Annotations *[]interface{} `json:"annotations,omitempty"`
57928	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
57929	Type TypeBasicLinkedService `json:"type,omitempty"`
57930}
57931
57932// MarshalJSON is the custom marshaler for MySQLLinkedService.
57933func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) {
57934	msls.Type = TypeMySQL
57935	objectMap := make(map[string]interface{})
57936	if msls.MySQLLinkedServiceTypeProperties != nil {
57937		objectMap["typeProperties"] = msls.MySQLLinkedServiceTypeProperties
57938	}
57939	if msls.ConnectVia != nil {
57940		objectMap["connectVia"] = msls.ConnectVia
57941	}
57942	if msls.Description != nil {
57943		objectMap["description"] = msls.Description
57944	}
57945	if msls.Parameters != nil {
57946		objectMap["parameters"] = msls.Parameters
57947	}
57948	if msls.Annotations != nil {
57949		objectMap["annotations"] = msls.Annotations
57950	}
57951	if msls.Type != "" {
57952		objectMap["type"] = msls.Type
57953	}
57954	for k, v := range msls.AdditionalProperties {
57955		objectMap[k] = v
57956	}
57957	return json.Marshal(objectMap)
57958}
57959
57960// AsResponsysLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57961func (msls MySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
57962	return nil, false
57963}
57964
57965// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57966func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
57967	return nil, false
57968}
57969
57970// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57971func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
57972	return nil, false
57973}
57974
57975// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57976func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
57977	return nil, false
57978}
57979
57980// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57981func (msls MySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
57982	return nil, false
57983}
57984
57985// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57986func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
57987	return nil, false
57988}
57989
57990// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57991func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
57992	return nil, false
57993}
57994
57995// AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
57996func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
57997	return nil, false
57998}
57999
58000// AsXeroLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58001func (msls MySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
58002	return nil, false
58003}
58004
58005// AsSquareLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58006func (msls MySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
58007	return nil, false
58008}
58009
58010// AsSparkLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58011func (msls MySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
58012	return nil, false
58013}
58014
58015// AsShopifyLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58016func (msls MySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
58017	return nil, false
58018}
58019
58020// AsServiceNowLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58021func (msls MySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
58022	return nil, false
58023}
58024
58025// AsQuickBooksLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58026func (msls MySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
58027	return nil, false
58028}
58029
58030// AsPrestoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58031func (msls MySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
58032	return nil, false
58033}
58034
58035// AsPhoenixLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58036func (msls MySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
58037	return nil, false
58038}
58039
58040// AsPaypalLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58041func (msls MySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
58042	return nil, false
58043}
58044
58045// AsMarketoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58046func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
58047	return nil, false
58048}
58049
58050// AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58051func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
58052	return nil, false
58053}
58054
58055// AsMagentoLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58056func (msls MySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
58057	return nil, false
58058}
58059
58060// AsJiraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58061func (msls MySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
58062	return nil, false
58063}
58064
58065// AsImpalaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58066func (msls MySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
58067	return nil, false
58068}
58069
58070// AsHubspotLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58071func (msls MySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
58072	return nil, false
58073}
58074
58075// AsHiveLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58076func (msls MySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
58077	return nil, false
58078}
58079
58080// AsHBaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58081func (msls MySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
58082	return nil, false
58083}
58084
58085// AsGreenplumLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58086func (msls MySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
58087	return nil, false
58088}
58089
58090// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58091func (msls MySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
58092	return nil, false
58093}
58094
58095// AsEloquaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58096func (msls MySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
58097	return nil, false
58098}
58099
58100// AsDrillLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58101func (msls MySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
58102	return nil, false
58103}
58104
58105// AsCouchbaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58106func (msls MySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
58107	return nil, false
58108}
58109
58110// AsConcurLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58111func (msls MySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
58112	return nil, false
58113}
58114
58115// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58116func (msls MySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
58117	return nil, false
58118}
58119
58120// AsAmazonMWSLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58121func (msls MySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
58122	return nil, false
58123}
58124
58125// AsSapHanaLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58126func (msls MySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
58127	return nil, false
58128}
58129
58130// AsSapBWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58131func (msls MySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
58132	return nil, false
58133}
58134
58135// AsSftpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58136func (msls MySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
58137	return nil, false
58138}
58139
58140// AsFtpServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58141func (msls MySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
58142	return nil, false
58143}
58144
58145// AsHTTPLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58146func (msls MySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
58147	return nil, false
58148}
58149
58150// AsAzureSearchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58151func (msls MySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
58152	return nil, false
58153}
58154
58155// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58156func (msls MySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
58157	return nil, false
58158}
58159
58160// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58161func (msls MySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
58162	return nil, false
58163}
58164
58165// AsAmazonS3LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58166func (msls MySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
58167	return nil, false
58168}
58169
58170// AsSapEccLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58171func (msls MySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
58172	return nil, false
58173}
58174
58175// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58176func (msls MySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
58177	return nil, false
58178}
58179
58180// AsSalesforceLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58181func (msls MySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
58182	return nil, false
58183}
58184
58185// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58186func (msls MySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
58187	return nil, false
58188}
58189
58190// AsMongoDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58191func (msls MySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
58192	return nil, false
58193}
58194
58195// AsCassandraLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58196func (msls MySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
58197	return nil, false
58198}
58199
58200// AsWebLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58201func (msls MySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
58202	return nil, false
58203}
58204
58205// AsODataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58206func (msls MySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
58207	return nil, false
58208}
58209
58210// AsHdfsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58211func (msls MySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
58212	return nil, false
58213}
58214
58215// AsOdbcLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58216func (msls MySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
58217	return nil, false
58218}
58219
58220// AsAzureMLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58221func (msls MySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
58222	return nil, false
58223}
58224
58225// AsTeradataLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58226func (msls MySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
58227	return nil, false
58228}
58229
58230// AsDb2LinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58231func (msls MySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
58232	return nil, false
58233}
58234
58235// AsSybaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58236func (msls MySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
58237	return nil, false
58238}
58239
58240// AsPostgreSQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58241func (msls MySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
58242	return nil, false
58243}
58244
58245// AsMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58246func (msls MySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
58247	return &msls, true
58248}
58249
58250// AsAzureMySQLLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58251func (msls MySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
58252	return nil, false
58253}
58254
58255// AsOracleLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58256func (msls MySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
58257	return nil, false
58258}
58259
58260// AsFileServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58261func (msls MySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
58262	return nil, false
58263}
58264
58265// AsHDInsightLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58266func (msls MySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
58267	return nil, false
58268}
58269
58270// AsDynamicsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58271func (msls MySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
58272	return nil, false
58273}
58274
58275// AsCosmosDbLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58276func (msls MySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
58277	return nil, false
58278}
58279
58280// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58281func (msls MySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
58282	return nil, false
58283}
58284
58285// AsAzureBatchLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58286func (msls MySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
58287	return nil, false
58288}
58289
58290// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58291func (msls MySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
58292	return nil, false
58293}
58294
58295// AsSQLServerLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58296func (msls MySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
58297	return nil, false
58298}
58299
58300// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58301func (msls MySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
58302	return nil, false
58303}
58304
58305// AsAzureStorageLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58306func (msls MySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
58307	return nil, false
58308}
58309
58310// AsLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58311func (msls MySQLLinkedService) AsLinkedService() (*LinkedService, bool) {
58312	return nil, false
58313}
58314
58315// AsBasicLinkedService is the BasicLinkedService implementation for MySQLLinkedService.
58316func (msls MySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
58317	return &msls, true
58318}
58319
58320// UnmarshalJSON is the custom unmarshaler for MySQLLinkedService struct.
58321func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error {
58322	var m map[string]*json.RawMessage
58323	err := json.Unmarshal(body, &m)
58324	if err != nil {
58325		return err
58326	}
58327	for k, v := range m {
58328		switch k {
58329		case "typeProperties":
58330			if v != nil {
58331				var mySQLLinkedServiceTypeProperties MySQLLinkedServiceTypeProperties
58332				err = json.Unmarshal(*v, &mySQLLinkedServiceTypeProperties)
58333				if err != nil {
58334					return err
58335				}
58336				msls.MySQLLinkedServiceTypeProperties = &mySQLLinkedServiceTypeProperties
58337			}
58338		default:
58339			if v != nil {
58340				var additionalProperties interface{}
58341				err = json.Unmarshal(*v, &additionalProperties)
58342				if err != nil {
58343					return err
58344				}
58345				if msls.AdditionalProperties == nil {
58346					msls.AdditionalProperties = make(map[string]interface{})
58347				}
58348				msls.AdditionalProperties[k] = additionalProperties
58349			}
58350		case "connectVia":
58351			if v != nil {
58352				var connectVia IntegrationRuntimeReference
58353				err = json.Unmarshal(*v, &connectVia)
58354				if err != nil {
58355					return err
58356				}
58357				msls.ConnectVia = &connectVia
58358			}
58359		case "description":
58360			if v != nil {
58361				var description string
58362				err = json.Unmarshal(*v, &description)
58363				if err != nil {
58364					return err
58365				}
58366				msls.Description = &description
58367			}
58368		case "parameters":
58369			if v != nil {
58370				var parameters map[string]*ParameterSpecification
58371				err = json.Unmarshal(*v, &parameters)
58372				if err != nil {
58373					return err
58374				}
58375				msls.Parameters = parameters
58376			}
58377		case "annotations":
58378			if v != nil {
58379				var annotations []interface{}
58380				err = json.Unmarshal(*v, &annotations)
58381				if err != nil {
58382					return err
58383				}
58384				msls.Annotations = &annotations
58385			}
58386		case "type":
58387			if v != nil {
58388				var typeVar TypeBasicLinkedService
58389				err = json.Unmarshal(*v, &typeVar)
58390				if err != nil {
58391					return err
58392				}
58393				msls.Type = typeVar
58394			}
58395		}
58396	}
58397
58398	return nil
58399}
58400
58401// MySQLLinkedServiceTypeProperties mySQL linked service properties.
58402type MySQLLinkedServiceTypeProperties struct {
58403	// ConnectionString - The connection string.
58404	ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
58405	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
58406	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
58407}
58408
58409// UnmarshalJSON is the custom unmarshaler for MySQLLinkedServiceTypeProperties struct.
58410func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
58411	var m map[string]*json.RawMessage
58412	err := json.Unmarshal(body, &m)
58413	if err != nil {
58414		return err
58415	}
58416	for k, v := range m {
58417		switch k {
58418		case "connectionString":
58419			if v != nil {
58420				connectionString, err := unmarshalBasicSecretBase(*v)
58421				if err != nil {
58422					return err
58423				}
58424				mslstp.ConnectionString = connectionString
58425			}
58426		case "encryptedCredential":
58427			if v != nil {
58428				var encryptedCredential interface{}
58429				err = json.Unmarshal(*v, &encryptedCredential)
58430				if err != nil {
58431					return err
58432				}
58433				mslstp.EncryptedCredential = encryptedCredential
58434			}
58435		}
58436	}
58437
58438	return nil
58439}
58440
58441// NetezzaLinkedService netezza linked service.
58442type NetezzaLinkedService struct {
58443	// NetezzaLinkedServiceTypeProperties - Netezza linked service properties.
58444	*NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
58445	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
58446	AdditionalProperties map[string]interface{} `json:""`
58447	// ConnectVia - The integration runtime reference.
58448	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
58449	// Description - Linked service description.
58450	Description *string `json:"description,omitempty"`
58451	// Parameters - Parameters for linked service.
58452	Parameters map[string]*ParameterSpecification `json:"parameters"`
58453	// Annotations - List of tags that can be used for describing the Dataset.
58454	Annotations *[]interface{} `json:"annotations,omitempty"`
58455	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
58456	Type TypeBasicLinkedService `json:"type,omitempty"`
58457}
58458
58459// MarshalJSON is the custom marshaler for NetezzaLinkedService.
58460func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) {
58461	nls.Type = TypeNetezza
58462	objectMap := make(map[string]interface{})
58463	if nls.NetezzaLinkedServiceTypeProperties != nil {
58464		objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties
58465	}
58466	if nls.ConnectVia != nil {
58467		objectMap["connectVia"] = nls.ConnectVia
58468	}
58469	if nls.Description != nil {
58470		objectMap["description"] = nls.Description
58471	}
58472	if nls.Parameters != nil {
58473		objectMap["parameters"] = nls.Parameters
58474	}
58475	if nls.Annotations != nil {
58476		objectMap["annotations"] = nls.Annotations
58477	}
58478	if nls.Type != "" {
58479		objectMap["type"] = nls.Type
58480	}
58481	for k, v := range nls.AdditionalProperties {
58482		objectMap[k] = v
58483	}
58484	return json.Marshal(objectMap)
58485}
58486
58487// AsResponsysLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58488func (nls NetezzaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
58489	return nil, false
58490}
58491
58492// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58493func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
58494	return nil, false
58495}
58496
58497// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58498func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
58499	return nil, false
58500}
58501
58502// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58503func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
58504	return nil, false
58505}
58506
58507// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58508func (nls NetezzaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
58509	return nil, false
58510}
58511
58512// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58513func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
58514	return &nls, true
58515}
58516
58517// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58518func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
58519	return nil, false
58520}
58521
58522// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58523func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
58524	return nil, false
58525}
58526
58527// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58528func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
58529	return nil, false
58530}
58531
58532// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58533func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
58534	return nil, false
58535}
58536
58537// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58538func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
58539	return nil, false
58540}
58541
58542// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58543func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
58544	return nil, false
58545}
58546
58547// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58548func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
58549	return nil, false
58550}
58551
58552// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58553func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
58554	return nil, false
58555}
58556
58557// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58558func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
58559	return nil, false
58560}
58561
58562// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58563func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
58564	return nil, false
58565}
58566
58567// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58568func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
58569	return nil, false
58570}
58571
58572// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58573func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
58574	return nil, false
58575}
58576
58577// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58578func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
58579	return nil, false
58580}
58581
58582// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58583func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
58584	return nil, false
58585}
58586
58587// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58588func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
58589	return nil, false
58590}
58591
58592// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58593func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
58594	return nil, false
58595}
58596
58597// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58598func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
58599	return nil, false
58600}
58601
58602// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58603func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
58604	return nil, false
58605}
58606
58607// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58608func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
58609	return nil, false
58610}
58611
58612// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58613func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
58614	return nil, false
58615}
58616
58617// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58618func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
58619	return nil, false
58620}
58621
58622// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58623func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
58624	return nil, false
58625}
58626
58627// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58628func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
58629	return nil, false
58630}
58631
58632// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58633func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
58634	return nil, false
58635}
58636
58637// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58638func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
58639	return nil, false
58640}
58641
58642// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58643func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
58644	return nil, false
58645}
58646
58647// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58648func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
58649	return nil, false
58650}
58651
58652// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58653func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
58654	return nil, false
58655}
58656
58657// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58658func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
58659	return nil, false
58660}
58661
58662// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58663func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
58664	return nil, false
58665}
58666
58667// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58668func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
58669	return nil, false
58670}
58671
58672// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58673func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
58674	return nil, false
58675}
58676
58677// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58678func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
58679	return nil, false
58680}
58681
58682// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58683func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
58684	return nil, false
58685}
58686
58687// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58688func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
58689	return nil, false
58690}
58691
58692// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58693func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
58694	return nil, false
58695}
58696
58697// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58698func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
58699	return nil, false
58700}
58701
58702// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58703func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
58704	return nil, false
58705}
58706
58707// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58708func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
58709	return nil, false
58710}
58711
58712// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58713func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
58714	return nil, false
58715}
58716
58717// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58718func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
58719	return nil, false
58720}
58721
58722// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58723func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
58724	return nil, false
58725}
58726
58727// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58728func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
58729	return nil, false
58730}
58731
58732// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58733func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
58734	return nil, false
58735}
58736
58737// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58738func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
58739	return nil, false
58740}
58741
58742// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58743func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
58744	return nil, false
58745}
58746
58747// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58748func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
58749	return nil, false
58750}
58751
58752// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58753func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
58754	return nil, false
58755}
58756
58757// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58758func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
58759	return nil, false
58760}
58761
58762// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58763func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
58764	return nil, false
58765}
58766
58767// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58768func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
58769	return nil, false
58770}
58771
58772// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58773func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
58774	return nil, false
58775}
58776
58777// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58778func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
58779	return nil, false
58780}
58781
58782// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58783func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
58784	return nil, false
58785}
58786
58787// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58788func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
58789	return nil, false
58790}
58791
58792// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58793func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
58794	return nil, false
58795}
58796
58797// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58798func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
58799	return nil, false
58800}
58801
58802// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58803func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
58804	return nil, false
58805}
58806
58807// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58808func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
58809	return nil, false
58810}
58811
58812// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58813func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
58814	return nil, false
58815}
58816
58817// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58818func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
58819	return nil, false
58820}
58821
58822// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58823func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
58824	return nil, false
58825}
58826
58827// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58828func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
58829	return nil, false
58830}
58831
58832// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58833func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
58834	return nil, false
58835}
58836
58837// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58838func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) {
58839	return nil, false
58840}
58841
58842// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService.
58843func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
58844	return &nls, true
58845}
58846
58847// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct.
58848func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error {
58849	var m map[string]*json.RawMessage
58850	err := json.Unmarshal(body, &m)
58851	if err != nil {
58852		return err
58853	}
58854	for k, v := range m {
58855		switch k {
58856		case "typeProperties":
58857			if v != nil {
58858				var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties
58859				err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties)
58860				if err != nil {
58861					return err
58862				}
58863				nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties
58864			}
58865		default:
58866			if v != nil {
58867				var additionalProperties interface{}
58868				err = json.Unmarshal(*v, &additionalProperties)
58869				if err != nil {
58870					return err
58871				}
58872				if nls.AdditionalProperties == nil {
58873					nls.AdditionalProperties = make(map[string]interface{})
58874				}
58875				nls.AdditionalProperties[k] = additionalProperties
58876			}
58877		case "connectVia":
58878			if v != nil {
58879				var connectVia IntegrationRuntimeReference
58880				err = json.Unmarshal(*v, &connectVia)
58881				if err != nil {
58882					return err
58883				}
58884				nls.ConnectVia = &connectVia
58885			}
58886		case "description":
58887			if v != nil {
58888				var description string
58889				err = json.Unmarshal(*v, &description)
58890				if err != nil {
58891					return err
58892				}
58893				nls.Description = &description
58894			}
58895		case "parameters":
58896			if v != nil {
58897				var parameters map[string]*ParameterSpecification
58898				err = json.Unmarshal(*v, &parameters)
58899				if err != nil {
58900					return err
58901				}
58902				nls.Parameters = parameters
58903			}
58904		case "annotations":
58905			if v != nil {
58906				var annotations []interface{}
58907				err = json.Unmarshal(*v, &annotations)
58908				if err != nil {
58909					return err
58910				}
58911				nls.Annotations = &annotations
58912			}
58913		case "type":
58914			if v != nil {
58915				var typeVar TypeBasicLinkedService
58916				err = json.Unmarshal(*v, &typeVar)
58917				if err != nil {
58918					return err
58919				}
58920				nls.Type = typeVar
58921			}
58922		}
58923	}
58924
58925	return nil
58926}
58927
58928// NetezzaLinkedServiceTypeProperties netezza linked service properties.
58929type NetezzaLinkedServiceTypeProperties struct {
58930	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
58931	ConnectionString interface{} `json:"connectionString,omitempty"`
58932	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
58933	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
58934}
58935
58936// NetezzaSource a copy activity Netezza source.
58937type NetezzaSource struct {
58938	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
58939	Query interface{} `json:"query,omitempty"`
58940	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
58941	AdditionalProperties map[string]interface{} `json:""`
58942	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
58943	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
58944	// 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])).
58945	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
58946	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
58947	Type TypeBasicCopySource `json:"type,omitempty"`
58948}
58949
58950// MarshalJSON is the custom marshaler for NetezzaSource.
58951func (ns NetezzaSource) MarshalJSON() ([]byte, error) {
58952	ns.Type = TypeNetezzaSource
58953	objectMap := make(map[string]interface{})
58954	objectMap["query"] = ns.Query
58955	objectMap["sourceRetryCount"] = ns.SourceRetryCount
58956	objectMap["sourceRetryWait"] = ns.SourceRetryWait
58957	if ns.Type != "" {
58958		objectMap["type"] = ns.Type
58959	}
58960	for k, v := range ns.AdditionalProperties {
58961		objectMap[k] = v
58962	}
58963	return json.Marshal(objectMap)
58964}
58965
58966// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource.
58967func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
58968	return nil, false
58969}
58970
58971// AsResponsysSource is the BasicCopySource implementation for NetezzaSource.
58972func (ns NetezzaSource) AsResponsysSource() (*ResponsysSource, bool) {
58973	return nil, false
58974}
58975
58976// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for NetezzaSource.
58977func (ns NetezzaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
58978	return nil, false
58979}
58980
58981// AsVerticaSource is the BasicCopySource implementation for NetezzaSource.
58982func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) {
58983	return nil, false
58984}
58985
58986// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource.
58987func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) {
58988	return &ns, true
58989}
58990
58991// AsZohoSource is the BasicCopySource implementation for NetezzaSource.
58992func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) {
58993	return nil, false
58994}
58995
58996// AsXeroSource is the BasicCopySource implementation for NetezzaSource.
58997func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) {
58998	return nil, false
58999}
59000
59001// AsSquareSource is the BasicCopySource implementation for NetezzaSource.
59002func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) {
59003	return nil, false
59004}
59005
59006// AsSparkSource is the BasicCopySource implementation for NetezzaSource.
59007func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) {
59008	return nil, false
59009}
59010
59011// AsShopifySource is the BasicCopySource implementation for NetezzaSource.
59012func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) {
59013	return nil, false
59014}
59015
59016// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource.
59017func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
59018	return nil, false
59019}
59020
59021// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource.
59022func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
59023	return nil, false
59024}
59025
59026// AsPrestoSource is the BasicCopySource implementation for NetezzaSource.
59027func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) {
59028	return nil, false
59029}
59030
59031// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource.
59032func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) {
59033	return nil, false
59034}
59035
59036// AsPaypalSource is the BasicCopySource implementation for NetezzaSource.
59037func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) {
59038	return nil, false
59039}
59040
59041// AsMarketoSource is the BasicCopySource implementation for NetezzaSource.
59042func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) {
59043	return nil, false
59044}
59045
59046// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource.
59047func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) {
59048	return nil, false
59049}
59050
59051// AsMagentoSource is the BasicCopySource implementation for NetezzaSource.
59052func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) {
59053	return nil, false
59054}
59055
59056// AsJiraSource is the BasicCopySource implementation for NetezzaSource.
59057func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) {
59058	return nil, false
59059}
59060
59061// AsImpalaSource is the BasicCopySource implementation for NetezzaSource.
59062func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) {
59063	return nil, false
59064}
59065
59066// AsHubspotSource is the BasicCopySource implementation for NetezzaSource.
59067func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) {
59068	return nil, false
59069}
59070
59071// AsHiveSource is the BasicCopySource implementation for NetezzaSource.
59072func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) {
59073	return nil, false
59074}
59075
59076// AsHBaseSource is the BasicCopySource implementation for NetezzaSource.
59077func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) {
59078	return nil, false
59079}
59080
59081// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource.
59082func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) {
59083	return nil, false
59084}
59085
59086// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource.
59087func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
59088	return nil, false
59089}
59090
59091// AsEloquaSource is the BasicCopySource implementation for NetezzaSource.
59092func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) {
59093	return nil, false
59094}
59095
59096// AsDrillSource is the BasicCopySource implementation for NetezzaSource.
59097func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) {
59098	return nil, false
59099}
59100
59101// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource.
59102func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
59103	return nil, false
59104}
59105
59106// AsConcurSource is the BasicCopySource implementation for NetezzaSource.
59107func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) {
59108	return nil, false
59109}
59110
59111// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource.
59112func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
59113	return nil, false
59114}
59115
59116// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource.
59117func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
59118	return nil, false
59119}
59120
59121// AsHTTPSource is the BasicCopySource implementation for NetezzaSource.
59122func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) {
59123	return nil, false
59124}
59125
59126// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource.
59127func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
59128	return nil, false
59129}
59130
59131// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource.
59132func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) {
59133	return nil, false
59134}
59135
59136// AsCassandraSource is the BasicCopySource implementation for NetezzaSource.
59137func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) {
59138	return nil, false
59139}
59140
59141// AsWebSource is the BasicCopySource implementation for NetezzaSource.
59142func (ns NetezzaSource) AsWebSource() (*WebSource, bool) {
59143	return nil, false
59144}
59145
59146// AsOracleSource is the BasicCopySource implementation for NetezzaSource.
59147func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) {
59148	return nil, false
59149}
59150
59151// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource.
59152func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
59153	return nil, false
59154}
59155
59156// AsHdfsSource is the BasicCopySource implementation for NetezzaSource.
59157func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) {
59158	return nil, false
59159}
59160
59161// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource.
59162func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) {
59163	return nil, false
59164}
59165
59166// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource.
59167func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) {
59168	return nil, false
59169}
59170
59171// AsSQLSource is the BasicCopySource implementation for NetezzaSource.
59172func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) {
59173	return nil, false
59174}
59175
59176// AsSapEccSource is the BasicCopySource implementation for NetezzaSource.
59177func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) {
59178	return nil, false
59179}
59180
59181// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource.
59182func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
59183	return nil, false
59184}
59185
59186// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource.
59187func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) {
59188	return nil, false
59189}
59190
59191// AsRelationalSource is the BasicCopySource implementation for NetezzaSource.
59192func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) {
59193	return nil, false
59194}
59195
59196// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource.
59197func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) {
59198	return nil, false
59199}
59200
59201// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource.
59202func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
59203	return nil, false
59204}
59205
59206// AsBlobSource is the BasicCopySource implementation for NetezzaSource.
59207func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) {
59208	return nil, false
59209}
59210
59211// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource.
59212func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) {
59213	return nil, false
59214}
59215
59216// AsCopySource is the BasicCopySource implementation for NetezzaSource.
59217func (ns NetezzaSource) AsCopySource() (*CopySource, bool) {
59218	return nil, false
59219}
59220
59221// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource.
59222func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) {
59223	return &ns, true
59224}
59225
59226// NetezzaTableDataset netezza dataset.
59227type NetezzaTableDataset struct {
59228	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
59229	AdditionalProperties map[string]interface{} `json:""`
59230	// Description - Dataset description.
59231	Description *string `json:"description,omitempty"`
59232	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
59233	Structure interface{} `json:"structure,omitempty"`
59234	// LinkedServiceName - Linked service reference.
59235	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
59236	// Parameters - Parameters for dataset.
59237	Parameters map[string]*ParameterSpecification `json:"parameters"`
59238	// Annotations - List of tags that can be used for describing the Dataset.
59239	Annotations *[]interface{} `json:"annotations,omitempty"`
59240	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
59241	Type TypeBasicDataset `json:"type,omitempty"`
59242}
59243
59244// MarshalJSON is the custom marshaler for NetezzaTableDataset.
59245func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) {
59246	ntd.Type = TypeNetezzaTable
59247	objectMap := make(map[string]interface{})
59248	if ntd.Description != nil {
59249		objectMap["description"] = ntd.Description
59250	}
59251	objectMap["structure"] = ntd.Structure
59252	if ntd.LinkedServiceName != nil {
59253		objectMap["linkedServiceName"] = ntd.LinkedServiceName
59254	}
59255	if ntd.Parameters != nil {
59256		objectMap["parameters"] = ntd.Parameters
59257	}
59258	if ntd.Annotations != nil {
59259		objectMap["annotations"] = ntd.Annotations
59260	}
59261	if ntd.Type != "" {
59262		objectMap["type"] = ntd.Type
59263	}
59264	for k, v := range ntd.AdditionalProperties {
59265		objectMap[k] = v
59266	}
59267	return json.Marshal(objectMap)
59268}
59269
59270// AsResponsysObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59271func (ntd NetezzaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
59272	return nil, false
59273}
59274
59275// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59276func (ntd NetezzaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
59277	return nil, false
59278}
59279
59280// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59281func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
59282	return nil, false
59283}
59284
59285// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59286func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
59287	return &ntd, true
59288}
59289
59290// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59291func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
59292	return nil, false
59293}
59294
59295// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59296func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
59297	return nil, false
59298}
59299
59300// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59301func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
59302	return nil, false
59303}
59304
59305// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59306func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
59307	return nil, false
59308}
59309
59310// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59311func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
59312	return nil, false
59313}
59314
59315// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59316func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
59317	return nil, false
59318}
59319
59320// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59321func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
59322	return nil, false
59323}
59324
59325// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59326func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
59327	return nil, false
59328}
59329
59330// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59331func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
59332	return nil, false
59333}
59334
59335// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59336func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
59337	return nil, false
59338}
59339
59340// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59341func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
59342	return nil, false
59343}
59344
59345// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59346func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
59347	return nil, false
59348}
59349
59350// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59351func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
59352	return nil, false
59353}
59354
59355// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59356func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
59357	return nil, false
59358}
59359
59360// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59361func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
59362	return nil, false
59363}
59364
59365// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59366func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
59367	return nil, false
59368}
59369
59370// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59371func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
59372	return nil, false
59373}
59374
59375// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59376func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
59377	return nil, false
59378}
59379
59380// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59381func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
59382	return nil, false
59383}
59384
59385// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59386func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
59387	return nil, false
59388}
59389
59390// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59391func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
59392	return nil, false
59393}
59394
59395// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59396func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
59397	return nil, false
59398}
59399
59400// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59401func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
59402	return nil, false
59403}
59404
59405// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59406func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
59407	return nil, false
59408}
59409
59410// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59411func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
59412	return nil, false
59413}
59414
59415// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59416func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
59417	return nil, false
59418}
59419
59420// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset.
59421func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
59422	return nil, false
59423}
59424
59425// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset.
59426func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
59427	return nil, false
59428}
59429
59430// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59431func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
59432	return nil, false
59433}
59434
59435// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59436func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
59437	return nil, false
59438}
59439
59440// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
59441func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
59442	return nil, false
59443}
59444
59445// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
59446func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
59447	return nil, false
59448}
59449
59450// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset.
59451func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
59452	return nil, false
59453}
59454
59455// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59456func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
59457	return nil, false
59458}
59459
59460// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59461func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
59462	return nil, false
59463}
59464
59465// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59466func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
59467	return nil, false
59468}
59469
59470// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset.
59471func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
59472	return nil, false
59473}
59474
59475// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
59476func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
59477	return nil, false
59478}
59479
59480// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset.
59481func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
59482	return nil, false
59483}
59484
59485// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset.
59486func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
59487	return nil, false
59488}
59489
59490// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset.
59491func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
59492	return nil, false
59493}
59494
59495// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset.
59496func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
59497	return nil, false
59498}
59499
59500// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset.
59501func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) {
59502	return nil, false
59503}
59504
59505// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59506func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
59507	return nil, false
59508}
59509
59510// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59511func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
59512	return nil, false
59513}
59514
59515// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59516func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
59517	return nil, false
59518}
59519
59520// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset.
59521func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
59522	return nil, false
59523}
59524
59525// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset.
59526func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
59527	return nil, false
59528}
59529
59530// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset.
59531func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
59532	return nil, false
59533}
59534
59535// AsDataset is the BasicDataset implementation for NetezzaTableDataset.
59536func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) {
59537	return nil, false
59538}
59539
59540// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset.
59541func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) {
59542	return &ntd, true
59543}
59544
59545// ODataLinkedService open Data Protocol (OData) linked service.
59546type ODataLinkedService struct {
59547	// ODataLinkedServiceTypeProperties - OData linked service properties.
59548	*ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
59549	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
59550	AdditionalProperties map[string]interface{} `json:""`
59551	// ConnectVia - The integration runtime reference.
59552	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
59553	// Description - Linked service description.
59554	Description *string `json:"description,omitempty"`
59555	// Parameters - Parameters for linked service.
59556	Parameters map[string]*ParameterSpecification `json:"parameters"`
59557	// Annotations - List of tags that can be used for describing the Dataset.
59558	Annotations *[]interface{} `json:"annotations,omitempty"`
59559	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
59560	Type TypeBasicLinkedService `json:"type,omitempty"`
59561}
59562
59563// MarshalJSON is the custom marshaler for ODataLinkedService.
59564func (odls ODataLinkedService) MarshalJSON() ([]byte, error) {
59565	odls.Type = TypeOData
59566	objectMap := make(map[string]interface{})
59567	if odls.ODataLinkedServiceTypeProperties != nil {
59568		objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties
59569	}
59570	if odls.ConnectVia != nil {
59571		objectMap["connectVia"] = odls.ConnectVia
59572	}
59573	if odls.Description != nil {
59574		objectMap["description"] = odls.Description
59575	}
59576	if odls.Parameters != nil {
59577		objectMap["parameters"] = odls.Parameters
59578	}
59579	if odls.Annotations != nil {
59580		objectMap["annotations"] = odls.Annotations
59581	}
59582	if odls.Type != "" {
59583		objectMap["type"] = odls.Type
59584	}
59585	for k, v := range odls.AdditionalProperties {
59586		objectMap[k] = v
59587	}
59588	return json.Marshal(objectMap)
59589}
59590
59591// AsResponsysLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59592func (odls ODataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
59593	return nil, false
59594}
59595
59596// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59597func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
59598	return nil, false
59599}
59600
59601// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59602func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
59603	return nil, false
59604}
59605
59606// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59607func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
59608	return nil, false
59609}
59610
59611// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59612func (odls ODataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
59613	return nil, false
59614}
59615
59616// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59617func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
59618	return nil, false
59619}
59620
59621// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59622func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
59623	return nil, false
59624}
59625
59626// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59627func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
59628	return nil, false
59629}
59630
59631// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59632func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
59633	return nil, false
59634}
59635
59636// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59637func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
59638	return nil, false
59639}
59640
59641// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59642func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
59643	return nil, false
59644}
59645
59646// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59647func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
59648	return nil, false
59649}
59650
59651// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59652func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
59653	return nil, false
59654}
59655
59656// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59657func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
59658	return nil, false
59659}
59660
59661// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59662func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
59663	return nil, false
59664}
59665
59666// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59667func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
59668	return nil, false
59669}
59670
59671// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59672func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
59673	return nil, false
59674}
59675
59676// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59677func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
59678	return nil, false
59679}
59680
59681// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59682func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
59683	return nil, false
59684}
59685
59686// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59687func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
59688	return nil, false
59689}
59690
59691// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59692func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
59693	return nil, false
59694}
59695
59696// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59697func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
59698	return nil, false
59699}
59700
59701// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59702func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
59703	return nil, false
59704}
59705
59706// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59707func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
59708	return nil, false
59709}
59710
59711// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59712func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
59713	return nil, false
59714}
59715
59716// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59717func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
59718	return nil, false
59719}
59720
59721// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59722func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
59723	return nil, false
59724}
59725
59726// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59727func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
59728	return nil, false
59729}
59730
59731// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59732func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
59733	return nil, false
59734}
59735
59736// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59737func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
59738	return nil, false
59739}
59740
59741// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59742func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
59743	return nil, false
59744}
59745
59746// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59747func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
59748	return nil, false
59749}
59750
59751// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59752func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
59753	return nil, false
59754}
59755
59756// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59757func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
59758	return nil, false
59759}
59760
59761// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59762func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
59763	return nil, false
59764}
59765
59766// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59767func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
59768	return nil, false
59769}
59770
59771// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59772func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
59773	return nil, false
59774}
59775
59776// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59777func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
59778	return nil, false
59779}
59780
59781// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59782func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
59783	return nil, false
59784}
59785
59786// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59787func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
59788	return nil, false
59789}
59790
59791// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59792func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
59793	return nil, false
59794}
59795
59796// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService.
59797func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
59798	return nil, false
59799}
59800
59801// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59802func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
59803	return nil, false
59804}
59805
59806// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59807func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
59808	return nil, false
59809}
59810
59811// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59812func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
59813	return nil, false
59814}
59815
59816// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59817func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
59818	return nil, false
59819}
59820
59821// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59822func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
59823	return nil, false
59824}
59825
59826// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59827func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
59828	return nil, false
59829}
59830
59831// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59832func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
59833	return nil, false
59834}
59835
59836// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59837func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
59838	return &odls, true
59839}
59840
59841// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59842func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
59843	return nil, false
59844}
59845
59846// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59847func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
59848	return nil, false
59849}
59850
59851// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59852func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
59853	return nil, false
59854}
59855
59856// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59857func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
59858	return nil, false
59859}
59860
59861// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService.
59862func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
59863	return nil, false
59864}
59865
59866// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59867func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
59868	return nil, false
59869}
59870
59871// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59872func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
59873	return nil, false
59874}
59875
59876// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59877func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
59878	return nil, false
59879}
59880
59881// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59882func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
59883	return nil, false
59884}
59885
59886// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59887func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
59888	return nil, false
59889}
59890
59891// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59892func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
59893	return nil, false
59894}
59895
59896// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59897func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
59898	return nil, false
59899}
59900
59901// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59902func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
59903	return nil, false
59904}
59905
59906// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59907func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
59908	return nil, false
59909}
59910
59911// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59912func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
59913	return nil, false
59914}
59915
59916// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59917func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
59918	return nil, false
59919}
59920
59921// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59922func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
59923	return nil, false
59924}
59925
59926// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59927func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
59928	return nil, false
59929}
59930
59931// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59932func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
59933	return nil, false
59934}
59935
59936// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59937func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
59938	return nil, false
59939}
59940
59941// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59942func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) {
59943	return nil, false
59944}
59945
59946// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService.
59947func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
59948	return &odls, true
59949}
59950
59951// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct.
59952func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error {
59953	var m map[string]*json.RawMessage
59954	err := json.Unmarshal(body, &m)
59955	if err != nil {
59956		return err
59957	}
59958	for k, v := range m {
59959		switch k {
59960		case "typeProperties":
59961			if v != nil {
59962				var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties
59963				err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties)
59964				if err != nil {
59965					return err
59966				}
59967				odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties
59968			}
59969		default:
59970			if v != nil {
59971				var additionalProperties interface{}
59972				err = json.Unmarshal(*v, &additionalProperties)
59973				if err != nil {
59974					return err
59975				}
59976				if odls.AdditionalProperties == nil {
59977					odls.AdditionalProperties = make(map[string]interface{})
59978				}
59979				odls.AdditionalProperties[k] = additionalProperties
59980			}
59981		case "connectVia":
59982			if v != nil {
59983				var connectVia IntegrationRuntimeReference
59984				err = json.Unmarshal(*v, &connectVia)
59985				if err != nil {
59986					return err
59987				}
59988				odls.ConnectVia = &connectVia
59989			}
59990		case "description":
59991			if v != nil {
59992				var description string
59993				err = json.Unmarshal(*v, &description)
59994				if err != nil {
59995					return err
59996				}
59997				odls.Description = &description
59998			}
59999		case "parameters":
60000			if v != nil {
60001				var parameters map[string]*ParameterSpecification
60002				err = json.Unmarshal(*v, &parameters)
60003				if err != nil {
60004					return err
60005				}
60006				odls.Parameters = parameters
60007			}
60008		case "annotations":
60009			if v != nil {
60010				var annotations []interface{}
60011				err = json.Unmarshal(*v, &annotations)
60012				if err != nil {
60013					return err
60014				}
60015				odls.Annotations = &annotations
60016			}
60017		case "type":
60018			if v != nil {
60019				var typeVar TypeBasicLinkedService
60020				err = json.Unmarshal(*v, &typeVar)
60021				if err != nil {
60022					return err
60023				}
60024				odls.Type = typeVar
60025			}
60026		}
60027	}
60028
60029	return nil
60030}
60031
60032// ODataLinkedServiceTypeProperties oData linked service properties.
60033type ODataLinkedServiceTypeProperties struct {
60034	// URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string).
60035	URL interface{} `json:"url,omitempty"`
60036	// AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous'
60037	AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"`
60038	// UserName - User name of the OData service. Type: string (or Expression with resultType string).
60039	UserName interface{} `json:"userName,omitempty"`
60040	// Password - Password of the OData service.
60041	Password BasicSecretBase `json:"password,omitempty"`
60042	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
60043	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
60044}
60045
60046// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct.
60047func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
60048	var m map[string]*json.RawMessage
60049	err := json.Unmarshal(body, &m)
60050	if err != nil {
60051		return err
60052	}
60053	for k, v := range m {
60054		switch k {
60055		case "url":
60056			if v != nil {
60057				var URL interface{}
60058				err = json.Unmarshal(*v, &URL)
60059				if err != nil {
60060					return err
60061				}
60062				odlstp.URL = URL
60063			}
60064		case "authenticationType":
60065			if v != nil {
60066				var authenticationType ODataAuthenticationType
60067				err = json.Unmarshal(*v, &authenticationType)
60068				if err != nil {
60069					return err
60070				}
60071				odlstp.AuthenticationType = authenticationType
60072			}
60073		case "userName":
60074			if v != nil {
60075				var userName interface{}
60076				err = json.Unmarshal(*v, &userName)
60077				if err != nil {
60078					return err
60079				}
60080				odlstp.UserName = userName
60081			}
60082		case "password":
60083			if v != nil {
60084				password, err := unmarshalBasicSecretBase(*v)
60085				if err != nil {
60086					return err
60087				}
60088				odlstp.Password = password
60089			}
60090		case "encryptedCredential":
60091			if v != nil {
60092				var encryptedCredential interface{}
60093				err = json.Unmarshal(*v, &encryptedCredential)
60094				if err != nil {
60095					return err
60096				}
60097				odlstp.EncryptedCredential = encryptedCredential
60098			}
60099		}
60100	}
60101
60102	return nil
60103}
60104
60105// ODataResourceDataset the Open Data Protocol (OData) resource dataset.
60106type ODataResourceDataset struct {
60107	// ODataResourceDatasetTypeProperties - OData dataset properties.
60108	*ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
60109	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
60110	AdditionalProperties map[string]interface{} `json:""`
60111	// Description - Dataset description.
60112	Description *string `json:"description,omitempty"`
60113	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
60114	Structure interface{} `json:"structure,omitempty"`
60115	// LinkedServiceName - Linked service reference.
60116	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
60117	// Parameters - Parameters for dataset.
60118	Parameters map[string]*ParameterSpecification `json:"parameters"`
60119	// Annotations - List of tags that can be used for describing the Dataset.
60120	Annotations *[]interface{} `json:"annotations,omitempty"`
60121	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
60122	Type TypeBasicDataset `json:"type,omitempty"`
60123}
60124
60125// MarshalJSON is the custom marshaler for ODataResourceDataset.
60126func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) {
60127	odrd.Type = TypeODataResource
60128	objectMap := make(map[string]interface{})
60129	if odrd.ODataResourceDatasetTypeProperties != nil {
60130		objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties
60131	}
60132	if odrd.Description != nil {
60133		objectMap["description"] = odrd.Description
60134	}
60135	objectMap["structure"] = odrd.Structure
60136	if odrd.LinkedServiceName != nil {
60137		objectMap["linkedServiceName"] = odrd.LinkedServiceName
60138	}
60139	if odrd.Parameters != nil {
60140		objectMap["parameters"] = odrd.Parameters
60141	}
60142	if odrd.Annotations != nil {
60143		objectMap["annotations"] = odrd.Annotations
60144	}
60145	if odrd.Type != "" {
60146		objectMap["type"] = odrd.Type
60147	}
60148	for k, v := range odrd.AdditionalProperties {
60149		objectMap[k] = v
60150	}
60151	return json.Marshal(objectMap)
60152}
60153
60154// AsResponsysObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60155func (odrd ODataResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
60156	return nil, false
60157}
60158
60159// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60160func (odrd ODataResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
60161	return nil, false
60162}
60163
60164// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset.
60165func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
60166	return nil, false
60167}
60168
60169// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset.
60170func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
60171	return nil, false
60172}
60173
60174// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60175func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
60176	return nil, false
60177}
60178
60179// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60180func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
60181	return nil, false
60182}
60183
60184// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60185func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
60186	return nil, false
60187}
60188
60189// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60190func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
60191	return nil, false
60192}
60193
60194// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60195func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
60196	return nil, false
60197}
60198
60199// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60200func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
60201	return nil, false
60202}
60203
60204// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60205func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
60206	return nil, false
60207}
60208
60209// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60210func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
60211	return nil, false
60212}
60213
60214// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60215func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
60216	return nil, false
60217}
60218
60219// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60220func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
60221	return nil, false
60222}
60223
60224// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60225func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
60226	return nil, false
60227}
60228
60229// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset.
60230func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
60231	return nil, false
60232}
60233
60234// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60235func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
60236	return nil, false
60237}
60238
60239// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60240func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
60241	return nil, false
60242}
60243
60244// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60245func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
60246	return nil, false
60247}
60248
60249// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60250func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
60251	return nil, false
60252}
60253
60254// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60255func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
60256	return nil, false
60257}
60258
60259// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60260func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
60261	return nil, false
60262}
60263
60264// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset.
60265func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
60266	return nil, false
60267}
60268
60269// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60270func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
60271	return nil, false
60272}
60273
60274// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60275func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
60276	return nil, false
60277}
60278
60279// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset.
60280func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
60281	return nil, false
60282}
60283
60284// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset.
60285func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
60286	return nil, false
60287}
60288
60289// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60290func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
60291	return nil, false
60292}
60293
60294// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
60295func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
60296	return nil, false
60297}
60298
60299// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60300func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
60301	return nil, false
60302}
60303
60304// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset.
60305func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
60306	return nil, false
60307}
60308
60309// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset.
60310func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
60311	return nil, false
60312}
60313
60314// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset.
60315func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
60316	return nil, false
60317}
60318
60319// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset.
60320func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
60321	return nil, false
60322}
60323
60324// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset.
60325func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
60326	return nil, false
60327}
60328
60329// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset.
60330func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
60331	return nil, false
60332}
60333
60334// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset.
60335func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
60336	return nil, false
60337}
60338
60339// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset.
60340func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
60341	return nil, false
60342}
60343
60344// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
60345func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
60346	return nil, false
60347}
60348
60349// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset.
60350func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
60351	return nil, false
60352}
60353
60354// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset.
60355func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
60356	return &odrd, true
60357}
60358
60359// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
60360func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
60361	return nil, false
60362}
60363
60364// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset.
60365func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
60366	return nil, false
60367}
60368
60369// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset.
60370func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
60371	return nil, false
60372}
60373
60374// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset.
60375func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
60376	return nil, false
60377}
60378
60379// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset.
60380func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
60381	return nil, false
60382}
60383
60384// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset.
60385func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
60386	return nil, false
60387}
60388
60389// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset.
60390func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
60391	return nil, false
60392}
60393
60394// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset.
60395func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
60396	return nil, false
60397}
60398
60399// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset.
60400func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
60401	return nil, false
60402}
60403
60404// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset.
60405func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
60406	return nil, false
60407}
60408
60409// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset.
60410func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
60411	return nil, false
60412}
60413
60414// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset.
60415func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
60416	return nil, false
60417}
60418
60419// AsDataset is the BasicDataset implementation for ODataResourceDataset.
60420func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) {
60421	return nil, false
60422}
60423
60424// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset.
60425func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) {
60426	return &odrd, true
60427}
60428
60429// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct.
60430func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error {
60431	var m map[string]*json.RawMessage
60432	err := json.Unmarshal(body, &m)
60433	if err != nil {
60434		return err
60435	}
60436	for k, v := range m {
60437		switch k {
60438		case "typeProperties":
60439			if v != nil {
60440				var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties
60441				err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties)
60442				if err != nil {
60443					return err
60444				}
60445				odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties
60446			}
60447		default:
60448			if v != nil {
60449				var additionalProperties interface{}
60450				err = json.Unmarshal(*v, &additionalProperties)
60451				if err != nil {
60452					return err
60453				}
60454				if odrd.AdditionalProperties == nil {
60455					odrd.AdditionalProperties = make(map[string]interface{})
60456				}
60457				odrd.AdditionalProperties[k] = additionalProperties
60458			}
60459		case "description":
60460			if v != nil {
60461				var description string
60462				err = json.Unmarshal(*v, &description)
60463				if err != nil {
60464					return err
60465				}
60466				odrd.Description = &description
60467			}
60468		case "structure":
60469			if v != nil {
60470				var structure interface{}
60471				err = json.Unmarshal(*v, &structure)
60472				if err != nil {
60473					return err
60474				}
60475				odrd.Structure = structure
60476			}
60477		case "linkedServiceName":
60478			if v != nil {
60479				var linkedServiceName LinkedServiceReference
60480				err = json.Unmarshal(*v, &linkedServiceName)
60481				if err != nil {
60482					return err
60483				}
60484				odrd.LinkedServiceName = &linkedServiceName
60485			}
60486		case "parameters":
60487			if v != nil {
60488				var parameters map[string]*ParameterSpecification
60489				err = json.Unmarshal(*v, &parameters)
60490				if err != nil {
60491					return err
60492				}
60493				odrd.Parameters = parameters
60494			}
60495		case "annotations":
60496			if v != nil {
60497				var annotations []interface{}
60498				err = json.Unmarshal(*v, &annotations)
60499				if err != nil {
60500					return err
60501				}
60502				odrd.Annotations = &annotations
60503			}
60504		case "type":
60505			if v != nil {
60506				var typeVar TypeBasicDataset
60507				err = json.Unmarshal(*v, &typeVar)
60508				if err != nil {
60509					return err
60510				}
60511				odrd.Type = typeVar
60512			}
60513		}
60514	}
60515
60516	return nil
60517}
60518
60519// ODataResourceDatasetTypeProperties oData dataset properties.
60520type ODataResourceDatasetTypeProperties struct {
60521	// Path - The OData resource path. Type: string (or Expression with resultType string).
60522	Path interface{} `json:"path,omitempty"`
60523}
60524
60525// OdbcLinkedService open Database Connectivity (ODBC) linked service.
60526type OdbcLinkedService struct {
60527	// OdbcLinkedServiceTypeProperties - ODBC linked service properties.
60528	*OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
60529	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
60530	AdditionalProperties map[string]interface{} `json:""`
60531	// ConnectVia - The integration runtime reference.
60532	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
60533	// Description - Linked service description.
60534	Description *string `json:"description,omitempty"`
60535	// Parameters - Parameters for linked service.
60536	Parameters map[string]*ParameterSpecification `json:"parameters"`
60537	// Annotations - List of tags that can be used for describing the Dataset.
60538	Annotations *[]interface{} `json:"annotations,omitempty"`
60539	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
60540	Type TypeBasicLinkedService `json:"type,omitempty"`
60541}
60542
60543// MarshalJSON is the custom marshaler for OdbcLinkedService.
60544func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) {
60545	ols.Type = TypeOdbc
60546	objectMap := make(map[string]interface{})
60547	if ols.OdbcLinkedServiceTypeProperties != nil {
60548		objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties
60549	}
60550	if ols.ConnectVia != nil {
60551		objectMap["connectVia"] = ols.ConnectVia
60552	}
60553	if ols.Description != nil {
60554		objectMap["description"] = ols.Description
60555	}
60556	if ols.Parameters != nil {
60557		objectMap["parameters"] = ols.Parameters
60558	}
60559	if ols.Annotations != nil {
60560		objectMap["annotations"] = ols.Annotations
60561	}
60562	if ols.Type != "" {
60563		objectMap["type"] = ols.Type
60564	}
60565	for k, v := range ols.AdditionalProperties {
60566		objectMap[k] = v
60567	}
60568	return json.Marshal(objectMap)
60569}
60570
60571// AsResponsysLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60572func (ols OdbcLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
60573	return nil, false
60574}
60575
60576// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60577func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
60578	return nil, false
60579}
60580
60581// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60582func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
60583	return nil, false
60584}
60585
60586// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60587func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
60588	return nil, false
60589}
60590
60591// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60592func (ols OdbcLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
60593	return nil, false
60594}
60595
60596// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60597func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
60598	return nil, false
60599}
60600
60601// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60602func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
60603	return nil, false
60604}
60605
60606// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60607func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
60608	return nil, false
60609}
60610
60611// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60612func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
60613	return nil, false
60614}
60615
60616// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60617func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
60618	return nil, false
60619}
60620
60621// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60622func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
60623	return nil, false
60624}
60625
60626// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60627func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
60628	return nil, false
60629}
60630
60631// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60632func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
60633	return nil, false
60634}
60635
60636// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60637func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
60638	return nil, false
60639}
60640
60641// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60642func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
60643	return nil, false
60644}
60645
60646// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60647func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
60648	return nil, false
60649}
60650
60651// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60652func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
60653	return nil, false
60654}
60655
60656// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60657func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
60658	return nil, false
60659}
60660
60661// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60662func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
60663	return nil, false
60664}
60665
60666// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60667func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
60668	return nil, false
60669}
60670
60671// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60672func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
60673	return nil, false
60674}
60675
60676// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60677func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
60678	return nil, false
60679}
60680
60681// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60682func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
60683	return nil, false
60684}
60685
60686// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60687func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
60688	return nil, false
60689}
60690
60691// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60692func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
60693	return nil, false
60694}
60695
60696// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60697func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
60698	return nil, false
60699}
60700
60701// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60702func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
60703	return nil, false
60704}
60705
60706// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60707func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
60708	return nil, false
60709}
60710
60711// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60712func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
60713	return nil, false
60714}
60715
60716// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60717func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
60718	return nil, false
60719}
60720
60721// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60722func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
60723	return nil, false
60724}
60725
60726// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60727func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
60728	return nil, false
60729}
60730
60731// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60732func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
60733	return nil, false
60734}
60735
60736// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60737func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
60738	return nil, false
60739}
60740
60741// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60742func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
60743	return nil, false
60744}
60745
60746// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60747func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
60748	return nil, false
60749}
60750
60751// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60752func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
60753	return nil, false
60754}
60755
60756// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60757func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
60758	return nil, false
60759}
60760
60761// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60762func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
60763	return nil, false
60764}
60765
60766// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60767func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
60768	return nil, false
60769}
60770
60771// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60772func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
60773	return nil, false
60774}
60775
60776// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60777func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
60778	return nil, false
60779}
60780
60781// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60782func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
60783	return nil, false
60784}
60785
60786// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60787func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
60788	return nil, false
60789}
60790
60791// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60792func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
60793	return nil, false
60794}
60795
60796// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60797func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
60798	return nil, false
60799}
60800
60801// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60802func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
60803	return nil, false
60804}
60805
60806// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60807func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
60808	return nil, false
60809}
60810
60811// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60812func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
60813	return nil, false
60814}
60815
60816// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60817func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
60818	return nil, false
60819}
60820
60821// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60822func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
60823	return nil, false
60824}
60825
60826// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60827func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
60828	return &ols, true
60829}
60830
60831// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60832func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
60833	return nil, false
60834}
60835
60836// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60837func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
60838	return nil, false
60839}
60840
60841// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60842func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
60843	return nil, false
60844}
60845
60846// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60847func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
60848	return nil, false
60849}
60850
60851// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60852func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
60853	return nil, false
60854}
60855
60856// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60857func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
60858	return nil, false
60859}
60860
60861// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60862func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
60863	return nil, false
60864}
60865
60866// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60867func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
60868	return nil, false
60869}
60870
60871// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60872func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
60873	return nil, false
60874}
60875
60876// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60877func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
60878	return nil, false
60879}
60880
60881// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60882func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
60883	return nil, false
60884}
60885
60886// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60887func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
60888	return nil, false
60889}
60890
60891// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60892func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
60893	return nil, false
60894}
60895
60896// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60897func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
60898	return nil, false
60899}
60900
60901// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60902func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
60903	return nil, false
60904}
60905
60906// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60907func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
60908	return nil, false
60909}
60910
60911// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60912func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
60913	return nil, false
60914}
60915
60916// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60917func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
60918	return nil, false
60919}
60920
60921// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60922func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) {
60923	return nil, false
60924}
60925
60926// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService.
60927func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
60928	return &ols, true
60929}
60930
60931// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct.
60932func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error {
60933	var m map[string]*json.RawMessage
60934	err := json.Unmarshal(body, &m)
60935	if err != nil {
60936		return err
60937	}
60938	for k, v := range m {
60939		switch k {
60940		case "typeProperties":
60941			if v != nil {
60942				var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties
60943				err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties)
60944				if err != nil {
60945					return err
60946				}
60947				ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties
60948			}
60949		default:
60950			if v != nil {
60951				var additionalProperties interface{}
60952				err = json.Unmarshal(*v, &additionalProperties)
60953				if err != nil {
60954					return err
60955				}
60956				if ols.AdditionalProperties == nil {
60957					ols.AdditionalProperties = make(map[string]interface{})
60958				}
60959				ols.AdditionalProperties[k] = additionalProperties
60960			}
60961		case "connectVia":
60962			if v != nil {
60963				var connectVia IntegrationRuntimeReference
60964				err = json.Unmarshal(*v, &connectVia)
60965				if err != nil {
60966					return err
60967				}
60968				ols.ConnectVia = &connectVia
60969			}
60970		case "description":
60971			if v != nil {
60972				var description string
60973				err = json.Unmarshal(*v, &description)
60974				if err != nil {
60975					return err
60976				}
60977				ols.Description = &description
60978			}
60979		case "parameters":
60980			if v != nil {
60981				var parameters map[string]*ParameterSpecification
60982				err = json.Unmarshal(*v, &parameters)
60983				if err != nil {
60984					return err
60985				}
60986				ols.Parameters = parameters
60987			}
60988		case "annotations":
60989			if v != nil {
60990				var annotations []interface{}
60991				err = json.Unmarshal(*v, &annotations)
60992				if err != nil {
60993					return err
60994				}
60995				ols.Annotations = &annotations
60996			}
60997		case "type":
60998			if v != nil {
60999				var typeVar TypeBasicLinkedService
61000				err = json.Unmarshal(*v, &typeVar)
61001				if err != nil {
61002					return err
61003				}
61004				ols.Type = typeVar
61005			}
61006		}
61007	}
61008
61009	return nil
61010}
61011
61012// OdbcLinkedServiceTypeProperties ODBC linked service properties.
61013type OdbcLinkedServiceTypeProperties struct {
61014	// ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.
61015	ConnectionString interface{} `json:"connectionString,omitempty"`
61016	// AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).
61017	AuthenticationType interface{} `json:"authenticationType,omitempty"`
61018	// Credential - The access credential portion of the connection string specified in driver-specific property-value format.
61019	Credential BasicSecretBase `json:"credential,omitempty"`
61020	// UserName - User name for Basic authentication. Type: string (or Expression with resultType string).
61021	UserName interface{} `json:"userName,omitempty"`
61022	// Password - Password for Basic authentication.
61023	Password BasicSecretBase `json:"password,omitempty"`
61024	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
61025	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
61026}
61027
61028// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct.
61029func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
61030	var m map[string]*json.RawMessage
61031	err := json.Unmarshal(body, &m)
61032	if err != nil {
61033		return err
61034	}
61035	for k, v := range m {
61036		switch k {
61037		case "connectionString":
61038			if v != nil {
61039				var connectionString interface{}
61040				err = json.Unmarshal(*v, &connectionString)
61041				if err != nil {
61042					return err
61043				}
61044				olstp.ConnectionString = connectionString
61045			}
61046		case "authenticationType":
61047			if v != nil {
61048				var authenticationType interface{}
61049				err = json.Unmarshal(*v, &authenticationType)
61050				if err != nil {
61051					return err
61052				}
61053				olstp.AuthenticationType = authenticationType
61054			}
61055		case "credential":
61056			if v != nil {
61057				credential, err := unmarshalBasicSecretBase(*v)
61058				if err != nil {
61059					return err
61060				}
61061				olstp.Credential = credential
61062			}
61063		case "userName":
61064			if v != nil {
61065				var userName interface{}
61066				err = json.Unmarshal(*v, &userName)
61067				if err != nil {
61068					return err
61069				}
61070				olstp.UserName = userName
61071			}
61072		case "password":
61073			if v != nil {
61074				password, err := unmarshalBasicSecretBase(*v)
61075				if err != nil {
61076					return err
61077				}
61078				olstp.Password = password
61079			}
61080		case "encryptedCredential":
61081			if v != nil {
61082				var encryptedCredential interface{}
61083				err = json.Unmarshal(*v, &encryptedCredential)
61084				if err != nil {
61085					return err
61086				}
61087				olstp.EncryptedCredential = encryptedCredential
61088			}
61089		}
61090	}
61091
61092	return nil
61093}
61094
61095// OdbcSink a copy activity ODBC sink.
61096type OdbcSink struct {
61097	// PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string).
61098	PreCopyScript interface{} `json:"preCopyScript,omitempty"`
61099	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
61100	AdditionalProperties map[string]interface{} `json:""`
61101	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
61102	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
61103	// 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])).
61104	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
61105	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
61106	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
61107	// 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])).
61108	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
61109	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
61110	Type TypeBasicCopySink `json:"type,omitempty"`
61111}
61112
61113// MarshalJSON is the custom marshaler for OdbcSink.
61114func (osVar OdbcSink) MarshalJSON() ([]byte, error) {
61115	osVar.Type = TypeOdbcSink
61116	objectMap := make(map[string]interface{})
61117	objectMap["preCopyScript"] = osVar.PreCopyScript
61118	objectMap["writeBatchSize"] = osVar.WriteBatchSize
61119	objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout
61120	objectMap["sinkRetryCount"] = osVar.SinkRetryCount
61121	objectMap["sinkRetryWait"] = osVar.SinkRetryWait
61122	if osVar.Type != "" {
61123		objectMap["type"] = osVar.Type
61124	}
61125	for k, v := range osVar.AdditionalProperties {
61126		objectMap[k] = v
61127	}
61128	return json.Marshal(objectMap)
61129}
61130
61131// AsSalesforceSink is the BasicCopySink implementation for OdbcSink.
61132func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) {
61133	return nil, false
61134}
61135
61136// AsDynamicsSink is the BasicCopySink implementation for OdbcSink.
61137func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) {
61138	return nil, false
61139}
61140
61141// AsOdbcSink is the BasicCopySink implementation for OdbcSink.
61142func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) {
61143	return &osVar, true
61144}
61145
61146// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink.
61147func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
61148	return nil, false
61149}
61150
61151// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink.
61152func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
61153	return nil, false
61154}
61155
61156// AsOracleSink is the BasicCopySink implementation for OdbcSink.
61157func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) {
61158	return nil, false
61159}
61160
61161// AsSQLDWSink is the BasicCopySink implementation for OdbcSink.
61162func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) {
61163	return nil, false
61164}
61165
61166// AsSQLSink is the BasicCopySink implementation for OdbcSink.
61167func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) {
61168	return nil, false
61169}
61170
61171// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink.
61172func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
61173	return nil, false
61174}
61175
61176// AsFileSystemSink is the BasicCopySink implementation for OdbcSink.
61177func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) {
61178	return nil, false
61179}
61180
61181// AsBlobSink is the BasicCopySink implementation for OdbcSink.
61182func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) {
61183	return nil, false
61184}
61185
61186// AsAzureTableSink is the BasicCopySink implementation for OdbcSink.
61187func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) {
61188	return nil, false
61189}
61190
61191// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink.
61192func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
61193	return nil, false
61194}
61195
61196// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink.
61197func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
61198	return nil, false
61199}
61200
61201// AsCopySink is the BasicCopySink implementation for OdbcSink.
61202func (osVar OdbcSink) AsCopySink() (*CopySink, bool) {
61203	return nil, false
61204}
61205
61206// AsBasicCopySink is the BasicCopySink implementation for OdbcSink.
61207func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) {
61208	return &osVar, true
61209}
61210
61211// Operation azure Data Factory API operation definition.
61212type Operation struct {
61213	// Name - Operation name: {provider}/{resource}/{operation}
61214	Name *string `json:"name,omitempty"`
61215	// Origin - The intended executor of the operation.
61216	Origin *string `json:"origin,omitempty"`
61217	// Display - Metadata associated with the operation.
61218	Display *OperationDisplay `json:"display,omitempty"`
61219	// OperationProperties - Additional details about the operation.
61220	*OperationProperties `json:"properties,omitempty"`
61221}
61222
61223// MarshalJSON is the custom marshaler for Operation.
61224func (o Operation) MarshalJSON() ([]byte, error) {
61225	objectMap := make(map[string]interface{})
61226	if o.Name != nil {
61227		objectMap["name"] = o.Name
61228	}
61229	if o.Origin != nil {
61230		objectMap["origin"] = o.Origin
61231	}
61232	if o.Display != nil {
61233		objectMap["display"] = o.Display
61234	}
61235	if o.OperationProperties != nil {
61236		objectMap["properties"] = o.OperationProperties
61237	}
61238	return json.Marshal(objectMap)
61239}
61240
61241// UnmarshalJSON is the custom unmarshaler for Operation struct.
61242func (o *Operation) UnmarshalJSON(body []byte) error {
61243	var m map[string]*json.RawMessage
61244	err := json.Unmarshal(body, &m)
61245	if err != nil {
61246		return err
61247	}
61248	for k, v := range m {
61249		switch k {
61250		case "name":
61251			if v != nil {
61252				var name string
61253				err = json.Unmarshal(*v, &name)
61254				if err != nil {
61255					return err
61256				}
61257				o.Name = &name
61258			}
61259		case "origin":
61260			if v != nil {
61261				var origin string
61262				err = json.Unmarshal(*v, &origin)
61263				if err != nil {
61264					return err
61265				}
61266				o.Origin = &origin
61267			}
61268		case "display":
61269			if v != nil {
61270				var display OperationDisplay
61271				err = json.Unmarshal(*v, &display)
61272				if err != nil {
61273					return err
61274				}
61275				o.Display = &display
61276			}
61277		case "properties":
61278			if v != nil {
61279				var operationProperties OperationProperties
61280				err = json.Unmarshal(*v, &operationProperties)
61281				if err != nil {
61282					return err
61283				}
61284				o.OperationProperties = &operationProperties
61285			}
61286		}
61287	}
61288
61289	return nil
61290}
61291
61292// OperationDisplay metadata associated with the operation.
61293type OperationDisplay struct {
61294	// Description - The description of the operation.
61295	Description *string `json:"description,omitempty"`
61296	// Provider - The name of the provider.
61297	Provider *string `json:"provider,omitempty"`
61298	// Resource - The name of the resource type on which the operation is performed.
61299	Resource *string `json:"resource,omitempty"`
61300	// Operation - The type of operation: get, read, delete, etc.
61301	Operation *string `json:"operation,omitempty"`
61302}
61303
61304// OperationListResponse a list of operations that can be performed by the Data Factory service.
61305type OperationListResponse struct {
61306	autorest.Response `json:"-"`
61307	// Value - List of Data Factory operations supported by the Data Factory resource provider.
61308	Value *[]Operation `json:"value,omitempty"`
61309	// NextLink - The link to the next page of results, if any remaining results exist.
61310	NextLink *string `json:"nextLink,omitempty"`
61311}
61312
61313// OperationLogSpecification details about an operation related to logs.
61314type OperationLogSpecification struct {
61315	// Name - The name of the log category.
61316	Name *string `json:"name,omitempty"`
61317	// DisplayName - Localized display name.
61318	DisplayName *string `json:"displayName,omitempty"`
61319	// BlobDuration - Blobs created in the customer storage account, per hour.
61320	BlobDuration *string `json:"blobDuration,omitempty"`
61321}
61322
61323// OperationMetricAvailability defines how often data for a metric becomes available.
61324type OperationMetricAvailability struct {
61325	// TimeGrain - The granularity for the metric.
61326	TimeGrain *string `json:"timeGrain,omitempty"`
61327	// BlobDuration - Blob created in the customer storage account, per hour.
61328	BlobDuration *string `json:"blobDuration,omitempty"`
61329}
61330
61331// OperationMetricSpecification details about an operation related to metrics.
61332type OperationMetricSpecification struct {
61333	// Name - The name of the metric.
61334	Name *string `json:"name,omitempty"`
61335	// DisplayName - Localized display name of the metric.
61336	DisplayName *string `json:"displayName,omitempty"`
61337	// DisplayDescription - The description of the metric.
61338	DisplayDescription *string `json:"displayDescription,omitempty"`
61339	// Unit - The unit that the metric is measured in.
61340	Unit *string `json:"unit,omitempty"`
61341	// AggregationType - The type of metric aggregation.
61342	AggregationType *string `json:"aggregationType,omitempty"`
61343	// EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts.
61344	EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"`
61345	// SourceMdmAccount - The name of the MDM account.
61346	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
61347	// SourceMdmNamespace - The name of the MDM namespace.
61348	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
61349	// Availabilities - Defines how often data for metrics becomes available.
61350	Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"`
61351}
61352
61353// OperationProperties additional details about an operation.
61354type OperationProperties struct {
61355	// ServiceSpecification - Details about a service operation.
61356	ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"`
61357}
61358
61359// OperationServiceSpecification details about a service operation.
61360type OperationServiceSpecification struct {
61361	// LogSpecifications - Details about operations related to logs.
61362	LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"`
61363	// MetricSpecifications - Details about operations related to metrics.
61364	MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"`
61365}
61366
61367// OracleLinkedService oracle database.
61368type OracleLinkedService struct {
61369	// OracleLinkedServiceTypeProperties - Oracle database linked service properties.
61370	*OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
61371	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
61372	AdditionalProperties map[string]interface{} `json:""`
61373	// ConnectVia - The integration runtime reference.
61374	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
61375	// Description - Linked service description.
61376	Description *string `json:"description,omitempty"`
61377	// Parameters - Parameters for linked service.
61378	Parameters map[string]*ParameterSpecification `json:"parameters"`
61379	// Annotations - List of tags that can be used for describing the Dataset.
61380	Annotations *[]interface{} `json:"annotations,omitempty"`
61381	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
61382	Type TypeBasicLinkedService `json:"type,omitempty"`
61383}
61384
61385// MarshalJSON is the custom marshaler for OracleLinkedService.
61386func (ols OracleLinkedService) MarshalJSON() ([]byte, error) {
61387	ols.Type = TypeOracle
61388	objectMap := make(map[string]interface{})
61389	if ols.OracleLinkedServiceTypeProperties != nil {
61390		objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties
61391	}
61392	if ols.ConnectVia != nil {
61393		objectMap["connectVia"] = ols.ConnectVia
61394	}
61395	if ols.Description != nil {
61396		objectMap["description"] = ols.Description
61397	}
61398	if ols.Parameters != nil {
61399		objectMap["parameters"] = ols.Parameters
61400	}
61401	if ols.Annotations != nil {
61402		objectMap["annotations"] = ols.Annotations
61403	}
61404	if ols.Type != "" {
61405		objectMap["type"] = ols.Type
61406	}
61407	for k, v := range ols.AdditionalProperties {
61408		objectMap[k] = v
61409	}
61410	return json.Marshal(objectMap)
61411}
61412
61413// AsResponsysLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61414func (ols OracleLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
61415	return nil, false
61416}
61417
61418// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61419func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
61420	return nil, false
61421}
61422
61423// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61424func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
61425	return nil, false
61426}
61427
61428// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61429func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
61430	return nil, false
61431}
61432
61433// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61434func (ols OracleLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
61435	return nil, false
61436}
61437
61438// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61439func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
61440	return nil, false
61441}
61442
61443// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61444func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
61445	return nil, false
61446}
61447
61448// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61449func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
61450	return nil, false
61451}
61452
61453// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61454func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
61455	return nil, false
61456}
61457
61458// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61459func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
61460	return nil, false
61461}
61462
61463// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61464func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
61465	return nil, false
61466}
61467
61468// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61469func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
61470	return nil, false
61471}
61472
61473// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61474func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
61475	return nil, false
61476}
61477
61478// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61479func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
61480	return nil, false
61481}
61482
61483// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61484func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
61485	return nil, false
61486}
61487
61488// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61489func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
61490	return nil, false
61491}
61492
61493// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61494func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
61495	return nil, false
61496}
61497
61498// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61499func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
61500	return nil, false
61501}
61502
61503// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61504func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
61505	return nil, false
61506}
61507
61508// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61509func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
61510	return nil, false
61511}
61512
61513// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61514func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
61515	return nil, false
61516}
61517
61518// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61519func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
61520	return nil, false
61521}
61522
61523// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61524func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
61525	return nil, false
61526}
61527
61528// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61529func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
61530	return nil, false
61531}
61532
61533// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61534func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
61535	return nil, false
61536}
61537
61538// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61539func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
61540	return nil, false
61541}
61542
61543// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61544func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
61545	return nil, false
61546}
61547
61548// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61549func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
61550	return nil, false
61551}
61552
61553// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61554func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
61555	return nil, false
61556}
61557
61558// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61559func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
61560	return nil, false
61561}
61562
61563// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61564func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
61565	return nil, false
61566}
61567
61568// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61569func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
61570	return nil, false
61571}
61572
61573// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61574func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
61575	return nil, false
61576}
61577
61578// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61579func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
61580	return nil, false
61581}
61582
61583// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61584func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
61585	return nil, false
61586}
61587
61588// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61589func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
61590	return nil, false
61591}
61592
61593// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61594func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
61595	return nil, false
61596}
61597
61598// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61599func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
61600	return nil, false
61601}
61602
61603// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61604func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
61605	return nil, false
61606}
61607
61608// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61609func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
61610	return nil, false
61611}
61612
61613// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61614func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
61615	return nil, false
61616}
61617
61618// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService.
61619func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
61620	return nil, false
61621}
61622
61623// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61624func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
61625	return nil, false
61626}
61627
61628// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61629func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
61630	return nil, false
61631}
61632
61633// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61634func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
61635	return nil, false
61636}
61637
61638// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61639func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
61640	return nil, false
61641}
61642
61643// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61644func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
61645	return nil, false
61646}
61647
61648// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61649func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
61650	return nil, false
61651}
61652
61653// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61654func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
61655	return nil, false
61656}
61657
61658// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61659func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
61660	return nil, false
61661}
61662
61663// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61664func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
61665	return nil, false
61666}
61667
61668// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61669func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
61670	return nil, false
61671}
61672
61673// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61674func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
61675	return nil, false
61676}
61677
61678// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61679func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
61680	return nil, false
61681}
61682
61683// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService.
61684func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
61685	return nil, false
61686}
61687
61688// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61689func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
61690	return nil, false
61691}
61692
61693// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61694func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
61695	return nil, false
61696}
61697
61698// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61699func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
61700	return nil, false
61701}
61702
61703// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61704func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
61705	return nil, false
61706}
61707
61708// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61709func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
61710	return &ols, true
61711}
61712
61713// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61714func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
61715	return nil, false
61716}
61717
61718// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61719func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
61720	return nil, false
61721}
61722
61723// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61724func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
61725	return nil, false
61726}
61727
61728// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61729func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
61730	return nil, false
61731}
61732
61733// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61734func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
61735	return nil, false
61736}
61737
61738// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61739func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
61740	return nil, false
61741}
61742
61743// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61744func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
61745	return nil, false
61746}
61747
61748// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61749func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
61750	return nil, false
61751}
61752
61753// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61754func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
61755	return nil, false
61756}
61757
61758// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61759func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
61760	return nil, false
61761}
61762
61763// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61764func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) {
61765	return nil, false
61766}
61767
61768// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService.
61769func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
61770	return &ols, true
61771}
61772
61773// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct.
61774func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error {
61775	var m map[string]*json.RawMessage
61776	err := json.Unmarshal(body, &m)
61777	if err != nil {
61778		return err
61779	}
61780	for k, v := range m {
61781		switch k {
61782		case "typeProperties":
61783			if v != nil {
61784				var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties
61785				err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties)
61786				if err != nil {
61787					return err
61788				}
61789				ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties
61790			}
61791		default:
61792			if v != nil {
61793				var additionalProperties interface{}
61794				err = json.Unmarshal(*v, &additionalProperties)
61795				if err != nil {
61796					return err
61797				}
61798				if ols.AdditionalProperties == nil {
61799					ols.AdditionalProperties = make(map[string]interface{})
61800				}
61801				ols.AdditionalProperties[k] = additionalProperties
61802			}
61803		case "connectVia":
61804			if v != nil {
61805				var connectVia IntegrationRuntimeReference
61806				err = json.Unmarshal(*v, &connectVia)
61807				if err != nil {
61808					return err
61809				}
61810				ols.ConnectVia = &connectVia
61811			}
61812		case "description":
61813			if v != nil {
61814				var description string
61815				err = json.Unmarshal(*v, &description)
61816				if err != nil {
61817					return err
61818				}
61819				ols.Description = &description
61820			}
61821		case "parameters":
61822			if v != nil {
61823				var parameters map[string]*ParameterSpecification
61824				err = json.Unmarshal(*v, &parameters)
61825				if err != nil {
61826					return err
61827				}
61828				ols.Parameters = parameters
61829			}
61830		case "annotations":
61831			if v != nil {
61832				var annotations []interface{}
61833				err = json.Unmarshal(*v, &annotations)
61834				if err != nil {
61835					return err
61836				}
61837				ols.Annotations = &annotations
61838			}
61839		case "type":
61840			if v != nil {
61841				var typeVar TypeBasicLinkedService
61842				err = json.Unmarshal(*v, &typeVar)
61843				if err != nil {
61844					return err
61845				}
61846				ols.Type = typeVar
61847			}
61848		}
61849	}
61850
61851	return nil
61852}
61853
61854// OracleLinkedServiceTypeProperties oracle database linked service properties.
61855type OracleLinkedServiceTypeProperties struct {
61856	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
61857	ConnectionString interface{} `json:"connectionString,omitempty"`
61858	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
61859	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
61860}
61861
61862// OracleSink a copy activity Oracle sink.
61863type OracleSink struct {
61864	// PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
61865	PreCopyScript interface{} `json:"preCopyScript,omitempty"`
61866	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
61867	AdditionalProperties map[string]interface{} `json:""`
61868	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
61869	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
61870	// 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])).
61871	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
61872	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
61873	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
61874	// 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])).
61875	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
61876	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
61877	Type TypeBasicCopySink `json:"type,omitempty"`
61878}
61879
61880// MarshalJSON is the custom marshaler for OracleSink.
61881func (osVar OracleSink) MarshalJSON() ([]byte, error) {
61882	osVar.Type = TypeOracleSink
61883	objectMap := make(map[string]interface{})
61884	objectMap["preCopyScript"] = osVar.PreCopyScript
61885	objectMap["writeBatchSize"] = osVar.WriteBatchSize
61886	objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout
61887	objectMap["sinkRetryCount"] = osVar.SinkRetryCount
61888	objectMap["sinkRetryWait"] = osVar.SinkRetryWait
61889	if osVar.Type != "" {
61890		objectMap["type"] = osVar.Type
61891	}
61892	for k, v := range osVar.AdditionalProperties {
61893		objectMap[k] = v
61894	}
61895	return json.Marshal(objectMap)
61896}
61897
61898// AsSalesforceSink is the BasicCopySink implementation for OracleSink.
61899func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) {
61900	return nil, false
61901}
61902
61903// AsDynamicsSink is the BasicCopySink implementation for OracleSink.
61904func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) {
61905	return nil, false
61906}
61907
61908// AsOdbcSink is the BasicCopySink implementation for OracleSink.
61909func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) {
61910	return nil, false
61911}
61912
61913// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink.
61914func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
61915	return nil, false
61916}
61917
61918// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink.
61919func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
61920	return nil, false
61921}
61922
61923// AsOracleSink is the BasicCopySink implementation for OracleSink.
61924func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) {
61925	return &osVar, true
61926}
61927
61928// AsSQLDWSink is the BasicCopySink implementation for OracleSink.
61929func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) {
61930	return nil, false
61931}
61932
61933// AsSQLSink is the BasicCopySink implementation for OracleSink.
61934func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) {
61935	return nil, false
61936}
61937
61938// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink.
61939func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
61940	return nil, false
61941}
61942
61943// AsFileSystemSink is the BasicCopySink implementation for OracleSink.
61944func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) {
61945	return nil, false
61946}
61947
61948// AsBlobSink is the BasicCopySink implementation for OracleSink.
61949func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) {
61950	return nil, false
61951}
61952
61953// AsAzureTableSink is the BasicCopySink implementation for OracleSink.
61954func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) {
61955	return nil, false
61956}
61957
61958// AsAzureQueueSink is the BasicCopySink implementation for OracleSink.
61959func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
61960	return nil, false
61961}
61962
61963// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink.
61964func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
61965	return nil, false
61966}
61967
61968// AsCopySink is the BasicCopySink implementation for OracleSink.
61969func (osVar OracleSink) AsCopySink() (*CopySink, bool) {
61970	return nil, false
61971}
61972
61973// AsBasicCopySink is the BasicCopySink implementation for OracleSink.
61974func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) {
61975	return &osVar, true
61976}
61977
61978// OracleSource a copy activity Oracle source.
61979type OracleSource struct {
61980	// OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string).
61981	OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"`
61982	// QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
61983	QueryTimeout interface{} `json:"queryTimeout,omitempty"`
61984	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
61985	AdditionalProperties map[string]interface{} `json:""`
61986	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
61987	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
61988	// 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])).
61989	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
61990	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
61991	Type TypeBasicCopySource `json:"type,omitempty"`
61992}
61993
61994// MarshalJSON is the custom marshaler for OracleSource.
61995func (osVar OracleSource) MarshalJSON() ([]byte, error) {
61996	osVar.Type = TypeOracleSource
61997	objectMap := make(map[string]interface{})
61998	objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery
61999	objectMap["queryTimeout"] = osVar.QueryTimeout
62000	objectMap["sourceRetryCount"] = osVar.SourceRetryCount
62001	objectMap["sourceRetryWait"] = osVar.SourceRetryWait
62002	if osVar.Type != "" {
62003		objectMap["type"] = osVar.Type
62004	}
62005	for k, v := range osVar.AdditionalProperties {
62006		objectMap[k] = v
62007	}
62008	return json.Marshal(objectMap)
62009}
62010
62011// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource.
62012func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
62013	return nil, false
62014}
62015
62016// AsResponsysSource is the BasicCopySource implementation for OracleSource.
62017func (osVar OracleSource) AsResponsysSource() (*ResponsysSource, bool) {
62018	return nil, false
62019}
62020
62021// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for OracleSource.
62022func (osVar OracleSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
62023	return nil, false
62024}
62025
62026// AsVerticaSource is the BasicCopySource implementation for OracleSource.
62027func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) {
62028	return nil, false
62029}
62030
62031// AsNetezzaSource is the BasicCopySource implementation for OracleSource.
62032func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) {
62033	return nil, false
62034}
62035
62036// AsZohoSource is the BasicCopySource implementation for OracleSource.
62037func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) {
62038	return nil, false
62039}
62040
62041// AsXeroSource is the BasicCopySource implementation for OracleSource.
62042func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) {
62043	return nil, false
62044}
62045
62046// AsSquareSource is the BasicCopySource implementation for OracleSource.
62047func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) {
62048	return nil, false
62049}
62050
62051// AsSparkSource is the BasicCopySource implementation for OracleSource.
62052func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) {
62053	return nil, false
62054}
62055
62056// AsShopifySource is the BasicCopySource implementation for OracleSource.
62057func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) {
62058	return nil, false
62059}
62060
62061// AsServiceNowSource is the BasicCopySource implementation for OracleSource.
62062func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) {
62063	return nil, false
62064}
62065
62066// AsQuickBooksSource is the BasicCopySource implementation for OracleSource.
62067func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
62068	return nil, false
62069}
62070
62071// AsPrestoSource is the BasicCopySource implementation for OracleSource.
62072func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) {
62073	return nil, false
62074}
62075
62076// AsPhoenixSource is the BasicCopySource implementation for OracleSource.
62077func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) {
62078	return nil, false
62079}
62080
62081// AsPaypalSource is the BasicCopySource implementation for OracleSource.
62082func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) {
62083	return nil, false
62084}
62085
62086// AsMarketoSource is the BasicCopySource implementation for OracleSource.
62087func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) {
62088	return nil, false
62089}
62090
62091// AsMariaDBSource is the BasicCopySource implementation for OracleSource.
62092func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) {
62093	return nil, false
62094}
62095
62096// AsMagentoSource is the BasicCopySource implementation for OracleSource.
62097func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) {
62098	return nil, false
62099}
62100
62101// AsJiraSource is the BasicCopySource implementation for OracleSource.
62102func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) {
62103	return nil, false
62104}
62105
62106// AsImpalaSource is the BasicCopySource implementation for OracleSource.
62107func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) {
62108	return nil, false
62109}
62110
62111// AsHubspotSource is the BasicCopySource implementation for OracleSource.
62112func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) {
62113	return nil, false
62114}
62115
62116// AsHiveSource is the BasicCopySource implementation for OracleSource.
62117func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) {
62118	return nil, false
62119}
62120
62121// AsHBaseSource is the BasicCopySource implementation for OracleSource.
62122func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) {
62123	return nil, false
62124}
62125
62126// AsGreenplumSource is the BasicCopySource implementation for OracleSource.
62127func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) {
62128	return nil, false
62129}
62130
62131// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource.
62132func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
62133	return nil, false
62134}
62135
62136// AsEloquaSource is the BasicCopySource implementation for OracleSource.
62137func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) {
62138	return nil, false
62139}
62140
62141// AsDrillSource is the BasicCopySource implementation for OracleSource.
62142func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) {
62143	return nil, false
62144}
62145
62146// AsCouchbaseSource is the BasicCopySource implementation for OracleSource.
62147func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
62148	return nil, false
62149}
62150
62151// AsConcurSource is the BasicCopySource implementation for OracleSource.
62152func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) {
62153	return nil, false
62154}
62155
62156// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource.
62157func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
62158	return nil, false
62159}
62160
62161// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource.
62162func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
62163	return nil, false
62164}
62165
62166// AsHTTPSource is the BasicCopySource implementation for OracleSource.
62167func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) {
62168	return nil, false
62169}
62170
62171// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource.
62172func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
62173	return nil, false
62174}
62175
62176// AsMongoDbSource is the BasicCopySource implementation for OracleSource.
62177func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) {
62178	return nil, false
62179}
62180
62181// AsCassandraSource is the BasicCopySource implementation for OracleSource.
62182func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) {
62183	return nil, false
62184}
62185
62186// AsWebSource is the BasicCopySource implementation for OracleSource.
62187func (osVar OracleSource) AsWebSource() (*WebSource, bool) {
62188	return nil, false
62189}
62190
62191// AsOracleSource is the BasicCopySource implementation for OracleSource.
62192func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) {
62193	return &osVar, true
62194}
62195
62196// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource.
62197func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
62198	return nil, false
62199}
62200
62201// AsHdfsSource is the BasicCopySource implementation for OracleSource.
62202func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) {
62203	return nil, false
62204}
62205
62206// AsFileSystemSource is the BasicCopySource implementation for OracleSource.
62207func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) {
62208	return nil, false
62209}
62210
62211// AsSQLDWSource is the BasicCopySource implementation for OracleSource.
62212func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) {
62213	return nil, false
62214}
62215
62216// AsSQLSource is the BasicCopySource implementation for OracleSource.
62217func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) {
62218	return nil, false
62219}
62220
62221// AsSapEccSource is the BasicCopySource implementation for OracleSource.
62222func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) {
62223	return nil, false
62224}
62225
62226// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource.
62227func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
62228	return nil, false
62229}
62230
62231// AsSalesforceSource is the BasicCopySource implementation for OracleSource.
62232func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) {
62233	return nil, false
62234}
62235
62236// AsRelationalSource is the BasicCopySource implementation for OracleSource.
62237func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) {
62238	return nil, false
62239}
62240
62241// AsDynamicsSource is the BasicCopySource implementation for OracleSource.
62242func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) {
62243	return nil, false
62244}
62245
62246// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource.
62247func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
62248	return nil, false
62249}
62250
62251// AsBlobSource is the BasicCopySource implementation for OracleSource.
62252func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) {
62253	return nil, false
62254}
62255
62256// AsAzureTableSource is the BasicCopySource implementation for OracleSource.
62257func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) {
62258	return nil, false
62259}
62260
62261// AsCopySource is the BasicCopySource implementation for OracleSource.
62262func (osVar OracleSource) AsCopySource() (*CopySource, bool) {
62263	return nil, false
62264}
62265
62266// AsBasicCopySource is the BasicCopySource implementation for OracleSource.
62267func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) {
62268	return &osVar, true
62269}
62270
62271// OracleTableDataset the on-premises Oracle database dataset.
62272type OracleTableDataset struct {
62273	// OracleTableDatasetTypeProperties - On-premises Oracle dataset properties.
62274	*OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"`
62275	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
62276	AdditionalProperties map[string]interface{} `json:""`
62277	// Description - Dataset description.
62278	Description *string `json:"description,omitempty"`
62279	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
62280	Structure interface{} `json:"structure,omitempty"`
62281	// LinkedServiceName - Linked service reference.
62282	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
62283	// Parameters - Parameters for dataset.
62284	Parameters map[string]*ParameterSpecification `json:"parameters"`
62285	// Annotations - List of tags that can be used for describing the Dataset.
62286	Annotations *[]interface{} `json:"annotations,omitempty"`
62287	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
62288	Type TypeBasicDataset `json:"type,omitempty"`
62289}
62290
62291// MarshalJSON is the custom marshaler for OracleTableDataset.
62292func (otd OracleTableDataset) MarshalJSON() ([]byte, error) {
62293	otd.Type = TypeOracleTable
62294	objectMap := make(map[string]interface{})
62295	if otd.OracleTableDatasetTypeProperties != nil {
62296		objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties
62297	}
62298	if otd.Description != nil {
62299		objectMap["description"] = otd.Description
62300	}
62301	objectMap["structure"] = otd.Structure
62302	if otd.LinkedServiceName != nil {
62303		objectMap["linkedServiceName"] = otd.LinkedServiceName
62304	}
62305	if otd.Parameters != nil {
62306		objectMap["parameters"] = otd.Parameters
62307	}
62308	if otd.Annotations != nil {
62309		objectMap["annotations"] = otd.Annotations
62310	}
62311	if otd.Type != "" {
62312		objectMap["type"] = otd.Type
62313	}
62314	for k, v := range otd.AdditionalProperties {
62315		objectMap[k] = v
62316	}
62317	return json.Marshal(objectMap)
62318}
62319
62320// AsResponsysObjectDataset is the BasicDataset implementation for OracleTableDataset.
62321func (otd OracleTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
62322	return nil, false
62323}
62324
62325// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for OracleTableDataset.
62326func (otd OracleTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
62327	return nil, false
62328}
62329
62330// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset.
62331func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
62332	return nil, false
62333}
62334
62335// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset.
62336func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
62337	return nil, false
62338}
62339
62340// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset.
62341func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
62342	return nil, false
62343}
62344
62345// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset.
62346func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
62347	return nil, false
62348}
62349
62350// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset.
62351func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
62352	return nil, false
62353}
62354
62355// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset.
62356func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
62357	return nil, false
62358}
62359
62360// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset.
62361func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
62362	return nil, false
62363}
62364
62365// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset.
62366func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
62367	return nil, false
62368}
62369
62370// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset.
62371func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
62372	return nil, false
62373}
62374
62375// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset.
62376func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
62377	return nil, false
62378}
62379
62380// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset.
62381func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
62382	return nil, false
62383}
62384
62385// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset.
62386func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
62387	return nil, false
62388}
62389
62390// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset.
62391func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
62392	return nil, false
62393}
62394
62395// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset.
62396func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
62397	return nil, false
62398}
62399
62400// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset.
62401func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
62402	return nil, false
62403}
62404
62405// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset.
62406func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
62407	return nil, false
62408}
62409
62410// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset.
62411func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
62412	return nil, false
62413}
62414
62415// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset.
62416func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
62417	return nil, false
62418}
62419
62420// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset.
62421func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
62422	return nil, false
62423}
62424
62425// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset.
62426func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
62427	return nil, false
62428}
62429
62430// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset.
62431func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
62432	return nil, false
62433}
62434
62435// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset.
62436func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
62437	return nil, false
62438}
62439
62440// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset.
62441func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
62442	return nil, false
62443}
62444
62445// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset.
62446func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
62447	return nil, false
62448}
62449
62450// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset.
62451func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
62452	return nil, false
62453}
62454
62455// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset.
62456func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
62457	return nil, false
62458}
62459
62460// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
62461func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
62462	return nil, false
62463}
62464
62465// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset.
62466func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
62467	return nil, false
62468}
62469
62470// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset.
62471func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
62472	return nil, false
62473}
62474
62475// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset.
62476func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
62477	return nil, false
62478}
62479
62480// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset.
62481func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
62482	return nil, false
62483}
62484
62485// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset.
62486func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
62487	return nil, false
62488}
62489
62490// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset.
62491func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
62492	return nil, false
62493}
62494
62495// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset.
62496func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
62497	return nil, false
62498}
62499
62500// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset.
62501func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
62502	return nil, false
62503}
62504
62505// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset.
62506func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
62507	return nil, false
62508}
62509
62510// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset.
62511func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
62512	return nil, false
62513}
62514
62515// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset.
62516func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
62517	return &otd, true
62518}
62519
62520// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset.
62521func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
62522	return nil, false
62523}
62524
62525// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
62526func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
62527	return nil, false
62528}
62529
62530// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset.
62531func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
62532	return nil, false
62533}
62534
62535// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset.
62536func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
62537	return nil, false
62538}
62539
62540// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset.
62541func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
62542	return nil, false
62543}
62544
62545// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset.
62546func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
62547	return nil, false
62548}
62549
62550// AsCustomDataset is the BasicDataset implementation for OracleTableDataset.
62551func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) {
62552	return nil, false
62553}
62554
62555// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset.
62556func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
62557	return nil, false
62558}
62559
62560// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset.
62561func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
62562	return nil, false
62563}
62564
62565// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset.
62566func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
62567	return nil, false
62568}
62569
62570// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset.
62571func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
62572	return nil, false
62573}
62574
62575// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset.
62576func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
62577	return nil, false
62578}
62579
62580// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset.
62581func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
62582	return nil, false
62583}
62584
62585// AsDataset is the BasicDataset implementation for OracleTableDataset.
62586func (otd OracleTableDataset) AsDataset() (*Dataset, bool) {
62587	return nil, false
62588}
62589
62590// AsBasicDataset is the BasicDataset implementation for OracleTableDataset.
62591func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) {
62592	return &otd, true
62593}
62594
62595// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct.
62596func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error {
62597	var m map[string]*json.RawMessage
62598	err := json.Unmarshal(body, &m)
62599	if err != nil {
62600		return err
62601	}
62602	for k, v := range m {
62603		switch k {
62604		case "typeProperties":
62605			if v != nil {
62606				var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties
62607				err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties)
62608				if err != nil {
62609					return err
62610				}
62611				otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties
62612			}
62613		default:
62614			if v != nil {
62615				var additionalProperties interface{}
62616				err = json.Unmarshal(*v, &additionalProperties)
62617				if err != nil {
62618					return err
62619				}
62620				if otd.AdditionalProperties == nil {
62621					otd.AdditionalProperties = make(map[string]interface{})
62622				}
62623				otd.AdditionalProperties[k] = additionalProperties
62624			}
62625		case "description":
62626			if v != nil {
62627				var description string
62628				err = json.Unmarshal(*v, &description)
62629				if err != nil {
62630					return err
62631				}
62632				otd.Description = &description
62633			}
62634		case "structure":
62635			if v != nil {
62636				var structure interface{}
62637				err = json.Unmarshal(*v, &structure)
62638				if err != nil {
62639					return err
62640				}
62641				otd.Structure = structure
62642			}
62643		case "linkedServiceName":
62644			if v != nil {
62645				var linkedServiceName LinkedServiceReference
62646				err = json.Unmarshal(*v, &linkedServiceName)
62647				if err != nil {
62648					return err
62649				}
62650				otd.LinkedServiceName = &linkedServiceName
62651			}
62652		case "parameters":
62653			if v != nil {
62654				var parameters map[string]*ParameterSpecification
62655				err = json.Unmarshal(*v, &parameters)
62656				if err != nil {
62657					return err
62658				}
62659				otd.Parameters = parameters
62660			}
62661		case "annotations":
62662			if v != nil {
62663				var annotations []interface{}
62664				err = json.Unmarshal(*v, &annotations)
62665				if err != nil {
62666					return err
62667				}
62668				otd.Annotations = &annotations
62669			}
62670		case "type":
62671			if v != nil {
62672				var typeVar TypeBasicDataset
62673				err = json.Unmarshal(*v, &typeVar)
62674				if err != nil {
62675					return err
62676				}
62677				otd.Type = typeVar
62678			}
62679		}
62680	}
62681
62682	return nil
62683}
62684
62685// OracleTableDatasetTypeProperties on-premises Oracle dataset properties.
62686type OracleTableDatasetTypeProperties struct {
62687	// TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string).
62688	TableName interface{} `json:"tableName,omitempty"`
62689}
62690
62691// OrcFormat the data stored in Optimized Row Columnar (ORC) format.
62692type OrcFormat struct {
62693	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
62694	AdditionalProperties map[string]interface{} `json:""`
62695	// Serializer - Serializer. Type: string (or Expression with resultType string).
62696	Serializer interface{} `json:"serializer,omitempty"`
62697	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
62698	Deserializer interface{} `json:"deserializer,omitempty"`
62699	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
62700	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
62701}
62702
62703// MarshalJSON is the custom marshaler for OrcFormat.
62704func (of OrcFormat) MarshalJSON() ([]byte, error) {
62705	of.Type = TypeOrcFormat
62706	objectMap := make(map[string]interface{})
62707	objectMap["serializer"] = of.Serializer
62708	objectMap["deserializer"] = of.Deserializer
62709	if of.Type != "" {
62710		objectMap["type"] = of.Type
62711	}
62712	for k, v := range of.AdditionalProperties {
62713		objectMap[k] = v
62714	}
62715	return json.Marshal(objectMap)
62716}
62717
62718// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62719func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) {
62720	return nil, false
62721}
62722
62723// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62724func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) {
62725	return &of, true
62726}
62727
62728// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62729func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) {
62730	return nil, false
62731}
62732
62733// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62734func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) {
62735	return nil, false
62736}
62737
62738// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62739func (of OrcFormat) AsTextFormat() (*TextFormat, bool) {
62740	return nil, false
62741}
62742
62743// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62744func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
62745	return nil, false
62746}
62747
62748// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat.
62749func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
62750	return &of, true
62751}
62752
62753// ParameterSpecification definition of a single parameter for an entity.
62754type ParameterSpecification struct {
62755	// Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString'
62756	Type ParameterType `json:"type,omitempty"`
62757	// DefaultValue - Default value of parameter.
62758	DefaultValue interface{} `json:"defaultValue,omitempty"`
62759}
62760
62761// ParquetFormat the data stored in Parquet format.
62762type ParquetFormat struct {
62763	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
62764	AdditionalProperties map[string]interface{} `json:""`
62765	// Serializer - Serializer. Type: string (or Expression with resultType string).
62766	Serializer interface{} `json:"serializer,omitempty"`
62767	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
62768	Deserializer interface{} `json:"deserializer,omitempty"`
62769	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
62770	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
62771}
62772
62773// MarshalJSON is the custom marshaler for ParquetFormat.
62774func (pf ParquetFormat) MarshalJSON() ([]byte, error) {
62775	pf.Type = TypeParquetFormat
62776	objectMap := make(map[string]interface{})
62777	objectMap["serializer"] = pf.Serializer
62778	objectMap["deserializer"] = pf.Deserializer
62779	if pf.Type != "" {
62780		objectMap["type"] = pf.Type
62781	}
62782	for k, v := range pf.AdditionalProperties {
62783		objectMap[k] = v
62784	}
62785	return json.Marshal(objectMap)
62786}
62787
62788// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62789func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) {
62790	return &pf, true
62791}
62792
62793// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62794func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) {
62795	return nil, false
62796}
62797
62798// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62799func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) {
62800	return nil, false
62801}
62802
62803// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62804func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) {
62805	return nil, false
62806}
62807
62808// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62809func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) {
62810	return nil, false
62811}
62812
62813// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62814func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
62815	return nil, false
62816}
62817
62818// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat.
62819func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
62820	return &pf, true
62821}
62822
62823// PaypalLinkedService paypal Serivce linked service.
62824type PaypalLinkedService struct {
62825	// PaypalLinkedServiceTypeProperties - Paypal Serivce linked service properties.
62826	*PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
62827	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
62828	AdditionalProperties map[string]interface{} `json:""`
62829	// ConnectVia - The integration runtime reference.
62830	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
62831	// Description - Linked service description.
62832	Description *string `json:"description,omitempty"`
62833	// Parameters - Parameters for linked service.
62834	Parameters map[string]*ParameterSpecification `json:"parameters"`
62835	// Annotations - List of tags that can be used for describing the Dataset.
62836	Annotations *[]interface{} `json:"annotations,omitempty"`
62837	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
62838	Type TypeBasicLinkedService `json:"type,omitempty"`
62839}
62840
62841// MarshalJSON is the custom marshaler for PaypalLinkedService.
62842func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) {
62843	pls.Type = TypePaypal
62844	objectMap := make(map[string]interface{})
62845	if pls.PaypalLinkedServiceTypeProperties != nil {
62846		objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties
62847	}
62848	if pls.ConnectVia != nil {
62849		objectMap["connectVia"] = pls.ConnectVia
62850	}
62851	if pls.Description != nil {
62852		objectMap["description"] = pls.Description
62853	}
62854	if pls.Parameters != nil {
62855		objectMap["parameters"] = pls.Parameters
62856	}
62857	if pls.Annotations != nil {
62858		objectMap["annotations"] = pls.Annotations
62859	}
62860	if pls.Type != "" {
62861		objectMap["type"] = pls.Type
62862	}
62863	for k, v := range pls.AdditionalProperties {
62864		objectMap[k] = v
62865	}
62866	return json.Marshal(objectMap)
62867}
62868
62869// AsResponsysLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62870func (pls PaypalLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
62871	return nil, false
62872}
62873
62874// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62875func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
62876	return nil, false
62877}
62878
62879// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62880func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
62881	return nil, false
62882}
62883
62884// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62885func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
62886	return nil, false
62887}
62888
62889// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62890func (pls PaypalLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
62891	return nil, false
62892}
62893
62894// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62895func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
62896	return nil, false
62897}
62898
62899// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62900func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
62901	return nil, false
62902}
62903
62904// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62905func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
62906	return nil, false
62907}
62908
62909// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62910func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
62911	return nil, false
62912}
62913
62914// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62915func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
62916	return nil, false
62917}
62918
62919// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62920func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
62921	return nil, false
62922}
62923
62924// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62925func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
62926	return nil, false
62927}
62928
62929// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62930func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
62931	return nil, false
62932}
62933
62934// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62935func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
62936	return nil, false
62937}
62938
62939// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62940func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
62941	return nil, false
62942}
62943
62944// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62945func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
62946	return nil, false
62947}
62948
62949// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62950func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
62951	return &pls, true
62952}
62953
62954// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62955func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
62956	return nil, false
62957}
62958
62959// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62960func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
62961	return nil, false
62962}
62963
62964// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62965func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
62966	return nil, false
62967}
62968
62969// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62970func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
62971	return nil, false
62972}
62973
62974// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62975func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
62976	return nil, false
62977}
62978
62979// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62980func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
62981	return nil, false
62982}
62983
62984// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62985func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
62986	return nil, false
62987}
62988
62989// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62990func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
62991	return nil, false
62992}
62993
62994// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
62995func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
62996	return nil, false
62997}
62998
62999// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63000func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
63001	return nil, false
63002}
63003
63004// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63005func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
63006	return nil, false
63007}
63008
63009// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63010func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
63011	return nil, false
63012}
63013
63014// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63015func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
63016	return nil, false
63017}
63018
63019// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63020func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
63021	return nil, false
63022}
63023
63024// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63025func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
63026	return nil, false
63027}
63028
63029// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63030func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
63031	return nil, false
63032}
63033
63034// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63035func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
63036	return nil, false
63037}
63038
63039// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63040func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
63041	return nil, false
63042}
63043
63044// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63045func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
63046	return nil, false
63047}
63048
63049// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63050func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
63051	return nil, false
63052}
63053
63054// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63055func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
63056	return nil, false
63057}
63058
63059// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63060func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
63061	return nil, false
63062}
63063
63064// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63065func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
63066	return nil, false
63067}
63068
63069// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63070func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
63071	return nil, false
63072}
63073
63074// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63075func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
63076	return nil, false
63077}
63078
63079// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63080func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
63081	return nil, false
63082}
63083
63084// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63085func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
63086	return nil, false
63087}
63088
63089// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63090func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
63091	return nil, false
63092}
63093
63094// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63095func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
63096	return nil, false
63097}
63098
63099// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63100func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
63101	return nil, false
63102}
63103
63104// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63105func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
63106	return nil, false
63107}
63108
63109// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63110func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
63111	return nil, false
63112}
63113
63114// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63115func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
63116	return nil, false
63117}
63118
63119// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63120func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
63121	return nil, false
63122}
63123
63124// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63125func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
63126	return nil, false
63127}
63128
63129// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63130func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
63131	return nil, false
63132}
63133
63134// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63135func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
63136	return nil, false
63137}
63138
63139// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63140func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
63141	return nil, false
63142}
63143
63144// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63145func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
63146	return nil, false
63147}
63148
63149// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63150func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
63151	return nil, false
63152}
63153
63154// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63155func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
63156	return nil, false
63157}
63158
63159// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63160func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
63161	return nil, false
63162}
63163
63164// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63165func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
63166	return nil, false
63167}
63168
63169// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63170func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
63171	return nil, false
63172}
63173
63174// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63175func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
63176	return nil, false
63177}
63178
63179// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63180func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
63181	return nil, false
63182}
63183
63184// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63185func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
63186	return nil, false
63187}
63188
63189// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63190func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
63191	return nil, false
63192}
63193
63194// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63195func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
63196	return nil, false
63197}
63198
63199// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63200func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
63201	return nil, false
63202}
63203
63204// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63205func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
63206	return nil, false
63207}
63208
63209// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63210func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
63211	return nil, false
63212}
63213
63214// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63215func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
63216	return nil, false
63217}
63218
63219// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63220func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) {
63221	return nil, false
63222}
63223
63224// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService.
63225func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
63226	return &pls, true
63227}
63228
63229// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct.
63230func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error {
63231	var m map[string]*json.RawMessage
63232	err := json.Unmarshal(body, &m)
63233	if err != nil {
63234		return err
63235	}
63236	for k, v := range m {
63237		switch k {
63238		case "typeProperties":
63239			if v != nil {
63240				var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties
63241				err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties)
63242				if err != nil {
63243					return err
63244				}
63245				pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties
63246			}
63247		default:
63248			if v != nil {
63249				var additionalProperties interface{}
63250				err = json.Unmarshal(*v, &additionalProperties)
63251				if err != nil {
63252					return err
63253				}
63254				if pls.AdditionalProperties == nil {
63255					pls.AdditionalProperties = make(map[string]interface{})
63256				}
63257				pls.AdditionalProperties[k] = additionalProperties
63258			}
63259		case "connectVia":
63260			if v != nil {
63261				var connectVia IntegrationRuntimeReference
63262				err = json.Unmarshal(*v, &connectVia)
63263				if err != nil {
63264					return err
63265				}
63266				pls.ConnectVia = &connectVia
63267			}
63268		case "description":
63269			if v != nil {
63270				var description string
63271				err = json.Unmarshal(*v, &description)
63272				if err != nil {
63273					return err
63274				}
63275				pls.Description = &description
63276			}
63277		case "parameters":
63278			if v != nil {
63279				var parameters map[string]*ParameterSpecification
63280				err = json.Unmarshal(*v, &parameters)
63281				if err != nil {
63282					return err
63283				}
63284				pls.Parameters = parameters
63285			}
63286		case "annotations":
63287			if v != nil {
63288				var annotations []interface{}
63289				err = json.Unmarshal(*v, &annotations)
63290				if err != nil {
63291					return err
63292				}
63293				pls.Annotations = &annotations
63294			}
63295		case "type":
63296			if v != nil {
63297				var typeVar TypeBasicLinkedService
63298				err = json.Unmarshal(*v, &typeVar)
63299				if err != nil {
63300					return err
63301				}
63302				pls.Type = typeVar
63303			}
63304		}
63305	}
63306
63307	return nil
63308}
63309
63310// PaypalLinkedServiceTypeProperties paypal Serivce linked service properties.
63311type PaypalLinkedServiceTypeProperties struct {
63312	// Host - The URL of the PayPal instance. (i.e. api.sandbox.paypal.com)
63313	Host interface{} `json:"host,omitempty"`
63314	// ClientID - The client ID associated with your PayPal application.
63315	ClientID interface{} `json:"clientId,omitempty"`
63316	// ClientSecret - The client secret associated with your PayPal application.
63317	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
63318	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
63319	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
63320	// 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.
63321	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
63322	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
63323	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
63324	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
63325	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
63326}
63327
63328// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct.
63329func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
63330	var m map[string]*json.RawMessage
63331	err := json.Unmarshal(body, &m)
63332	if err != nil {
63333		return err
63334	}
63335	for k, v := range m {
63336		switch k {
63337		case "host":
63338			if v != nil {
63339				var host interface{}
63340				err = json.Unmarshal(*v, &host)
63341				if err != nil {
63342					return err
63343				}
63344				plstp.Host = host
63345			}
63346		case "clientId":
63347			if v != nil {
63348				var clientID interface{}
63349				err = json.Unmarshal(*v, &clientID)
63350				if err != nil {
63351					return err
63352				}
63353				plstp.ClientID = clientID
63354			}
63355		case "clientSecret":
63356			if v != nil {
63357				clientSecret, err := unmarshalBasicSecretBase(*v)
63358				if err != nil {
63359					return err
63360				}
63361				plstp.ClientSecret = clientSecret
63362			}
63363		case "useEncryptedEndpoints":
63364			if v != nil {
63365				var useEncryptedEndpoints interface{}
63366				err = json.Unmarshal(*v, &useEncryptedEndpoints)
63367				if err != nil {
63368					return err
63369				}
63370				plstp.UseEncryptedEndpoints = useEncryptedEndpoints
63371			}
63372		case "useHostVerification":
63373			if v != nil {
63374				var useHostVerification interface{}
63375				err = json.Unmarshal(*v, &useHostVerification)
63376				if err != nil {
63377					return err
63378				}
63379				plstp.UseHostVerification = useHostVerification
63380			}
63381		case "usePeerVerification":
63382			if v != nil {
63383				var usePeerVerification interface{}
63384				err = json.Unmarshal(*v, &usePeerVerification)
63385				if err != nil {
63386					return err
63387				}
63388				plstp.UsePeerVerification = usePeerVerification
63389			}
63390		case "encryptedCredential":
63391			if v != nil {
63392				var encryptedCredential interface{}
63393				err = json.Unmarshal(*v, &encryptedCredential)
63394				if err != nil {
63395					return err
63396				}
63397				plstp.EncryptedCredential = encryptedCredential
63398			}
63399		}
63400	}
63401
63402	return nil
63403}
63404
63405// PaypalObjectDataset paypal Serivce dataset.
63406type PaypalObjectDataset struct {
63407	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
63408	AdditionalProperties map[string]interface{} `json:""`
63409	// Description - Dataset description.
63410	Description *string `json:"description,omitempty"`
63411	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
63412	Structure interface{} `json:"structure,omitempty"`
63413	// LinkedServiceName - Linked service reference.
63414	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
63415	// Parameters - Parameters for dataset.
63416	Parameters map[string]*ParameterSpecification `json:"parameters"`
63417	// Annotations - List of tags that can be used for describing the Dataset.
63418	Annotations *[]interface{} `json:"annotations,omitempty"`
63419	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
63420	Type TypeBasicDataset `json:"type,omitempty"`
63421}
63422
63423// MarshalJSON is the custom marshaler for PaypalObjectDataset.
63424func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) {
63425	pod.Type = TypePaypalObject
63426	objectMap := make(map[string]interface{})
63427	if pod.Description != nil {
63428		objectMap["description"] = pod.Description
63429	}
63430	objectMap["structure"] = pod.Structure
63431	if pod.LinkedServiceName != nil {
63432		objectMap["linkedServiceName"] = pod.LinkedServiceName
63433	}
63434	if pod.Parameters != nil {
63435		objectMap["parameters"] = pod.Parameters
63436	}
63437	if pod.Annotations != nil {
63438		objectMap["annotations"] = pod.Annotations
63439	}
63440	if pod.Type != "" {
63441		objectMap["type"] = pod.Type
63442	}
63443	for k, v := range pod.AdditionalProperties {
63444		objectMap[k] = v
63445	}
63446	return json.Marshal(objectMap)
63447}
63448
63449// AsResponsysObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63450func (pod PaypalObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
63451	return nil, false
63452}
63453
63454// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63455func (pod PaypalObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
63456	return nil, false
63457}
63458
63459// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63460func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
63461	return nil, false
63462}
63463
63464// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63465func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
63466	return nil, false
63467}
63468
63469// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63470func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
63471	return nil, false
63472}
63473
63474// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63475func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
63476	return nil, false
63477}
63478
63479// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63480func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
63481	return nil, false
63482}
63483
63484// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63485func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
63486	return nil, false
63487}
63488
63489// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63490func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
63491	return nil, false
63492}
63493
63494// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63495func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
63496	return nil, false
63497}
63498
63499// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63500func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
63501	return nil, false
63502}
63503
63504// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63505func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
63506	return nil, false
63507}
63508
63509// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63510func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
63511	return nil, false
63512}
63513
63514// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63515func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
63516	return &pod, true
63517}
63518
63519// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63520func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
63521	return nil, false
63522}
63523
63524// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63525func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
63526	return nil, false
63527}
63528
63529// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63530func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
63531	return nil, false
63532}
63533
63534// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63535func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
63536	return nil, false
63537}
63538
63539// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63540func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
63541	return nil, false
63542}
63543
63544// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63545func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
63546	return nil, false
63547}
63548
63549// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63550func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
63551	return nil, false
63552}
63553
63554// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63555func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
63556	return nil, false
63557}
63558
63559// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63560func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
63561	return nil, false
63562}
63563
63564// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63565func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
63566	return nil, false
63567}
63568
63569// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63570func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
63571	return nil, false
63572}
63573
63574// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63575func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
63576	return nil, false
63577}
63578
63579// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63580func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
63581	return nil, false
63582}
63583
63584// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63585func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
63586	return nil, false
63587}
63588
63589// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63590func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
63591	return nil, false
63592}
63593
63594// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63595func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
63596	return nil, false
63597}
63598
63599// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset.
63600func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
63601	return nil, false
63602}
63603
63604// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset.
63605func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
63606	return nil, false
63607}
63608
63609// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63610func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
63611	return nil, false
63612}
63613
63614// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63615func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
63616	return nil, false
63617}
63618
63619// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
63620func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
63621	return nil, false
63622}
63623
63624// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
63625func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
63626	return nil, false
63627}
63628
63629// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset.
63630func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
63631	return nil, false
63632}
63633
63634// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63635func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
63636	return nil, false
63637}
63638
63639// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63640func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
63641	return nil, false
63642}
63643
63644// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63645func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
63646	return nil, false
63647}
63648
63649// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset.
63650func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
63651	return nil, false
63652}
63653
63654// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
63655func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
63656	return nil, false
63657}
63658
63659// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset.
63660func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
63661	return nil, false
63662}
63663
63664// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset.
63665func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
63666	return nil, false
63667}
63668
63669// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset.
63670func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
63671	return nil, false
63672}
63673
63674// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset.
63675func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
63676	return nil, false
63677}
63678
63679// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset.
63680func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
63681	return nil, false
63682}
63683
63684// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63685func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
63686	return nil, false
63687}
63688
63689// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63690func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
63691	return nil, false
63692}
63693
63694// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63695func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
63696	return nil, false
63697}
63698
63699// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset.
63700func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
63701	return nil, false
63702}
63703
63704// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset.
63705func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
63706	return nil, false
63707}
63708
63709// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset.
63710func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
63711	return nil, false
63712}
63713
63714// AsDataset is the BasicDataset implementation for PaypalObjectDataset.
63715func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) {
63716	return nil, false
63717}
63718
63719// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset.
63720func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) {
63721	return &pod, true
63722}
63723
63724// PaypalSource a copy activity Paypal Serivce source.
63725type PaypalSource struct {
63726	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
63727	Query interface{} `json:"query,omitempty"`
63728	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
63729	AdditionalProperties map[string]interface{} `json:""`
63730	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
63731	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
63732	// 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])).
63733	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
63734	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
63735	Type TypeBasicCopySource `json:"type,omitempty"`
63736}
63737
63738// MarshalJSON is the custom marshaler for PaypalSource.
63739func (ps PaypalSource) MarshalJSON() ([]byte, error) {
63740	ps.Type = TypePaypalSource
63741	objectMap := make(map[string]interface{})
63742	objectMap["query"] = ps.Query
63743	objectMap["sourceRetryCount"] = ps.SourceRetryCount
63744	objectMap["sourceRetryWait"] = ps.SourceRetryWait
63745	if ps.Type != "" {
63746		objectMap["type"] = ps.Type
63747	}
63748	for k, v := range ps.AdditionalProperties {
63749		objectMap[k] = v
63750	}
63751	return json.Marshal(objectMap)
63752}
63753
63754// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource.
63755func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
63756	return nil, false
63757}
63758
63759// AsResponsysSource is the BasicCopySource implementation for PaypalSource.
63760func (ps PaypalSource) AsResponsysSource() (*ResponsysSource, bool) {
63761	return nil, false
63762}
63763
63764// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PaypalSource.
63765func (ps PaypalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
63766	return nil, false
63767}
63768
63769// AsVerticaSource is the BasicCopySource implementation for PaypalSource.
63770func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) {
63771	return nil, false
63772}
63773
63774// AsNetezzaSource is the BasicCopySource implementation for PaypalSource.
63775func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) {
63776	return nil, false
63777}
63778
63779// AsZohoSource is the BasicCopySource implementation for PaypalSource.
63780func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) {
63781	return nil, false
63782}
63783
63784// AsXeroSource is the BasicCopySource implementation for PaypalSource.
63785func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) {
63786	return nil, false
63787}
63788
63789// AsSquareSource is the BasicCopySource implementation for PaypalSource.
63790func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) {
63791	return nil, false
63792}
63793
63794// AsSparkSource is the BasicCopySource implementation for PaypalSource.
63795func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) {
63796	return nil, false
63797}
63798
63799// AsShopifySource is the BasicCopySource implementation for PaypalSource.
63800func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) {
63801	return nil, false
63802}
63803
63804// AsServiceNowSource is the BasicCopySource implementation for PaypalSource.
63805func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
63806	return nil, false
63807}
63808
63809// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource.
63810func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
63811	return nil, false
63812}
63813
63814// AsPrestoSource is the BasicCopySource implementation for PaypalSource.
63815func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) {
63816	return nil, false
63817}
63818
63819// AsPhoenixSource is the BasicCopySource implementation for PaypalSource.
63820func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) {
63821	return nil, false
63822}
63823
63824// AsPaypalSource is the BasicCopySource implementation for PaypalSource.
63825func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) {
63826	return &ps, true
63827}
63828
63829// AsMarketoSource is the BasicCopySource implementation for PaypalSource.
63830func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) {
63831	return nil, false
63832}
63833
63834// AsMariaDBSource is the BasicCopySource implementation for PaypalSource.
63835func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) {
63836	return nil, false
63837}
63838
63839// AsMagentoSource is the BasicCopySource implementation for PaypalSource.
63840func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) {
63841	return nil, false
63842}
63843
63844// AsJiraSource is the BasicCopySource implementation for PaypalSource.
63845func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) {
63846	return nil, false
63847}
63848
63849// AsImpalaSource is the BasicCopySource implementation for PaypalSource.
63850func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) {
63851	return nil, false
63852}
63853
63854// AsHubspotSource is the BasicCopySource implementation for PaypalSource.
63855func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) {
63856	return nil, false
63857}
63858
63859// AsHiveSource is the BasicCopySource implementation for PaypalSource.
63860func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) {
63861	return nil, false
63862}
63863
63864// AsHBaseSource is the BasicCopySource implementation for PaypalSource.
63865func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) {
63866	return nil, false
63867}
63868
63869// AsGreenplumSource is the BasicCopySource implementation for PaypalSource.
63870func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) {
63871	return nil, false
63872}
63873
63874// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource.
63875func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
63876	return nil, false
63877}
63878
63879// AsEloquaSource is the BasicCopySource implementation for PaypalSource.
63880func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) {
63881	return nil, false
63882}
63883
63884// AsDrillSource is the BasicCopySource implementation for PaypalSource.
63885func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) {
63886	return nil, false
63887}
63888
63889// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource.
63890func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
63891	return nil, false
63892}
63893
63894// AsConcurSource is the BasicCopySource implementation for PaypalSource.
63895func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) {
63896	return nil, false
63897}
63898
63899// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource.
63900func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
63901	return nil, false
63902}
63903
63904// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource.
63905func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
63906	return nil, false
63907}
63908
63909// AsHTTPSource is the BasicCopySource implementation for PaypalSource.
63910func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) {
63911	return nil, false
63912}
63913
63914// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource.
63915func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
63916	return nil, false
63917}
63918
63919// AsMongoDbSource is the BasicCopySource implementation for PaypalSource.
63920func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) {
63921	return nil, false
63922}
63923
63924// AsCassandraSource is the BasicCopySource implementation for PaypalSource.
63925func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) {
63926	return nil, false
63927}
63928
63929// AsWebSource is the BasicCopySource implementation for PaypalSource.
63930func (ps PaypalSource) AsWebSource() (*WebSource, bool) {
63931	return nil, false
63932}
63933
63934// AsOracleSource is the BasicCopySource implementation for PaypalSource.
63935func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) {
63936	return nil, false
63937}
63938
63939// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource.
63940func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
63941	return nil, false
63942}
63943
63944// AsHdfsSource is the BasicCopySource implementation for PaypalSource.
63945func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) {
63946	return nil, false
63947}
63948
63949// AsFileSystemSource is the BasicCopySource implementation for PaypalSource.
63950func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) {
63951	return nil, false
63952}
63953
63954// AsSQLDWSource is the BasicCopySource implementation for PaypalSource.
63955func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) {
63956	return nil, false
63957}
63958
63959// AsSQLSource is the BasicCopySource implementation for PaypalSource.
63960func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) {
63961	return nil, false
63962}
63963
63964// AsSapEccSource is the BasicCopySource implementation for PaypalSource.
63965func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) {
63966	return nil, false
63967}
63968
63969// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource.
63970func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
63971	return nil, false
63972}
63973
63974// AsSalesforceSource is the BasicCopySource implementation for PaypalSource.
63975func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) {
63976	return nil, false
63977}
63978
63979// AsRelationalSource is the BasicCopySource implementation for PaypalSource.
63980func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) {
63981	return nil, false
63982}
63983
63984// AsDynamicsSource is the BasicCopySource implementation for PaypalSource.
63985func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) {
63986	return nil, false
63987}
63988
63989// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource.
63990func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
63991	return nil, false
63992}
63993
63994// AsBlobSource is the BasicCopySource implementation for PaypalSource.
63995func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) {
63996	return nil, false
63997}
63998
63999// AsAzureTableSource is the BasicCopySource implementation for PaypalSource.
64000func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) {
64001	return nil, false
64002}
64003
64004// AsCopySource is the BasicCopySource implementation for PaypalSource.
64005func (ps PaypalSource) AsCopySource() (*CopySource, bool) {
64006	return nil, false
64007}
64008
64009// AsBasicCopySource is the BasicCopySource implementation for PaypalSource.
64010func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) {
64011	return &ps, true
64012}
64013
64014// PhoenixLinkedService phoenix server linked service.
64015type PhoenixLinkedService struct {
64016	// PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties.
64017	*PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
64018	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
64019	AdditionalProperties map[string]interface{} `json:""`
64020	// ConnectVia - The integration runtime reference.
64021	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
64022	// Description - Linked service description.
64023	Description *string `json:"description,omitempty"`
64024	// Parameters - Parameters for linked service.
64025	Parameters map[string]*ParameterSpecification `json:"parameters"`
64026	// Annotations - List of tags that can be used for describing the Dataset.
64027	Annotations *[]interface{} `json:"annotations,omitempty"`
64028	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
64029	Type TypeBasicLinkedService `json:"type,omitempty"`
64030}
64031
64032// MarshalJSON is the custom marshaler for PhoenixLinkedService.
64033func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) {
64034	pls.Type = TypePhoenix
64035	objectMap := make(map[string]interface{})
64036	if pls.PhoenixLinkedServiceTypeProperties != nil {
64037		objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties
64038	}
64039	if pls.ConnectVia != nil {
64040		objectMap["connectVia"] = pls.ConnectVia
64041	}
64042	if pls.Description != nil {
64043		objectMap["description"] = pls.Description
64044	}
64045	if pls.Parameters != nil {
64046		objectMap["parameters"] = pls.Parameters
64047	}
64048	if pls.Annotations != nil {
64049		objectMap["annotations"] = pls.Annotations
64050	}
64051	if pls.Type != "" {
64052		objectMap["type"] = pls.Type
64053	}
64054	for k, v := range pls.AdditionalProperties {
64055		objectMap[k] = v
64056	}
64057	return json.Marshal(objectMap)
64058}
64059
64060// AsResponsysLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64061func (pls PhoenixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
64062	return nil, false
64063}
64064
64065// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64066func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
64067	return nil, false
64068}
64069
64070// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64071func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
64072	return nil, false
64073}
64074
64075// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64076func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
64077	return nil, false
64078}
64079
64080// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64081func (pls PhoenixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
64082	return nil, false
64083}
64084
64085// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64086func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
64087	return nil, false
64088}
64089
64090// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64091func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
64092	return nil, false
64093}
64094
64095// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64096func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
64097	return nil, false
64098}
64099
64100// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64101func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
64102	return nil, false
64103}
64104
64105// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64106func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
64107	return nil, false
64108}
64109
64110// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64111func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
64112	return nil, false
64113}
64114
64115// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64116func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
64117	return nil, false
64118}
64119
64120// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64121func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
64122	return nil, false
64123}
64124
64125// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64126func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
64127	return nil, false
64128}
64129
64130// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64131func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
64132	return nil, false
64133}
64134
64135// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64136func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
64137	return &pls, true
64138}
64139
64140// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64141func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
64142	return nil, false
64143}
64144
64145// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64146func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
64147	return nil, false
64148}
64149
64150// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64151func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
64152	return nil, false
64153}
64154
64155// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64156func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
64157	return nil, false
64158}
64159
64160// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64161func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
64162	return nil, false
64163}
64164
64165// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64166func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
64167	return nil, false
64168}
64169
64170// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64171func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
64172	return nil, false
64173}
64174
64175// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64176func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
64177	return nil, false
64178}
64179
64180// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64181func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
64182	return nil, false
64183}
64184
64185// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64186func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
64187	return nil, false
64188}
64189
64190// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64191func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
64192	return nil, false
64193}
64194
64195// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64196func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
64197	return nil, false
64198}
64199
64200// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64201func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
64202	return nil, false
64203}
64204
64205// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64206func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
64207	return nil, false
64208}
64209
64210// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64211func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
64212	return nil, false
64213}
64214
64215// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64216func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
64217	return nil, false
64218}
64219
64220// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64221func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
64222	return nil, false
64223}
64224
64225// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64226func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
64227	return nil, false
64228}
64229
64230// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64231func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
64232	return nil, false
64233}
64234
64235// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64236func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
64237	return nil, false
64238}
64239
64240// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64241func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
64242	return nil, false
64243}
64244
64245// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64246func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
64247	return nil, false
64248}
64249
64250// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64251func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
64252	return nil, false
64253}
64254
64255// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64256func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
64257	return nil, false
64258}
64259
64260// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64261func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
64262	return nil, false
64263}
64264
64265// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64266func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
64267	return nil, false
64268}
64269
64270// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64271func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
64272	return nil, false
64273}
64274
64275// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64276func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
64277	return nil, false
64278}
64279
64280// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64281func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
64282	return nil, false
64283}
64284
64285// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64286func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
64287	return nil, false
64288}
64289
64290// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64291func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
64292	return nil, false
64293}
64294
64295// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64296func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
64297	return nil, false
64298}
64299
64300// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64301func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
64302	return nil, false
64303}
64304
64305// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64306func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
64307	return nil, false
64308}
64309
64310// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64311func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
64312	return nil, false
64313}
64314
64315// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64316func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
64317	return nil, false
64318}
64319
64320// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64321func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
64322	return nil, false
64323}
64324
64325// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64326func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
64327	return nil, false
64328}
64329
64330// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64331func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
64332	return nil, false
64333}
64334
64335// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64336func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
64337	return nil, false
64338}
64339
64340// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64341func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
64342	return nil, false
64343}
64344
64345// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64346func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
64347	return nil, false
64348}
64349
64350// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64351func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
64352	return nil, false
64353}
64354
64355// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64356func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
64357	return nil, false
64358}
64359
64360// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64361func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
64362	return nil, false
64363}
64364
64365// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64366func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
64367	return nil, false
64368}
64369
64370// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64371func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
64372	return nil, false
64373}
64374
64375// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64376func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
64377	return nil, false
64378}
64379
64380// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64381func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
64382	return nil, false
64383}
64384
64385// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64386func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
64387	return nil, false
64388}
64389
64390// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64391func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
64392	return nil, false
64393}
64394
64395// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64396func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
64397	return nil, false
64398}
64399
64400// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64401func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
64402	return nil, false
64403}
64404
64405// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64406func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
64407	return nil, false
64408}
64409
64410// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64411func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) {
64412	return nil, false
64413}
64414
64415// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService.
64416func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
64417	return &pls, true
64418}
64419
64420// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct.
64421func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error {
64422	var m map[string]*json.RawMessage
64423	err := json.Unmarshal(body, &m)
64424	if err != nil {
64425		return err
64426	}
64427	for k, v := range m {
64428		switch k {
64429		case "typeProperties":
64430			if v != nil {
64431				var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties
64432				err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties)
64433				if err != nil {
64434					return err
64435				}
64436				pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties
64437			}
64438		default:
64439			if v != nil {
64440				var additionalProperties interface{}
64441				err = json.Unmarshal(*v, &additionalProperties)
64442				if err != nil {
64443					return err
64444				}
64445				if pls.AdditionalProperties == nil {
64446					pls.AdditionalProperties = make(map[string]interface{})
64447				}
64448				pls.AdditionalProperties[k] = additionalProperties
64449			}
64450		case "connectVia":
64451			if v != nil {
64452				var connectVia IntegrationRuntimeReference
64453				err = json.Unmarshal(*v, &connectVia)
64454				if err != nil {
64455					return err
64456				}
64457				pls.ConnectVia = &connectVia
64458			}
64459		case "description":
64460			if v != nil {
64461				var description string
64462				err = json.Unmarshal(*v, &description)
64463				if err != nil {
64464					return err
64465				}
64466				pls.Description = &description
64467			}
64468		case "parameters":
64469			if v != nil {
64470				var parameters map[string]*ParameterSpecification
64471				err = json.Unmarshal(*v, &parameters)
64472				if err != nil {
64473					return err
64474				}
64475				pls.Parameters = parameters
64476			}
64477		case "annotations":
64478			if v != nil {
64479				var annotations []interface{}
64480				err = json.Unmarshal(*v, &annotations)
64481				if err != nil {
64482					return err
64483				}
64484				pls.Annotations = &annotations
64485			}
64486		case "type":
64487			if v != nil {
64488				var typeVar TypeBasicLinkedService
64489				err = json.Unmarshal(*v, &typeVar)
64490				if err != nil {
64491					return err
64492				}
64493				pls.Type = typeVar
64494			}
64495		}
64496	}
64497
64498	return nil
64499}
64500
64501// PhoenixLinkedServiceTypeProperties phoenix server linked service properties.
64502type PhoenixLinkedServiceTypeProperties struct {
64503	// Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160)
64504	Host interface{} `json:"host,omitempty"`
64505	// Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765.
64506	Port interface{} `json:"port,omitempty"`
64507	// HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService.
64508	HTTPPath interface{} `json:"httpPath,omitempty"`
64509	// AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService'
64510	AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"`
64511	// Username - The user name used to connect to the Phoenix server.
64512	Username interface{} `json:"username,omitempty"`
64513	// Password - The password corresponding to the user name.
64514	Password BasicSecretBase `json:"password,omitempty"`
64515	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
64516	EnableSsl interface{} `json:"enableSsl,omitempty"`
64517	// 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.
64518	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
64519	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
64520	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
64521	// 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.
64522	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
64523	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
64524	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
64525	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
64526	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
64527}
64528
64529// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct.
64530func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
64531	var m map[string]*json.RawMessage
64532	err := json.Unmarshal(body, &m)
64533	if err != nil {
64534		return err
64535	}
64536	for k, v := range m {
64537		switch k {
64538		case "host":
64539			if v != nil {
64540				var host interface{}
64541				err = json.Unmarshal(*v, &host)
64542				if err != nil {
64543					return err
64544				}
64545				plstp.Host = host
64546			}
64547		case "port":
64548			if v != nil {
64549				var port interface{}
64550				err = json.Unmarshal(*v, &port)
64551				if err != nil {
64552					return err
64553				}
64554				plstp.Port = port
64555			}
64556		case "httpPath":
64557			if v != nil {
64558				var HTTPPath interface{}
64559				err = json.Unmarshal(*v, &HTTPPath)
64560				if err != nil {
64561					return err
64562				}
64563				plstp.HTTPPath = HTTPPath
64564			}
64565		case "authenticationType":
64566			if v != nil {
64567				var authenticationType PhoenixAuthenticationType
64568				err = json.Unmarshal(*v, &authenticationType)
64569				if err != nil {
64570					return err
64571				}
64572				plstp.AuthenticationType = authenticationType
64573			}
64574		case "username":
64575			if v != nil {
64576				var username interface{}
64577				err = json.Unmarshal(*v, &username)
64578				if err != nil {
64579					return err
64580				}
64581				plstp.Username = username
64582			}
64583		case "password":
64584			if v != nil {
64585				password, err := unmarshalBasicSecretBase(*v)
64586				if err != nil {
64587					return err
64588				}
64589				plstp.Password = password
64590			}
64591		case "enableSsl":
64592			if v != nil {
64593				var enableSsl interface{}
64594				err = json.Unmarshal(*v, &enableSsl)
64595				if err != nil {
64596					return err
64597				}
64598				plstp.EnableSsl = enableSsl
64599			}
64600		case "trustedCertPath":
64601			if v != nil {
64602				var trustedCertPath interface{}
64603				err = json.Unmarshal(*v, &trustedCertPath)
64604				if err != nil {
64605					return err
64606				}
64607				plstp.TrustedCertPath = trustedCertPath
64608			}
64609		case "useSystemTrustStore":
64610			if v != nil {
64611				var useSystemTrustStore interface{}
64612				err = json.Unmarshal(*v, &useSystemTrustStore)
64613				if err != nil {
64614					return err
64615				}
64616				plstp.UseSystemTrustStore = useSystemTrustStore
64617			}
64618		case "allowHostNameCNMismatch":
64619			if v != nil {
64620				var allowHostNameCNMismatch interface{}
64621				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
64622				if err != nil {
64623					return err
64624				}
64625				plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
64626			}
64627		case "allowSelfSignedServerCert":
64628			if v != nil {
64629				var allowSelfSignedServerCert interface{}
64630				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
64631				if err != nil {
64632					return err
64633				}
64634				plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
64635			}
64636		case "encryptedCredential":
64637			if v != nil {
64638				var encryptedCredential interface{}
64639				err = json.Unmarshal(*v, &encryptedCredential)
64640				if err != nil {
64641					return err
64642				}
64643				plstp.EncryptedCredential = encryptedCredential
64644			}
64645		}
64646	}
64647
64648	return nil
64649}
64650
64651// PhoenixObjectDataset phoenix server dataset.
64652type PhoenixObjectDataset struct {
64653	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
64654	AdditionalProperties map[string]interface{} `json:""`
64655	// Description - Dataset description.
64656	Description *string `json:"description,omitempty"`
64657	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
64658	Structure interface{} `json:"structure,omitempty"`
64659	// LinkedServiceName - Linked service reference.
64660	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
64661	// Parameters - Parameters for dataset.
64662	Parameters map[string]*ParameterSpecification `json:"parameters"`
64663	// Annotations - List of tags that can be used for describing the Dataset.
64664	Annotations *[]interface{} `json:"annotations,omitempty"`
64665	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
64666	Type TypeBasicDataset `json:"type,omitempty"`
64667}
64668
64669// MarshalJSON is the custom marshaler for PhoenixObjectDataset.
64670func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) {
64671	pod.Type = TypePhoenixObject
64672	objectMap := make(map[string]interface{})
64673	if pod.Description != nil {
64674		objectMap["description"] = pod.Description
64675	}
64676	objectMap["structure"] = pod.Structure
64677	if pod.LinkedServiceName != nil {
64678		objectMap["linkedServiceName"] = pod.LinkedServiceName
64679	}
64680	if pod.Parameters != nil {
64681		objectMap["parameters"] = pod.Parameters
64682	}
64683	if pod.Annotations != nil {
64684		objectMap["annotations"] = pod.Annotations
64685	}
64686	if pod.Type != "" {
64687		objectMap["type"] = pod.Type
64688	}
64689	for k, v := range pod.AdditionalProperties {
64690		objectMap[k] = v
64691	}
64692	return json.Marshal(objectMap)
64693}
64694
64695// AsResponsysObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64696func (pod PhoenixObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
64697	return nil, false
64698}
64699
64700// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64701func (pod PhoenixObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
64702	return nil, false
64703}
64704
64705// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64706func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
64707	return nil, false
64708}
64709
64710// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64711func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
64712	return nil, false
64713}
64714
64715// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64716func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
64717	return nil, false
64718}
64719
64720// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64721func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
64722	return nil, false
64723}
64724
64725// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64726func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
64727	return nil, false
64728}
64729
64730// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64731func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
64732	return nil, false
64733}
64734
64735// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64736func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
64737	return nil, false
64738}
64739
64740// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64741func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
64742	return nil, false
64743}
64744
64745// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64746func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
64747	return nil, false
64748}
64749
64750// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64751func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
64752	return nil, false
64753}
64754
64755// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64756func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
64757	return &pod, true
64758}
64759
64760// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64761func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
64762	return nil, false
64763}
64764
64765// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64766func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
64767	return nil, false
64768}
64769
64770// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64771func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
64772	return nil, false
64773}
64774
64775// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64776func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
64777	return nil, false
64778}
64779
64780// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64781func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
64782	return nil, false
64783}
64784
64785// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64786func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
64787	return nil, false
64788}
64789
64790// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64791func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
64792	return nil, false
64793}
64794
64795// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64796func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
64797	return nil, false
64798}
64799
64800// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64801func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
64802	return nil, false
64803}
64804
64805// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64806func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
64807	return nil, false
64808}
64809
64810// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64811func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
64812	return nil, false
64813}
64814
64815// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64816func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
64817	return nil, false
64818}
64819
64820// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64821func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
64822	return nil, false
64823}
64824
64825// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64826func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
64827	return nil, false
64828}
64829
64830// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64831func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
64832	return nil, false
64833}
64834
64835// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64836func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
64837	return nil, false
64838}
64839
64840// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64841func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
64842	return nil, false
64843}
64844
64845// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset.
64846func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
64847	return nil, false
64848}
64849
64850// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset.
64851func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
64852	return nil, false
64853}
64854
64855// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64856func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
64857	return nil, false
64858}
64859
64860// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64861func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
64862	return nil, false
64863}
64864
64865// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
64866func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
64867	return nil, false
64868}
64869
64870// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
64871func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
64872	return nil, false
64873}
64874
64875// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset.
64876func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
64877	return nil, false
64878}
64879
64880// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64881func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
64882	return nil, false
64883}
64884
64885// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64886func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
64887	return nil, false
64888}
64889
64890// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64891func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
64892	return nil, false
64893}
64894
64895// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset.
64896func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
64897	return nil, false
64898}
64899
64900// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
64901func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
64902	return nil, false
64903}
64904
64905// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset.
64906func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
64907	return nil, false
64908}
64909
64910// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset.
64911func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
64912	return nil, false
64913}
64914
64915// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset.
64916func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
64917	return nil, false
64918}
64919
64920// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset.
64921func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
64922	return nil, false
64923}
64924
64925// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset.
64926func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
64927	return nil, false
64928}
64929
64930// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64931func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
64932	return nil, false
64933}
64934
64935// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64936func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
64937	return nil, false
64938}
64939
64940// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64941func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
64942	return nil, false
64943}
64944
64945// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset.
64946func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
64947	return nil, false
64948}
64949
64950// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset.
64951func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
64952	return nil, false
64953}
64954
64955// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset.
64956func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
64957	return nil, false
64958}
64959
64960// AsDataset is the BasicDataset implementation for PhoenixObjectDataset.
64961func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) {
64962	return nil, false
64963}
64964
64965// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset.
64966func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) {
64967	return &pod, true
64968}
64969
64970// PhoenixSource a copy activity Phoenix server source.
64971type PhoenixSource struct {
64972	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
64973	Query interface{} `json:"query,omitempty"`
64974	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
64975	AdditionalProperties map[string]interface{} `json:""`
64976	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
64977	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
64978	// 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])).
64979	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
64980	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
64981	Type TypeBasicCopySource `json:"type,omitempty"`
64982}
64983
64984// MarshalJSON is the custom marshaler for PhoenixSource.
64985func (ps PhoenixSource) MarshalJSON() ([]byte, error) {
64986	ps.Type = TypePhoenixSource
64987	objectMap := make(map[string]interface{})
64988	objectMap["query"] = ps.Query
64989	objectMap["sourceRetryCount"] = ps.SourceRetryCount
64990	objectMap["sourceRetryWait"] = ps.SourceRetryWait
64991	if ps.Type != "" {
64992		objectMap["type"] = ps.Type
64993	}
64994	for k, v := range ps.AdditionalProperties {
64995		objectMap[k] = v
64996	}
64997	return json.Marshal(objectMap)
64998}
64999
65000// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource.
65001func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
65002	return nil, false
65003}
65004
65005// AsResponsysSource is the BasicCopySource implementation for PhoenixSource.
65006func (ps PhoenixSource) AsResponsysSource() (*ResponsysSource, bool) {
65007	return nil, false
65008}
65009
65010// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PhoenixSource.
65011func (ps PhoenixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
65012	return nil, false
65013}
65014
65015// AsVerticaSource is the BasicCopySource implementation for PhoenixSource.
65016func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) {
65017	return nil, false
65018}
65019
65020// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource.
65021func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) {
65022	return nil, false
65023}
65024
65025// AsZohoSource is the BasicCopySource implementation for PhoenixSource.
65026func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) {
65027	return nil, false
65028}
65029
65030// AsXeroSource is the BasicCopySource implementation for PhoenixSource.
65031func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) {
65032	return nil, false
65033}
65034
65035// AsSquareSource is the BasicCopySource implementation for PhoenixSource.
65036func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) {
65037	return nil, false
65038}
65039
65040// AsSparkSource is the BasicCopySource implementation for PhoenixSource.
65041func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) {
65042	return nil, false
65043}
65044
65045// AsShopifySource is the BasicCopySource implementation for PhoenixSource.
65046func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) {
65047	return nil, false
65048}
65049
65050// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource.
65051func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) {
65052	return nil, false
65053}
65054
65055// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource.
65056func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
65057	return nil, false
65058}
65059
65060// AsPrestoSource is the BasicCopySource implementation for PhoenixSource.
65061func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) {
65062	return nil, false
65063}
65064
65065// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource.
65066func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) {
65067	return &ps, true
65068}
65069
65070// AsPaypalSource is the BasicCopySource implementation for PhoenixSource.
65071func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) {
65072	return nil, false
65073}
65074
65075// AsMarketoSource is the BasicCopySource implementation for PhoenixSource.
65076func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) {
65077	return nil, false
65078}
65079
65080// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource.
65081func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) {
65082	return nil, false
65083}
65084
65085// AsMagentoSource is the BasicCopySource implementation for PhoenixSource.
65086func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) {
65087	return nil, false
65088}
65089
65090// AsJiraSource is the BasicCopySource implementation for PhoenixSource.
65091func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) {
65092	return nil, false
65093}
65094
65095// AsImpalaSource is the BasicCopySource implementation for PhoenixSource.
65096func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) {
65097	return nil, false
65098}
65099
65100// AsHubspotSource is the BasicCopySource implementation for PhoenixSource.
65101func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) {
65102	return nil, false
65103}
65104
65105// AsHiveSource is the BasicCopySource implementation for PhoenixSource.
65106func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) {
65107	return nil, false
65108}
65109
65110// AsHBaseSource is the BasicCopySource implementation for PhoenixSource.
65111func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) {
65112	return nil, false
65113}
65114
65115// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource.
65116func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) {
65117	return nil, false
65118}
65119
65120// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource.
65121func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
65122	return nil, false
65123}
65124
65125// AsEloquaSource is the BasicCopySource implementation for PhoenixSource.
65126func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) {
65127	return nil, false
65128}
65129
65130// AsDrillSource is the BasicCopySource implementation for PhoenixSource.
65131func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) {
65132	return nil, false
65133}
65134
65135// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource.
65136func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
65137	return nil, false
65138}
65139
65140// AsConcurSource is the BasicCopySource implementation for PhoenixSource.
65141func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) {
65142	return nil, false
65143}
65144
65145// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource.
65146func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
65147	return nil, false
65148}
65149
65150// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource.
65151func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
65152	return nil, false
65153}
65154
65155// AsHTTPSource is the BasicCopySource implementation for PhoenixSource.
65156func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) {
65157	return nil, false
65158}
65159
65160// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource.
65161func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
65162	return nil, false
65163}
65164
65165// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource.
65166func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) {
65167	return nil, false
65168}
65169
65170// AsCassandraSource is the BasicCopySource implementation for PhoenixSource.
65171func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) {
65172	return nil, false
65173}
65174
65175// AsWebSource is the BasicCopySource implementation for PhoenixSource.
65176func (ps PhoenixSource) AsWebSource() (*WebSource, bool) {
65177	return nil, false
65178}
65179
65180// AsOracleSource is the BasicCopySource implementation for PhoenixSource.
65181func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) {
65182	return nil, false
65183}
65184
65185// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource.
65186func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
65187	return nil, false
65188}
65189
65190// AsHdfsSource is the BasicCopySource implementation for PhoenixSource.
65191func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) {
65192	return nil, false
65193}
65194
65195// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource.
65196func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) {
65197	return nil, false
65198}
65199
65200// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource.
65201func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) {
65202	return nil, false
65203}
65204
65205// AsSQLSource is the BasicCopySource implementation for PhoenixSource.
65206func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) {
65207	return nil, false
65208}
65209
65210// AsSapEccSource is the BasicCopySource implementation for PhoenixSource.
65211func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) {
65212	return nil, false
65213}
65214
65215// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource.
65216func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
65217	return nil, false
65218}
65219
65220// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource.
65221func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) {
65222	return nil, false
65223}
65224
65225// AsRelationalSource is the BasicCopySource implementation for PhoenixSource.
65226func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) {
65227	return nil, false
65228}
65229
65230// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource.
65231func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) {
65232	return nil, false
65233}
65234
65235// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource.
65236func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
65237	return nil, false
65238}
65239
65240// AsBlobSource is the BasicCopySource implementation for PhoenixSource.
65241func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) {
65242	return nil, false
65243}
65244
65245// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource.
65246func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) {
65247	return nil, false
65248}
65249
65250// AsCopySource is the BasicCopySource implementation for PhoenixSource.
65251func (ps PhoenixSource) AsCopySource() (*CopySource, bool) {
65252	return nil, false
65253}
65254
65255// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource.
65256func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) {
65257	return &ps, true
65258}
65259
65260// Pipeline a data factory pipeline.
65261type Pipeline struct {
65262	// Description - The description of the pipeline.
65263	Description *string `json:"description,omitempty"`
65264	// Activities - List of activities in pipeline.
65265	Activities *[]BasicActivity `json:"activities,omitempty"`
65266	// Parameters - List of parameters for pipeline.
65267	Parameters map[string]*ParameterSpecification `json:"parameters"`
65268	// Concurrency - The max number of concurrent runs for the pipeline.
65269	Concurrency *int32 `json:"concurrency,omitempty"`
65270	// Annotations - List of tags that can be used for describing the Pipeline.
65271	Annotations *[]interface{} `json:"annotations,omitempty"`
65272}
65273
65274// MarshalJSON is the custom marshaler for Pipeline.
65275func (p Pipeline) MarshalJSON() ([]byte, error) {
65276	objectMap := make(map[string]interface{})
65277	if p.Description != nil {
65278		objectMap["description"] = p.Description
65279	}
65280	if p.Activities != nil {
65281		objectMap["activities"] = p.Activities
65282	}
65283	if p.Parameters != nil {
65284		objectMap["parameters"] = p.Parameters
65285	}
65286	if p.Concurrency != nil {
65287		objectMap["concurrency"] = p.Concurrency
65288	}
65289	if p.Annotations != nil {
65290		objectMap["annotations"] = p.Annotations
65291	}
65292	return json.Marshal(objectMap)
65293}
65294
65295// UnmarshalJSON is the custom unmarshaler for Pipeline struct.
65296func (p *Pipeline) UnmarshalJSON(body []byte) error {
65297	var m map[string]*json.RawMessage
65298	err := json.Unmarshal(body, &m)
65299	if err != nil {
65300		return err
65301	}
65302	for k, v := range m {
65303		switch k {
65304		case "description":
65305			if v != nil {
65306				var description string
65307				err = json.Unmarshal(*v, &description)
65308				if err != nil {
65309					return err
65310				}
65311				p.Description = &description
65312			}
65313		case "activities":
65314			if v != nil {
65315				activities, err := unmarshalBasicActivityArray(*v)
65316				if err != nil {
65317					return err
65318				}
65319				p.Activities = &activities
65320			}
65321		case "parameters":
65322			if v != nil {
65323				var parameters map[string]*ParameterSpecification
65324				err = json.Unmarshal(*v, &parameters)
65325				if err != nil {
65326					return err
65327				}
65328				p.Parameters = parameters
65329			}
65330		case "concurrency":
65331			if v != nil {
65332				var concurrency int32
65333				err = json.Unmarshal(*v, &concurrency)
65334				if err != nil {
65335					return err
65336				}
65337				p.Concurrency = &concurrency
65338			}
65339		case "annotations":
65340			if v != nil {
65341				var annotations []interface{}
65342				err = json.Unmarshal(*v, &annotations)
65343				if err != nil {
65344					return err
65345				}
65346				p.Annotations = &annotations
65347			}
65348		}
65349	}
65350
65351	return nil
65352}
65353
65354// PipelineListResponse a list of pipeline resources.
65355type PipelineListResponse struct {
65356	autorest.Response `json:"-"`
65357	// Value - List of pipelines.
65358	Value *[]PipelineResource `json:"value,omitempty"`
65359	// NextLink - The link to the next page of results, if any remaining results exist.
65360	NextLink *string `json:"nextLink,omitempty"`
65361}
65362
65363// PipelineListResponseIterator provides access to a complete listing of PipelineResource values.
65364type PipelineListResponseIterator struct {
65365	i    int
65366	page PipelineListResponsePage
65367}
65368
65369// Next advances to the next value.  If there was an error making
65370// the request the iterator does not advance and the error is returned.
65371func (iter *PipelineListResponseIterator) Next() error {
65372	iter.i++
65373	if iter.i < len(iter.page.Values()) {
65374		return nil
65375	}
65376	err := iter.page.Next()
65377	if err != nil {
65378		iter.i--
65379		return err
65380	}
65381	iter.i = 0
65382	return nil
65383}
65384
65385// NotDone returns true if the enumeration should be started or is not yet complete.
65386func (iter PipelineListResponseIterator) NotDone() bool {
65387	return iter.page.NotDone() && iter.i < len(iter.page.Values())
65388}
65389
65390// Response returns the raw server response from the last page request.
65391func (iter PipelineListResponseIterator) Response() PipelineListResponse {
65392	return iter.page.Response()
65393}
65394
65395// Value returns the current value or a zero-initialized value if the
65396// iterator has advanced beyond the end of the collection.
65397func (iter PipelineListResponseIterator) Value() PipelineResource {
65398	if !iter.page.NotDone() {
65399		return PipelineResource{}
65400	}
65401	return iter.page.Values()[iter.i]
65402}
65403
65404// IsEmpty returns true if the ListResult contains no values.
65405func (plr PipelineListResponse) IsEmpty() bool {
65406	return plr.Value == nil || len(*plr.Value) == 0
65407}
65408
65409// pipelineListResponsePreparer prepares a request to retrieve the next set of results.
65410// It returns nil if no more results exist.
65411func (plr PipelineListResponse) pipelineListResponsePreparer() (*http.Request, error) {
65412	if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 {
65413		return nil, nil
65414	}
65415	return autorest.Prepare(&http.Request{},
65416		autorest.AsJSON(),
65417		autorest.AsGet(),
65418		autorest.WithBaseURL(to.String(plr.NextLink)))
65419}
65420
65421// PipelineListResponsePage contains a page of PipelineResource values.
65422type PipelineListResponsePage struct {
65423	fn  func(PipelineListResponse) (PipelineListResponse, error)
65424	plr PipelineListResponse
65425}
65426
65427// Next advances to the next page of values.  If there was an error making
65428// the request the page does not advance and the error is returned.
65429func (page *PipelineListResponsePage) Next() error {
65430	next, err := page.fn(page.plr)
65431	if err != nil {
65432		return err
65433	}
65434	page.plr = next
65435	return nil
65436}
65437
65438// NotDone returns true if the page enumeration should be started or is not yet complete.
65439func (page PipelineListResponsePage) NotDone() bool {
65440	return !page.plr.IsEmpty()
65441}
65442
65443// Response returns the raw server response from the last page request.
65444func (page PipelineListResponsePage) Response() PipelineListResponse {
65445	return page.plr
65446}
65447
65448// Values returns the slice of values for the current page or nil if there are no values.
65449func (page PipelineListResponsePage) Values() []PipelineResource {
65450	if page.plr.IsEmpty() {
65451		return nil
65452	}
65453	return *page.plr.Value
65454}
65455
65456// PipelineReference pipeline reference type.
65457type PipelineReference struct {
65458	// Type - Pipeline reference type.
65459	Type *string `json:"type,omitempty"`
65460	// ReferenceName - Reference pipeline name.
65461	ReferenceName *string `json:"referenceName,omitempty"`
65462	// Name - Reference name.
65463	Name *string `json:"name,omitempty"`
65464}
65465
65466// PipelineResource pipeline resource type.
65467type PipelineResource struct {
65468	autorest.Response `json:"-"`
65469	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
65470	AdditionalProperties map[string]interface{} `json:""`
65471	// Pipeline - Properties of the pipeline.
65472	*Pipeline `json:"properties,omitempty"`
65473	// ID - The resource identifier.
65474	ID *string `json:"id,omitempty"`
65475	// Name - The resource name.
65476	Name *string `json:"name,omitempty"`
65477	// Type - The resource type.
65478	Type *string `json:"type,omitempty"`
65479	// Etag - Etag identifies change in the resource.
65480	Etag *string `json:"etag,omitempty"`
65481}
65482
65483// MarshalJSON is the custom marshaler for PipelineResource.
65484func (pr PipelineResource) MarshalJSON() ([]byte, error) {
65485	objectMap := make(map[string]interface{})
65486	if pr.Pipeline != nil {
65487		objectMap["properties"] = pr.Pipeline
65488	}
65489	if pr.ID != nil {
65490		objectMap["id"] = pr.ID
65491	}
65492	if pr.Name != nil {
65493		objectMap["name"] = pr.Name
65494	}
65495	if pr.Type != nil {
65496		objectMap["type"] = pr.Type
65497	}
65498	if pr.Etag != nil {
65499		objectMap["etag"] = pr.Etag
65500	}
65501	for k, v := range pr.AdditionalProperties {
65502		objectMap[k] = v
65503	}
65504	return json.Marshal(objectMap)
65505}
65506
65507// UnmarshalJSON is the custom unmarshaler for PipelineResource struct.
65508func (pr *PipelineResource) UnmarshalJSON(body []byte) error {
65509	var m map[string]*json.RawMessage
65510	err := json.Unmarshal(body, &m)
65511	if err != nil {
65512		return err
65513	}
65514	for k, v := range m {
65515		switch k {
65516		default:
65517			if v != nil {
65518				var additionalProperties interface{}
65519				err = json.Unmarshal(*v, &additionalProperties)
65520				if err != nil {
65521					return err
65522				}
65523				if pr.AdditionalProperties == nil {
65524					pr.AdditionalProperties = make(map[string]interface{})
65525				}
65526				pr.AdditionalProperties[k] = additionalProperties
65527			}
65528		case "properties":
65529			if v != nil {
65530				var pipeline Pipeline
65531				err = json.Unmarshal(*v, &pipeline)
65532				if err != nil {
65533					return err
65534				}
65535				pr.Pipeline = &pipeline
65536			}
65537		case "id":
65538			if v != nil {
65539				var ID string
65540				err = json.Unmarshal(*v, &ID)
65541				if err != nil {
65542					return err
65543				}
65544				pr.ID = &ID
65545			}
65546		case "name":
65547			if v != nil {
65548				var name string
65549				err = json.Unmarshal(*v, &name)
65550				if err != nil {
65551					return err
65552				}
65553				pr.Name = &name
65554			}
65555		case "type":
65556			if v != nil {
65557				var typeVar string
65558				err = json.Unmarshal(*v, &typeVar)
65559				if err != nil {
65560					return err
65561				}
65562				pr.Type = &typeVar
65563			}
65564		case "etag":
65565			if v != nil {
65566				var etag string
65567				err = json.Unmarshal(*v, &etag)
65568				if err != nil {
65569					return err
65570				}
65571				pr.Etag = &etag
65572			}
65573		}
65574	}
65575
65576	return nil
65577}
65578
65579// PipelineRun information about a pipeline run.
65580type PipelineRun struct {
65581	autorest.Response `json:"-"`
65582	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
65583	AdditionalProperties map[string]interface{} `json:""`
65584	// RunID - Identifier of a run.
65585	RunID *string `json:"runId,omitempty"`
65586	// PipelineName - The pipeline name.
65587	PipelineName *string `json:"pipelineName,omitempty"`
65588	// Parameters - The full or partial list of parameter name, value pair used in the pipeline run.
65589	Parameters map[string]*string `json:"parameters"`
65590	// InvokedBy - Entity that started the pipeline run.
65591	InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"`
65592	// LastUpdated - The last updated timestamp for the pipeline run event in ISO8601 format.
65593	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
65594	// RunStart - The start time of a pipeline run in ISO8601 format.
65595	RunStart *date.Time `json:"runStart,omitempty"`
65596	// RunEnd - The end time of a pipeline run in ISO8601 format.
65597	RunEnd *date.Time `json:"runEnd,omitempty"`
65598	// DurationInMs - The duration of a pipeline run.
65599	DurationInMs *int32 `json:"durationInMs,omitempty"`
65600	// Status - The status of a pipeline run.
65601	Status *string `json:"status,omitempty"`
65602	// Message - The message from a pipeline run.
65603	Message *string `json:"message,omitempty"`
65604}
65605
65606// MarshalJSON is the custom marshaler for PipelineRun.
65607func (pr PipelineRun) MarshalJSON() ([]byte, error) {
65608	objectMap := make(map[string]interface{})
65609	if pr.RunID != nil {
65610		objectMap["runId"] = pr.RunID
65611	}
65612	if pr.PipelineName != nil {
65613		objectMap["pipelineName"] = pr.PipelineName
65614	}
65615	if pr.Parameters != nil {
65616		objectMap["parameters"] = pr.Parameters
65617	}
65618	if pr.InvokedBy != nil {
65619		objectMap["invokedBy"] = pr.InvokedBy
65620	}
65621	if pr.LastUpdated != nil {
65622		objectMap["lastUpdated"] = pr.LastUpdated
65623	}
65624	if pr.RunStart != nil {
65625		objectMap["runStart"] = pr.RunStart
65626	}
65627	if pr.RunEnd != nil {
65628		objectMap["runEnd"] = pr.RunEnd
65629	}
65630	if pr.DurationInMs != nil {
65631		objectMap["durationInMs"] = pr.DurationInMs
65632	}
65633	if pr.Status != nil {
65634		objectMap["status"] = pr.Status
65635	}
65636	if pr.Message != nil {
65637		objectMap["message"] = pr.Message
65638	}
65639	for k, v := range pr.AdditionalProperties {
65640		objectMap[k] = v
65641	}
65642	return json.Marshal(objectMap)
65643}
65644
65645// PipelineRunFilterParameters query parameters for listing pipeline runs.
65646type PipelineRunFilterParameters struct {
65647	// ContinuationToken - The continuation token for getting the next page of results. Null for first page.
65648	ContinuationToken *string `json:"continuationToken,omitempty"`
65649	// LastUpdatedAfter - The time at or after which the pipeline run event was updated in 'ISO 8601' format.
65650	LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"`
65651	// LastUpdatedBefore - The time at or before which the pipeline run event was updated in 'ISO 8601' format.
65652	LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"`
65653	// Filters - List of filters.
65654	Filters *[]PipelineRunQueryFilter `json:"filters,omitempty"`
65655	// OrderBy - List of OrderBy option.
65656	OrderBy *[]PipelineRunQueryOrderBy `json:"orderBy,omitempty"`
65657}
65658
65659// PipelineRunInvokedBy provides entity name and id that started the pipeline run.
65660type PipelineRunInvokedBy struct {
65661	// Name - Name of the entity that started the pipeline run.
65662	Name *string `json:"name,omitempty"`
65663	// ID - The ID of the entity that started the run.
65664	ID *string `json:"id,omitempty"`
65665}
65666
65667// PipelineRunQueryFilter query filter option for listing pipeline runs.
65668type PipelineRunQueryFilter struct {
65669	// Operand - Parameter name to be used for filter. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd'
65670	Operand PipelineRunQueryFilterOperand `json:"operand,omitempty"`
65671	// Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn'
65672	Operator PipelineRunQueryFilterOperator `json:"operator,omitempty"`
65673	// Values - List of filter values.
65674	Values *[]string `json:"values,omitempty"`
65675}
65676
65677// PipelineRunQueryOrderBy an object to provide order by options for listing pipeline runs.
65678type PipelineRunQueryOrderBy struct {
65679	// OrderBy - Parameter name to be used for order by. Possible values include: 'PipelineRunQueryOrderByFieldRunStart', 'PipelineRunQueryOrderByFieldRunEnd'
65680	OrderBy PipelineRunQueryOrderByField `json:"orderBy,omitempty"`
65681	// Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC'
65682	Order PipelineRunQueryOrder `json:"order,omitempty"`
65683}
65684
65685// PipelineRunQueryResponse a list pipeline runs.
65686type PipelineRunQueryResponse struct {
65687	autorest.Response `json:"-"`
65688	// Value - List of pipeline runs.
65689	Value *[]PipelineRun `json:"value,omitempty"`
65690	// ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
65691	ContinuationToken *string `json:"continuationToken,omitempty"`
65692}
65693
65694// PolybaseSettings polyBase settings.
65695type PolybaseSettings struct {
65696	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
65697	AdditionalProperties map[string]interface{} `json:""`
65698	// RejectType - Reject type. Possible values include: 'Value', 'Percentage'
65699	RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"`
65700	// RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
65701	RejectValue interface{} `json:"rejectValue,omitempty"`
65702	// RejectSampleValue - Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
65703	RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"`
65704	// UseTypeDefault - Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
65705	UseTypeDefault interface{} `json:"useTypeDefault,omitempty"`
65706}
65707
65708// MarshalJSON is the custom marshaler for PolybaseSettings.
65709func (ps PolybaseSettings) MarshalJSON() ([]byte, error) {
65710	objectMap := make(map[string]interface{})
65711	if ps.RejectType != "" {
65712		objectMap["rejectType"] = ps.RejectType
65713	}
65714	objectMap["rejectValue"] = ps.RejectValue
65715	objectMap["rejectSampleValue"] = ps.RejectSampleValue
65716	objectMap["useTypeDefault"] = ps.UseTypeDefault
65717	for k, v := range ps.AdditionalProperties {
65718		objectMap[k] = v
65719	}
65720	return json.Marshal(objectMap)
65721}
65722
65723// PostgreSQLLinkedService linked service for PostgreSQL data source.
65724type PostgreSQLLinkedService struct {
65725	// PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties.
65726	*PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
65727	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
65728	AdditionalProperties map[string]interface{} `json:""`
65729	// ConnectVia - The integration runtime reference.
65730	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
65731	// Description - Linked service description.
65732	Description *string `json:"description,omitempty"`
65733	// Parameters - Parameters for linked service.
65734	Parameters map[string]*ParameterSpecification `json:"parameters"`
65735	// Annotations - List of tags that can be used for describing the Dataset.
65736	Annotations *[]interface{} `json:"annotations,omitempty"`
65737	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
65738	Type TypeBasicLinkedService `json:"type,omitempty"`
65739}
65740
65741// MarshalJSON is the custom marshaler for PostgreSQLLinkedService.
65742func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) {
65743	psls.Type = TypePostgreSQL
65744	objectMap := make(map[string]interface{})
65745	if psls.PostgreSQLLinkedServiceTypeProperties != nil {
65746		objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties
65747	}
65748	if psls.ConnectVia != nil {
65749		objectMap["connectVia"] = psls.ConnectVia
65750	}
65751	if psls.Description != nil {
65752		objectMap["description"] = psls.Description
65753	}
65754	if psls.Parameters != nil {
65755		objectMap["parameters"] = psls.Parameters
65756	}
65757	if psls.Annotations != nil {
65758		objectMap["annotations"] = psls.Annotations
65759	}
65760	if psls.Type != "" {
65761		objectMap["type"] = psls.Type
65762	}
65763	for k, v := range psls.AdditionalProperties {
65764		objectMap[k] = v
65765	}
65766	return json.Marshal(objectMap)
65767}
65768
65769// AsResponsysLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65770func (psls PostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
65771	return nil, false
65772}
65773
65774// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65775func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
65776	return nil, false
65777}
65778
65779// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65780func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
65781	return nil, false
65782}
65783
65784// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65785func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
65786	return nil, false
65787}
65788
65789// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65790func (psls PostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
65791	return nil, false
65792}
65793
65794// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65795func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
65796	return nil, false
65797}
65798
65799// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65800func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
65801	return nil, false
65802}
65803
65804// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65805func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
65806	return nil, false
65807}
65808
65809// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65810func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
65811	return nil, false
65812}
65813
65814// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65815func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
65816	return nil, false
65817}
65818
65819// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65820func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
65821	return nil, false
65822}
65823
65824// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65825func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
65826	return nil, false
65827}
65828
65829// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65830func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
65831	return nil, false
65832}
65833
65834// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65835func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
65836	return nil, false
65837}
65838
65839// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65840func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
65841	return nil, false
65842}
65843
65844// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65845func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
65846	return nil, false
65847}
65848
65849// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65850func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
65851	return nil, false
65852}
65853
65854// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65855func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
65856	return nil, false
65857}
65858
65859// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65860func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
65861	return nil, false
65862}
65863
65864// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65865func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
65866	return nil, false
65867}
65868
65869// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65870func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
65871	return nil, false
65872}
65873
65874// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65875func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
65876	return nil, false
65877}
65878
65879// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65880func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
65881	return nil, false
65882}
65883
65884// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65885func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
65886	return nil, false
65887}
65888
65889// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65890func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
65891	return nil, false
65892}
65893
65894// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65895func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
65896	return nil, false
65897}
65898
65899// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65900func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
65901	return nil, false
65902}
65903
65904// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65905func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
65906	return nil, false
65907}
65908
65909// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65910func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
65911	return nil, false
65912}
65913
65914// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65915func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
65916	return nil, false
65917}
65918
65919// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65920func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
65921	return nil, false
65922}
65923
65924// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65925func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
65926	return nil, false
65927}
65928
65929// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65930func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
65931	return nil, false
65932}
65933
65934// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65935func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
65936	return nil, false
65937}
65938
65939// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65940func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
65941	return nil, false
65942}
65943
65944// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65945func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
65946	return nil, false
65947}
65948
65949// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65950func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
65951	return nil, false
65952}
65953
65954// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65955func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
65956	return nil, false
65957}
65958
65959// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65960func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
65961	return nil, false
65962}
65963
65964// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65965func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
65966	return nil, false
65967}
65968
65969// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65970func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
65971	return nil, false
65972}
65973
65974// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65975func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
65976	return nil, false
65977}
65978
65979// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65980func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
65981	return nil, false
65982}
65983
65984// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65985func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
65986	return nil, false
65987}
65988
65989// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65990func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
65991	return nil, false
65992}
65993
65994// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
65995func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
65996	return nil, false
65997}
65998
65999// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66000func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
66001	return nil, false
66002}
66003
66004// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66005func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
66006	return nil, false
66007}
66008
66009// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66010func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
66011	return nil, false
66012}
66013
66014// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66015func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
66016	return nil, false
66017}
66018
66019// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66020func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
66021	return nil, false
66022}
66023
66024// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66025func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
66026	return nil, false
66027}
66028
66029// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66030func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
66031	return nil, false
66032}
66033
66034// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66035func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
66036	return nil, false
66037}
66038
66039// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66040func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
66041	return nil, false
66042}
66043
66044// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66045func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
66046	return nil, false
66047}
66048
66049// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66050func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
66051	return &psls, true
66052}
66053
66054// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66055func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
66056	return nil, false
66057}
66058
66059// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66060func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
66061	return nil, false
66062}
66063
66064// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66065func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
66066	return nil, false
66067}
66068
66069// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66070func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
66071	return nil, false
66072}
66073
66074// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66075func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
66076	return nil, false
66077}
66078
66079// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66080func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
66081	return nil, false
66082}
66083
66084// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66085func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
66086	return nil, false
66087}
66088
66089// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66090func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
66091	return nil, false
66092}
66093
66094// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66095func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
66096	return nil, false
66097}
66098
66099// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66100func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
66101	return nil, false
66102}
66103
66104// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66105func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
66106	return nil, false
66107}
66108
66109// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66110func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
66111	return nil, false
66112}
66113
66114// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66115func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
66116	return nil, false
66117}
66118
66119// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66120func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) {
66121	return nil, false
66122}
66123
66124// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService.
66125func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
66126	return &psls, true
66127}
66128
66129// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct.
66130func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error {
66131	var m map[string]*json.RawMessage
66132	err := json.Unmarshal(body, &m)
66133	if err != nil {
66134		return err
66135	}
66136	for k, v := range m {
66137		switch k {
66138		case "typeProperties":
66139			if v != nil {
66140				var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties
66141				err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties)
66142				if err != nil {
66143					return err
66144				}
66145				psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties
66146			}
66147		default:
66148			if v != nil {
66149				var additionalProperties interface{}
66150				err = json.Unmarshal(*v, &additionalProperties)
66151				if err != nil {
66152					return err
66153				}
66154				if psls.AdditionalProperties == nil {
66155					psls.AdditionalProperties = make(map[string]interface{})
66156				}
66157				psls.AdditionalProperties[k] = additionalProperties
66158			}
66159		case "connectVia":
66160			if v != nil {
66161				var connectVia IntegrationRuntimeReference
66162				err = json.Unmarshal(*v, &connectVia)
66163				if err != nil {
66164					return err
66165				}
66166				psls.ConnectVia = &connectVia
66167			}
66168		case "description":
66169			if v != nil {
66170				var description string
66171				err = json.Unmarshal(*v, &description)
66172				if err != nil {
66173					return err
66174				}
66175				psls.Description = &description
66176			}
66177		case "parameters":
66178			if v != nil {
66179				var parameters map[string]*ParameterSpecification
66180				err = json.Unmarshal(*v, &parameters)
66181				if err != nil {
66182					return err
66183				}
66184				psls.Parameters = parameters
66185			}
66186		case "annotations":
66187			if v != nil {
66188				var annotations []interface{}
66189				err = json.Unmarshal(*v, &annotations)
66190				if err != nil {
66191					return err
66192				}
66193				psls.Annotations = &annotations
66194			}
66195		case "type":
66196			if v != nil {
66197				var typeVar TypeBasicLinkedService
66198				err = json.Unmarshal(*v, &typeVar)
66199				if err != nil {
66200					return err
66201				}
66202				psls.Type = typeVar
66203			}
66204		}
66205	}
66206
66207	return nil
66208}
66209
66210// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties.
66211type PostgreSQLLinkedServiceTypeProperties struct {
66212	// ConnectionString - The connection string.
66213	ConnectionString BasicSecretBase `json:"connectionString,omitempty"`
66214	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
66215	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
66216}
66217
66218// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct.
66219func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
66220	var m map[string]*json.RawMessage
66221	err := json.Unmarshal(body, &m)
66222	if err != nil {
66223		return err
66224	}
66225	for k, v := range m {
66226		switch k {
66227		case "connectionString":
66228			if v != nil {
66229				connectionString, err := unmarshalBasicSecretBase(*v)
66230				if err != nil {
66231					return err
66232				}
66233				pslstp.ConnectionString = connectionString
66234			}
66235		case "encryptedCredential":
66236			if v != nil {
66237				var encryptedCredential interface{}
66238				err = json.Unmarshal(*v, &encryptedCredential)
66239				if err != nil {
66240					return err
66241				}
66242				pslstp.EncryptedCredential = encryptedCredential
66243			}
66244		}
66245	}
66246
66247	return nil
66248}
66249
66250// PrestoLinkedService presto server linked service.
66251type PrestoLinkedService struct {
66252	// PrestoLinkedServiceTypeProperties - Presto server linked service properties.
66253	*PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
66254	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
66255	AdditionalProperties map[string]interface{} `json:""`
66256	// ConnectVia - The integration runtime reference.
66257	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
66258	// Description - Linked service description.
66259	Description *string `json:"description,omitempty"`
66260	// Parameters - Parameters for linked service.
66261	Parameters map[string]*ParameterSpecification `json:"parameters"`
66262	// Annotations - List of tags that can be used for describing the Dataset.
66263	Annotations *[]interface{} `json:"annotations,omitempty"`
66264	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
66265	Type TypeBasicLinkedService `json:"type,omitempty"`
66266}
66267
66268// MarshalJSON is the custom marshaler for PrestoLinkedService.
66269func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) {
66270	pls.Type = TypePresto
66271	objectMap := make(map[string]interface{})
66272	if pls.PrestoLinkedServiceTypeProperties != nil {
66273		objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties
66274	}
66275	if pls.ConnectVia != nil {
66276		objectMap["connectVia"] = pls.ConnectVia
66277	}
66278	if pls.Description != nil {
66279		objectMap["description"] = pls.Description
66280	}
66281	if pls.Parameters != nil {
66282		objectMap["parameters"] = pls.Parameters
66283	}
66284	if pls.Annotations != nil {
66285		objectMap["annotations"] = pls.Annotations
66286	}
66287	if pls.Type != "" {
66288		objectMap["type"] = pls.Type
66289	}
66290	for k, v := range pls.AdditionalProperties {
66291		objectMap[k] = v
66292	}
66293	return json.Marshal(objectMap)
66294}
66295
66296// AsResponsysLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66297func (pls PrestoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
66298	return nil, false
66299}
66300
66301// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66302func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
66303	return nil, false
66304}
66305
66306// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66307func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
66308	return nil, false
66309}
66310
66311// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66312func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
66313	return nil, false
66314}
66315
66316// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66317func (pls PrestoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
66318	return nil, false
66319}
66320
66321// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66322func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
66323	return nil, false
66324}
66325
66326// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66327func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
66328	return nil, false
66329}
66330
66331// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66332func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
66333	return nil, false
66334}
66335
66336// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66337func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
66338	return nil, false
66339}
66340
66341// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66342func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
66343	return nil, false
66344}
66345
66346// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66347func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
66348	return nil, false
66349}
66350
66351// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66352func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
66353	return nil, false
66354}
66355
66356// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66357func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
66358	return nil, false
66359}
66360
66361// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66362func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
66363	return nil, false
66364}
66365
66366// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66367func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
66368	return &pls, true
66369}
66370
66371// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66372func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
66373	return nil, false
66374}
66375
66376// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66377func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
66378	return nil, false
66379}
66380
66381// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66382func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
66383	return nil, false
66384}
66385
66386// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66387func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
66388	return nil, false
66389}
66390
66391// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66392func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
66393	return nil, false
66394}
66395
66396// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66397func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
66398	return nil, false
66399}
66400
66401// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66402func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
66403	return nil, false
66404}
66405
66406// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66407func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
66408	return nil, false
66409}
66410
66411// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66412func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
66413	return nil, false
66414}
66415
66416// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66417func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
66418	return nil, false
66419}
66420
66421// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66422func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
66423	return nil, false
66424}
66425
66426// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66427func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
66428	return nil, false
66429}
66430
66431// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66432func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
66433	return nil, false
66434}
66435
66436// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66437func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
66438	return nil, false
66439}
66440
66441// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66442func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
66443	return nil, false
66444}
66445
66446// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66447func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
66448	return nil, false
66449}
66450
66451// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66452func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
66453	return nil, false
66454}
66455
66456// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66457func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
66458	return nil, false
66459}
66460
66461// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66462func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
66463	return nil, false
66464}
66465
66466// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66467func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
66468	return nil, false
66469}
66470
66471// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66472func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
66473	return nil, false
66474}
66475
66476// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66477func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
66478	return nil, false
66479}
66480
66481// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66482func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
66483	return nil, false
66484}
66485
66486// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66487func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
66488	return nil, false
66489}
66490
66491// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66492func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
66493	return nil, false
66494}
66495
66496// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66497func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
66498	return nil, false
66499}
66500
66501// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66502func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
66503	return nil, false
66504}
66505
66506// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66507func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
66508	return nil, false
66509}
66510
66511// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66512func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
66513	return nil, false
66514}
66515
66516// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66517func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
66518	return nil, false
66519}
66520
66521// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66522func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
66523	return nil, false
66524}
66525
66526// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66527func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
66528	return nil, false
66529}
66530
66531// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66532func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
66533	return nil, false
66534}
66535
66536// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66537func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
66538	return nil, false
66539}
66540
66541// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66542func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
66543	return nil, false
66544}
66545
66546// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66547func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
66548	return nil, false
66549}
66550
66551// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66552func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
66553	return nil, false
66554}
66555
66556// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66557func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
66558	return nil, false
66559}
66560
66561// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66562func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
66563	return nil, false
66564}
66565
66566// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66567func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
66568	return nil, false
66569}
66570
66571// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66572func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
66573	return nil, false
66574}
66575
66576// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66577func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
66578	return nil, false
66579}
66580
66581// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66582func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
66583	return nil, false
66584}
66585
66586// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66587func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
66588	return nil, false
66589}
66590
66591// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66592func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
66593	return nil, false
66594}
66595
66596// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66597func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
66598	return nil, false
66599}
66600
66601// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66602func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
66603	return nil, false
66604}
66605
66606// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66607func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
66608	return nil, false
66609}
66610
66611// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66612func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
66613	return nil, false
66614}
66615
66616// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66617func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
66618	return nil, false
66619}
66620
66621// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66622func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
66623	return nil, false
66624}
66625
66626// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66627func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
66628	return nil, false
66629}
66630
66631// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66632func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
66633	return nil, false
66634}
66635
66636// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66637func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
66638	return nil, false
66639}
66640
66641// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66642func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
66643	return nil, false
66644}
66645
66646// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66647func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) {
66648	return nil, false
66649}
66650
66651// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService.
66652func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
66653	return &pls, true
66654}
66655
66656// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct.
66657func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error {
66658	var m map[string]*json.RawMessage
66659	err := json.Unmarshal(body, &m)
66660	if err != nil {
66661		return err
66662	}
66663	for k, v := range m {
66664		switch k {
66665		case "typeProperties":
66666			if v != nil {
66667				var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties
66668				err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties)
66669				if err != nil {
66670					return err
66671				}
66672				pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties
66673			}
66674		default:
66675			if v != nil {
66676				var additionalProperties interface{}
66677				err = json.Unmarshal(*v, &additionalProperties)
66678				if err != nil {
66679					return err
66680				}
66681				if pls.AdditionalProperties == nil {
66682					pls.AdditionalProperties = make(map[string]interface{})
66683				}
66684				pls.AdditionalProperties[k] = additionalProperties
66685			}
66686		case "connectVia":
66687			if v != nil {
66688				var connectVia IntegrationRuntimeReference
66689				err = json.Unmarshal(*v, &connectVia)
66690				if err != nil {
66691					return err
66692				}
66693				pls.ConnectVia = &connectVia
66694			}
66695		case "description":
66696			if v != nil {
66697				var description string
66698				err = json.Unmarshal(*v, &description)
66699				if err != nil {
66700					return err
66701				}
66702				pls.Description = &description
66703			}
66704		case "parameters":
66705			if v != nil {
66706				var parameters map[string]*ParameterSpecification
66707				err = json.Unmarshal(*v, &parameters)
66708				if err != nil {
66709					return err
66710				}
66711				pls.Parameters = parameters
66712			}
66713		case "annotations":
66714			if v != nil {
66715				var annotations []interface{}
66716				err = json.Unmarshal(*v, &annotations)
66717				if err != nil {
66718					return err
66719				}
66720				pls.Annotations = &annotations
66721			}
66722		case "type":
66723			if v != nil {
66724				var typeVar TypeBasicLinkedService
66725				err = json.Unmarshal(*v, &typeVar)
66726				if err != nil {
66727					return err
66728				}
66729				pls.Type = typeVar
66730			}
66731		}
66732	}
66733
66734	return nil
66735}
66736
66737// PrestoLinkedServiceTypeProperties presto server linked service properties.
66738type PrestoLinkedServiceTypeProperties struct {
66739	// Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160)
66740	Host interface{} `json:"host,omitempty"`
66741	// ServerVersion - The version of the Presto server. (i.e. 0.148-t)
66742	ServerVersion interface{} `json:"serverVersion,omitempty"`
66743	// Catalog - The catalog context for all request against the server.
66744	Catalog interface{} `json:"catalog,omitempty"`
66745	// Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080.
66746	Port interface{} `json:"port,omitempty"`
66747	// AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP'
66748	AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"`
66749	// Username - The user name used to connect to the Presto server.
66750	Username interface{} `json:"username,omitempty"`
66751	// Password - The password corresponding to the user name.
66752	Password BasicSecretBase `json:"password,omitempty"`
66753	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
66754	EnableSsl interface{} `json:"enableSsl,omitempty"`
66755	// 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.
66756	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
66757	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
66758	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
66759	// 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.
66760	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
66761	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
66762	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
66763	// TimeZoneID - The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.
66764	TimeZoneID interface{} `json:"timeZoneID,omitempty"`
66765	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
66766	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
66767}
66768
66769// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct.
66770func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
66771	var m map[string]*json.RawMessage
66772	err := json.Unmarshal(body, &m)
66773	if err != nil {
66774		return err
66775	}
66776	for k, v := range m {
66777		switch k {
66778		case "host":
66779			if v != nil {
66780				var host interface{}
66781				err = json.Unmarshal(*v, &host)
66782				if err != nil {
66783					return err
66784				}
66785				plstp.Host = host
66786			}
66787		case "serverVersion":
66788			if v != nil {
66789				var serverVersion interface{}
66790				err = json.Unmarshal(*v, &serverVersion)
66791				if err != nil {
66792					return err
66793				}
66794				plstp.ServerVersion = serverVersion
66795			}
66796		case "catalog":
66797			if v != nil {
66798				var catalog interface{}
66799				err = json.Unmarshal(*v, &catalog)
66800				if err != nil {
66801					return err
66802				}
66803				plstp.Catalog = catalog
66804			}
66805		case "port":
66806			if v != nil {
66807				var port interface{}
66808				err = json.Unmarshal(*v, &port)
66809				if err != nil {
66810					return err
66811				}
66812				plstp.Port = port
66813			}
66814		case "authenticationType":
66815			if v != nil {
66816				var authenticationType PrestoAuthenticationType
66817				err = json.Unmarshal(*v, &authenticationType)
66818				if err != nil {
66819					return err
66820				}
66821				plstp.AuthenticationType = authenticationType
66822			}
66823		case "username":
66824			if v != nil {
66825				var username interface{}
66826				err = json.Unmarshal(*v, &username)
66827				if err != nil {
66828					return err
66829				}
66830				plstp.Username = username
66831			}
66832		case "password":
66833			if v != nil {
66834				password, err := unmarshalBasicSecretBase(*v)
66835				if err != nil {
66836					return err
66837				}
66838				plstp.Password = password
66839			}
66840		case "enableSsl":
66841			if v != nil {
66842				var enableSsl interface{}
66843				err = json.Unmarshal(*v, &enableSsl)
66844				if err != nil {
66845					return err
66846				}
66847				plstp.EnableSsl = enableSsl
66848			}
66849		case "trustedCertPath":
66850			if v != nil {
66851				var trustedCertPath interface{}
66852				err = json.Unmarshal(*v, &trustedCertPath)
66853				if err != nil {
66854					return err
66855				}
66856				plstp.TrustedCertPath = trustedCertPath
66857			}
66858		case "useSystemTrustStore":
66859			if v != nil {
66860				var useSystemTrustStore interface{}
66861				err = json.Unmarshal(*v, &useSystemTrustStore)
66862				if err != nil {
66863					return err
66864				}
66865				plstp.UseSystemTrustStore = useSystemTrustStore
66866			}
66867		case "allowHostNameCNMismatch":
66868			if v != nil {
66869				var allowHostNameCNMismatch interface{}
66870				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
66871				if err != nil {
66872					return err
66873				}
66874				plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
66875			}
66876		case "allowSelfSignedServerCert":
66877			if v != nil {
66878				var allowSelfSignedServerCert interface{}
66879				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
66880				if err != nil {
66881					return err
66882				}
66883				plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
66884			}
66885		case "timeZoneID":
66886			if v != nil {
66887				var timeZoneID interface{}
66888				err = json.Unmarshal(*v, &timeZoneID)
66889				if err != nil {
66890					return err
66891				}
66892				plstp.TimeZoneID = timeZoneID
66893			}
66894		case "encryptedCredential":
66895			if v != nil {
66896				var encryptedCredential interface{}
66897				err = json.Unmarshal(*v, &encryptedCredential)
66898				if err != nil {
66899					return err
66900				}
66901				plstp.EncryptedCredential = encryptedCredential
66902			}
66903		}
66904	}
66905
66906	return nil
66907}
66908
66909// PrestoObjectDataset presto server dataset.
66910type PrestoObjectDataset struct {
66911	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
66912	AdditionalProperties map[string]interface{} `json:""`
66913	// Description - Dataset description.
66914	Description *string `json:"description,omitempty"`
66915	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
66916	Structure interface{} `json:"structure,omitempty"`
66917	// LinkedServiceName - Linked service reference.
66918	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
66919	// Parameters - Parameters for dataset.
66920	Parameters map[string]*ParameterSpecification `json:"parameters"`
66921	// Annotations - List of tags that can be used for describing the Dataset.
66922	Annotations *[]interface{} `json:"annotations,omitempty"`
66923	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
66924	Type TypeBasicDataset `json:"type,omitempty"`
66925}
66926
66927// MarshalJSON is the custom marshaler for PrestoObjectDataset.
66928func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) {
66929	pod.Type = TypePrestoObject
66930	objectMap := make(map[string]interface{})
66931	if pod.Description != nil {
66932		objectMap["description"] = pod.Description
66933	}
66934	objectMap["structure"] = pod.Structure
66935	if pod.LinkedServiceName != nil {
66936		objectMap["linkedServiceName"] = pod.LinkedServiceName
66937	}
66938	if pod.Parameters != nil {
66939		objectMap["parameters"] = pod.Parameters
66940	}
66941	if pod.Annotations != nil {
66942		objectMap["annotations"] = pod.Annotations
66943	}
66944	if pod.Type != "" {
66945		objectMap["type"] = pod.Type
66946	}
66947	for k, v := range pod.AdditionalProperties {
66948		objectMap[k] = v
66949	}
66950	return json.Marshal(objectMap)
66951}
66952
66953// AsResponsysObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66954func (pod PrestoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
66955	return nil, false
66956}
66957
66958// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66959func (pod PrestoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
66960	return nil, false
66961}
66962
66963// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
66964func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
66965	return nil, false
66966}
66967
66968// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset.
66969func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
66970	return nil, false
66971}
66972
66973// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66974func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
66975	return nil, false
66976}
66977
66978// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66979func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
66980	return nil, false
66981}
66982
66983// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66984func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
66985	return nil, false
66986}
66987
66988// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66989func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
66990	return nil, false
66991}
66992
66993// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66994func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
66995	return nil, false
66996}
66997
66998// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
66999func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
67000	return nil, false
67001}
67002
67003// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67004func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
67005	return nil, false
67006}
67007
67008// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67009func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
67010	return &pod, true
67011}
67012
67013// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67014func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
67015	return nil, false
67016}
67017
67018// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67019func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
67020	return nil, false
67021}
67022
67023// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67024func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
67025	return nil, false
67026}
67027
67028// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67029func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
67030	return nil, false
67031}
67032
67033// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67034func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
67035	return nil, false
67036}
67037
67038// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67039func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
67040	return nil, false
67041}
67042
67043// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67044func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
67045	return nil, false
67046}
67047
67048// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67049func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
67050	return nil, false
67051}
67052
67053// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67054func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
67055	return nil, false
67056}
67057
67058// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67059func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
67060	return nil, false
67061}
67062
67063// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67064func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
67065	return nil, false
67066}
67067
67068// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67069func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
67070	return nil, false
67071}
67072
67073// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67074func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
67075	return nil, false
67076}
67077
67078// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67079func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
67080	return nil, false
67081}
67082
67083// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67084func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
67085	return nil, false
67086}
67087
67088// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67089func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
67090	return nil, false
67091}
67092
67093// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67094func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
67095	return nil, false
67096}
67097
67098// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67099func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
67100	return nil, false
67101}
67102
67103// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset.
67104func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
67105	return nil, false
67106}
67107
67108// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset.
67109func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
67110	return nil, false
67111}
67112
67113// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67114func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
67115	return nil, false
67116}
67117
67118// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67119func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
67120	return nil, false
67121}
67122
67123// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
67124func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
67125	return nil, false
67126}
67127
67128// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
67129func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
67130	return nil, false
67131}
67132
67133// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset.
67134func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
67135	return nil, false
67136}
67137
67138// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67139func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
67140	return nil, false
67141}
67142
67143// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67144func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
67145	return nil, false
67146}
67147
67148// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67149func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
67150	return nil, false
67151}
67152
67153// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset.
67154func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
67155	return nil, false
67156}
67157
67158// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
67159func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
67160	return nil, false
67161}
67162
67163// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset.
67164func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
67165	return nil, false
67166}
67167
67168// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset.
67169func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
67170	return nil, false
67171}
67172
67173// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset.
67174func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
67175	return nil, false
67176}
67177
67178// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset.
67179func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
67180	return nil, false
67181}
67182
67183// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset.
67184func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
67185	return nil, false
67186}
67187
67188// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67189func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
67190	return nil, false
67191}
67192
67193// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67194func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
67195	return nil, false
67196}
67197
67198// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67199func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
67200	return nil, false
67201}
67202
67203// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset.
67204func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
67205	return nil, false
67206}
67207
67208// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset.
67209func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
67210	return nil, false
67211}
67212
67213// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset.
67214func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
67215	return nil, false
67216}
67217
67218// AsDataset is the BasicDataset implementation for PrestoObjectDataset.
67219func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) {
67220	return nil, false
67221}
67222
67223// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset.
67224func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
67225	return &pod, true
67226}
67227
67228// PrestoSource a copy activity Presto server source.
67229type PrestoSource struct {
67230	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
67231	Query interface{} `json:"query,omitempty"`
67232	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
67233	AdditionalProperties map[string]interface{} `json:""`
67234	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
67235	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
67236	// 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])).
67237	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
67238	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
67239	Type TypeBasicCopySource `json:"type,omitempty"`
67240}
67241
67242// MarshalJSON is the custom marshaler for PrestoSource.
67243func (ps PrestoSource) MarshalJSON() ([]byte, error) {
67244	ps.Type = TypePrestoSource
67245	objectMap := make(map[string]interface{})
67246	objectMap["query"] = ps.Query
67247	objectMap["sourceRetryCount"] = ps.SourceRetryCount
67248	objectMap["sourceRetryWait"] = ps.SourceRetryWait
67249	if ps.Type != "" {
67250		objectMap["type"] = ps.Type
67251	}
67252	for k, v := range ps.AdditionalProperties {
67253		objectMap[k] = v
67254	}
67255	return json.Marshal(objectMap)
67256}
67257
67258// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource.
67259func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
67260	return nil, false
67261}
67262
67263// AsResponsysSource is the BasicCopySource implementation for PrestoSource.
67264func (ps PrestoSource) AsResponsysSource() (*ResponsysSource, bool) {
67265	return nil, false
67266}
67267
67268// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for PrestoSource.
67269func (ps PrestoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
67270	return nil, false
67271}
67272
67273// AsVerticaSource is the BasicCopySource implementation for PrestoSource.
67274func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) {
67275	return nil, false
67276}
67277
67278// AsNetezzaSource is the BasicCopySource implementation for PrestoSource.
67279func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) {
67280	return nil, false
67281}
67282
67283// AsZohoSource is the BasicCopySource implementation for PrestoSource.
67284func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) {
67285	return nil, false
67286}
67287
67288// AsXeroSource is the BasicCopySource implementation for PrestoSource.
67289func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) {
67290	return nil, false
67291}
67292
67293// AsSquareSource is the BasicCopySource implementation for PrestoSource.
67294func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) {
67295	return nil, false
67296}
67297
67298// AsSparkSource is the BasicCopySource implementation for PrestoSource.
67299func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) {
67300	return nil, false
67301}
67302
67303// AsShopifySource is the BasicCopySource implementation for PrestoSource.
67304func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) {
67305	return nil, false
67306}
67307
67308// AsServiceNowSource is the BasicCopySource implementation for PrestoSource.
67309func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
67310	return nil, false
67311}
67312
67313// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource.
67314func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
67315	return nil, false
67316}
67317
67318// AsPrestoSource is the BasicCopySource implementation for PrestoSource.
67319func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) {
67320	return &ps, true
67321}
67322
67323// AsPhoenixSource is the BasicCopySource implementation for PrestoSource.
67324func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) {
67325	return nil, false
67326}
67327
67328// AsPaypalSource is the BasicCopySource implementation for PrestoSource.
67329func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) {
67330	return nil, false
67331}
67332
67333// AsMarketoSource is the BasicCopySource implementation for PrestoSource.
67334func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) {
67335	return nil, false
67336}
67337
67338// AsMariaDBSource is the BasicCopySource implementation for PrestoSource.
67339func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) {
67340	return nil, false
67341}
67342
67343// AsMagentoSource is the BasicCopySource implementation for PrestoSource.
67344func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) {
67345	return nil, false
67346}
67347
67348// AsJiraSource is the BasicCopySource implementation for PrestoSource.
67349func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) {
67350	return nil, false
67351}
67352
67353// AsImpalaSource is the BasicCopySource implementation for PrestoSource.
67354func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) {
67355	return nil, false
67356}
67357
67358// AsHubspotSource is the BasicCopySource implementation for PrestoSource.
67359func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) {
67360	return nil, false
67361}
67362
67363// AsHiveSource is the BasicCopySource implementation for PrestoSource.
67364func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) {
67365	return nil, false
67366}
67367
67368// AsHBaseSource is the BasicCopySource implementation for PrestoSource.
67369func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) {
67370	return nil, false
67371}
67372
67373// AsGreenplumSource is the BasicCopySource implementation for PrestoSource.
67374func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) {
67375	return nil, false
67376}
67377
67378// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource.
67379func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
67380	return nil, false
67381}
67382
67383// AsEloquaSource is the BasicCopySource implementation for PrestoSource.
67384func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) {
67385	return nil, false
67386}
67387
67388// AsDrillSource is the BasicCopySource implementation for PrestoSource.
67389func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) {
67390	return nil, false
67391}
67392
67393// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource.
67394func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
67395	return nil, false
67396}
67397
67398// AsConcurSource is the BasicCopySource implementation for PrestoSource.
67399func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) {
67400	return nil, false
67401}
67402
67403// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource.
67404func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
67405	return nil, false
67406}
67407
67408// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource.
67409func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
67410	return nil, false
67411}
67412
67413// AsHTTPSource is the BasicCopySource implementation for PrestoSource.
67414func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) {
67415	return nil, false
67416}
67417
67418// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource.
67419func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
67420	return nil, false
67421}
67422
67423// AsMongoDbSource is the BasicCopySource implementation for PrestoSource.
67424func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) {
67425	return nil, false
67426}
67427
67428// AsCassandraSource is the BasicCopySource implementation for PrestoSource.
67429func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) {
67430	return nil, false
67431}
67432
67433// AsWebSource is the BasicCopySource implementation for PrestoSource.
67434func (ps PrestoSource) AsWebSource() (*WebSource, bool) {
67435	return nil, false
67436}
67437
67438// AsOracleSource is the BasicCopySource implementation for PrestoSource.
67439func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) {
67440	return nil, false
67441}
67442
67443// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource.
67444func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
67445	return nil, false
67446}
67447
67448// AsHdfsSource is the BasicCopySource implementation for PrestoSource.
67449func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) {
67450	return nil, false
67451}
67452
67453// AsFileSystemSource is the BasicCopySource implementation for PrestoSource.
67454func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) {
67455	return nil, false
67456}
67457
67458// AsSQLDWSource is the BasicCopySource implementation for PrestoSource.
67459func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) {
67460	return nil, false
67461}
67462
67463// AsSQLSource is the BasicCopySource implementation for PrestoSource.
67464func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) {
67465	return nil, false
67466}
67467
67468// AsSapEccSource is the BasicCopySource implementation for PrestoSource.
67469func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) {
67470	return nil, false
67471}
67472
67473// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource.
67474func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
67475	return nil, false
67476}
67477
67478// AsSalesforceSource is the BasicCopySource implementation for PrestoSource.
67479func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) {
67480	return nil, false
67481}
67482
67483// AsRelationalSource is the BasicCopySource implementation for PrestoSource.
67484func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) {
67485	return nil, false
67486}
67487
67488// AsDynamicsSource is the BasicCopySource implementation for PrestoSource.
67489func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) {
67490	return nil, false
67491}
67492
67493// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource.
67494func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
67495	return nil, false
67496}
67497
67498// AsBlobSource is the BasicCopySource implementation for PrestoSource.
67499func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) {
67500	return nil, false
67501}
67502
67503// AsAzureTableSource is the BasicCopySource implementation for PrestoSource.
67504func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) {
67505	return nil, false
67506}
67507
67508// AsCopySource is the BasicCopySource implementation for PrestoSource.
67509func (ps PrestoSource) AsCopySource() (*CopySource, bool) {
67510	return nil, false
67511}
67512
67513// AsBasicCopySource is the BasicCopySource implementation for PrestoSource.
67514func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) {
67515	return &ps, true
67516}
67517
67518// QuickBooksLinkedService quickBooks server linked service.
67519type QuickBooksLinkedService struct {
67520	// QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties.
67521	*QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
67522	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
67523	AdditionalProperties map[string]interface{} `json:""`
67524	// ConnectVia - The integration runtime reference.
67525	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
67526	// Description - Linked service description.
67527	Description *string `json:"description,omitempty"`
67528	// Parameters - Parameters for linked service.
67529	Parameters map[string]*ParameterSpecification `json:"parameters"`
67530	// Annotations - List of tags that can be used for describing the Dataset.
67531	Annotations *[]interface{} `json:"annotations,omitempty"`
67532	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
67533	Type TypeBasicLinkedService `json:"type,omitempty"`
67534}
67535
67536// MarshalJSON is the custom marshaler for QuickBooksLinkedService.
67537func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) {
67538	qbls.Type = TypeQuickBooks
67539	objectMap := make(map[string]interface{})
67540	if qbls.QuickBooksLinkedServiceTypeProperties != nil {
67541		objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties
67542	}
67543	if qbls.ConnectVia != nil {
67544		objectMap["connectVia"] = qbls.ConnectVia
67545	}
67546	if qbls.Description != nil {
67547		objectMap["description"] = qbls.Description
67548	}
67549	if qbls.Parameters != nil {
67550		objectMap["parameters"] = qbls.Parameters
67551	}
67552	if qbls.Annotations != nil {
67553		objectMap["annotations"] = qbls.Annotations
67554	}
67555	if qbls.Type != "" {
67556		objectMap["type"] = qbls.Type
67557	}
67558	for k, v := range qbls.AdditionalProperties {
67559		objectMap[k] = v
67560	}
67561	return json.Marshal(objectMap)
67562}
67563
67564// AsResponsysLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67565func (qbls QuickBooksLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
67566	return nil, false
67567}
67568
67569// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67570func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
67571	return nil, false
67572}
67573
67574// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67575func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
67576	return nil, false
67577}
67578
67579// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67580func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
67581	return nil, false
67582}
67583
67584// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67585func (qbls QuickBooksLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
67586	return nil, false
67587}
67588
67589// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67590func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
67591	return nil, false
67592}
67593
67594// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67595func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
67596	return nil, false
67597}
67598
67599// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67600func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
67601	return nil, false
67602}
67603
67604// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67605func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
67606	return nil, false
67607}
67608
67609// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67610func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
67611	return nil, false
67612}
67613
67614// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67615func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
67616	return nil, false
67617}
67618
67619// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67620func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
67621	return nil, false
67622}
67623
67624// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67625func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
67626	return nil, false
67627}
67628
67629// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67630func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
67631	return &qbls, true
67632}
67633
67634// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67635func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
67636	return nil, false
67637}
67638
67639// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67640func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
67641	return nil, false
67642}
67643
67644// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67645func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
67646	return nil, false
67647}
67648
67649// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67650func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
67651	return nil, false
67652}
67653
67654// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67655func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
67656	return nil, false
67657}
67658
67659// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67660func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
67661	return nil, false
67662}
67663
67664// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67665func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
67666	return nil, false
67667}
67668
67669// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67670func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
67671	return nil, false
67672}
67673
67674// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67675func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
67676	return nil, false
67677}
67678
67679// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67680func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
67681	return nil, false
67682}
67683
67684// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67685func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
67686	return nil, false
67687}
67688
67689// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67690func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
67691	return nil, false
67692}
67693
67694// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67695func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
67696	return nil, false
67697}
67698
67699// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67700func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
67701	return nil, false
67702}
67703
67704// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67705func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
67706	return nil, false
67707}
67708
67709// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67710func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
67711	return nil, false
67712}
67713
67714// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67715func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
67716	return nil, false
67717}
67718
67719// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67720func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
67721	return nil, false
67722}
67723
67724// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67725func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
67726	return nil, false
67727}
67728
67729// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67730func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
67731	return nil, false
67732}
67733
67734// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67735func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
67736	return nil, false
67737}
67738
67739// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67740func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
67741	return nil, false
67742}
67743
67744// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67745func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
67746	return nil, false
67747}
67748
67749// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67750func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
67751	return nil, false
67752}
67753
67754// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67755func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
67756	return nil, false
67757}
67758
67759// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67760func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
67761	return nil, false
67762}
67763
67764// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67765func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
67766	return nil, false
67767}
67768
67769// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67770func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
67771	return nil, false
67772}
67773
67774// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67775func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
67776	return nil, false
67777}
67778
67779// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67780func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
67781	return nil, false
67782}
67783
67784// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67785func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
67786	return nil, false
67787}
67788
67789// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67790func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
67791	return nil, false
67792}
67793
67794// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67795func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
67796	return nil, false
67797}
67798
67799// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67800func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
67801	return nil, false
67802}
67803
67804// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67805func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
67806	return nil, false
67807}
67808
67809// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67810func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
67811	return nil, false
67812}
67813
67814// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67815func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
67816	return nil, false
67817}
67818
67819// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67820func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
67821	return nil, false
67822}
67823
67824// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67825func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
67826	return nil, false
67827}
67828
67829// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67830func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
67831	return nil, false
67832}
67833
67834// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67835func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
67836	return nil, false
67837}
67838
67839// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67840func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
67841	return nil, false
67842}
67843
67844// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67845func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
67846	return nil, false
67847}
67848
67849// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67850func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
67851	return nil, false
67852}
67853
67854// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67855func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
67856	return nil, false
67857}
67858
67859// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67860func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
67861	return nil, false
67862}
67863
67864// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67865func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
67866	return nil, false
67867}
67868
67869// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67870func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
67871	return nil, false
67872}
67873
67874// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67875func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
67876	return nil, false
67877}
67878
67879// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67880func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
67881	return nil, false
67882}
67883
67884// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67885func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
67886	return nil, false
67887}
67888
67889// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67890func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
67891	return nil, false
67892}
67893
67894// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67895func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
67896	return nil, false
67897}
67898
67899// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67900func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
67901	return nil, false
67902}
67903
67904// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67905func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
67906	return nil, false
67907}
67908
67909// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67910func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
67911	return nil, false
67912}
67913
67914// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67915func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) {
67916	return nil, false
67917}
67918
67919// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService.
67920func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
67921	return &qbls, true
67922}
67923
67924// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct.
67925func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error {
67926	var m map[string]*json.RawMessage
67927	err := json.Unmarshal(body, &m)
67928	if err != nil {
67929		return err
67930	}
67931	for k, v := range m {
67932		switch k {
67933		case "typeProperties":
67934			if v != nil {
67935				var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties
67936				err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties)
67937				if err != nil {
67938					return err
67939				}
67940				qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties
67941			}
67942		default:
67943			if v != nil {
67944				var additionalProperties interface{}
67945				err = json.Unmarshal(*v, &additionalProperties)
67946				if err != nil {
67947					return err
67948				}
67949				if qbls.AdditionalProperties == nil {
67950					qbls.AdditionalProperties = make(map[string]interface{})
67951				}
67952				qbls.AdditionalProperties[k] = additionalProperties
67953			}
67954		case "connectVia":
67955			if v != nil {
67956				var connectVia IntegrationRuntimeReference
67957				err = json.Unmarshal(*v, &connectVia)
67958				if err != nil {
67959					return err
67960				}
67961				qbls.ConnectVia = &connectVia
67962			}
67963		case "description":
67964			if v != nil {
67965				var description string
67966				err = json.Unmarshal(*v, &description)
67967				if err != nil {
67968					return err
67969				}
67970				qbls.Description = &description
67971			}
67972		case "parameters":
67973			if v != nil {
67974				var parameters map[string]*ParameterSpecification
67975				err = json.Unmarshal(*v, &parameters)
67976				if err != nil {
67977					return err
67978				}
67979				qbls.Parameters = parameters
67980			}
67981		case "annotations":
67982			if v != nil {
67983				var annotations []interface{}
67984				err = json.Unmarshal(*v, &annotations)
67985				if err != nil {
67986					return err
67987				}
67988				qbls.Annotations = &annotations
67989			}
67990		case "type":
67991			if v != nil {
67992				var typeVar TypeBasicLinkedService
67993				err = json.Unmarshal(*v, &typeVar)
67994				if err != nil {
67995					return err
67996				}
67997				qbls.Type = typeVar
67998			}
67999		}
68000	}
68001
68002	return nil
68003}
68004
68005// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties.
68006type QuickBooksLinkedServiceTypeProperties struct {
68007	// Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com)
68008	Endpoint interface{} `json:"endpoint,omitempty"`
68009	// CompanyID - The company ID of the QuickBooks company to authorize.
68010	CompanyID interface{} `json:"companyId,omitempty"`
68011	// AccessToken - The access token for OAuth 1.0 authentication.
68012	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
68013	// AccessTokenSecret - The access token secret for OAuth 1.0 authentication.
68014	AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"`
68015	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
68016	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
68017	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
68018	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
68019}
68020
68021// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct.
68022func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
68023	var m map[string]*json.RawMessage
68024	err := json.Unmarshal(body, &m)
68025	if err != nil {
68026		return err
68027	}
68028	for k, v := range m {
68029		switch k {
68030		case "endpoint":
68031			if v != nil {
68032				var endpoint interface{}
68033				err = json.Unmarshal(*v, &endpoint)
68034				if err != nil {
68035					return err
68036				}
68037				qblstp.Endpoint = endpoint
68038			}
68039		case "companyId":
68040			if v != nil {
68041				var companyID interface{}
68042				err = json.Unmarshal(*v, &companyID)
68043				if err != nil {
68044					return err
68045				}
68046				qblstp.CompanyID = companyID
68047			}
68048		case "accessToken":
68049			if v != nil {
68050				accessToken, err := unmarshalBasicSecretBase(*v)
68051				if err != nil {
68052					return err
68053				}
68054				qblstp.AccessToken = accessToken
68055			}
68056		case "accessTokenSecret":
68057			if v != nil {
68058				accessTokenSecret, err := unmarshalBasicSecretBase(*v)
68059				if err != nil {
68060					return err
68061				}
68062				qblstp.AccessTokenSecret = accessTokenSecret
68063			}
68064		case "useEncryptedEndpoints":
68065			if v != nil {
68066				var useEncryptedEndpoints interface{}
68067				err = json.Unmarshal(*v, &useEncryptedEndpoints)
68068				if err != nil {
68069					return err
68070				}
68071				qblstp.UseEncryptedEndpoints = useEncryptedEndpoints
68072			}
68073		case "encryptedCredential":
68074			if v != nil {
68075				var encryptedCredential interface{}
68076				err = json.Unmarshal(*v, &encryptedCredential)
68077				if err != nil {
68078					return err
68079				}
68080				qblstp.EncryptedCredential = encryptedCredential
68081			}
68082		}
68083	}
68084
68085	return nil
68086}
68087
68088// QuickBooksObjectDataset quickBooks server dataset.
68089type QuickBooksObjectDataset struct {
68090	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68091	AdditionalProperties map[string]interface{} `json:""`
68092	// Description - Dataset description.
68093	Description *string `json:"description,omitempty"`
68094	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
68095	Structure interface{} `json:"structure,omitempty"`
68096	// LinkedServiceName - Linked service reference.
68097	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
68098	// Parameters - Parameters for dataset.
68099	Parameters map[string]*ParameterSpecification `json:"parameters"`
68100	// Annotations - List of tags that can be used for describing the Dataset.
68101	Annotations *[]interface{} `json:"annotations,omitempty"`
68102	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
68103	Type TypeBasicDataset `json:"type,omitempty"`
68104}
68105
68106// MarshalJSON is the custom marshaler for QuickBooksObjectDataset.
68107func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) {
68108	qbod.Type = TypeQuickBooksObject
68109	objectMap := make(map[string]interface{})
68110	if qbod.Description != nil {
68111		objectMap["description"] = qbod.Description
68112	}
68113	objectMap["structure"] = qbod.Structure
68114	if qbod.LinkedServiceName != nil {
68115		objectMap["linkedServiceName"] = qbod.LinkedServiceName
68116	}
68117	if qbod.Parameters != nil {
68118		objectMap["parameters"] = qbod.Parameters
68119	}
68120	if qbod.Annotations != nil {
68121		objectMap["annotations"] = qbod.Annotations
68122	}
68123	if qbod.Type != "" {
68124		objectMap["type"] = qbod.Type
68125	}
68126	for k, v := range qbod.AdditionalProperties {
68127		objectMap[k] = v
68128	}
68129	return json.Marshal(objectMap)
68130}
68131
68132// AsResponsysObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68133func (qbod QuickBooksObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
68134	return nil, false
68135}
68136
68137// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68138func (qbod QuickBooksObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
68139	return nil, false
68140}
68141
68142// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68143func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
68144	return nil, false
68145}
68146
68147// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68148func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
68149	return nil, false
68150}
68151
68152// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68153func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
68154	return nil, false
68155}
68156
68157// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68158func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
68159	return nil, false
68160}
68161
68162// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68163func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
68164	return nil, false
68165}
68166
68167// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68168func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
68169	return nil, false
68170}
68171
68172// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68173func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
68174	return nil, false
68175}
68176
68177// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68178func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
68179	return nil, false
68180}
68181
68182// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68183func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
68184	return &qbod, true
68185}
68186
68187// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68188func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
68189	return nil, false
68190}
68191
68192// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68193func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
68194	return nil, false
68195}
68196
68197// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68198func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
68199	return nil, false
68200}
68201
68202// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68203func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
68204	return nil, false
68205}
68206
68207// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68208func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
68209	return nil, false
68210}
68211
68212// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68213func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
68214	return nil, false
68215}
68216
68217// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68218func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
68219	return nil, false
68220}
68221
68222// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68223func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
68224	return nil, false
68225}
68226
68227// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68228func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
68229	return nil, false
68230}
68231
68232// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68233func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
68234	return nil, false
68235}
68236
68237// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68238func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
68239	return nil, false
68240}
68241
68242// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68243func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
68244	return nil, false
68245}
68246
68247// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68248func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
68249	return nil, false
68250}
68251
68252// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68253func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
68254	return nil, false
68255}
68256
68257// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68258func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
68259	return nil, false
68260}
68261
68262// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68263func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
68264	return nil, false
68265}
68266
68267// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68268func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
68269	return nil, false
68270}
68271
68272// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68273func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
68274	return nil, false
68275}
68276
68277// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68278func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
68279	return nil, false
68280}
68281
68282// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68283func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
68284	return nil, false
68285}
68286
68287// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68288func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
68289	return nil, false
68290}
68291
68292// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68293func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
68294	return nil, false
68295}
68296
68297// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68298func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
68299	return nil, false
68300}
68301
68302// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68303func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
68304	return nil, false
68305}
68306
68307// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68308func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
68309	return nil, false
68310}
68311
68312// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68313func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
68314	return nil, false
68315}
68316
68317// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68318func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
68319	return nil, false
68320}
68321
68322// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68323func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
68324	return nil, false
68325}
68326
68327// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68328func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
68329	return nil, false
68330}
68331
68332// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68333func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
68334	return nil, false
68335}
68336
68337// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68338func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
68339	return nil, false
68340}
68341
68342// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68343func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
68344	return nil, false
68345}
68346
68347// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68348func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
68349	return nil, false
68350}
68351
68352// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68353func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
68354	return nil, false
68355}
68356
68357// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68358func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
68359	return nil, false
68360}
68361
68362// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68363func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
68364	return nil, false
68365}
68366
68367// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68368func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
68369	return nil, false
68370}
68371
68372// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68373func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
68374	return nil, false
68375}
68376
68377// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68378func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
68379	return nil, false
68380}
68381
68382// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68383func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
68384	return nil, false
68385}
68386
68387// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68388func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
68389	return nil, false
68390}
68391
68392// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset.
68393func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
68394	return nil, false
68395}
68396
68397// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68398func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) {
68399	return nil, false
68400}
68401
68402// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset.
68403func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) {
68404	return &qbod, true
68405}
68406
68407// QuickBooksSource a copy activity QuickBooks server source.
68408type QuickBooksSource struct {
68409	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
68410	Query interface{} `json:"query,omitempty"`
68411	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68412	AdditionalProperties map[string]interface{} `json:""`
68413	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
68414	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
68415	// 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])).
68416	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
68417	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
68418	Type TypeBasicCopySource `json:"type,omitempty"`
68419}
68420
68421// MarshalJSON is the custom marshaler for QuickBooksSource.
68422func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) {
68423	qbs.Type = TypeQuickBooksSource
68424	objectMap := make(map[string]interface{})
68425	objectMap["query"] = qbs.Query
68426	objectMap["sourceRetryCount"] = qbs.SourceRetryCount
68427	objectMap["sourceRetryWait"] = qbs.SourceRetryWait
68428	if qbs.Type != "" {
68429		objectMap["type"] = qbs.Type
68430	}
68431	for k, v := range qbs.AdditionalProperties {
68432		objectMap[k] = v
68433	}
68434	return json.Marshal(objectMap)
68435}
68436
68437// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource.
68438func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
68439	return nil, false
68440}
68441
68442// AsResponsysSource is the BasicCopySource implementation for QuickBooksSource.
68443func (qbs QuickBooksSource) AsResponsysSource() (*ResponsysSource, bool) {
68444	return nil, false
68445}
68446
68447// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for QuickBooksSource.
68448func (qbs QuickBooksSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
68449	return nil, false
68450}
68451
68452// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource.
68453func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) {
68454	return nil, false
68455}
68456
68457// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource.
68458func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) {
68459	return nil, false
68460}
68461
68462// AsZohoSource is the BasicCopySource implementation for QuickBooksSource.
68463func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) {
68464	return nil, false
68465}
68466
68467// AsXeroSource is the BasicCopySource implementation for QuickBooksSource.
68468func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) {
68469	return nil, false
68470}
68471
68472// AsSquareSource is the BasicCopySource implementation for QuickBooksSource.
68473func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) {
68474	return nil, false
68475}
68476
68477// AsSparkSource is the BasicCopySource implementation for QuickBooksSource.
68478func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) {
68479	return nil, false
68480}
68481
68482// AsShopifySource is the BasicCopySource implementation for QuickBooksSource.
68483func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) {
68484	return nil, false
68485}
68486
68487// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource.
68488func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) {
68489	return nil, false
68490}
68491
68492// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource.
68493func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
68494	return &qbs, true
68495}
68496
68497// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource.
68498func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) {
68499	return nil, false
68500}
68501
68502// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource.
68503func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) {
68504	return nil, false
68505}
68506
68507// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource.
68508func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) {
68509	return nil, false
68510}
68511
68512// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource.
68513func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) {
68514	return nil, false
68515}
68516
68517// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource.
68518func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) {
68519	return nil, false
68520}
68521
68522// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource.
68523func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) {
68524	return nil, false
68525}
68526
68527// AsJiraSource is the BasicCopySource implementation for QuickBooksSource.
68528func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) {
68529	return nil, false
68530}
68531
68532// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource.
68533func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) {
68534	return nil, false
68535}
68536
68537// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource.
68538func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) {
68539	return nil, false
68540}
68541
68542// AsHiveSource is the BasicCopySource implementation for QuickBooksSource.
68543func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) {
68544	return nil, false
68545}
68546
68547// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource.
68548func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) {
68549	return nil, false
68550}
68551
68552// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource.
68553func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) {
68554	return nil, false
68555}
68556
68557// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource.
68558func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
68559	return nil, false
68560}
68561
68562// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource.
68563func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) {
68564	return nil, false
68565}
68566
68567// AsDrillSource is the BasicCopySource implementation for QuickBooksSource.
68568func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) {
68569	return nil, false
68570}
68571
68572// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource.
68573func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
68574	return nil, false
68575}
68576
68577// AsConcurSource is the BasicCopySource implementation for QuickBooksSource.
68578func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) {
68579	return nil, false
68580}
68581
68582// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource.
68583func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
68584	return nil, false
68585}
68586
68587// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource.
68588func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
68589	return nil, false
68590}
68591
68592// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource.
68593func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) {
68594	return nil, false
68595}
68596
68597// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource.
68598func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
68599	return nil, false
68600}
68601
68602// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource.
68603func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) {
68604	return nil, false
68605}
68606
68607// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource.
68608func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) {
68609	return nil, false
68610}
68611
68612// AsWebSource is the BasicCopySource implementation for QuickBooksSource.
68613func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) {
68614	return nil, false
68615}
68616
68617// AsOracleSource is the BasicCopySource implementation for QuickBooksSource.
68618func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) {
68619	return nil, false
68620}
68621
68622// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource.
68623func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
68624	return nil, false
68625}
68626
68627// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource.
68628func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) {
68629	return nil, false
68630}
68631
68632// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource.
68633func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) {
68634	return nil, false
68635}
68636
68637// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource.
68638func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) {
68639	return nil, false
68640}
68641
68642// AsSQLSource is the BasicCopySource implementation for QuickBooksSource.
68643func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) {
68644	return nil, false
68645}
68646
68647// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource.
68648func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) {
68649	return nil, false
68650}
68651
68652// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource.
68653func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
68654	return nil, false
68655}
68656
68657// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource.
68658func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) {
68659	return nil, false
68660}
68661
68662// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource.
68663func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) {
68664	return nil, false
68665}
68666
68667// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource.
68668func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) {
68669	return nil, false
68670}
68671
68672// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource.
68673func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
68674	return nil, false
68675}
68676
68677// AsBlobSource is the BasicCopySource implementation for QuickBooksSource.
68678func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) {
68679	return nil, false
68680}
68681
68682// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource.
68683func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) {
68684	return nil, false
68685}
68686
68687// AsCopySource is the BasicCopySource implementation for QuickBooksSource.
68688func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) {
68689	return nil, false
68690}
68691
68692// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource.
68693func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) {
68694	return &qbs, true
68695}
68696
68697// RecurrenceSchedule the recurrence schedule.
68698type RecurrenceSchedule struct {
68699	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68700	AdditionalProperties map[string]interface{} `json:""`
68701	// Minutes - The minutes.
68702	Minutes *[]int32 `json:"minutes,omitempty"`
68703	// Hours - The hours.
68704	Hours *[]int32 `json:"hours,omitempty"`
68705	// WeekDays - The days of the week.
68706	WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"`
68707	// MonthDays - The month days.
68708	MonthDays *[]int32 `json:"monthDays,omitempty"`
68709	// MonthlyOccurrences - The monthly occurrences.
68710	MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"`
68711}
68712
68713// MarshalJSON is the custom marshaler for RecurrenceSchedule.
68714func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) {
68715	objectMap := make(map[string]interface{})
68716	if rs.Minutes != nil {
68717		objectMap["minutes"] = rs.Minutes
68718	}
68719	if rs.Hours != nil {
68720		objectMap["hours"] = rs.Hours
68721	}
68722	if rs.WeekDays != nil {
68723		objectMap["weekDays"] = rs.WeekDays
68724	}
68725	if rs.MonthDays != nil {
68726		objectMap["monthDays"] = rs.MonthDays
68727	}
68728	if rs.MonthlyOccurrences != nil {
68729		objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences
68730	}
68731	for k, v := range rs.AdditionalProperties {
68732		objectMap[k] = v
68733	}
68734	return json.Marshal(objectMap)
68735}
68736
68737// RecurrenceScheduleOccurrence the recurrence schedule occurence.
68738type RecurrenceScheduleOccurrence struct {
68739	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68740	AdditionalProperties map[string]interface{} `json:""`
68741	// Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
68742	Day DayOfWeek `json:"day,omitempty"`
68743	// Occurrence - The occurrence.
68744	Occurrence *int32 `json:"occurrence,omitempty"`
68745}
68746
68747// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence.
68748func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) {
68749	objectMap := make(map[string]interface{})
68750	if rso.Day != "" {
68751		objectMap["day"] = rso.Day
68752	}
68753	if rso.Occurrence != nil {
68754		objectMap["occurrence"] = rso.Occurrence
68755	}
68756	for k, v := range rso.AdditionalProperties {
68757		objectMap[k] = v
68758	}
68759	return json.Marshal(objectMap)
68760}
68761
68762// RedirectIncompatibleRowSettings redirect incompatible row settings
68763type RedirectIncompatibleRowSettings struct {
68764	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68765	AdditionalProperties map[string]interface{} `json:""`
68766	// LinkedServiceName - Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string).
68767	LinkedServiceName interface{} `json:"linkedServiceName,omitempty"`
68768	// Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string).
68769	Path interface{} `json:"path,omitempty"`
68770}
68771
68772// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings.
68773func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) {
68774	objectMap := make(map[string]interface{})
68775	objectMap["linkedServiceName"] = rirs.LinkedServiceName
68776	objectMap["path"] = rirs.Path
68777	for k, v := range rirs.AdditionalProperties {
68778		objectMap[k] = v
68779	}
68780	return json.Marshal(objectMap)
68781}
68782
68783// RedshiftUnloadSettings the Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift
68784// with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the
68785// targeted sink from the interim S3.
68786type RedshiftUnloadSettings struct {
68787	// S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source.
68788	S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"`
68789	// BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string).
68790	BucketName interface{} `json:"bucketName,omitempty"`
68791}
68792
68793// RelationalSource a copy activity source for various relational databases.
68794type RelationalSource struct {
68795	// Query - Database query. Type: string (or Expression with resultType string).
68796	Query interface{} `json:"query,omitempty"`
68797	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
68798	AdditionalProperties map[string]interface{} `json:""`
68799	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
68800	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
68801	// 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])).
68802	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
68803	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
68804	Type TypeBasicCopySource `json:"type,omitempty"`
68805}
68806
68807// MarshalJSON is the custom marshaler for RelationalSource.
68808func (rs RelationalSource) MarshalJSON() ([]byte, error) {
68809	rs.Type = TypeRelationalSource
68810	objectMap := make(map[string]interface{})
68811	objectMap["query"] = rs.Query
68812	objectMap["sourceRetryCount"] = rs.SourceRetryCount
68813	objectMap["sourceRetryWait"] = rs.SourceRetryWait
68814	if rs.Type != "" {
68815		objectMap["type"] = rs.Type
68816	}
68817	for k, v := range rs.AdditionalProperties {
68818		objectMap[k] = v
68819	}
68820	return json.Marshal(objectMap)
68821}
68822
68823// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource.
68824func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
68825	return nil, false
68826}
68827
68828// AsResponsysSource is the BasicCopySource implementation for RelationalSource.
68829func (rs RelationalSource) AsResponsysSource() (*ResponsysSource, bool) {
68830	return nil, false
68831}
68832
68833// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for RelationalSource.
68834func (rs RelationalSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
68835	return nil, false
68836}
68837
68838// AsVerticaSource is the BasicCopySource implementation for RelationalSource.
68839func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) {
68840	return nil, false
68841}
68842
68843// AsNetezzaSource is the BasicCopySource implementation for RelationalSource.
68844func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) {
68845	return nil, false
68846}
68847
68848// AsZohoSource is the BasicCopySource implementation for RelationalSource.
68849func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) {
68850	return nil, false
68851}
68852
68853// AsXeroSource is the BasicCopySource implementation for RelationalSource.
68854func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) {
68855	return nil, false
68856}
68857
68858// AsSquareSource is the BasicCopySource implementation for RelationalSource.
68859func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) {
68860	return nil, false
68861}
68862
68863// AsSparkSource is the BasicCopySource implementation for RelationalSource.
68864func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) {
68865	return nil, false
68866}
68867
68868// AsShopifySource is the BasicCopySource implementation for RelationalSource.
68869func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) {
68870	return nil, false
68871}
68872
68873// AsServiceNowSource is the BasicCopySource implementation for RelationalSource.
68874func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) {
68875	return nil, false
68876}
68877
68878// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource.
68879func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
68880	return nil, false
68881}
68882
68883// AsPrestoSource is the BasicCopySource implementation for RelationalSource.
68884func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) {
68885	return nil, false
68886}
68887
68888// AsPhoenixSource is the BasicCopySource implementation for RelationalSource.
68889func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) {
68890	return nil, false
68891}
68892
68893// AsPaypalSource is the BasicCopySource implementation for RelationalSource.
68894func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) {
68895	return nil, false
68896}
68897
68898// AsMarketoSource is the BasicCopySource implementation for RelationalSource.
68899func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) {
68900	return nil, false
68901}
68902
68903// AsMariaDBSource is the BasicCopySource implementation for RelationalSource.
68904func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) {
68905	return nil, false
68906}
68907
68908// AsMagentoSource is the BasicCopySource implementation for RelationalSource.
68909func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) {
68910	return nil, false
68911}
68912
68913// AsJiraSource is the BasicCopySource implementation for RelationalSource.
68914func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) {
68915	return nil, false
68916}
68917
68918// AsImpalaSource is the BasicCopySource implementation for RelationalSource.
68919func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) {
68920	return nil, false
68921}
68922
68923// AsHubspotSource is the BasicCopySource implementation for RelationalSource.
68924func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) {
68925	return nil, false
68926}
68927
68928// AsHiveSource is the BasicCopySource implementation for RelationalSource.
68929func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) {
68930	return nil, false
68931}
68932
68933// AsHBaseSource is the BasicCopySource implementation for RelationalSource.
68934func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) {
68935	return nil, false
68936}
68937
68938// AsGreenplumSource is the BasicCopySource implementation for RelationalSource.
68939func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) {
68940	return nil, false
68941}
68942
68943// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource.
68944func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
68945	return nil, false
68946}
68947
68948// AsEloquaSource is the BasicCopySource implementation for RelationalSource.
68949func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) {
68950	return nil, false
68951}
68952
68953// AsDrillSource is the BasicCopySource implementation for RelationalSource.
68954func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) {
68955	return nil, false
68956}
68957
68958// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource.
68959func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
68960	return nil, false
68961}
68962
68963// AsConcurSource is the BasicCopySource implementation for RelationalSource.
68964func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) {
68965	return nil, false
68966}
68967
68968// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource.
68969func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
68970	return nil, false
68971}
68972
68973// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource.
68974func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
68975	return nil, false
68976}
68977
68978// AsHTTPSource is the BasicCopySource implementation for RelationalSource.
68979func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) {
68980	return nil, false
68981}
68982
68983// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource.
68984func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
68985	return nil, false
68986}
68987
68988// AsMongoDbSource is the BasicCopySource implementation for RelationalSource.
68989func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) {
68990	return nil, false
68991}
68992
68993// AsCassandraSource is the BasicCopySource implementation for RelationalSource.
68994func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) {
68995	return nil, false
68996}
68997
68998// AsWebSource is the BasicCopySource implementation for RelationalSource.
68999func (rs RelationalSource) AsWebSource() (*WebSource, bool) {
69000	return nil, false
69001}
69002
69003// AsOracleSource is the BasicCopySource implementation for RelationalSource.
69004func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) {
69005	return nil, false
69006}
69007
69008// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource.
69009func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
69010	return nil, false
69011}
69012
69013// AsHdfsSource is the BasicCopySource implementation for RelationalSource.
69014func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) {
69015	return nil, false
69016}
69017
69018// AsFileSystemSource is the BasicCopySource implementation for RelationalSource.
69019func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) {
69020	return nil, false
69021}
69022
69023// AsSQLDWSource is the BasicCopySource implementation for RelationalSource.
69024func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) {
69025	return nil, false
69026}
69027
69028// AsSQLSource is the BasicCopySource implementation for RelationalSource.
69029func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) {
69030	return nil, false
69031}
69032
69033// AsSapEccSource is the BasicCopySource implementation for RelationalSource.
69034func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) {
69035	return nil, false
69036}
69037
69038// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource.
69039func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
69040	return nil, false
69041}
69042
69043// AsSalesforceSource is the BasicCopySource implementation for RelationalSource.
69044func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) {
69045	return nil, false
69046}
69047
69048// AsRelationalSource is the BasicCopySource implementation for RelationalSource.
69049func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) {
69050	return &rs, true
69051}
69052
69053// AsDynamicsSource is the BasicCopySource implementation for RelationalSource.
69054func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) {
69055	return nil, false
69056}
69057
69058// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource.
69059func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
69060	return nil, false
69061}
69062
69063// AsBlobSource is the BasicCopySource implementation for RelationalSource.
69064func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) {
69065	return nil, false
69066}
69067
69068// AsAzureTableSource is the BasicCopySource implementation for RelationalSource.
69069func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) {
69070	return nil, false
69071}
69072
69073// AsCopySource is the BasicCopySource implementation for RelationalSource.
69074func (rs RelationalSource) AsCopySource() (*CopySource, bool) {
69075	return nil, false
69076}
69077
69078// AsBasicCopySource is the BasicCopySource implementation for RelationalSource.
69079func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) {
69080	return &rs, true
69081}
69082
69083// RelationalTableDataset the relational table dataset.
69084type RelationalTableDataset struct {
69085	// RelationalTableDatasetTypeProperties - Relational table dataset properties.
69086	*RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"`
69087	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
69088	AdditionalProperties map[string]interface{} `json:""`
69089	// Description - Dataset description.
69090	Description *string `json:"description,omitempty"`
69091	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
69092	Structure interface{} `json:"structure,omitempty"`
69093	// LinkedServiceName - Linked service reference.
69094	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
69095	// Parameters - Parameters for dataset.
69096	Parameters map[string]*ParameterSpecification `json:"parameters"`
69097	// Annotations - List of tags that can be used for describing the Dataset.
69098	Annotations *[]interface{} `json:"annotations,omitempty"`
69099	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
69100	Type TypeBasicDataset `json:"type,omitempty"`
69101}
69102
69103// MarshalJSON is the custom marshaler for RelationalTableDataset.
69104func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) {
69105	rtd.Type = TypeRelationalTable
69106	objectMap := make(map[string]interface{})
69107	if rtd.RelationalTableDatasetTypeProperties != nil {
69108		objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties
69109	}
69110	if rtd.Description != nil {
69111		objectMap["description"] = rtd.Description
69112	}
69113	objectMap["structure"] = rtd.Structure
69114	if rtd.LinkedServiceName != nil {
69115		objectMap["linkedServiceName"] = rtd.LinkedServiceName
69116	}
69117	if rtd.Parameters != nil {
69118		objectMap["parameters"] = rtd.Parameters
69119	}
69120	if rtd.Annotations != nil {
69121		objectMap["annotations"] = rtd.Annotations
69122	}
69123	if rtd.Type != "" {
69124		objectMap["type"] = rtd.Type
69125	}
69126	for k, v := range rtd.AdditionalProperties {
69127		objectMap[k] = v
69128	}
69129	return json.Marshal(objectMap)
69130}
69131
69132// AsResponsysObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69133func (rtd RelationalTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
69134	return nil, false
69135}
69136
69137// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69138func (rtd RelationalTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
69139	return nil, false
69140}
69141
69142// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset.
69143func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
69144	return nil, false
69145}
69146
69147// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset.
69148func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
69149	return nil, false
69150}
69151
69152// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69153func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
69154	return nil, false
69155}
69156
69157// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69158func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
69159	return nil, false
69160}
69161
69162// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69163func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
69164	return nil, false
69165}
69166
69167// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69168func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
69169	return nil, false
69170}
69171
69172// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69173func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
69174	return nil, false
69175}
69176
69177// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69178func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
69179	return nil, false
69180}
69181
69182// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69183func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
69184	return nil, false
69185}
69186
69187// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69188func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
69189	return nil, false
69190}
69191
69192// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69193func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
69194	return nil, false
69195}
69196
69197// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69198func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
69199	return nil, false
69200}
69201
69202// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69203func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
69204	return nil, false
69205}
69206
69207// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset.
69208func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
69209	return nil, false
69210}
69211
69212// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69213func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
69214	return nil, false
69215}
69216
69217// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69218func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
69219	return nil, false
69220}
69221
69222// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69223func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
69224	return nil, false
69225}
69226
69227// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69228func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
69229	return nil, false
69230}
69231
69232// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69233func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
69234	return nil, false
69235}
69236
69237// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69238func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
69239	return nil, false
69240}
69241
69242// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset.
69243func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
69244	return nil, false
69245}
69246
69247// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69248func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
69249	return nil, false
69250}
69251
69252// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69253func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
69254	return nil, false
69255}
69256
69257// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset.
69258func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
69259	return nil, false
69260}
69261
69262// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset.
69263func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
69264	return nil, false
69265}
69266
69267// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69268func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
69269	return nil, false
69270}
69271
69272// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
69273func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
69274	return nil, false
69275}
69276
69277// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69278func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
69279	return nil, false
69280}
69281
69282// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset.
69283func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
69284	return nil, false
69285}
69286
69287// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset.
69288func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
69289	return nil, false
69290}
69291
69292// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset.
69293func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
69294	return nil, false
69295}
69296
69297// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset.
69298func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
69299	return nil, false
69300}
69301
69302// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset.
69303func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
69304	return nil, false
69305}
69306
69307// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset.
69308func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
69309	return nil, false
69310}
69311
69312// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset.
69313func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
69314	return nil, false
69315}
69316
69317// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset.
69318func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
69319	return &rtd, true
69320}
69321
69322// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
69323func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
69324	return nil, false
69325}
69326
69327// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset.
69328func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
69329	return nil, false
69330}
69331
69332// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset.
69333func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
69334	return nil, false
69335}
69336
69337// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
69338func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
69339	return nil, false
69340}
69341
69342// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset.
69343func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
69344	return nil, false
69345}
69346
69347// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset.
69348func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
69349	return nil, false
69350}
69351
69352// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset.
69353func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
69354	return nil, false
69355}
69356
69357// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset.
69358func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
69359	return nil, false
69360}
69361
69362// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset.
69363func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) {
69364	return nil, false
69365}
69366
69367// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset.
69368func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
69369	return nil, false
69370}
69371
69372// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset.
69373func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
69374	return nil, false
69375}
69376
69377// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset.
69378func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
69379	return nil, false
69380}
69381
69382// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset.
69383func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
69384	return nil, false
69385}
69386
69387// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset.
69388func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
69389	return nil, false
69390}
69391
69392// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset.
69393func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
69394	return nil, false
69395}
69396
69397// AsDataset is the BasicDataset implementation for RelationalTableDataset.
69398func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) {
69399	return nil, false
69400}
69401
69402// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset.
69403func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) {
69404	return &rtd, true
69405}
69406
69407// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct.
69408func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error {
69409	var m map[string]*json.RawMessage
69410	err := json.Unmarshal(body, &m)
69411	if err != nil {
69412		return err
69413	}
69414	for k, v := range m {
69415		switch k {
69416		case "typeProperties":
69417			if v != nil {
69418				var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties
69419				err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties)
69420				if err != nil {
69421					return err
69422				}
69423				rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties
69424			}
69425		default:
69426			if v != nil {
69427				var additionalProperties interface{}
69428				err = json.Unmarshal(*v, &additionalProperties)
69429				if err != nil {
69430					return err
69431				}
69432				if rtd.AdditionalProperties == nil {
69433					rtd.AdditionalProperties = make(map[string]interface{})
69434				}
69435				rtd.AdditionalProperties[k] = additionalProperties
69436			}
69437		case "description":
69438			if v != nil {
69439				var description string
69440				err = json.Unmarshal(*v, &description)
69441				if err != nil {
69442					return err
69443				}
69444				rtd.Description = &description
69445			}
69446		case "structure":
69447			if v != nil {
69448				var structure interface{}
69449				err = json.Unmarshal(*v, &structure)
69450				if err != nil {
69451					return err
69452				}
69453				rtd.Structure = structure
69454			}
69455		case "linkedServiceName":
69456			if v != nil {
69457				var linkedServiceName LinkedServiceReference
69458				err = json.Unmarshal(*v, &linkedServiceName)
69459				if err != nil {
69460					return err
69461				}
69462				rtd.LinkedServiceName = &linkedServiceName
69463			}
69464		case "parameters":
69465			if v != nil {
69466				var parameters map[string]*ParameterSpecification
69467				err = json.Unmarshal(*v, &parameters)
69468				if err != nil {
69469					return err
69470				}
69471				rtd.Parameters = parameters
69472			}
69473		case "annotations":
69474			if v != nil {
69475				var annotations []interface{}
69476				err = json.Unmarshal(*v, &annotations)
69477				if err != nil {
69478					return err
69479				}
69480				rtd.Annotations = &annotations
69481			}
69482		case "type":
69483			if v != nil {
69484				var typeVar TypeBasicDataset
69485				err = json.Unmarshal(*v, &typeVar)
69486				if err != nil {
69487					return err
69488				}
69489				rtd.Type = typeVar
69490			}
69491		}
69492	}
69493
69494	return nil
69495}
69496
69497// RelationalTableDatasetTypeProperties relational table dataset properties.
69498type RelationalTableDatasetTypeProperties struct {
69499	// TableName - The relational table name. Type: string (or Expression with resultType string).
69500	TableName interface{} `json:"tableName,omitempty"`
69501}
69502
69503// Resource azure Data Factory top-level resource.
69504type Resource struct {
69505	// ID - The resource identifier.
69506	ID *string `json:"id,omitempty"`
69507	// Name - The resource name.
69508	Name *string `json:"name,omitempty"`
69509	// Type - The resource type.
69510	Type *string `json:"type,omitempty"`
69511	// Location - The resource location.
69512	Location *string `json:"location,omitempty"`
69513	// Tags - The resource tags.
69514	Tags map[string]*string `json:"tags"`
69515}
69516
69517// MarshalJSON is the custom marshaler for Resource.
69518func (r Resource) MarshalJSON() ([]byte, error) {
69519	objectMap := make(map[string]interface{})
69520	if r.ID != nil {
69521		objectMap["id"] = r.ID
69522	}
69523	if r.Name != nil {
69524		objectMap["name"] = r.Name
69525	}
69526	if r.Type != nil {
69527		objectMap["type"] = r.Type
69528	}
69529	if r.Location != nil {
69530		objectMap["location"] = r.Location
69531	}
69532	if r.Tags != nil {
69533		objectMap["tags"] = r.Tags
69534	}
69535	return json.Marshal(objectMap)
69536}
69537
69538// ResponsysLinkedService responsys linked service.
69539type ResponsysLinkedService struct {
69540	// ResponsysLinkedServiceTypeProperties - Responsys linked service properties.
69541	*ResponsysLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
69542	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
69543	AdditionalProperties map[string]interface{} `json:""`
69544	// ConnectVia - The integration runtime reference.
69545	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
69546	// Description - Linked service description.
69547	Description *string `json:"description,omitempty"`
69548	// Parameters - Parameters for linked service.
69549	Parameters map[string]*ParameterSpecification `json:"parameters"`
69550	// Annotations - List of tags that can be used for describing the Dataset.
69551	Annotations *[]interface{} `json:"annotations,omitempty"`
69552	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
69553	Type TypeBasicLinkedService `json:"type,omitempty"`
69554}
69555
69556// MarshalJSON is the custom marshaler for ResponsysLinkedService.
69557func (rls ResponsysLinkedService) MarshalJSON() ([]byte, error) {
69558	rls.Type = TypeResponsys
69559	objectMap := make(map[string]interface{})
69560	if rls.ResponsysLinkedServiceTypeProperties != nil {
69561		objectMap["typeProperties"] = rls.ResponsysLinkedServiceTypeProperties
69562	}
69563	if rls.ConnectVia != nil {
69564		objectMap["connectVia"] = rls.ConnectVia
69565	}
69566	if rls.Description != nil {
69567		objectMap["description"] = rls.Description
69568	}
69569	if rls.Parameters != nil {
69570		objectMap["parameters"] = rls.Parameters
69571	}
69572	if rls.Annotations != nil {
69573		objectMap["annotations"] = rls.Annotations
69574	}
69575	if rls.Type != "" {
69576		objectMap["type"] = rls.Type
69577	}
69578	for k, v := range rls.AdditionalProperties {
69579		objectMap[k] = v
69580	}
69581	return json.Marshal(objectMap)
69582}
69583
69584// AsResponsysLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69585func (rls ResponsysLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
69586	return &rls, true
69587}
69588
69589// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69590func (rls ResponsysLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
69591	return nil, false
69592}
69593
69594// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69595func (rls ResponsysLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
69596	return nil, false
69597}
69598
69599// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69600func (rls ResponsysLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
69601	return nil, false
69602}
69603
69604// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69605func (rls ResponsysLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
69606	return nil, false
69607}
69608
69609// AsNetezzaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69610func (rls ResponsysLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
69611	return nil, false
69612}
69613
69614// AsVerticaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69615func (rls ResponsysLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
69616	return nil, false
69617}
69618
69619// AsZohoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69620func (rls ResponsysLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
69621	return nil, false
69622}
69623
69624// AsXeroLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69625func (rls ResponsysLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
69626	return nil, false
69627}
69628
69629// AsSquareLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69630func (rls ResponsysLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
69631	return nil, false
69632}
69633
69634// AsSparkLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69635func (rls ResponsysLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
69636	return nil, false
69637}
69638
69639// AsShopifyLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69640func (rls ResponsysLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
69641	return nil, false
69642}
69643
69644// AsServiceNowLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69645func (rls ResponsysLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
69646	return nil, false
69647}
69648
69649// AsQuickBooksLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69650func (rls ResponsysLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
69651	return nil, false
69652}
69653
69654// AsPrestoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69655func (rls ResponsysLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
69656	return nil, false
69657}
69658
69659// AsPhoenixLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69660func (rls ResponsysLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
69661	return nil, false
69662}
69663
69664// AsPaypalLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69665func (rls ResponsysLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
69666	return nil, false
69667}
69668
69669// AsMarketoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69670func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
69671	return nil, false
69672}
69673
69674// AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69675func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
69676	return nil, false
69677}
69678
69679// AsMagentoLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69680func (rls ResponsysLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
69681	return nil, false
69682}
69683
69684// AsJiraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69685func (rls ResponsysLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
69686	return nil, false
69687}
69688
69689// AsImpalaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69690func (rls ResponsysLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
69691	return nil, false
69692}
69693
69694// AsHubspotLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69695func (rls ResponsysLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
69696	return nil, false
69697}
69698
69699// AsHiveLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69700func (rls ResponsysLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
69701	return nil, false
69702}
69703
69704// AsHBaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69705func (rls ResponsysLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
69706	return nil, false
69707}
69708
69709// AsGreenplumLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69710func (rls ResponsysLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
69711	return nil, false
69712}
69713
69714// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69715func (rls ResponsysLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
69716	return nil, false
69717}
69718
69719// AsEloquaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69720func (rls ResponsysLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
69721	return nil, false
69722}
69723
69724// AsDrillLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69725func (rls ResponsysLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
69726	return nil, false
69727}
69728
69729// AsCouchbaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69730func (rls ResponsysLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
69731	return nil, false
69732}
69733
69734// AsConcurLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69735func (rls ResponsysLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
69736	return nil, false
69737}
69738
69739// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69740func (rls ResponsysLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
69741	return nil, false
69742}
69743
69744// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69745func (rls ResponsysLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
69746	return nil, false
69747}
69748
69749// AsSapHanaLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69750func (rls ResponsysLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
69751	return nil, false
69752}
69753
69754// AsSapBWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69755func (rls ResponsysLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
69756	return nil, false
69757}
69758
69759// AsSftpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69760func (rls ResponsysLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
69761	return nil, false
69762}
69763
69764// AsFtpServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69765func (rls ResponsysLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
69766	return nil, false
69767}
69768
69769// AsHTTPLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69770func (rls ResponsysLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
69771	return nil, false
69772}
69773
69774// AsAzureSearchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69775func (rls ResponsysLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
69776	return nil, false
69777}
69778
69779// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69780func (rls ResponsysLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
69781	return nil, false
69782}
69783
69784// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69785func (rls ResponsysLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
69786	return nil, false
69787}
69788
69789// AsAmazonS3LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69790func (rls ResponsysLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
69791	return nil, false
69792}
69793
69794// AsSapEccLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69795func (rls ResponsysLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
69796	return nil, false
69797}
69798
69799// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69800func (rls ResponsysLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
69801	return nil, false
69802}
69803
69804// AsSalesforceLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69805func (rls ResponsysLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
69806	return nil, false
69807}
69808
69809// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69810func (rls ResponsysLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
69811	return nil, false
69812}
69813
69814// AsMongoDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69815func (rls ResponsysLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
69816	return nil, false
69817}
69818
69819// AsCassandraLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69820func (rls ResponsysLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
69821	return nil, false
69822}
69823
69824// AsWebLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69825func (rls ResponsysLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
69826	return nil, false
69827}
69828
69829// AsODataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69830func (rls ResponsysLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
69831	return nil, false
69832}
69833
69834// AsHdfsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69835func (rls ResponsysLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
69836	return nil, false
69837}
69838
69839// AsOdbcLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69840func (rls ResponsysLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
69841	return nil, false
69842}
69843
69844// AsAzureMLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69845func (rls ResponsysLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
69846	return nil, false
69847}
69848
69849// AsTeradataLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69850func (rls ResponsysLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
69851	return nil, false
69852}
69853
69854// AsDb2LinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69855func (rls ResponsysLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
69856	return nil, false
69857}
69858
69859// AsSybaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69860func (rls ResponsysLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
69861	return nil, false
69862}
69863
69864// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69865func (rls ResponsysLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
69866	return nil, false
69867}
69868
69869// AsMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69870func (rls ResponsysLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
69871	return nil, false
69872}
69873
69874// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69875func (rls ResponsysLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
69876	return nil, false
69877}
69878
69879// AsOracleLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69880func (rls ResponsysLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
69881	return nil, false
69882}
69883
69884// AsFileServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69885func (rls ResponsysLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
69886	return nil, false
69887}
69888
69889// AsHDInsightLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69890func (rls ResponsysLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
69891	return nil, false
69892}
69893
69894// AsDynamicsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69895func (rls ResponsysLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
69896	return nil, false
69897}
69898
69899// AsCosmosDbLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69900func (rls ResponsysLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
69901	return nil, false
69902}
69903
69904// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69905func (rls ResponsysLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
69906	return nil, false
69907}
69908
69909// AsAzureBatchLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69910func (rls ResponsysLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
69911	return nil, false
69912}
69913
69914// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69915func (rls ResponsysLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
69916	return nil, false
69917}
69918
69919// AsSQLServerLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69920func (rls ResponsysLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
69921	return nil, false
69922}
69923
69924// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69925func (rls ResponsysLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
69926	return nil, false
69927}
69928
69929// AsAzureStorageLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69930func (rls ResponsysLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
69931	return nil, false
69932}
69933
69934// AsLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69935func (rls ResponsysLinkedService) AsLinkedService() (*LinkedService, bool) {
69936	return nil, false
69937}
69938
69939// AsBasicLinkedService is the BasicLinkedService implementation for ResponsysLinkedService.
69940func (rls ResponsysLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
69941	return &rls, true
69942}
69943
69944// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedService struct.
69945func (rls *ResponsysLinkedService) UnmarshalJSON(body []byte) error {
69946	var m map[string]*json.RawMessage
69947	err := json.Unmarshal(body, &m)
69948	if err != nil {
69949		return err
69950	}
69951	for k, v := range m {
69952		switch k {
69953		case "typeProperties":
69954			if v != nil {
69955				var responsysLinkedServiceTypeProperties ResponsysLinkedServiceTypeProperties
69956				err = json.Unmarshal(*v, &responsysLinkedServiceTypeProperties)
69957				if err != nil {
69958					return err
69959				}
69960				rls.ResponsysLinkedServiceTypeProperties = &responsysLinkedServiceTypeProperties
69961			}
69962		default:
69963			if v != nil {
69964				var additionalProperties interface{}
69965				err = json.Unmarshal(*v, &additionalProperties)
69966				if err != nil {
69967					return err
69968				}
69969				if rls.AdditionalProperties == nil {
69970					rls.AdditionalProperties = make(map[string]interface{})
69971				}
69972				rls.AdditionalProperties[k] = additionalProperties
69973			}
69974		case "connectVia":
69975			if v != nil {
69976				var connectVia IntegrationRuntimeReference
69977				err = json.Unmarshal(*v, &connectVia)
69978				if err != nil {
69979					return err
69980				}
69981				rls.ConnectVia = &connectVia
69982			}
69983		case "description":
69984			if v != nil {
69985				var description string
69986				err = json.Unmarshal(*v, &description)
69987				if err != nil {
69988					return err
69989				}
69990				rls.Description = &description
69991			}
69992		case "parameters":
69993			if v != nil {
69994				var parameters map[string]*ParameterSpecification
69995				err = json.Unmarshal(*v, &parameters)
69996				if err != nil {
69997					return err
69998				}
69999				rls.Parameters = parameters
70000			}
70001		case "annotations":
70002			if v != nil {
70003				var annotations []interface{}
70004				err = json.Unmarshal(*v, &annotations)
70005				if err != nil {
70006					return err
70007				}
70008				rls.Annotations = &annotations
70009			}
70010		case "type":
70011			if v != nil {
70012				var typeVar TypeBasicLinkedService
70013				err = json.Unmarshal(*v, &typeVar)
70014				if err != nil {
70015					return err
70016				}
70017				rls.Type = typeVar
70018			}
70019		}
70020	}
70021
70022	return nil
70023}
70024
70025// ResponsysLinkedServiceTypeProperties responsys linked service properties.
70026type ResponsysLinkedServiceTypeProperties struct {
70027	// Endpoint - The endpoint of the Responsys server.
70028	Endpoint interface{} `json:"endpoint,omitempty"`
70029	// ClientID - The client ID associated with the Responsys application. Type: string (or Expression with resultType string).
70030	ClientID interface{} `json:"clientId,omitempty"`
70031	// ClientSecret - The client secret associated with the Responsys application. Type: string (or Expression with resultType string).
70032	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
70033	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
70034	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
70035	// UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
70036	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
70037	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
70038	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
70039	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
70040	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
70041}
70042
70043// UnmarshalJSON is the custom unmarshaler for ResponsysLinkedServiceTypeProperties struct.
70044func (rlstp *ResponsysLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
70045	var m map[string]*json.RawMessage
70046	err := json.Unmarshal(body, &m)
70047	if err != nil {
70048		return err
70049	}
70050	for k, v := range m {
70051		switch k {
70052		case "endpoint":
70053			if v != nil {
70054				var endpoint interface{}
70055				err = json.Unmarshal(*v, &endpoint)
70056				if err != nil {
70057					return err
70058				}
70059				rlstp.Endpoint = endpoint
70060			}
70061		case "clientId":
70062			if v != nil {
70063				var clientID interface{}
70064				err = json.Unmarshal(*v, &clientID)
70065				if err != nil {
70066					return err
70067				}
70068				rlstp.ClientID = clientID
70069			}
70070		case "clientSecret":
70071			if v != nil {
70072				clientSecret, err := unmarshalBasicSecretBase(*v)
70073				if err != nil {
70074					return err
70075				}
70076				rlstp.ClientSecret = clientSecret
70077			}
70078		case "useEncryptedEndpoints":
70079			if v != nil {
70080				var useEncryptedEndpoints interface{}
70081				err = json.Unmarshal(*v, &useEncryptedEndpoints)
70082				if err != nil {
70083					return err
70084				}
70085				rlstp.UseEncryptedEndpoints = useEncryptedEndpoints
70086			}
70087		case "useHostVerification":
70088			if v != nil {
70089				var useHostVerification interface{}
70090				err = json.Unmarshal(*v, &useHostVerification)
70091				if err != nil {
70092					return err
70093				}
70094				rlstp.UseHostVerification = useHostVerification
70095			}
70096		case "usePeerVerification":
70097			if v != nil {
70098				var usePeerVerification interface{}
70099				err = json.Unmarshal(*v, &usePeerVerification)
70100				if err != nil {
70101					return err
70102				}
70103				rlstp.UsePeerVerification = usePeerVerification
70104			}
70105		case "encryptedCredential":
70106			if v != nil {
70107				var encryptedCredential interface{}
70108				err = json.Unmarshal(*v, &encryptedCredential)
70109				if err != nil {
70110					return err
70111				}
70112				rlstp.EncryptedCredential = encryptedCredential
70113			}
70114		}
70115	}
70116
70117	return nil
70118}
70119
70120// ResponsysObjectDataset responsys dataset.
70121type ResponsysObjectDataset struct {
70122	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
70123	AdditionalProperties map[string]interface{} `json:""`
70124	// Description - Dataset description.
70125	Description *string `json:"description,omitempty"`
70126	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
70127	Structure interface{} `json:"structure,omitempty"`
70128	// LinkedServiceName - Linked service reference.
70129	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
70130	// Parameters - Parameters for dataset.
70131	Parameters map[string]*ParameterSpecification `json:"parameters"`
70132	// Annotations - List of tags that can be used for describing the Dataset.
70133	Annotations *[]interface{} `json:"annotations,omitempty"`
70134	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
70135	Type TypeBasicDataset `json:"type,omitempty"`
70136}
70137
70138// MarshalJSON is the custom marshaler for ResponsysObjectDataset.
70139func (rod ResponsysObjectDataset) MarshalJSON() ([]byte, error) {
70140	rod.Type = TypeResponsysObject
70141	objectMap := make(map[string]interface{})
70142	if rod.Description != nil {
70143		objectMap["description"] = rod.Description
70144	}
70145	objectMap["structure"] = rod.Structure
70146	if rod.LinkedServiceName != nil {
70147		objectMap["linkedServiceName"] = rod.LinkedServiceName
70148	}
70149	if rod.Parameters != nil {
70150		objectMap["parameters"] = rod.Parameters
70151	}
70152	if rod.Annotations != nil {
70153		objectMap["annotations"] = rod.Annotations
70154	}
70155	if rod.Type != "" {
70156		objectMap["type"] = rod.Type
70157	}
70158	for k, v := range rod.AdditionalProperties {
70159		objectMap[k] = v
70160	}
70161	return json.Marshal(objectMap)
70162}
70163
70164// AsResponsysObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70165func (rod ResponsysObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
70166	return &rod, true
70167}
70168
70169// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70170func (rod ResponsysObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
70171	return nil, false
70172}
70173
70174// AsVerticaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70175func (rod ResponsysObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
70176	return nil, false
70177}
70178
70179// AsNetezzaTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70180func (rod ResponsysObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
70181	return nil, false
70182}
70183
70184// AsZohoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70185func (rod ResponsysObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
70186	return nil, false
70187}
70188
70189// AsXeroObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70190func (rod ResponsysObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
70191	return nil, false
70192}
70193
70194// AsSquareObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70195func (rod ResponsysObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
70196	return nil, false
70197}
70198
70199// AsSparkObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70200func (rod ResponsysObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
70201	return nil, false
70202}
70203
70204// AsShopifyObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70205func (rod ResponsysObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
70206	return nil, false
70207}
70208
70209// AsServiceNowObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70210func (rod ResponsysObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
70211	return nil, false
70212}
70213
70214// AsQuickBooksObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70215func (rod ResponsysObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
70216	return nil, false
70217}
70218
70219// AsPrestoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70220func (rod ResponsysObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
70221	return nil, false
70222}
70223
70224// AsPhoenixObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70225func (rod ResponsysObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
70226	return nil, false
70227}
70228
70229// AsPaypalObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70230func (rod ResponsysObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
70231	return nil, false
70232}
70233
70234// AsMarketoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70235func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
70236	return nil, false
70237}
70238
70239// AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70240func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
70241	return nil, false
70242}
70243
70244// AsMagentoObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70245func (rod ResponsysObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
70246	return nil, false
70247}
70248
70249// AsJiraObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70250func (rod ResponsysObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
70251	return nil, false
70252}
70253
70254// AsImpalaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70255func (rod ResponsysObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
70256	return nil, false
70257}
70258
70259// AsHubspotObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70260func (rod ResponsysObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
70261	return nil, false
70262}
70263
70264// AsHiveObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70265func (rod ResponsysObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
70266	return nil, false
70267}
70268
70269// AsHBaseObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70270func (rod ResponsysObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
70271	return nil, false
70272}
70273
70274// AsGreenplumTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70275func (rod ResponsysObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
70276	return nil, false
70277}
70278
70279// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70280func (rod ResponsysObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
70281	return nil, false
70282}
70283
70284// AsEloquaObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70285func (rod ResponsysObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
70286	return nil, false
70287}
70288
70289// AsDrillTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70290func (rod ResponsysObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
70291	return nil, false
70292}
70293
70294// AsCouchbaseTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70295func (rod ResponsysObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
70296	return nil, false
70297}
70298
70299// AsConcurObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70300func (rod ResponsysObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
70301	return nil, false
70302}
70303
70304// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70305func (rod ResponsysObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
70306	return nil, false
70307}
70308
70309// AsAmazonMWSObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70310func (rod ResponsysObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
70311	return nil, false
70312}
70313
70314// AsHTTPDataset is the BasicDataset implementation for ResponsysObjectDataset.
70315func (rod ResponsysObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
70316	return nil, false
70317}
70318
70319// AsAzureSearchIndexDataset is the BasicDataset implementation for ResponsysObjectDataset.
70320func (rod ResponsysObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
70321	return nil, false
70322}
70323
70324// AsWebTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70325func (rod ResponsysObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
70326	return nil, false
70327}
70328
70329// AsSQLServerTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70330func (rod ResponsysObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
70331	return nil, false
70332}
70333
70334// AsSapEccResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
70335func (rod ResponsysObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
70336	return nil, false
70337}
70338
70339// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
70340func (rod ResponsysObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
70341	return nil, false
70342}
70343
70344// AsSalesforceObjectDataset is the BasicDataset implementation for ResponsysObjectDataset.
70345func (rod ResponsysObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
70346	return nil, false
70347}
70348
70349// AsRelationalTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70350func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
70351	return nil, false
70352}
70353
70354// AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70355func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
70356	return nil, false
70357}
70358
70359// AsOracleTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70360func (rod ResponsysObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
70361	return nil, false
70362}
70363
70364// AsODataResourceDataset is the BasicDataset implementation for ResponsysObjectDataset.
70365func (rod ResponsysObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
70366	return nil, false
70367}
70368
70369// AsMongoDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
70370func (rod ResponsysObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
70371	return nil, false
70372}
70373
70374// AsFileShareDataset is the BasicDataset implementation for ResponsysObjectDataset.
70375func (rod ResponsysObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
70376	return nil, false
70377}
70378
70379// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ResponsysObjectDataset.
70380func (rod ResponsysObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
70381	return nil, false
70382}
70383
70384// AsDynamicsEntityDataset is the BasicDataset implementation for ResponsysObjectDataset.
70385func (rod ResponsysObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
70386	return nil, false
70387}
70388
70389// AsDocumentDbCollectionDataset is the BasicDataset implementation for ResponsysObjectDataset.
70390func (rod ResponsysObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
70391	return nil, false
70392}
70393
70394// AsCustomDataset is the BasicDataset implementation for ResponsysObjectDataset.
70395func (rod ResponsysObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
70396	return nil, false
70397}
70398
70399// AsCassandraTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70400func (rod ResponsysObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
70401	return nil, false
70402}
70403
70404// AsAzureSQLDWTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70405func (rod ResponsysObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
70406	return nil, false
70407}
70408
70409// AsAzureSQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70410func (rod ResponsysObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
70411	return nil, false
70412}
70413
70414// AsAzureTableDataset is the BasicDataset implementation for ResponsysObjectDataset.
70415func (rod ResponsysObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
70416	return nil, false
70417}
70418
70419// AsAzureBlobDataset is the BasicDataset implementation for ResponsysObjectDataset.
70420func (rod ResponsysObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
70421	return nil, false
70422}
70423
70424// AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset.
70425func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
70426	return nil, false
70427}
70428
70429// AsDataset is the BasicDataset implementation for ResponsysObjectDataset.
70430func (rod ResponsysObjectDataset) AsDataset() (*Dataset, bool) {
70431	return nil, false
70432}
70433
70434// AsBasicDataset is the BasicDataset implementation for ResponsysObjectDataset.
70435func (rod ResponsysObjectDataset) AsBasicDataset() (BasicDataset, bool) {
70436	return &rod, true
70437}
70438
70439// ResponsysSource a copy activity Responsys source.
70440type ResponsysSource struct {
70441	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
70442	Query interface{} `json:"query,omitempty"`
70443	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
70444	AdditionalProperties map[string]interface{} `json:""`
70445	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
70446	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
70447	// 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])).
70448	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
70449	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
70450	Type TypeBasicCopySource `json:"type,omitempty"`
70451}
70452
70453// MarshalJSON is the custom marshaler for ResponsysSource.
70454func (rs ResponsysSource) MarshalJSON() ([]byte, error) {
70455	rs.Type = TypeResponsysSource
70456	objectMap := make(map[string]interface{})
70457	objectMap["query"] = rs.Query
70458	objectMap["sourceRetryCount"] = rs.SourceRetryCount
70459	objectMap["sourceRetryWait"] = rs.SourceRetryWait
70460	if rs.Type != "" {
70461		objectMap["type"] = rs.Type
70462	}
70463	for k, v := range rs.AdditionalProperties {
70464		objectMap[k] = v
70465	}
70466	return json.Marshal(objectMap)
70467}
70468
70469// AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource.
70470func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
70471	return nil, false
70472}
70473
70474// AsResponsysSource is the BasicCopySource implementation for ResponsysSource.
70475func (rs ResponsysSource) AsResponsysSource() (*ResponsysSource, bool) {
70476	return &rs, true
70477}
70478
70479// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ResponsysSource.
70480func (rs ResponsysSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
70481	return nil, false
70482}
70483
70484// AsVerticaSource is the BasicCopySource implementation for ResponsysSource.
70485func (rs ResponsysSource) AsVerticaSource() (*VerticaSource, bool) {
70486	return nil, false
70487}
70488
70489// AsNetezzaSource is the BasicCopySource implementation for ResponsysSource.
70490func (rs ResponsysSource) AsNetezzaSource() (*NetezzaSource, bool) {
70491	return nil, false
70492}
70493
70494// AsZohoSource is the BasicCopySource implementation for ResponsysSource.
70495func (rs ResponsysSource) AsZohoSource() (*ZohoSource, bool) {
70496	return nil, false
70497}
70498
70499// AsXeroSource is the BasicCopySource implementation for ResponsysSource.
70500func (rs ResponsysSource) AsXeroSource() (*XeroSource, bool) {
70501	return nil, false
70502}
70503
70504// AsSquareSource is the BasicCopySource implementation for ResponsysSource.
70505func (rs ResponsysSource) AsSquareSource() (*SquareSource, bool) {
70506	return nil, false
70507}
70508
70509// AsSparkSource is the BasicCopySource implementation for ResponsysSource.
70510func (rs ResponsysSource) AsSparkSource() (*SparkSource, bool) {
70511	return nil, false
70512}
70513
70514// AsShopifySource is the BasicCopySource implementation for ResponsysSource.
70515func (rs ResponsysSource) AsShopifySource() (*ShopifySource, bool) {
70516	return nil, false
70517}
70518
70519// AsServiceNowSource is the BasicCopySource implementation for ResponsysSource.
70520func (rs ResponsysSource) AsServiceNowSource() (*ServiceNowSource, bool) {
70521	return nil, false
70522}
70523
70524// AsQuickBooksSource is the BasicCopySource implementation for ResponsysSource.
70525func (rs ResponsysSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
70526	return nil, false
70527}
70528
70529// AsPrestoSource is the BasicCopySource implementation for ResponsysSource.
70530func (rs ResponsysSource) AsPrestoSource() (*PrestoSource, bool) {
70531	return nil, false
70532}
70533
70534// AsPhoenixSource is the BasicCopySource implementation for ResponsysSource.
70535func (rs ResponsysSource) AsPhoenixSource() (*PhoenixSource, bool) {
70536	return nil, false
70537}
70538
70539// AsPaypalSource is the BasicCopySource implementation for ResponsysSource.
70540func (rs ResponsysSource) AsPaypalSource() (*PaypalSource, bool) {
70541	return nil, false
70542}
70543
70544// AsMarketoSource is the BasicCopySource implementation for ResponsysSource.
70545func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) {
70546	return nil, false
70547}
70548
70549// AsMariaDBSource is the BasicCopySource implementation for ResponsysSource.
70550func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) {
70551	return nil, false
70552}
70553
70554// AsMagentoSource is the BasicCopySource implementation for ResponsysSource.
70555func (rs ResponsysSource) AsMagentoSource() (*MagentoSource, bool) {
70556	return nil, false
70557}
70558
70559// AsJiraSource is the BasicCopySource implementation for ResponsysSource.
70560func (rs ResponsysSource) AsJiraSource() (*JiraSource, bool) {
70561	return nil, false
70562}
70563
70564// AsImpalaSource is the BasicCopySource implementation for ResponsysSource.
70565func (rs ResponsysSource) AsImpalaSource() (*ImpalaSource, bool) {
70566	return nil, false
70567}
70568
70569// AsHubspotSource is the BasicCopySource implementation for ResponsysSource.
70570func (rs ResponsysSource) AsHubspotSource() (*HubspotSource, bool) {
70571	return nil, false
70572}
70573
70574// AsHiveSource is the BasicCopySource implementation for ResponsysSource.
70575func (rs ResponsysSource) AsHiveSource() (*HiveSource, bool) {
70576	return nil, false
70577}
70578
70579// AsHBaseSource is the BasicCopySource implementation for ResponsysSource.
70580func (rs ResponsysSource) AsHBaseSource() (*HBaseSource, bool) {
70581	return nil, false
70582}
70583
70584// AsGreenplumSource is the BasicCopySource implementation for ResponsysSource.
70585func (rs ResponsysSource) AsGreenplumSource() (*GreenplumSource, bool) {
70586	return nil, false
70587}
70588
70589// AsGoogleBigQuerySource is the BasicCopySource implementation for ResponsysSource.
70590func (rs ResponsysSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
70591	return nil, false
70592}
70593
70594// AsEloquaSource is the BasicCopySource implementation for ResponsysSource.
70595func (rs ResponsysSource) AsEloquaSource() (*EloquaSource, bool) {
70596	return nil, false
70597}
70598
70599// AsDrillSource is the BasicCopySource implementation for ResponsysSource.
70600func (rs ResponsysSource) AsDrillSource() (*DrillSource, bool) {
70601	return nil, false
70602}
70603
70604// AsCouchbaseSource is the BasicCopySource implementation for ResponsysSource.
70605func (rs ResponsysSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
70606	return nil, false
70607}
70608
70609// AsConcurSource is the BasicCopySource implementation for ResponsysSource.
70610func (rs ResponsysSource) AsConcurSource() (*ConcurSource, bool) {
70611	return nil, false
70612}
70613
70614// AsAzurePostgreSQLSource is the BasicCopySource implementation for ResponsysSource.
70615func (rs ResponsysSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
70616	return nil, false
70617}
70618
70619// AsAmazonMWSSource is the BasicCopySource implementation for ResponsysSource.
70620func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
70621	return nil, false
70622}
70623
70624// AsHTTPSource is the BasicCopySource implementation for ResponsysSource.
70625func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) {
70626	return nil, false
70627}
70628
70629// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource.
70630func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
70631	return nil, false
70632}
70633
70634// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource.
70635func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) {
70636	return nil, false
70637}
70638
70639// AsCassandraSource is the BasicCopySource implementation for ResponsysSource.
70640func (rs ResponsysSource) AsCassandraSource() (*CassandraSource, bool) {
70641	return nil, false
70642}
70643
70644// AsWebSource is the BasicCopySource implementation for ResponsysSource.
70645func (rs ResponsysSource) AsWebSource() (*WebSource, bool) {
70646	return nil, false
70647}
70648
70649// AsOracleSource is the BasicCopySource implementation for ResponsysSource.
70650func (rs ResponsysSource) AsOracleSource() (*OracleSource, bool) {
70651	return nil, false
70652}
70653
70654// AsAzureMySQLSource is the BasicCopySource implementation for ResponsysSource.
70655func (rs ResponsysSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
70656	return nil, false
70657}
70658
70659// AsHdfsSource is the BasicCopySource implementation for ResponsysSource.
70660func (rs ResponsysSource) AsHdfsSource() (*HdfsSource, bool) {
70661	return nil, false
70662}
70663
70664// AsFileSystemSource is the BasicCopySource implementation for ResponsysSource.
70665func (rs ResponsysSource) AsFileSystemSource() (*FileSystemSource, bool) {
70666	return nil, false
70667}
70668
70669// AsSQLDWSource is the BasicCopySource implementation for ResponsysSource.
70670func (rs ResponsysSource) AsSQLDWSource() (*SQLDWSource, bool) {
70671	return nil, false
70672}
70673
70674// AsSQLSource is the BasicCopySource implementation for ResponsysSource.
70675func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) {
70676	return nil, false
70677}
70678
70679// AsSapEccSource is the BasicCopySource implementation for ResponsysSource.
70680func (rs ResponsysSource) AsSapEccSource() (*SapEccSource, bool) {
70681	return nil, false
70682}
70683
70684// AsSapCloudForCustomerSource is the BasicCopySource implementation for ResponsysSource.
70685func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
70686	return nil, false
70687}
70688
70689// AsSalesforceSource is the BasicCopySource implementation for ResponsysSource.
70690func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) {
70691	return nil, false
70692}
70693
70694// AsRelationalSource is the BasicCopySource implementation for ResponsysSource.
70695func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) {
70696	return nil, false
70697}
70698
70699// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource.
70700func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) {
70701	return nil, false
70702}
70703
70704// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource.
70705func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
70706	return nil, false
70707}
70708
70709// AsBlobSource is the BasicCopySource implementation for ResponsysSource.
70710func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) {
70711	return nil, false
70712}
70713
70714// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource.
70715func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) {
70716	return nil, false
70717}
70718
70719// AsCopySource is the BasicCopySource implementation for ResponsysSource.
70720func (rs ResponsysSource) AsCopySource() (*CopySource, bool) {
70721	return nil, false
70722}
70723
70724// AsBasicCopySource is the BasicCopySource implementation for ResponsysSource.
70725func (rs ResponsysSource) AsBasicCopySource() (BasicCopySource, bool) {
70726	return &rs, true
70727}
70728
70729// RetryPolicy execution policy for an activity.
70730type RetryPolicy struct {
70731	// Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
70732	Count interface{} `json:"count,omitempty"`
70733	// IntervalInSeconds - Interval between retries in seconds. Default is 30.
70734	IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
70735}
70736
70737// SalesforceLinkedService linked service for Salesforce.
70738type SalesforceLinkedService struct {
70739	// SalesforceLinkedServiceTypeProperties - Salesforce linked service properties.
70740	*SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
70741	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
70742	AdditionalProperties map[string]interface{} `json:""`
70743	// ConnectVia - The integration runtime reference.
70744	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
70745	// Description - Linked service description.
70746	Description *string `json:"description,omitempty"`
70747	// Parameters - Parameters for linked service.
70748	Parameters map[string]*ParameterSpecification `json:"parameters"`
70749	// Annotations - List of tags that can be used for describing the Dataset.
70750	Annotations *[]interface{} `json:"annotations,omitempty"`
70751	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
70752	Type TypeBasicLinkedService `json:"type,omitempty"`
70753}
70754
70755// MarshalJSON is the custom marshaler for SalesforceLinkedService.
70756func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) {
70757	sls.Type = TypeSalesforce
70758	objectMap := make(map[string]interface{})
70759	if sls.SalesforceLinkedServiceTypeProperties != nil {
70760		objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties
70761	}
70762	if sls.ConnectVia != nil {
70763		objectMap["connectVia"] = sls.ConnectVia
70764	}
70765	if sls.Description != nil {
70766		objectMap["description"] = sls.Description
70767	}
70768	if sls.Parameters != nil {
70769		objectMap["parameters"] = sls.Parameters
70770	}
70771	if sls.Annotations != nil {
70772		objectMap["annotations"] = sls.Annotations
70773	}
70774	if sls.Type != "" {
70775		objectMap["type"] = sls.Type
70776	}
70777	for k, v := range sls.AdditionalProperties {
70778		objectMap[k] = v
70779	}
70780	return json.Marshal(objectMap)
70781}
70782
70783// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70784func (sls SalesforceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
70785	return nil, false
70786}
70787
70788// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70789func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
70790	return nil, false
70791}
70792
70793// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70794func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
70795	return nil, false
70796}
70797
70798// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70799func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
70800	return nil, false
70801}
70802
70803// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70804func (sls SalesforceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
70805	return nil, false
70806}
70807
70808// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70809func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
70810	return nil, false
70811}
70812
70813// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70814func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
70815	return nil, false
70816}
70817
70818// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70819func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
70820	return nil, false
70821}
70822
70823// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70824func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
70825	return nil, false
70826}
70827
70828// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70829func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
70830	return nil, false
70831}
70832
70833// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70834func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
70835	return nil, false
70836}
70837
70838// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70839func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
70840	return nil, false
70841}
70842
70843// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70844func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
70845	return nil, false
70846}
70847
70848// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70849func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
70850	return nil, false
70851}
70852
70853// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70854func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
70855	return nil, false
70856}
70857
70858// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70859func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
70860	return nil, false
70861}
70862
70863// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70864func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
70865	return nil, false
70866}
70867
70868// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70869func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
70870	return nil, false
70871}
70872
70873// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70874func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
70875	return nil, false
70876}
70877
70878// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70879func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
70880	return nil, false
70881}
70882
70883// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70884func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
70885	return nil, false
70886}
70887
70888// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70889func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
70890	return nil, false
70891}
70892
70893// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70894func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
70895	return nil, false
70896}
70897
70898// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70899func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
70900	return nil, false
70901}
70902
70903// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70904func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
70905	return nil, false
70906}
70907
70908// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70909func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
70910	return nil, false
70911}
70912
70913// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70914func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
70915	return nil, false
70916}
70917
70918// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70919func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
70920	return nil, false
70921}
70922
70923// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70924func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
70925	return nil, false
70926}
70927
70928// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70929func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
70930	return nil, false
70931}
70932
70933// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70934func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
70935	return nil, false
70936}
70937
70938// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70939func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
70940	return nil, false
70941}
70942
70943// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70944func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
70945	return nil, false
70946}
70947
70948// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70949func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
70950	return nil, false
70951}
70952
70953// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70954func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
70955	return nil, false
70956}
70957
70958// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70959func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
70960	return nil, false
70961}
70962
70963// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70964func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
70965	return nil, false
70966}
70967
70968// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70969func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
70970	return nil, false
70971}
70972
70973// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70974func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
70975	return nil, false
70976}
70977
70978// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70979func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
70980	return nil, false
70981}
70982
70983// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70984func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
70985	return nil, false
70986}
70987
70988// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70989func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
70990	return nil, false
70991}
70992
70993// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70994func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
70995	return nil, false
70996}
70997
70998// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
70999func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
71000	return nil, false
71001}
71002
71003// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71004func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
71005	return &sls, true
71006}
71007
71008// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71009func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
71010	return nil, false
71011}
71012
71013// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71014func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
71015	return nil, false
71016}
71017
71018// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71019func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
71020	return nil, false
71021}
71022
71023// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71024func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
71025	return nil, false
71026}
71027
71028// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71029func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
71030	return nil, false
71031}
71032
71033// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71034func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
71035	return nil, false
71036}
71037
71038// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71039func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
71040	return nil, false
71041}
71042
71043// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71044func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
71045	return nil, false
71046}
71047
71048// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71049func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
71050	return nil, false
71051}
71052
71053// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71054func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
71055	return nil, false
71056}
71057
71058// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71059func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
71060	return nil, false
71061}
71062
71063// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71064func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
71065	return nil, false
71066}
71067
71068// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71069func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
71070	return nil, false
71071}
71072
71073// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71074func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
71075	return nil, false
71076}
71077
71078// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71079func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
71080	return nil, false
71081}
71082
71083// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71084func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
71085	return nil, false
71086}
71087
71088// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71089func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
71090	return nil, false
71091}
71092
71093// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71094func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
71095	return nil, false
71096}
71097
71098// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71099func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
71100	return nil, false
71101}
71102
71103// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71104func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
71105	return nil, false
71106}
71107
71108// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71109func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
71110	return nil, false
71111}
71112
71113// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71114func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
71115	return nil, false
71116}
71117
71118// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71119func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
71120	return nil, false
71121}
71122
71123// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71124func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
71125	return nil, false
71126}
71127
71128// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71129func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
71130	return nil, false
71131}
71132
71133// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71134func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) {
71135	return nil, false
71136}
71137
71138// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService.
71139func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
71140	return &sls, true
71141}
71142
71143// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct.
71144func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error {
71145	var m map[string]*json.RawMessage
71146	err := json.Unmarshal(body, &m)
71147	if err != nil {
71148		return err
71149	}
71150	for k, v := range m {
71151		switch k {
71152		case "typeProperties":
71153			if v != nil {
71154				var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties
71155				err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties)
71156				if err != nil {
71157					return err
71158				}
71159				sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties
71160			}
71161		default:
71162			if v != nil {
71163				var additionalProperties interface{}
71164				err = json.Unmarshal(*v, &additionalProperties)
71165				if err != nil {
71166					return err
71167				}
71168				if sls.AdditionalProperties == nil {
71169					sls.AdditionalProperties = make(map[string]interface{})
71170				}
71171				sls.AdditionalProperties[k] = additionalProperties
71172			}
71173		case "connectVia":
71174			if v != nil {
71175				var connectVia IntegrationRuntimeReference
71176				err = json.Unmarshal(*v, &connectVia)
71177				if err != nil {
71178					return err
71179				}
71180				sls.ConnectVia = &connectVia
71181			}
71182		case "description":
71183			if v != nil {
71184				var description string
71185				err = json.Unmarshal(*v, &description)
71186				if err != nil {
71187					return err
71188				}
71189				sls.Description = &description
71190			}
71191		case "parameters":
71192			if v != nil {
71193				var parameters map[string]*ParameterSpecification
71194				err = json.Unmarshal(*v, &parameters)
71195				if err != nil {
71196					return err
71197				}
71198				sls.Parameters = parameters
71199			}
71200		case "annotations":
71201			if v != nil {
71202				var annotations []interface{}
71203				err = json.Unmarshal(*v, &annotations)
71204				if err != nil {
71205					return err
71206				}
71207				sls.Annotations = &annotations
71208			}
71209		case "type":
71210			if v != nil {
71211				var typeVar TypeBasicLinkedService
71212				err = json.Unmarshal(*v, &typeVar)
71213				if err != nil {
71214					return err
71215				}
71216				sls.Type = typeVar
71217			}
71218		}
71219	}
71220
71221	return nil
71222}
71223
71224// SalesforceLinkedServiceTypeProperties salesforce linked service properties.
71225type SalesforceLinkedServiceTypeProperties struct {
71226	// EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
71227	EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
71228	// Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
71229	Username interface{} `json:"username,omitempty"`
71230	// Password - The password for Basic authentication of the Salesforce instance.
71231	Password BasicSecretBase `json:"password,omitempty"`
71232	// SecurityToken - The security token is required to remotely access Salesforce instance.
71233	SecurityToken BasicSecretBase `json:"securityToken,omitempty"`
71234	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
71235	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
71236}
71237
71238// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct.
71239func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
71240	var m map[string]*json.RawMessage
71241	err := json.Unmarshal(body, &m)
71242	if err != nil {
71243		return err
71244	}
71245	for k, v := range m {
71246		switch k {
71247		case "environmentUrl":
71248			if v != nil {
71249				var environmentURL interface{}
71250				err = json.Unmarshal(*v, &environmentURL)
71251				if err != nil {
71252					return err
71253				}
71254				slstp.EnvironmentURL = environmentURL
71255			}
71256		case "username":
71257			if v != nil {
71258				var username interface{}
71259				err = json.Unmarshal(*v, &username)
71260				if err != nil {
71261					return err
71262				}
71263				slstp.Username = username
71264			}
71265		case "password":
71266			if v != nil {
71267				password, err := unmarshalBasicSecretBase(*v)
71268				if err != nil {
71269					return err
71270				}
71271				slstp.Password = password
71272			}
71273		case "securityToken":
71274			if v != nil {
71275				securityToken, err := unmarshalBasicSecretBase(*v)
71276				if err != nil {
71277					return err
71278				}
71279				slstp.SecurityToken = securityToken
71280			}
71281		case "encryptedCredential":
71282			if v != nil {
71283				var encryptedCredential interface{}
71284				err = json.Unmarshal(*v, &encryptedCredential)
71285				if err != nil {
71286					return err
71287				}
71288				slstp.EncryptedCredential = encryptedCredential
71289			}
71290		}
71291	}
71292
71293	return nil
71294}
71295
71296// SalesforceMarketingCloudLinkedService salesforce Marketing Cloud linked service.
71297type SalesforceMarketingCloudLinkedService struct {
71298	// SalesforceMarketingCloudLinkedServiceTypeProperties - Salesforce Marketing Cloud linked service properties.
71299	*SalesforceMarketingCloudLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
71300	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
71301	AdditionalProperties map[string]interface{} `json:""`
71302	// ConnectVia - The integration runtime reference.
71303	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
71304	// Description - Linked service description.
71305	Description *string `json:"description,omitempty"`
71306	// Parameters - Parameters for linked service.
71307	Parameters map[string]*ParameterSpecification `json:"parameters"`
71308	// Annotations - List of tags that can be used for describing the Dataset.
71309	Annotations *[]interface{} `json:"annotations,omitempty"`
71310	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
71311	Type TypeBasicLinkedService `json:"type,omitempty"`
71312}
71313
71314// MarshalJSON is the custom marshaler for SalesforceMarketingCloudLinkedService.
71315func (smcls SalesforceMarketingCloudLinkedService) MarshalJSON() ([]byte, error) {
71316	smcls.Type = TypeSalesforceMarketingCloud
71317	objectMap := make(map[string]interface{})
71318	if smcls.SalesforceMarketingCloudLinkedServiceTypeProperties != nil {
71319		objectMap["typeProperties"] = smcls.SalesforceMarketingCloudLinkedServiceTypeProperties
71320	}
71321	if smcls.ConnectVia != nil {
71322		objectMap["connectVia"] = smcls.ConnectVia
71323	}
71324	if smcls.Description != nil {
71325		objectMap["description"] = smcls.Description
71326	}
71327	if smcls.Parameters != nil {
71328		objectMap["parameters"] = smcls.Parameters
71329	}
71330	if smcls.Annotations != nil {
71331		objectMap["annotations"] = smcls.Annotations
71332	}
71333	if smcls.Type != "" {
71334		objectMap["type"] = smcls.Type
71335	}
71336	for k, v := range smcls.AdditionalProperties {
71337		objectMap[k] = v
71338	}
71339	return json.Marshal(objectMap)
71340}
71341
71342// AsResponsysLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71343func (smcls SalesforceMarketingCloudLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
71344	return nil, false
71345}
71346
71347// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71348func (smcls SalesforceMarketingCloudLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
71349	return nil, false
71350}
71351
71352// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71353func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
71354	return nil, false
71355}
71356
71357// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71358func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
71359	return nil, false
71360}
71361
71362// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71363func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
71364	return &smcls, true
71365}
71366
71367// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71368func (smcls SalesforceMarketingCloudLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
71369	return nil, false
71370}
71371
71372// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71373func (smcls SalesforceMarketingCloudLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
71374	return nil, false
71375}
71376
71377// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71378func (smcls SalesforceMarketingCloudLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
71379	return nil, false
71380}
71381
71382// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71383func (smcls SalesforceMarketingCloudLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
71384	return nil, false
71385}
71386
71387// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71388func (smcls SalesforceMarketingCloudLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
71389	return nil, false
71390}
71391
71392// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71393func (smcls SalesforceMarketingCloudLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
71394	return nil, false
71395}
71396
71397// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71398func (smcls SalesforceMarketingCloudLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
71399	return nil, false
71400}
71401
71402// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71403func (smcls SalesforceMarketingCloudLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
71404	return nil, false
71405}
71406
71407// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71408func (smcls SalesforceMarketingCloudLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
71409	return nil, false
71410}
71411
71412// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71413func (smcls SalesforceMarketingCloudLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
71414	return nil, false
71415}
71416
71417// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71418func (smcls SalesforceMarketingCloudLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
71419	return nil, false
71420}
71421
71422// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71423func (smcls SalesforceMarketingCloudLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
71424	return nil, false
71425}
71426
71427// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71428func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
71429	return nil, false
71430}
71431
71432// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71433func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
71434	return nil, false
71435}
71436
71437// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71438func (smcls SalesforceMarketingCloudLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
71439	return nil, false
71440}
71441
71442// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71443func (smcls SalesforceMarketingCloudLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
71444	return nil, false
71445}
71446
71447// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71448func (smcls SalesforceMarketingCloudLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
71449	return nil, false
71450}
71451
71452// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71453func (smcls SalesforceMarketingCloudLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
71454	return nil, false
71455}
71456
71457// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71458func (smcls SalesforceMarketingCloudLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
71459	return nil, false
71460}
71461
71462// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71463func (smcls SalesforceMarketingCloudLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
71464	return nil, false
71465}
71466
71467// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71468func (smcls SalesforceMarketingCloudLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
71469	return nil, false
71470}
71471
71472// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71473func (smcls SalesforceMarketingCloudLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
71474	return nil, false
71475}
71476
71477// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71478func (smcls SalesforceMarketingCloudLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
71479	return nil, false
71480}
71481
71482// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71483func (smcls SalesforceMarketingCloudLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
71484	return nil, false
71485}
71486
71487// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71488func (smcls SalesforceMarketingCloudLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
71489	return nil, false
71490}
71491
71492// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71493func (smcls SalesforceMarketingCloudLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
71494	return nil, false
71495}
71496
71497// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71498func (smcls SalesforceMarketingCloudLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
71499	return nil, false
71500}
71501
71502// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71503func (smcls SalesforceMarketingCloudLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
71504	return nil, false
71505}
71506
71507// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71508func (smcls SalesforceMarketingCloudLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
71509	return nil, false
71510}
71511
71512// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71513func (smcls SalesforceMarketingCloudLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
71514	return nil, false
71515}
71516
71517// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71518func (smcls SalesforceMarketingCloudLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
71519	return nil, false
71520}
71521
71522// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71523func (smcls SalesforceMarketingCloudLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
71524	return nil, false
71525}
71526
71527// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71528func (smcls SalesforceMarketingCloudLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
71529	return nil, false
71530}
71531
71532// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71533func (smcls SalesforceMarketingCloudLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
71534	return nil, false
71535}
71536
71537// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71538func (smcls SalesforceMarketingCloudLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
71539	return nil, false
71540}
71541
71542// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71543func (smcls SalesforceMarketingCloudLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
71544	return nil, false
71545}
71546
71547// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71548func (smcls SalesforceMarketingCloudLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
71549	return nil, false
71550}
71551
71552// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71553func (smcls SalesforceMarketingCloudLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
71554	return nil, false
71555}
71556
71557// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71558func (smcls SalesforceMarketingCloudLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
71559	return nil, false
71560}
71561
71562// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71563func (smcls SalesforceMarketingCloudLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
71564	return nil, false
71565}
71566
71567// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71568func (smcls SalesforceMarketingCloudLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
71569	return nil, false
71570}
71571
71572// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71573func (smcls SalesforceMarketingCloudLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
71574	return nil, false
71575}
71576
71577// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71578func (smcls SalesforceMarketingCloudLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
71579	return nil, false
71580}
71581
71582// AsWebLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71583func (smcls SalesforceMarketingCloudLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
71584	return nil, false
71585}
71586
71587// AsODataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71588func (smcls SalesforceMarketingCloudLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
71589	return nil, false
71590}
71591
71592// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71593func (smcls SalesforceMarketingCloudLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
71594	return nil, false
71595}
71596
71597// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71598func (smcls SalesforceMarketingCloudLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
71599	return nil, false
71600}
71601
71602// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71603func (smcls SalesforceMarketingCloudLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
71604	return nil, false
71605}
71606
71607// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71608func (smcls SalesforceMarketingCloudLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
71609	return nil, false
71610}
71611
71612// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71613func (smcls SalesforceMarketingCloudLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
71614	return nil, false
71615}
71616
71617// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71618func (smcls SalesforceMarketingCloudLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
71619	return nil, false
71620}
71621
71622// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71623func (smcls SalesforceMarketingCloudLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
71624	return nil, false
71625}
71626
71627// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71628func (smcls SalesforceMarketingCloudLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
71629	return nil, false
71630}
71631
71632// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71633func (smcls SalesforceMarketingCloudLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
71634	return nil, false
71635}
71636
71637// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71638func (smcls SalesforceMarketingCloudLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
71639	return nil, false
71640}
71641
71642// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71643func (smcls SalesforceMarketingCloudLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
71644	return nil, false
71645}
71646
71647// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71648func (smcls SalesforceMarketingCloudLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
71649	return nil, false
71650}
71651
71652// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71653func (smcls SalesforceMarketingCloudLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
71654	return nil, false
71655}
71656
71657// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71658func (smcls SalesforceMarketingCloudLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
71659	return nil, false
71660}
71661
71662// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71663func (smcls SalesforceMarketingCloudLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
71664	return nil, false
71665}
71666
71667// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71668func (smcls SalesforceMarketingCloudLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
71669	return nil, false
71670}
71671
71672// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71673func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
71674	return nil, false
71675}
71676
71677// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71678func (smcls SalesforceMarketingCloudLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
71679	return nil, false
71680}
71681
71682// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71683func (smcls SalesforceMarketingCloudLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
71684	return nil, false
71685}
71686
71687// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71688func (smcls SalesforceMarketingCloudLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
71689	return nil, false
71690}
71691
71692// AsLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71693func (smcls SalesforceMarketingCloudLinkedService) AsLinkedService() (*LinkedService, bool) {
71694	return nil, false
71695}
71696
71697// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService.
71698func (smcls SalesforceMarketingCloudLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
71699	return &smcls, true
71700}
71701
71702// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedService struct.
71703func (smcls *SalesforceMarketingCloudLinkedService) UnmarshalJSON(body []byte) error {
71704	var m map[string]*json.RawMessage
71705	err := json.Unmarshal(body, &m)
71706	if err != nil {
71707		return err
71708	}
71709	for k, v := range m {
71710		switch k {
71711		case "typeProperties":
71712			if v != nil {
71713				var salesforceMarketingCloudLinkedServiceTypeProperties SalesforceMarketingCloudLinkedServiceTypeProperties
71714				err = json.Unmarshal(*v, &salesforceMarketingCloudLinkedServiceTypeProperties)
71715				if err != nil {
71716					return err
71717				}
71718				smcls.SalesforceMarketingCloudLinkedServiceTypeProperties = &salesforceMarketingCloudLinkedServiceTypeProperties
71719			}
71720		default:
71721			if v != nil {
71722				var additionalProperties interface{}
71723				err = json.Unmarshal(*v, &additionalProperties)
71724				if err != nil {
71725					return err
71726				}
71727				if smcls.AdditionalProperties == nil {
71728					smcls.AdditionalProperties = make(map[string]interface{})
71729				}
71730				smcls.AdditionalProperties[k] = additionalProperties
71731			}
71732		case "connectVia":
71733			if v != nil {
71734				var connectVia IntegrationRuntimeReference
71735				err = json.Unmarshal(*v, &connectVia)
71736				if err != nil {
71737					return err
71738				}
71739				smcls.ConnectVia = &connectVia
71740			}
71741		case "description":
71742			if v != nil {
71743				var description string
71744				err = json.Unmarshal(*v, &description)
71745				if err != nil {
71746					return err
71747				}
71748				smcls.Description = &description
71749			}
71750		case "parameters":
71751			if v != nil {
71752				var parameters map[string]*ParameterSpecification
71753				err = json.Unmarshal(*v, &parameters)
71754				if err != nil {
71755					return err
71756				}
71757				smcls.Parameters = parameters
71758			}
71759		case "annotations":
71760			if v != nil {
71761				var annotations []interface{}
71762				err = json.Unmarshal(*v, &annotations)
71763				if err != nil {
71764					return err
71765				}
71766				smcls.Annotations = &annotations
71767			}
71768		case "type":
71769			if v != nil {
71770				var typeVar TypeBasicLinkedService
71771				err = json.Unmarshal(*v, &typeVar)
71772				if err != nil {
71773					return err
71774				}
71775				smcls.Type = typeVar
71776			}
71777		}
71778	}
71779
71780	return nil
71781}
71782
71783// SalesforceMarketingCloudLinkedServiceTypeProperties salesforce Marketing Cloud linked service properties.
71784type SalesforceMarketingCloudLinkedServiceTypeProperties struct {
71785	// ClientID - The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
71786	ClientID interface{} `json:"clientId,omitempty"`
71787	// ClientSecret - The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
71788	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
71789	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
71790	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
71791	// UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
71792	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
71793	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
71794	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
71795	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
71796	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
71797}
71798
71799// UnmarshalJSON is the custom unmarshaler for SalesforceMarketingCloudLinkedServiceTypeProperties struct.
71800func (smclstp *SalesforceMarketingCloudLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
71801	var m map[string]*json.RawMessage
71802	err := json.Unmarshal(body, &m)
71803	if err != nil {
71804		return err
71805	}
71806	for k, v := range m {
71807		switch k {
71808		case "clientId":
71809			if v != nil {
71810				var clientID interface{}
71811				err = json.Unmarshal(*v, &clientID)
71812				if err != nil {
71813					return err
71814				}
71815				smclstp.ClientID = clientID
71816			}
71817		case "clientSecret":
71818			if v != nil {
71819				clientSecret, err := unmarshalBasicSecretBase(*v)
71820				if err != nil {
71821					return err
71822				}
71823				smclstp.ClientSecret = clientSecret
71824			}
71825		case "useEncryptedEndpoints":
71826			if v != nil {
71827				var useEncryptedEndpoints interface{}
71828				err = json.Unmarshal(*v, &useEncryptedEndpoints)
71829				if err != nil {
71830					return err
71831				}
71832				smclstp.UseEncryptedEndpoints = useEncryptedEndpoints
71833			}
71834		case "useHostVerification":
71835			if v != nil {
71836				var useHostVerification interface{}
71837				err = json.Unmarshal(*v, &useHostVerification)
71838				if err != nil {
71839					return err
71840				}
71841				smclstp.UseHostVerification = useHostVerification
71842			}
71843		case "usePeerVerification":
71844			if v != nil {
71845				var usePeerVerification interface{}
71846				err = json.Unmarshal(*v, &usePeerVerification)
71847				if err != nil {
71848					return err
71849				}
71850				smclstp.UsePeerVerification = usePeerVerification
71851			}
71852		case "encryptedCredential":
71853			if v != nil {
71854				var encryptedCredential interface{}
71855				err = json.Unmarshal(*v, &encryptedCredential)
71856				if err != nil {
71857					return err
71858				}
71859				smclstp.EncryptedCredential = encryptedCredential
71860			}
71861		}
71862	}
71863
71864	return nil
71865}
71866
71867// SalesforceMarketingCloudObjectDataset salesforce Marketing Cloud dataset.
71868type SalesforceMarketingCloudObjectDataset struct {
71869	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
71870	AdditionalProperties map[string]interface{} `json:""`
71871	// Description - Dataset description.
71872	Description *string `json:"description,omitempty"`
71873	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
71874	Structure interface{} `json:"structure,omitempty"`
71875	// LinkedServiceName - Linked service reference.
71876	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
71877	// Parameters - Parameters for dataset.
71878	Parameters map[string]*ParameterSpecification `json:"parameters"`
71879	// Annotations - List of tags that can be used for describing the Dataset.
71880	Annotations *[]interface{} `json:"annotations,omitempty"`
71881	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
71882	Type TypeBasicDataset `json:"type,omitempty"`
71883}
71884
71885// MarshalJSON is the custom marshaler for SalesforceMarketingCloudObjectDataset.
71886func (smcod SalesforceMarketingCloudObjectDataset) MarshalJSON() ([]byte, error) {
71887	smcod.Type = TypeSalesforceMarketingCloudObject
71888	objectMap := make(map[string]interface{})
71889	if smcod.Description != nil {
71890		objectMap["description"] = smcod.Description
71891	}
71892	objectMap["structure"] = smcod.Structure
71893	if smcod.LinkedServiceName != nil {
71894		objectMap["linkedServiceName"] = smcod.LinkedServiceName
71895	}
71896	if smcod.Parameters != nil {
71897		objectMap["parameters"] = smcod.Parameters
71898	}
71899	if smcod.Annotations != nil {
71900		objectMap["annotations"] = smcod.Annotations
71901	}
71902	if smcod.Type != "" {
71903		objectMap["type"] = smcod.Type
71904	}
71905	for k, v := range smcod.AdditionalProperties {
71906		objectMap[k] = v
71907	}
71908	return json.Marshal(objectMap)
71909}
71910
71911// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71912func (smcod SalesforceMarketingCloudObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
71913	return nil, false
71914}
71915
71916// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71917func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
71918	return &smcod, true
71919}
71920
71921// AsVerticaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71922func (smcod SalesforceMarketingCloudObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
71923	return nil, false
71924}
71925
71926// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71927func (smcod SalesforceMarketingCloudObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
71928	return nil, false
71929}
71930
71931// AsZohoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71932func (smcod SalesforceMarketingCloudObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
71933	return nil, false
71934}
71935
71936// AsXeroObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71937func (smcod SalesforceMarketingCloudObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
71938	return nil, false
71939}
71940
71941// AsSquareObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71942func (smcod SalesforceMarketingCloudObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
71943	return nil, false
71944}
71945
71946// AsSparkObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71947func (smcod SalesforceMarketingCloudObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
71948	return nil, false
71949}
71950
71951// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71952func (smcod SalesforceMarketingCloudObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
71953	return nil, false
71954}
71955
71956// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71957func (smcod SalesforceMarketingCloudObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
71958	return nil, false
71959}
71960
71961// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71962func (smcod SalesforceMarketingCloudObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
71963	return nil, false
71964}
71965
71966// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71967func (smcod SalesforceMarketingCloudObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
71968	return nil, false
71969}
71970
71971// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71972func (smcod SalesforceMarketingCloudObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
71973	return nil, false
71974}
71975
71976// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71977func (smcod SalesforceMarketingCloudObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
71978	return nil, false
71979}
71980
71981// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71982func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
71983	return nil, false
71984}
71985
71986// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71987func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
71988	return nil, false
71989}
71990
71991// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71992func (smcod SalesforceMarketingCloudObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
71993	return nil, false
71994}
71995
71996// AsJiraObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
71997func (smcod SalesforceMarketingCloudObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
71998	return nil, false
71999}
72000
72001// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72002func (smcod SalesforceMarketingCloudObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
72003	return nil, false
72004}
72005
72006// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72007func (smcod SalesforceMarketingCloudObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
72008	return nil, false
72009}
72010
72011// AsHiveObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72012func (smcod SalesforceMarketingCloudObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
72013	return nil, false
72014}
72015
72016// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72017func (smcod SalesforceMarketingCloudObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
72018	return nil, false
72019}
72020
72021// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72022func (smcod SalesforceMarketingCloudObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
72023	return nil, false
72024}
72025
72026// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72027func (smcod SalesforceMarketingCloudObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
72028	return nil, false
72029}
72030
72031// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72032func (smcod SalesforceMarketingCloudObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
72033	return nil, false
72034}
72035
72036// AsDrillTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72037func (smcod SalesforceMarketingCloudObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
72038	return nil, false
72039}
72040
72041// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72042func (smcod SalesforceMarketingCloudObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
72043	return nil, false
72044}
72045
72046// AsConcurObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72047func (smcod SalesforceMarketingCloudObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
72048	return nil, false
72049}
72050
72051// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72052func (smcod SalesforceMarketingCloudObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
72053	return nil, false
72054}
72055
72056// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72057func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
72058	return nil, false
72059}
72060
72061// AsHTTPDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72062func (smcod SalesforceMarketingCloudObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
72063	return nil, false
72064}
72065
72066// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72067func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
72068	return nil, false
72069}
72070
72071// AsWebTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72072func (smcod SalesforceMarketingCloudObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
72073	return nil, false
72074}
72075
72076// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72077func (smcod SalesforceMarketingCloudObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
72078	return nil, false
72079}
72080
72081// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72082func (smcod SalesforceMarketingCloudObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
72083	return nil, false
72084}
72085
72086// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72087func (smcod SalesforceMarketingCloudObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
72088	return nil, false
72089}
72090
72091// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72092func (smcod SalesforceMarketingCloudObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
72093	return nil, false
72094}
72095
72096// AsRelationalTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72097func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
72098	return nil, false
72099}
72100
72101// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72102func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
72103	return nil, false
72104}
72105
72106// AsOracleTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72107func (smcod SalesforceMarketingCloudObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
72108	return nil, false
72109}
72110
72111// AsODataResourceDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72112func (smcod SalesforceMarketingCloudObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
72113	return nil, false
72114}
72115
72116// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72117func (smcod SalesforceMarketingCloudObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
72118	return nil, false
72119}
72120
72121// AsFileShareDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72122func (smcod SalesforceMarketingCloudObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
72123	return nil, false
72124}
72125
72126// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72127func (smcod SalesforceMarketingCloudObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
72128	return nil, false
72129}
72130
72131// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72132func (smcod SalesforceMarketingCloudObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
72133	return nil, false
72134}
72135
72136// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72137func (smcod SalesforceMarketingCloudObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
72138	return nil, false
72139}
72140
72141// AsCustomDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72142func (smcod SalesforceMarketingCloudObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
72143	return nil, false
72144}
72145
72146// AsCassandraTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72147func (smcod SalesforceMarketingCloudObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
72148	return nil, false
72149}
72150
72151// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72152func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
72153	return nil, false
72154}
72155
72156// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72157func (smcod SalesforceMarketingCloudObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
72158	return nil, false
72159}
72160
72161// AsAzureTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72162func (smcod SalesforceMarketingCloudObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
72163	return nil, false
72164}
72165
72166// AsAzureBlobDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72167func (smcod SalesforceMarketingCloudObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
72168	return nil, false
72169}
72170
72171// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72172func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
72173	return nil, false
72174}
72175
72176// AsDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72177func (smcod SalesforceMarketingCloudObjectDataset) AsDataset() (*Dataset, bool) {
72178	return nil, false
72179}
72180
72181// AsBasicDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset.
72182func (smcod SalesforceMarketingCloudObjectDataset) AsBasicDataset() (BasicDataset, bool) {
72183	return &smcod, true
72184}
72185
72186// SalesforceMarketingCloudSource a copy activity Salesforce Marketing Cloud source.
72187type SalesforceMarketingCloudSource struct {
72188	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
72189	Query interface{} `json:"query,omitempty"`
72190	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
72191	AdditionalProperties map[string]interface{} `json:""`
72192	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
72193	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
72194	// 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])).
72195	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
72196	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
72197	Type TypeBasicCopySource `json:"type,omitempty"`
72198}
72199
72200// MarshalJSON is the custom marshaler for SalesforceMarketingCloudSource.
72201func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) {
72202	smcs.Type = TypeSalesforceMarketingCloudSource
72203	objectMap := make(map[string]interface{})
72204	objectMap["query"] = smcs.Query
72205	objectMap["sourceRetryCount"] = smcs.SourceRetryCount
72206	objectMap["sourceRetryWait"] = smcs.SourceRetryWait
72207	if smcs.Type != "" {
72208		objectMap["type"] = smcs.Type
72209	}
72210	for k, v := range smcs.AdditionalProperties {
72211		objectMap[k] = v
72212	}
72213	return json.Marshal(objectMap)
72214}
72215
72216// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72217func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
72218	return nil, false
72219}
72220
72221// AsResponsysSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72222func (smcs SalesforceMarketingCloudSource) AsResponsysSource() (*ResponsysSource, bool) {
72223	return nil, false
72224}
72225
72226// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72227func (smcs SalesforceMarketingCloudSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
72228	return &smcs, true
72229}
72230
72231// AsVerticaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72232func (smcs SalesforceMarketingCloudSource) AsVerticaSource() (*VerticaSource, bool) {
72233	return nil, false
72234}
72235
72236// AsNetezzaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72237func (smcs SalesforceMarketingCloudSource) AsNetezzaSource() (*NetezzaSource, bool) {
72238	return nil, false
72239}
72240
72241// AsZohoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72242func (smcs SalesforceMarketingCloudSource) AsZohoSource() (*ZohoSource, bool) {
72243	return nil, false
72244}
72245
72246// AsXeroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72247func (smcs SalesforceMarketingCloudSource) AsXeroSource() (*XeroSource, bool) {
72248	return nil, false
72249}
72250
72251// AsSquareSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72252func (smcs SalesforceMarketingCloudSource) AsSquareSource() (*SquareSource, bool) {
72253	return nil, false
72254}
72255
72256// AsSparkSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72257func (smcs SalesforceMarketingCloudSource) AsSparkSource() (*SparkSource, bool) {
72258	return nil, false
72259}
72260
72261// AsShopifySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72262func (smcs SalesforceMarketingCloudSource) AsShopifySource() (*ShopifySource, bool) {
72263	return nil, false
72264}
72265
72266// AsServiceNowSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72267func (smcs SalesforceMarketingCloudSource) AsServiceNowSource() (*ServiceNowSource, bool) {
72268	return nil, false
72269}
72270
72271// AsQuickBooksSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72272func (smcs SalesforceMarketingCloudSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
72273	return nil, false
72274}
72275
72276// AsPrestoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72277func (smcs SalesforceMarketingCloudSource) AsPrestoSource() (*PrestoSource, bool) {
72278	return nil, false
72279}
72280
72281// AsPhoenixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72282func (smcs SalesforceMarketingCloudSource) AsPhoenixSource() (*PhoenixSource, bool) {
72283	return nil, false
72284}
72285
72286// AsPaypalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72287func (smcs SalesforceMarketingCloudSource) AsPaypalSource() (*PaypalSource, bool) {
72288	return nil, false
72289}
72290
72291// AsMarketoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72292func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bool) {
72293	return nil, false
72294}
72295
72296// AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72297func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) {
72298	return nil, false
72299}
72300
72301// AsMagentoSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72302func (smcs SalesforceMarketingCloudSource) AsMagentoSource() (*MagentoSource, bool) {
72303	return nil, false
72304}
72305
72306// AsJiraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72307func (smcs SalesforceMarketingCloudSource) AsJiraSource() (*JiraSource, bool) {
72308	return nil, false
72309}
72310
72311// AsImpalaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72312func (smcs SalesforceMarketingCloudSource) AsImpalaSource() (*ImpalaSource, bool) {
72313	return nil, false
72314}
72315
72316// AsHubspotSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72317func (smcs SalesforceMarketingCloudSource) AsHubspotSource() (*HubspotSource, bool) {
72318	return nil, false
72319}
72320
72321// AsHiveSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72322func (smcs SalesforceMarketingCloudSource) AsHiveSource() (*HiveSource, bool) {
72323	return nil, false
72324}
72325
72326// AsHBaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72327func (smcs SalesforceMarketingCloudSource) AsHBaseSource() (*HBaseSource, bool) {
72328	return nil, false
72329}
72330
72331// AsGreenplumSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72332func (smcs SalesforceMarketingCloudSource) AsGreenplumSource() (*GreenplumSource, bool) {
72333	return nil, false
72334}
72335
72336// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72337func (smcs SalesforceMarketingCloudSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
72338	return nil, false
72339}
72340
72341// AsEloquaSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72342func (smcs SalesforceMarketingCloudSource) AsEloquaSource() (*EloquaSource, bool) {
72343	return nil, false
72344}
72345
72346// AsDrillSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72347func (smcs SalesforceMarketingCloudSource) AsDrillSource() (*DrillSource, bool) {
72348	return nil, false
72349}
72350
72351// AsCouchbaseSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72352func (smcs SalesforceMarketingCloudSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
72353	return nil, false
72354}
72355
72356// AsConcurSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72357func (smcs SalesforceMarketingCloudSource) AsConcurSource() (*ConcurSource, bool) {
72358	return nil, false
72359}
72360
72361// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72362func (smcs SalesforceMarketingCloudSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
72363	return nil, false
72364}
72365
72366// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72367func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
72368	return nil, false
72369}
72370
72371// AsHTTPSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72372func (smcs SalesforceMarketingCloudSource) AsHTTPSource() (*HTTPSource, bool) {
72373	return nil, false
72374}
72375
72376// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72377func (smcs SalesforceMarketingCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
72378	return nil, false
72379}
72380
72381// AsMongoDbSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72382func (smcs SalesforceMarketingCloudSource) AsMongoDbSource() (*MongoDbSource, bool) {
72383	return nil, false
72384}
72385
72386// AsCassandraSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72387func (smcs SalesforceMarketingCloudSource) AsCassandraSource() (*CassandraSource, bool) {
72388	return nil, false
72389}
72390
72391// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72392func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) {
72393	return nil, false
72394}
72395
72396// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72397func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) {
72398	return nil, false
72399}
72400
72401// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72402func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
72403	return nil, false
72404}
72405
72406// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72407func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) {
72408	return nil, false
72409}
72410
72411// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72412func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) {
72413	return nil, false
72414}
72415
72416// AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72417func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) {
72418	return nil, false
72419}
72420
72421// AsSQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72422func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) {
72423	return nil, false
72424}
72425
72426// AsSapEccSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72427func (smcs SalesforceMarketingCloudSource) AsSapEccSource() (*SapEccSource, bool) {
72428	return nil, false
72429}
72430
72431// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72432func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
72433	return nil, false
72434}
72435
72436// AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72437func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) {
72438	return nil, false
72439}
72440
72441// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72442func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) {
72443	return nil, false
72444}
72445
72446// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72447func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) {
72448	return nil, false
72449}
72450
72451// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72452func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
72453	return nil, false
72454}
72455
72456// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72457func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) {
72458	return nil, false
72459}
72460
72461// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72462func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) {
72463	return nil, false
72464}
72465
72466// AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72467func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) {
72468	return nil, false
72469}
72470
72471// AsBasicCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource.
72472func (smcs SalesforceMarketingCloudSource) AsBasicCopySource() (BasicCopySource, bool) {
72473	return &smcs, true
72474}
72475
72476// SalesforceObjectDataset the Salesforce object dataset.
72477type SalesforceObjectDataset struct {
72478	// SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties.
72479	*SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"`
72480	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
72481	AdditionalProperties map[string]interface{} `json:""`
72482	// Description - Dataset description.
72483	Description *string `json:"description,omitempty"`
72484	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
72485	Structure interface{} `json:"structure,omitempty"`
72486	// LinkedServiceName - Linked service reference.
72487	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
72488	// Parameters - Parameters for dataset.
72489	Parameters map[string]*ParameterSpecification `json:"parameters"`
72490	// Annotations - List of tags that can be used for describing the Dataset.
72491	Annotations *[]interface{} `json:"annotations,omitempty"`
72492	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
72493	Type TypeBasicDataset `json:"type,omitempty"`
72494}
72495
72496// MarshalJSON is the custom marshaler for SalesforceObjectDataset.
72497func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) {
72498	sod.Type = TypeSalesforceObject
72499	objectMap := make(map[string]interface{})
72500	if sod.SalesforceObjectDatasetTypeProperties != nil {
72501		objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties
72502	}
72503	if sod.Description != nil {
72504		objectMap["description"] = sod.Description
72505	}
72506	objectMap["structure"] = sod.Structure
72507	if sod.LinkedServiceName != nil {
72508		objectMap["linkedServiceName"] = sod.LinkedServiceName
72509	}
72510	if sod.Parameters != nil {
72511		objectMap["parameters"] = sod.Parameters
72512	}
72513	if sod.Annotations != nil {
72514		objectMap["annotations"] = sod.Annotations
72515	}
72516	if sod.Type != "" {
72517		objectMap["type"] = sod.Type
72518	}
72519	for k, v := range sod.AdditionalProperties {
72520		objectMap[k] = v
72521	}
72522	return json.Marshal(objectMap)
72523}
72524
72525// AsResponsysObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72526func (sod SalesforceObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
72527	return nil, false
72528}
72529
72530// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72531func (sod SalesforceObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
72532	return nil, false
72533}
72534
72535// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72536func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
72537	return nil, false
72538}
72539
72540// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72541func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
72542	return nil, false
72543}
72544
72545// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72546func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
72547	return nil, false
72548}
72549
72550// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72551func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
72552	return nil, false
72553}
72554
72555// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72556func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
72557	return nil, false
72558}
72559
72560// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72561func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
72562	return nil, false
72563}
72564
72565// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72566func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
72567	return nil, false
72568}
72569
72570// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72571func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
72572	return nil, false
72573}
72574
72575// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72576func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
72577	return nil, false
72578}
72579
72580// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72581func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
72582	return nil, false
72583}
72584
72585// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72586func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
72587	return nil, false
72588}
72589
72590// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72591func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
72592	return nil, false
72593}
72594
72595// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72596func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
72597	return nil, false
72598}
72599
72600// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72601func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
72602	return nil, false
72603}
72604
72605// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72606func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
72607	return nil, false
72608}
72609
72610// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72611func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
72612	return nil, false
72613}
72614
72615// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72616func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
72617	return nil, false
72618}
72619
72620// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72621func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
72622	return nil, false
72623}
72624
72625// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72626func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
72627	return nil, false
72628}
72629
72630// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72631func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
72632	return nil, false
72633}
72634
72635// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72636func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
72637	return nil, false
72638}
72639
72640// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72641func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
72642	return nil, false
72643}
72644
72645// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72646func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
72647	return nil, false
72648}
72649
72650// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72651func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
72652	return nil, false
72653}
72654
72655// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72656func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
72657	return nil, false
72658}
72659
72660// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72661func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
72662	return nil, false
72663}
72664
72665// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72666func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
72667	return nil, false
72668}
72669
72670// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72671func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
72672	return nil, false
72673}
72674
72675// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset.
72676func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
72677	return nil, false
72678}
72679
72680// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset.
72681func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
72682	return nil, false
72683}
72684
72685// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72686func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
72687	return nil, false
72688}
72689
72690// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72691func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
72692	return nil, false
72693}
72694
72695// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
72696func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
72697	return nil, false
72698}
72699
72700// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
72701func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
72702	return nil, false
72703}
72704
72705// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset.
72706func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
72707	return &sod, true
72708}
72709
72710// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72711func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
72712	return nil, false
72713}
72714
72715// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72716func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
72717	return nil, false
72718}
72719
72720// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72721func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
72722	return nil, false
72723}
72724
72725// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset.
72726func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
72727	return nil, false
72728}
72729
72730// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
72731func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
72732	return nil, false
72733}
72734
72735// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset.
72736func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
72737	return nil, false
72738}
72739
72740// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset.
72741func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
72742	return nil, false
72743}
72744
72745// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset.
72746func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
72747	return nil, false
72748}
72749
72750// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset.
72751func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
72752	return nil, false
72753}
72754
72755// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset.
72756func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
72757	return nil, false
72758}
72759
72760// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72761func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
72762	return nil, false
72763}
72764
72765// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72766func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
72767	return nil, false
72768}
72769
72770// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72771func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
72772	return nil, false
72773}
72774
72775// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset.
72776func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
72777	return nil, false
72778}
72779
72780// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset.
72781func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
72782	return nil, false
72783}
72784
72785// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset.
72786func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
72787	return nil, false
72788}
72789
72790// AsDataset is the BasicDataset implementation for SalesforceObjectDataset.
72791func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) {
72792	return nil, false
72793}
72794
72795// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset.
72796func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) {
72797	return &sod, true
72798}
72799
72800// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct.
72801func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error {
72802	var m map[string]*json.RawMessage
72803	err := json.Unmarshal(body, &m)
72804	if err != nil {
72805		return err
72806	}
72807	for k, v := range m {
72808		switch k {
72809		case "typeProperties":
72810			if v != nil {
72811				var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties
72812				err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties)
72813				if err != nil {
72814					return err
72815				}
72816				sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties
72817			}
72818		default:
72819			if v != nil {
72820				var additionalProperties interface{}
72821				err = json.Unmarshal(*v, &additionalProperties)
72822				if err != nil {
72823					return err
72824				}
72825				if sod.AdditionalProperties == nil {
72826					sod.AdditionalProperties = make(map[string]interface{})
72827				}
72828				sod.AdditionalProperties[k] = additionalProperties
72829			}
72830		case "description":
72831			if v != nil {
72832				var description string
72833				err = json.Unmarshal(*v, &description)
72834				if err != nil {
72835					return err
72836				}
72837				sod.Description = &description
72838			}
72839		case "structure":
72840			if v != nil {
72841				var structure interface{}
72842				err = json.Unmarshal(*v, &structure)
72843				if err != nil {
72844					return err
72845				}
72846				sod.Structure = structure
72847			}
72848		case "linkedServiceName":
72849			if v != nil {
72850				var linkedServiceName LinkedServiceReference
72851				err = json.Unmarshal(*v, &linkedServiceName)
72852				if err != nil {
72853					return err
72854				}
72855				sod.LinkedServiceName = &linkedServiceName
72856			}
72857		case "parameters":
72858			if v != nil {
72859				var parameters map[string]*ParameterSpecification
72860				err = json.Unmarshal(*v, &parameters)
72861				if err != nil {
72862					return err
72863				}
72864				sod.Parameters = parameters
72865			}
72866		case "annotations":
72867			if v != nil {
72868				var annotations []interface{}
72869				err = json.Unmarshal(*v, &annotations)
72870				if err != nil {
72871					return err
72872				}
72873				sod.Annotations = &annotations
72874			}
72875		case "type":
72876			if v != nil {
72877				var typeVar TypeBasicDataset
72878				err = json.Unmarshal(*v, &typeVar)
72879				if err != nil {
72880					return err
72881				}
72882				sod.Type = typeVar
72883			}
72884		}
72885	}
72886
72887	return nil
72888}
72889
72890// SalesforceObjectDatasetTypeProperties salesforce object dataset properties.
72891type SalesforceObjectDatasetTypeProperties struct {
72892	// ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string).
72893	ObjectAPIName interface{} `json:"objectApiName,omitempty"`
72894}
72895
72896// SalesforceSink a copy activity Salesforce sink.
72897type SalesforceSink struct {
72898	// WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'
72899	WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"`
72900	// ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string).
72901	ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"`
72902	// IgnoreNullValues - The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean).
72903	IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"`
72904	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
72905	AdditionalProperties map[string]interface{} `json:""`
72906	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
72907	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
72908	// 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])).
72909	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
72910	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
72911	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
72912	// 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])).
72913	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
72914	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
72915	Type TypeBasicCopySink `json:"type,omitempty"`
72916}
72917
72918// MarshalJSON is the custom marshaler for SalesforceSink.
72919func (ss SalesforceSink) MarshalJSON() ([]byte, error) {
72920	ss.Type = TypeSalesforceSink
72921	objectMap := make(map[string]interface{})
72922	if ss.WriteBehavior != "" {
72923		objectMap["writeBehavior"] = ss.WriteBehavior
72924	}
72925	objectMap["externalIdFieldName"] = ss.ExternalIDFieldName
72926	objectMap["ignoreNullValues"] = ss.IgnoreNullValues
72927	objectMap["writeBatchSize"] = ss.WriteBatchSize
72928	objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout
72929	objectMap["sinkRetryCount"] = ss.SinkRetryCount
72930	objectMap["sinkRetryWait"] = ss.SinkRetryWait
72931	if ss.Type != "" {
72932		objectMap["type"] = ss.Type
72933	}
72934	for k, v := range ss.AdditionalProperties {
72935		objectMap[k] = v
72936	}
72937	return json.Marshal(objectMap)
72938}
72939
72940// AsSalesforceSink is the BasicCopySink implementation for SalesforceSink.
72941func (ss SalesforceSink) AsSalesforceSink() (*SalesforceSink, bool) {
72942	return &ss, true
72943}
72944
72945// AsDynamicsSink is the BasicCopySink implementation for SalesforceSink.
72946func (ss SalesforceSink) AsDynamicsSink() (*DynamicsSink, bool) {
72947	return nil, false
72948}
72949
72950// AsOdbcSink is the BasicCopySink implementation for SalesforceSink.
72951func (ss SalesforceSink) AsOdbcSink() (*OdbcSink, bool) {
72952	return nil, false
72953}
72954
72955// AsAzureSearchIndexSink is the BasicCopySink implementation for SalesforceSink.
72956func (ss SalesforceSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
72957	return nil, false
72958}
72959
72960// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SalesforceSink.
72961func (ss SalesforceSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
72962	return nil, false
72963}
72964
72965// AsOracleSink is the BasicCopySink implementation for SalesforceSink.
72966func (ss SalesforceSink) AsOracleSink() (*OracleSink, bool) {
72967	return nil, false
72968}
72969
72970// AsSQLDWSink is the BasicCopySink implementation for SalesforceSink.
72971func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) {
72972	return nil, false
72973}
72974
72975// AsSQLSink is the BasicCopySink implementation for SalesforceSink.
72976func (ss SalesforceSink) AsSQLSink() (*SQLSink, bool) {
72977	return nil, false
72978}
72979
72980// AsDocumentDbCollectionSink is the BasicCopySink implementation for SalesforceSink.
72981func (ss SalesforceSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
72982	return nil, false
72983}
72984
72985// AsFileSystemSink is the BasicCopySink implementation for SalesforceSink.
72986func (ss SalesforceSink) AsFileSystemSink() (*FileSystemSink, bool) {
72987	return nil, false
72988}
72989
72990// AsBlobSink is the BasicCopySink implementation for SalesforceSink.
72991func (ss SalesforceSink) AsBlobSink() (*BlobSink, bool) {
72992	return nil, false
72993}
72994
72995// AsAzureTableSink is the BasicCopySink implementation for SalesforceSink.
72996func (ss SalesforceSink) AsAzureTableSink() (*AzureTableSink, bool) {
72997	return nil, false
72998}
72999
73000// AsAzureQueueSink is the BasicCopySink implementation for SalesforceSink.
73001func (ss SalesforceSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
73002	return nil, false
73003}
73004
73005// AsSapCloudForCustomerSink is the BasicCopySink implementation for SalesforceSink.
73006func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
73007	return nil, false
73008}
73009
73010// AsCopySink is the BasicCopySink implementation for SalesforceSink.
73011func (ss SalesforceSink) AsCopySink() (*CopySink, bool) {
73012	return nil, false
73013}
73014
73015// AsBasicCopySink is the BasicCopySink implementation for SalesforceSink.
73016func (ss SalesforceSink) AsBasicCopySink() (BasicCopySink, bool) {
73017	return &ss, true
73018}
73019
73020// SalesforceSource a copy activity Salesforce source.
73021type SalesforceSource struct {
73022	// Query - Database query. Type: string (or Expression with resultType string).
73023	Query interface{} `json:"query,omitempty"`
73024	// ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'
73025	ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"`
73026	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
73027	AdditionalProperties map[string]interface{} `json:""`
73028	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
73029	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
73030	// 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])).
73031	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
73032	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
73033	Type TypeBasicCopySource `json:"type,omitempty"`
73034}
73035
73036// MarshalJSON is the custom marshaler for SalesforceSource.
73037func (ss SalesforceSource) MarshalJSON() ([]byte, error) {
73038	ss.Type = TypeSalesforceSource
73039	objectMap := make(map[string]interface{})
73040	objectMap["query"] = ss.Query
73041	if ss.ReadBehavior != "" {
73042		objectMap["readBehavior"] = ss.ReadBehavior
73043	}
73044	objectMap["sourceRetryCount"] = ss.SourceRetryCount
73045	objectMap["sourceRetryWait"] = ss.SourceRetryWait
73046	if ss.Type != "" {
73047		objectMap["type"] = ss.Type
73048	}
73049	for k, v := range ss.AdditionalProperties {
73050		objectMap[k] = v
73051	}
73052	return json.Marshal(objectMap)
73053}
73054
73055// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceSource.
73056func (ss SalesforceSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
73057	return nil, false
73058}
73059
73060// AsResponsysSource is the BasicCopySource implementation for SalesforceSource.
73061func (ss SalesforceSource) AsResponsysSource() (*ResponsysSource, bool) {
73062	return nil, false
73063}
73064
73065// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SalesforceSource.
73066func (ss SalesforceSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
73067	return nil, false
73068}
73069
73070// AsVerticaSource is the BasicCopySource implementation for SalesforceSource.
73071func (ss SalesforceSource) AsVerticaSource() (*VerticaSource, bool) {
73072	return nil, false
73073}
73074
73075// AsNetezzaSource is the BasicCopySource implementation for SalesforceSource.
73076func (ss SalesforceSource) AsNetezzaSource() (*NetezzaSource, bool) {
73077	return nil, false
73078}
73079
73080// AsZohoSource is the BasicCopySource implementation for SalesforceSource.
73081func (ss SalesforceSource) AsZohoSource() (*ZohoSource, bool) {
73082	return nil, false
73083}
73084
73085// AsXeroSource is the BasicCopySource implementation for SalesforceSource.
73086func (ss SalesforceSource) AsXeroSource() (*XeroSource, bool) {
73087	return nil, false
73088}
73089
73090// AsSquareSource is the BasicCopySource implementation for SalesforceSource.
73091func (ss SalesforceSource) AsSquareSource() (*SquareSource, bool) {
73092	return nil, false
73093}
73094
73095// AsSparkSource is the BasicCopySource implementation for SalesforceSource.
73096func (ss SalesforceSource) AsSparkSource() (*SparkSource, bool) {
73097	return nil, false
73098}
73099
73100// AsShopifySource is the BasicCopySource implementation for SalesforceSource.
73101func (ss SalesforceSource) AsShopifySource() (*ShopifySource, bool) {
73102	return nil, false
73103}
73104
73105// AsServiceNowSource is the BasicCopySource implementation for SalesforceSource.
73106func (ss SalesforceSource) AsServiceNowSource() (*ServiceNowSource, bool) {
73107	return nil, false
73108}
73109
73110// AsQuickBooksSource is the BasicCopySource implementation for SalesforceSource.
73111func (ss SalesforceSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
73112	return nil, false
73113}
73114
73115// AsPrestoSource is the BasicCopySource implementation for SalesforceSource.
73116func (ss SalesforceSource) AsPrestoSource() (*PrestoSource, bool) {
73117	return nil, false
73118}
73119
73120// AsPhoenixSource is the BasicCopySource implementation for SalesforceSource.
73121func (ss SalesforceSource) AsPhoenixSource() (*PhoenixSource, bool) {
73122	return nil, false
73123}
73124
73125// AsPaypalSource is the BasicCopySource implementation for SalesforceSource.
73126func (ss SalesforceSource) AsPaypalSource() (*PaypalSource, bool) {
73127	return nil, false
73128}
73129
73130// AsMarketoSource is the BasicCopySource implementation for SalesforceSource.
73131func (ss SalesforceSource) AsMarketoSource() (*MarketoSource, bool) {
73132	return nil, false
73133}
73134
73135// AsMariaDBSource is the BasicCopySource implementation for SalesforceSource.
73136func (ss SalesforceSource) AsMariaDBSource() (*MariaDBSource, bool) {
73137	return nil, false
73138}
73139
73140// AsMagentoSource is the BasicCopySource implementation for SalesforceSource.
73141func (ss SalesforceSource) AsMagentoSource() (*MagentoSource, bool) {
73142	return nil, false
73143}
73144
73145// AsJiraSource is the BasicCopySource implementation for SalesforceSource.
73146func (ss SalesforceSource) AsJiraSource() (*JiraSource, bool) {
73147	return nil, false
73148}
73149
73150// AsImpalaSource is the BasicCopySource implementation for SalesforceSource.
73151func (ss SalesforceSource) AsImpalaSource() (*ImpalaSource, bool) {
73152	return nil, false
73153}
73154
73155// AsHubspotSource is the BasicCopySource implementation for SalesforceSource.
73156func (ss SalesforceSource) AsHubspotSource() (*HubspotSource, bool) {
73157	return nil, false
73158}
73159
73160// AsHiveSource is the BasicCopySource implementation for SalesforceSource.
73161func (ss SalesforceSource) AsHiveSource() (*HiveSource, bool) {
73162	return nil, false
73163}
73164
73165// AsHBaseSource is the BasicCopySource implementation for SalesforceSource.
73166func (ss SalesforceSource) AsHBaseSource() (*HBaseSource, bool) {
73167	return nil, false
73168}
73169
73170// AsGreenplumSource is the BasicCopySource implementation for SalesforceSource.
73171func (ss SalesforceSource) AsGreenplumSource() (*GreenplumSource, bool) {
73172	return nil, false
73173}
73174
73175// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceSource.
73176func (ss SalesforceSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
73177	return nil, false
73178}
73179
73180// AsEloquaSource is the BasicCopySource implementation for SalesforceSource.
73181func (ss SalesforceSource) AsEloquaSource() (*EloquaSource, bool) {
73182	return nil, false
73183}
73184
73185// AsDrillSource is the BasicCopySource implementation for SalesforceSource.
73186func (ss SalesforceSource) AsDrillSource() (*DrillSource, bool) {
73187	return nil, false
73188}
73189
73190// AsCouchbaseSource is the BasicCopySource implementation for SalesforceSource.
73191func (ss SalesforceSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
73192	return nil, false
73193}
73194
73195// AsConcurSource is the BasicCopySource implementation for SalesforceSource.
73196func (ss SalesforceSource) AsConcurSource() (*ConcurSource, bool) {
73197	return nil, false
73198}
73199
73200// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceSource.
73201func (ss SalesforceSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
73202	return nil, false
73203}
73204
73205// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceSource.
73206func (ss SalesforceSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
73207	return nil, false
73208}
73209
73210// AsHTTPSource is the BasicCopySource implementation for SalesforceSource.
73211func (ss SalesforceSource) AsHTTPSource() (*HTTPSource, bool) {
73212	return nil, false
73213}
73214
73215// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceSource.
73216func (ss SalesforceSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
73217	return nil, false
73218}
73219
73220// AsMongoDbSource is the BasicCopySource implementation for SalesforceSource.
73221func (ss SalesforceSource) AsMongoDbSource() (*MongoDbSource, bool) {
73222	return nil, false
73223}
73224
73225// AsCassandraSource is the BasicCopySource implementation for SalesforceSource.
73226func (ss SalesforceSource) AsCassandraSource() (*CassandraSource, bool) {
73227	return nil, false
73228}
73229
73230// AsWebSource is the BasicCopySource implementation for SalesforceSource.
73231func (ss SalesforceSource) AsWebSource() (*WebSource, bool) {
73232	return nil, false
73233}
73234
73235// AsOracleSource is the BasicCopySource implementation for SalesforceSource.
73236func (ss SalesforceSource) AsOracleSource() (*OracleSource, bool) {
73237	return nil, false
73238}
73239
73240// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceSource.
73241func (ss SalesforceSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
73242	return nil, false
73243}
73244
73245// AsHdfsSource is the BasicCopySource implementation for SalesforceSource.
73246func (ss SalesforceSource) AsHdfsSource() (*HdfsSource, bool) {
73247	return nil, false
73248}
73249
73250// AsFileSystemSource is the BasicCopySource implementation for SalesforceSource.
73251func (ss SalesforceSource) AsFileSystemSource() (*FileSystemSource, bool) {
73252	return nil, false
73253}
73254
73255// AsSQLDWSource is the BasicCopySource implementation for SalesforceSource.
73256func (ss SalesforceSource) AsSQLDWSource() (*SQLDWSource, bool) {
73257	return nil, false
73258}
73259
73260// AsSQLSource is the BasicCopySource implementation for SalesforceSource.
73261func (ss SalesforceSource) AsSQLSource() (*SQLSource, bool) {
73262	return nil, false
73263}
73264
73265// AsSapEccSource is the BasicCopySource implementation for SalesforceSource.
73266func (ss SalesforceSource) AsSapEccSource() (*SapEccSource, bool) {
73267	return nil, false
73268}
73269
73270// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceSource.
73271func (ss SalesforceSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
73272	return nil, false
73273}
73274
73275// AsSalesforceSource is the BasicCopySource implementation for SalesforceSource.
73276func (ss SalesforceSource) AsSalesforceSource() (*SalesforceSource, bool) {
73277	return &ss, true
73278}
73279
73280// AsRelationalSource is the BasicCopySource implementation for SalesforceSource.
73281func (ss SalesforceSource) AsRelationalSource() (*RelationalSource, bool) {
73282	return nil, false
73283}
73284
73285// AsDynamicsSource is the BasicCopySource implementation for SalesforceSource.
73286func (ss SalesforceSource) AsDynamicsSource() (*DynamicsSource, bool) {
73287	return nil, false
73288}
73289
73290// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceSource.
73291func (ss SalesforceSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
73292	return nil, false
73293}
73294
73295// AsBlobSource is the BasicCopySource implementation for SalesforceSource.
73296func (ss SalesforceSource) AsBlobSource() (*BlobSource, bool) {
73297	return nil, false
73298}
73299
73300// AsAzureTableSource is the BasicCopySource implementation for SalesforceSource.
73301func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) {
73302	return nil, false
73303}
73304
73305// AsCopySource is the BasicCopySource implementation for SalesforceSource.
73306func (ss SalesforceSource) AsCopySource() (*CopySource, bool) {
73307	return nil, false
73308}
73309
73310// AsBasicCopySource is the BasicCopySource implementation for SalesforceSource.
73311func (ss SalesforceSource) AsBasicCopySource() (BasicCopySource, bool) {
73312	return &ss, true
73313}
73314
73315// SapBWLinkedService SAP Business Warehouse Linked Service.
73316type SapBWLinkedService struct {
73317	// SapBWLinkedServiceTypeProperties - Properties specific to this linked service type.
73318	*SapBWLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
73319	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
73320	AdditionalProperties map[string]interface{} `json:""`
73321	// ConnectVia - The integration runtime reference.
73322	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
73323	// Description - Linked service description.
73324	Description *string `json:"description,omitempty"`
73325	// Parameters - Parameters for linked service.
73326	Parameters map[string]*ParameterSpecification `json:"parameters"`
73327	// Annotations - List of tags that can be used for describing the Dataset.
73328	Annotations *[]interface{} `json:"annotations,omitempty"`
73329	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
73330	Type TypeBasicLinkedService `json:"type,omitempty"`
73331}
73332
73333// MarshalJSON is the custom marshaler for SapBWLinkedService.
73334func (sbls SapBWLinkedService) MarshalJSON() ([]byte, error) {
73335	sbls.Type = TypeSapBW
73336	objectMap := make(map[string]interface{})
73337	if sbls.SapBWLinkedServiceTypeProperties != nil {
73338		objectMap["typeProperties"] = sbls.SapBWLinkedServiceTypeProperties
73339	}
73340	if sbls.ConnectVia != nil {
73341		objectMap["connectVia"] = sbls.ConnectVia
73342	}
73343	if sbls.Description != nil {
73344		objectMap["description"] = sbls.Description
73345	}
73346	if sbls.Parameters != nil {
73347		objectMap["parameters"] = sbls.Parameters
73348	}
73349	if sbls.Annotations != nil {
73350		objectMap["annotations"] = sbls.Annotations
73351	}
73352	if sbls.Type != "" {
73353		objectMap["type"] = sbls.Type
73354	}
73355	for k, v := range sbls.AdditionalProperties {
73356		objectMap[k] = v
73357	}
73358	return json.Marshal(objectMap)
73359}
73360
73361// AsResponsysLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73362func (sbls SapBWLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
73363	return nil, false
73364}
73365
73366// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73367func (sbls SapBWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
73368	return nil, false
73369}
73370
73371// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73372func (sbls SapBWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
73373	return nil, false
73374}
73375
73376// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73377func (sbls SapBWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
73378	return nil, false
73379}
73380
73381// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73382func (sbls SapBWLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
73383	return nil, false
73384}
73385
73386// AsNetezzaLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73387func (sbls SapBWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
73388	return nil, false
73389}
73390
73391// AsVerticaLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73392func (sbls SapBWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
73393	return nil, false
73394}
73395
73396// AsZohoLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73397func (sbls SapBWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
73398	return nil, false
73399}
73400
73401// AsXeroLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73402func (sbls SapBWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
73403	return nil, false
73404}
73405
73406// AsSquareLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73407func (sbls SapBWLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
73408	return nil, false
73409}
73410
73411// AsSparkLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73412func (sbls SapBWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
73413	return nil, false
73414}
73415
73416// AsShopifyLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73417func (sbls SapBWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
73418	return nil, false
73419}
73420
73421// AsServiceNowLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73422func (sbls SapBWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
73423	return nil, false
73424}
73425
73426// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73427func (sbls SapBWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
73428	return nil, false
73429}
73430
73431// AsPrestoLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73432func (sbls SapBWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
73433	return nil, false
73434}
73435
73436// AsPhoenixLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73437func (sbls SapBWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
73438	return nil, false
73439}
73440
73441// AsPaypalLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73442func (sbls SapBWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
73443	return nil, false
73444}
73445
73446// AsMarketoLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73447func (sbls SapBWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
73448	return nil, false
73449}
73450
73451// AsMariaDBLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73452func (sbls SapBWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
73453	return nil, false
73454}
73455
73456// AsMagentoLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73457func (sbls SapBWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
73458	return nil, false
73459}
73460
73461// AsJiraLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73462func (sbls SapBWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
73463	return nil, false
73464}
73465
73466// AsImpalaLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73467func (sbls SapBWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
73468	return nil, false
73469}
73470
73471// AsHubspotLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73472func (sbls SapBWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
73473	return nil, false
73474}
73475
73476// AsHiveLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73477func (sbls SapBWLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
73478	return nil, false
73479}
73480
73481// AsHBaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73482func (sbls SapBWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
73483	return nil, false
73484}
73485
73486// AsGreenplumLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73487func (sbls SapBWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
73488	return nil, false
73489}
73490
73491// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73492func (sbls SapBWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
73493	return nil, false
73494}
73495
73496// AsEloquaLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73497func (sbls SapBWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
73498	return nil, false
73499}
73500
73501// AsDrillLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73502func (sbls SapBWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
73503	return nil, false
73504}
73505
73506// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73507func (sbls SapBWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
73508	return nil, false
73509}
73510
73511// AsConcurLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73512func (sbls SapBWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
73513	return nil, false
73514}
73515
73516// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73517func (sbls SapBWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
73518	return nil, false
73519}
73520
73521// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73522func (sbls SapBWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
73523	return nil, false
73524}
73525
73526// AsSapHanaLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73527func (sbls SapBWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
73528	return nil, false
73529}
73530
73531// AsSapBWLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73532func (sbls SapBWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
73533	return &sbls, true
73534}
73535
73536// AsSftpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73537func (sbls SapBWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
73538	return nil, false
73539}
73540
73541// AsFtpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73542func (sbls SapBWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
73543	return nil, false
73544}
73545
73546// AsHTTPLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73547func (sbls SapBWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
73548	return nil, false
73549}
73550
73551// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73552func (sbls SapBWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
73553	return nil, false
73554}
73555
73556// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73557func (sbls SapBWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
73558	return nil, false
73559}
73560
73561// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73562func (sbls SapBWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
73563	return nil, false
73564}
73565
73566// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73567func (sbls SapBWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
73568	return nil, false
73569}
73570
73571// AsSapEccLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73572func (sbls SapBWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
73573	return nil, false
73574}
73575
73576// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73577func (sbls SapBWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
73578	return nil, false
73579}
73580
73581// AsSalesforceLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73582func (sbls SapBWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
73583	return nil, false
73584}
73585
73586// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73587func (sbls SapBWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
73588	return nil, false
73589}
73590
73591// AsMongoDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73592func (sbls SapBWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
73593	return nil, false
73594}
73595
73596// AsCassandraLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73597func (sbls SapBWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
73598	return nil, false
73599}
73600
73601// AsWebLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73602func (sbls SapBWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
73603	return nil, false
73604}
73605
73606// AsODataLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73607func (sbls SapBWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
73608	return nil, false
73609}
73610
73611// AsHdfsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73612func (sbls SapBWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
73613	return nil, false
73614}
73615
73616// AsOdbcLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73617func (sbls SapBWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
73618	return nil, false
73619}
73620
73621// AsAzureMLLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73622func (sbls SapBWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
73623	return nil, false
73624}
73625
73626// AsTeradataLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73627func (sbls SapBWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
73628	return nil, false
73629}
73630
73631// AsDb2LinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73632func (sbls SapBWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
73633	return nil, false
73634}
73635
73636// AsSybaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73637func (sbls SapBWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
73638	return nil, false
73639}
73640
73641// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73642func (sbls SapBWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
73643	return nil, false
73644}
73645
73646// AsMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73647func (sbls SapBWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
73648	return nil, false
73649}
73650
73651// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73652func (sbls SapBWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
73653	return nil, false
73654}
73655
73656// AsOracleLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73657func (sbls SapBWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
73658	return nil, false
73659}
73660
73661// AsFileServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73662func (sbls SapBWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
73663	return nil, false
73664}
73665
73666// AsHDInsightLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73667func (sbls SapBWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
73668	return nil, false
73669}
73670
73671// AsDynamicsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73672func (sbls SapBWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
73673	return nil, false
73674}
73675
73676// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73677func (sbls SapBWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
73678	return nil, false
73679}
73680
73681// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73682func (sbls SapBWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
73683	return nil, false
73684}
73685
73686// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73687func (sbls SapBWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
73688	return nil, false
73689}
73690
73691// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73692func (sbls SapBWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
73693	return nil, false
73694}
73695
73696// AsSQLServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73697func (sbls SapBWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
73698	return nil, false
73699}
73700
73701// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73702func (sbls SapBWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
73703	return nil, false
73704}
73705
73706// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73707func (sbls SapBWLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
73708	return nil, false
73709}
73710
73711// AsLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73712func (sbls SapBWLinkedService) AsLinkedService() (*LinkedService, bool) {
73713	return nil, false
73714}
73715
73716// AsBasicLinkedService is the BasicLinkedService implementation for SapBWLinkedService.
73717func (sbls SapBWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
73718	return &sbls, true
73719}
73720
73721// UnmarshalJSON is the custom unmarshaler for SapBWLinkedService struct.
73722func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error {
73723	var m map[string]*json.RawMessage
73724	err := json.Unmarshal(body, &m)
73725	if err != nil {
73726		return err
73727	}
73728	for k, v := range m {
73729		switch k {
73730		case "typeProperties":
73731			if v != nil {
73732				var sapBWLinkedServiceTypeProperties SapBWLinkedServiceTypeProperties
73733				err = json.Unmarshal(*v, &sapBWLinkedServiceTypeProperties)
73734				if err != nil {
73735					return err
73736				}
73737				sbls.SapBWLinkedServiceTypeProperties = &sapBWLinkedServiceTypeProperties
73738			}
73739		default:
73740			if v != nil {
73741				var additionalProperties interface{}
73742				err = json.Unmarshal(*v, &additionalProperties)
73743				if err != nil {
73744					return err
73745				}
73746				if sbls.AdditionalProperties == nil {
73747					sbls.AdditionalProperties = make(map[string]interface{})
73748				}
73749				sbls.AdditionalProperties[k] = additionalProperties
73750			}
73751		case "connectVia":
73752			if v != nil {
73753				var connectVia IntegrationRuntimeReference
73754				err = json.Unmarshal(*v, &connectVia)
73755				if err != nil {
73756					return err
73757				}
73758				sbls.ConnectVia = &connectVia
73759			}
73760		case "description":
73761			if v != nil {
73762				var description string
73763				err = json.Unmarshal(*v, &description)
73764				if err != nil {
73765					return err
73766				}
73767				sbls.Description = &description
73768			}
73769		case "parameters":
73770			if v != nil {
73771				var parameters map[string]*ParameterSpecification
73772				err = json.Unmarshal(*v, &parameters)
73773				if err != nil {
73774					return err
73775				}
73776				sbls.Parameters = parameters
73777			}
73778		case "annotations":
73779			if v != nil {
73780				var annotations []interface{}
73781				err = json.Unmarshal(*v, &annotations)
73782				if err != nil {
73783					return err
73784				}
73785				sbls.Annotations = &annotations
73786			}
73787		case "type":
73788			if v != nil {
73789				var typeVar TypeBasicLinkedService
73790				err = json.Unmarshal(*v, &typeVar)
73791				if err != nil {
73792					return err
73793				}
73794				sbls.Type = typeVar
73795			}
73796		}
73797	}
73798
73799	return nil
73800}
73801
73802// SapBWLinkedServiceTypeProperties properties specific to this linked service type.
73803type SapBWLinkedServiceTypeProperties struct {
73804	// Server - Host name of the SAP BW instance. Type: string (or Expression with resultType string).
73805	Server interface{} `json:"server,omitempty"`
73806	// SystemNumber - System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string).
73807	SystemNumber interface{} `json:"systemNumber,omitempty"`
73808	// ClientID - Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string).
73809	ClientID interface{} `json:"clientId,omitempty"`
73810	// UserName - Username to access the SAP BW server. Type: string (or Expression with resultType string).
73811	UserName interface{} `json:"userName,omitempty"`
73812	// Password - Password to access the SAP BW server.
73813	Password BasicSecretBase `json:"password,omitempty"`
73814	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
73815	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
73816}
73817
73818// UnmarshalJSON is the custom unmarshaler for SapBWLinkedServiceTypeProperties struct.
73819func (sblstp *SapBWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
73820	var m map[string]*json.RawMessage
73821	err := json.Unmarshal(body, &m)
73822	if err != nil {
73823		return err
73824	}
73825	for k, v := range m {
73826		switch k {
73827		case "server":
73828			if v != nil {
73829				var server interface{}
73830				err = json.Unmarshal(*v, &server)
73831				if err != nil {
73832					return err
73833				}
73834				sblstp.Server = server
73835			}
73836		case "systemNumber":
73837			if v != nil {
73838				var systemNumber interface{}
73839				err = json.Unmarshal(*v, &systemNumber)
73840				if err != nil {
73841					return err
73842				}
73843				sblstp.SystemNumber = systemNumber
73844			}
73845		case "clientId":
73846			if v != nil {
73847				var clientID interface{}
73848				err = json.Unmarshal(*v, &clientID)
73849				if err != nil {
73850					return err
73851				}
73852				sblstp.ClientID = clientID
73853			}
73854		case "userName":
73855			if v != nil {
73856				var userName interface{}
73857				err = json.Unmarshal(*v, &userName)
73858				if err != nil {
73859					return err
73860				}
73861				sblstp.UserName = userName
73862			}
73863		case "password":
73864			if v != nil {
73865				password, err := unmarshalBasicSecretBase(*v)
73866				if err != nil {
73867					return err
73868				}
73869				sblstp.Password = password
73870			}
73871		case "encryptedCredential":
73872			if v != nil {
73873				var encryptedCredential interface{}
73874				err = json.Unmarshal(*v, &encryptedCredential)
73875				if err != nil {
73876					return err
73877				}
73878				sblstp.EncryptedCredential = encryptedCredential
73879			}
73880		}
73881	}
73882
73883	return nil
73884}
73885
73886// SapCloudForCustomerLinkedService linked service for SAP Cloud for Customer.
73887type SapCloudForCustomerLinkedService struct {
73888	// SapCloudForCustomerLinkedServiceTypeProperties - SAP Cloud for Customer linked service properties.
73889	*SapCloudForCustomerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
73890	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
73891	AdditionalProperties map[string]interface{} `json:""`
73892	// ConnectVia - The integration runtime reference.
73893	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
73894	// Description - Linked service description.
73895	Description *string `json:"description,omitempty"`
73896	// Parameters - Parameters for linked service.
73897	Parameters map[string]*ParameterSpecification `json:"parameters"`
73898	// Annotations - List of tags that can be used for describing the Dataset.
73899	Annotations *[]interface{} `json:"annotations,omitempty"`
73900	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
73901	Type TypeBasicLinkedService `json:"type,omitempty"`
73902}
73903
73904// MarshalJSON is the custom marshaler for SapCloudForCustomerLinkedService.
73905func (scfcls SapCloudForCustomerLinkedService) MarshalJSON() ([]byte, error) {
73906	scfcls.Type = TypeSapCloudForCustomer
73907	objectMap := make(map[string]interface{})
73908	if scfcls.SapCloudForCustomerLinkedServiceTypeProperties != nil {
73909		objectMap["typeProperties"] = scfcls.SapCloudForCustomerLinkedServiceTypeProperties
73910	}
73911	if scfcls.ConnectVia != nil {
73912		objectMap["connectVia"] = scfcls.ConnectVia
73913	}
73914	if scfcls.Description != nil {
73915		objectMap["description"] = scfcls.Description
73916	}
73917	if scfcls.Parameters != nil {
73918		objectMap["parameters"] = scfcls.Parameters
73919	}
73920	if scfcls.Annotations != nil {
73921		objectMap["annotations"] = scfcls.Annotations
73922	}
73923	if scfcls.Type != "" {
73924		objectMap["type"] = scfcls.Type
73925	}
73926	for k, v := range scfcls.AdditionalProperties {
73927		objectMap[k] = v
73928	}
73929	return json.Marshal(objectMap)
73930}
73931
73932// AsResponsysLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73933func (scfcls SapCloudForCustomerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
73934	return nil, false
73935}
73936
73937// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73938func (scfcls SapCloudForCustomerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
73939	return nil, false
73940}
73941
73942// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73943func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
73944	return nil, false
73945}
73946
73947// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73948func (scfcls SapCloudForCustomerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
73949	return nil, false
73950}
73951
73952// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73953func (scfcls SapCloudForCustomerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
73954	return nil, false
73955}
73956
73957// AsNetezzaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73958func (scfcls SapCloudForCustomerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
73959	return nil, false
73960}
73961
73962// AsVerticaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73963func (scfcls SapCloudForCustomerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
73964	return nil, false
73965}
73966
73967// AsZohoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73968func (scfcls SapCloudForCustomerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
73969	return nil, false
73970}
73971
73972// AsXeroLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73973func (scfcls SapCloudForCustomerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
73974	return nil, false
73975}
73976
73977// AsSquareLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73978func (scfcls SapCloudForCustomerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
73979	return nil, false
73980}
73981
73982// AsSparkLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73983func (scfcls SapCloudForCustomerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
73984	return nil, false
73985}
73986
73987// AsShopifyLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73988func (scfcls SapCloudForCustomerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
73989	return nil, false
73990}
73991
73992// AsServiceNowLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73993func (scfcls SapCloudForCustomerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
73994	return nil, false
73995}
73996
73997// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
73998func (scfcls SapCloudForCustomerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
73999	return nil, false
74000}
74001
74002// AsPrestoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74003func (scfcls SapCloudForCustomerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
74004	return nil, false
74005}
74006
74007// AsPhoenixLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74008func (scfcls SapCloudForCustomerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
74009	return nil, false
74010}
74011
74012// AsPaypalLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74013func (scfcls SapCloudForCustomerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
74014	return nil, false
74015}
74016
74017// AsMarketoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74018func (scfcls SapCloudForCustomerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
74019	return nil, false
74020}
74021
74022// AsMariaDBLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74023func (scfcls SapCloudForCustomerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
74024	return nil, false
74025}
74026
74027// AsMagentoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74028func (scfcls SapCloudForCustomerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
74029	return nil, false
74030}
74031
74032// AsJiraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74033func (scfcls SapCloudForCustomerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
74034	return nil, false
74035}
74036
74037// AsImpalaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74038func (scfcls SapCloudForCustomerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
74039	return nil, false
74040}
74041
74042// AsHubspotLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74043func (scfcls SapCloudForCustomerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
74044	return nil, false
74045}
74046
74047// AsHiveLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74048func (scfcls SapCloudForCustomerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
74049	return nil, false
74050}
74051
74052// AsHBaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74053func (scfcls SapCloudForCustomerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
74054	return nil, false
74055}
74056
74057// AsGreenplumLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74058func (scfcls SapCloudForCustomerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
74059	return nil, false
74060}
74061
74062// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74063func (scfcls SapCloudForCustomerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
74064	return nil, false
74065}
74066
74067// AsEloquaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74068func (scfcls SapCloudForCustomerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
74069	return nil, false
74070}
74071
74072// AsDrillLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74073func (scfcls SapCloudForCustomerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
74074	return nil, false
74075}
74076
74077// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74078func (scfcls SapCloudForCustomerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
74079	return nil, false
74080}
74081
74082// AsConcurLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74083func (scfcls SapCloudForCustomerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
74084	return nil, false
74085}
74086
74087// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74088func (scfcls SapCloudForCustomerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
74089	return nil, false
74090}
74091
74092// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74093func (scfcls SapCloudForCustomerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
74094	return nil, false
74095}
74096
74097// AsSapHanaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74098func (scfcls SapCloudForCustomerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
74099	return nil, false
74100}
74101
74102// AsSapBWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74103func (scfcls SapCloudForCustomerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
74104	return nil, false
74105}
74106
74107// AsSftpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74108func (scfcls SapCloudForCustomerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
74109	return nil, false
74110}
74111
74112// AsFtpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74113func (scfcls SapCloudForCustomerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
74114	return nil, false
74115}
74116
74117// AsHTTPLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74118func (scfcls SapCloudForCustomerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
74119	return nil, false
74120}
74121
74122// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74123func (scfcls SapCloudForCustomerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
74124	return nil, false
74125}
74126
74127// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74128func (scfcls SapCloudForCustomerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
74129	return nil, false
74130}
74131
74132// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74133func (scfcls SapCloudForCustomerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
74134	return nil, false
74135}
74136
74137// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74138func (scfcls SapCloudForCustomerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
74139	return nil, false
74140}
74141
74142// AsSapEccLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74143func (scfcls SapCloudForCustomerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
74144	return nil, false
74145}
74146
74147// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74148func (scfcls SapCloudForCustomerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
74149	return &scfcls, true
74150}
74151
74152// AsSalesforceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74153func (scfcls SapCloudForCustomerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
74154	return nil, false
74155}
74156
74157// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74158func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
74159	return nil, false
74160}
74161
74162// AsMongoDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74163func (scfcls SapCloudForCustomerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
74164	return nil, false
74165}
74166
74167// AsCassandraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74168func (scfcls SapCloudForCustomerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
74169	return nil, false
74170}
74171
74172// AsWebLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74173func (scfcls SapCloudForCustomerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
74174	return nil, false
74175}
74176
74177// AsODataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74178func (scfcls SapCloudForCustomerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
74179	return nil, false
74180}
74181
74182// AsHdfsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74183func (scfcls SapCloudForCustomerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
74184	return nil, false
74185}
74186
74187// AsOdbcLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74188func (scfcls SapCloudForCustomerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
74189	return nil, false
74190}
74191
74192// AsAzureMLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74193func (scfcls SapCloudForCustomerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
74194	return nil, false
74195}
74196
74197// AsTeradataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74198func (scfcls SapCloudForCustomerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
74199	return nil, false
74200}
74201
74202// AsDb2LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74203func (scfcls SapCloudForCustomerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
74204	return nil, false
74205}
74206
74207// AsSybaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74208func (scfcls SapCloudForCustomerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
74209	return nil, false
74210}
74211
74212// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74213func (scfcls SapCloudForCustomerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
74214	return nil, false
74215}
74216
74217// AsMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74218func (scfcls SapCloudForCustomerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
74219	return nil, false
74220}
74221
74222// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74223func (scfcls SapCloudForCustomerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
74224	return nil, false
74225}
74226
74227// AsOracleLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74228func (scfcls SapCloudForCustomerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
74229	return nil, false
74230}
74231
74232// AsFileServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74233func (scfcls SapCloudForCustomerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
74234	return nil, false
74235}
74236
74237// AsHDInsightLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74238func (scfcls SapCloudForCustomerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
74239	return nil, false
74240}
74241
74242// AsDynamicsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74243func (scfcls SapCloudForCustomerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
74244	return nil, false
74245}
74246
74247// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74248func (scfcls SapCloudForCustomerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
74249	return nil, false
74250}
74251
74252// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74253func (scfcls SapCloudForCustomerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
74254	return nil, false
74255}
74256
74257// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74258func (scfcls SapCloudForCustomerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
74259	return nil, false
74260}
74261
74262// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74263func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
74264	return nil, false
74265}
74266
74267// AsSQLServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74268func (scfcls SapCloudForCustomerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
74269	return nil, false
74270}
74271
74272// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74273func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
74274	return nil, false
74275}
74276
74277// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74278func (scfcls SapCloudForCustomerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
74279	return nil, false
74280}
74281
74282// AsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74283func (scfcls SapCloudForCustomerLinkedService) AsLinkedService() (*LinkedService, bool) {
74284	return nil, false
74285}
74286
74287// AsBasicLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService.
74288func (scfcls SapCloudForCustomerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
74289	return &scfcls, true
74290}
74291
74292// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedService struct.
74293func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error {
74294	var m map[string]*json.RawMessage
74295	err := json.Unmarshal(body, &m)
74296	if err != nil {
74297		return err
74298	}
74299	for k, v := range m {
74300		switch k {
74301		case "typeProperties":
74302			if v != nil {
74303				var sapCloudForCustomerLinkedServiceTypeProperties SapCloudForCustomerLinkedServiceTypeProperties
74304				err = json.Unmarshal(*v, &sapCloudForCustomerLinkedServiceTypeProperties)
74305				if err != nil {
74306					return err
74307				}
74308				scfcls.SapCloudForCustomerLinkedServiceTypeProperties = &sapCloudForCustomerLinkedServiceTypeProperties
74309			}
74310		default:
74311			if v != nil {
74312				var additionalProperties interface{}
74313				err = json.Unmarshal(*v, &additionalProperties)
74314				if err != nil {
74315					return err
74316				}
74317				if scfcls.AdditionalProperties == nil {
74318					scfcls.AdditionalProperties = make(map[string]interface{})
74319				}
74320				scfcls.AdditionalProperties[k] = additionalProperties
74321			}
74322		case "connectVia":
74323			if v != nil {
74324				var connectVia IntegrationRuntimeReference
74325				err = json.Unmarshal(*v, &connectVia)
74326				if err != nil {
74327					return err
74328				}
74329				scfcls.ConnectVia = &connectVia
74330			}
74331		case "description":
74332			if v != nil {
74333				var description string
74334				err = json.Unmarshal(*v, &description)
74335				if err != nil {
74336					return err
74337				}
74338				scfcls.Description = &description
74339			}
74340		case "parameters":
74341			if v != nil {
74342				var parameters map[string]*ParameterSpecification
74343				err = json.Unmarshal(*v, &parameters)
74344				if err != nil {
74345					return err
74346				}
74347				scfcls.Parameters = parameters
74348			}
74349		case "annotations":
74350			if v != nil {
74351				var annotations []interface{}
74352				err = json.Unmarshal(*v, &annotations)
74353				if err != nil {
74354					return err
74355				}
74356				scfcls.Annotations = &annotations
74357			}
74358		case "type":
74359			if v != nil {
74360				var typeVar TypeBasicLinkedService
74361				err = json.Unmarshal(*v, &typeVar)
74362				if err != nil {
74363					return err
74364				}
74365				scfcls.Type = typeVar
74366			}
74367		}
74368	}
74369
74370	return nil
74371}
74372
74373// SapCloudForCustomerLinkedServiceTypeProperties SAP Cloud for Customer linked service properties.
74374type SapCloudForCustomerLinkedServiceTypeProperties struct {
74375	// URL - The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string).
74376	URL interface{} `json:"url,omitempty"`
74377	// Username - The username for Basic authentication. Type: string (or Expression with resultType string).
74378	Username interface{} `json:"username,omitempty"`
74379	// Password - The password for Basic authentication.
74380	Password BasicSecretBase `json:"password,omitempty"`
74381	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string).
74382	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
74383}
74384
74385// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedServiceTypeProperties struct.
74386func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
74387	var m map[string]*json.RawMessage
74388	err := json.Unmarshal(body, &m)
74389	if err != nil {
74390		return err
74391	}
74392	for k, v := range m {
74393		switch k {
74394		case "url":
74395			if v != nil {
74396				var URL interface{}
74397				err = json.Unmarshal(*v, &URL)
74398				if err != nil {
74399					return err
74400				}
74401				scfclstp.URL = URL
74402			}
74403		case "username":
74404			if v != nil {
74405				var username interface{}
74406				err = json.Unmarshal(*v, &username)
74407				if err != nil {
74408					return err
74409				}
74410				scfclstp.Username = username
74411			}
74412		case "password":
74413			if v != nil {
74414				password, err := unmarshalBasicSecretBase(*v)
74415				if err != nil {
74416					return err
74417				}
74418				scfclstp.Password = password
74419			}
74420		case "encryptedCredential":
74421			if v != nil {
74422				var encryptedCredential interface{}
74423				err = json.Unmarshal(*v, &encryptedCredential)
74424				if err != nil {
74425					return err
74426				}
74427				scfclstp.EncryptedCredential = encryptedCredential
74428			}
74429		}
74430	}
74431
74432	return nil
74433}
74434
74435// SapCloudForCustomerResourceDataset the path of the SAP Cloud for Customer OData entity.
74436type SapCloudForCustomerResourceDataset struct {
74437	// SapCloudForCustomerResourceDatasetTypeProperties - SAP Cloud For Customer OData resource dataset properties.
74438	*SapCloudForCustomerResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
74439	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
74440	AdditionalProperties map[string]interface{} `json:""`
74441	// Description - Dataset description.
74442	Description *string `json:"description,omitempty"`
74443	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
74444	Structure interface{} `json:"structure,omitempty"`
74445	// LinkedServiceName - Linked service reference.
74446	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
74447	// Parameters - Parameters for dataset.
74448	Parameters map[string]*ParameterSpecification `json:"parameters"`
74449	// Annotations - List of tags that can be used for describing the Dataset.
74450	Annotations *[]interface{} `json:"annotations,omitempty"`
74451	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
74452	Type TypeBasicDataset `json:"type,omitempty"`
74453}
74454
74455// MarshalJSON is the custom marshaler for SapCloudForCustomerResourceDataset.
74456func (scfcrd SapCloudForCustomerResourceDataset) MarshalJSON() ([]byte, error) {
74457	scfcrd.Type = TypeSapCloudForCustomerResource
74458	objectMap := make(map[string]interface{})
74459	if scfcrd.SapCloudForCustomerResourceDatasetTypeProperties != nil {
74460		objectMap["typeProperties"] = scfcrd.SapCloudForCustomerResourceDatasetTypeProperties
74461	}
74462	if scfcrd.Description != nil {
74463		objectMap["description"] = scfcrd.Description
74464	}
74465	objectMap["structure"] = scfcrd.Structure
74466	if scfcrd.LinkedServiceName != nil {
74467		objectMap["linkedServiceName"] = scfcrd.LinkedServiceName
74468	}
74469	if scfcrd.Parameters != nil {
74470		objectMap["parameters"] = scfcrd.Parameters
74471	}
74472	if scfcrd.Annotations != nil {
74473		objectMap["annotations"] = scfcrd.Annotations
74474	}
74475	if scfcrd.Type != "" {
74476		objectMap["type"] = scfcrd.Type
74477	}
74478	for k, v := range scfcrd.AdditionalProperties {
74479		objectMap[k] = v
74480	}
74481	return json.Marshal(objectMap)
74482}
74483
74484// AsResponsysObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74485func (scfcrd SapCloudForCustomerResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
74486	return nil, false
74487}
74488
74489// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74490func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
74491	return nil, false
74492}
74493
74494// AsVerticaTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74495func (scfcrd SapCloudForCustomerResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
74496	return nil, false
74497}
74498
74499// AsNetezzaTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74500func (scfcrd SapCloudForCustomerResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
74501	return nil, false
74502}
74503
74504// AsZohoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74505func (scfcrd SapCloudForCustomerResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
74506	return nil, false
74507}
74508
74509// AsXeroObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74510func (scfcrd SapCloudForCustomerResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
74511	return nil, false
74512}
74513
74514// AsSquareObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74515func (scfcrd SapCloudForCustomerResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
74516	return nil, false
74517}
74518
74519// AsSparkObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74520func (scfcrd SapCloudForCustomerResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
74521	return nil, false
74522}
74523
74524// AsShopifyObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74525func (scfcrd SapCloudForCustomerResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
74526	return nil, false
74527}
74528
74529// AsServiceNowObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74530func (scfcrd SapCloudForCustomerResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
74531	return nil, false
74532}
74533
74534// AsQuickBooksObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74535func (scfcrd SapCloudForCustomerResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
74536	return nil, false
74537}
74538
74539// AsPrestoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74540func (scfcrd SapCloudForCustomerResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
74541	return nil, false
74542}
74543
74544// AsPhoenixObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74545func (scfcrd SapCloudForCustomerResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
74546	return nil, false
74547}
74548
74549// AsPaypalObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74550func (scfcrd SapCloudForCustomerResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
74551	return nil, false
74552}
74553
74554// AsMarketoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74555func (scfcrd SapCloudForCustomerResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
74556	return nil, false
74557}
74558
74559// AsMariaDBTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74560func (scfcrd SapCloudForCustomerResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
74561	return nil, false
74562}
74563
74564// AsMagentoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74565func (scfcrd SapCloudForCustomerResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
74566	return nil, false
74567}
74568
74569// AsJiraObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74570func (scfcrd SapCloudForCustomerResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
74571	return nil, false
74572}
74573
74574// AsImpalaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74575func (scfcrd SapCloudForCustomerResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
74576	return nil, false
74577}
74578
74579// AsHubspotObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74580func (scfcrd SapCloudForCustomerResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
74581	return nil, false
74582}
74583
74584// AsHiveObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74585func (scfcrd SapCloudForCustomerResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
74586	return nil, false
74587}
74588
74589// AsHBaseObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74590func (scfcrd SapCloudForCustomerResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
74591	return nil, false
74592}
74593
74594// AsGreenplumTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74595func (scfcrd SapCloudForCustomerResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
74596	return nil, false
74597}
74598
74599// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74600func (scfcrd SapCloudForCustomerResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
74601	return nil, false
74602}
74603
74604// AsEloquaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74605func (scfcrd SapCloudForCustomerResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
74606	return nil, false
74607}
74608
74609// AsDrillTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74610func (scfcrd SapCloudForCustomerResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
74611	return nil, false
74612}
74613
74614// AsCouchbaseTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74615func (scfcrd SapCloudForCustomerResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
74616	return nil, false
74617}
74618
74619// AsConcurObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74620func (scfcrd SapCloudForCustomerResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
74621	return nil, false
74622}
74623
74624// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74625func (scfcrd SapCloudForCustomerResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
74626	return nil, false
74627}
74628
74629// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74630func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
74631	return nil, false
74632}
74633
74634// AsHTTPDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74635func (scfcrd SapCloudForCustomerResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
74636	return nil, false
74637}
74638
74639// AsAzureSearchIndexDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74640func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
74641	return nil, false
74642}
74643
74644// AsWebTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74645func (scfcrd SapCloudForCustomerResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
74646	return nil, false
74647}
74648
74649// AsSQLServerTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74650func (scfcrd SapCloudForCustomerResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
74651	return nil, false
74652}
74653
74654// AsSapEccResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74655func (scfcrd SapCloudForCustomerResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
74656	return nil, false
74657}
74658
74659// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74660func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
74661	return &scfcrd, true
74662}
74663
74664// AsSalesforceObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74665func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
74666	return nil, false
74667}
74668
74669// AsRelationalTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74670func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
74671	return nil, false
74672}
74673
74674// AsAzureMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74675func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
74676	return nil, false
74677}
74678
74679// AsOracleTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74680func (scfcrd SapCloudForCustomerResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
74681	return nil, false
74682}
74683
74684// AsODataResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74685func (scfcrd SapCloudForCustomerResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
74686	return nil, false
74687}
74688
74689// AsMongoDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74690func (scfcrd SapCloudForCustomerResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
74691	return nil, false
74692}
74693
74694// AsFileShareDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74695func (scfcrd SapCloudForCustomerResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
74696	return nil, false
74697}
74698
74699// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74700func (scfcrd SapCloudForCustomerResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
74701	return nil, false
74702}
74703
74704// AsDynamicsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74705func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
74706	return nil, false
74707}
74708
74709// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74710func (scfcrd SapCloudForCustomerResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
74711	return nil, false
74712}
74713
74714// AsCustomDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74715func (scfcrd SapCloudForCustomerResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
74716	return nil, false
74717}
74718
74719// AsCassandraTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74720func (scfcrd SapCloudForCustomerResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
74721	return nil, false
74722}
74723
74724// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74725func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
74726	return nil, false
74727}
74728
74729// AsAzureSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74730func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
74731	return nil, false
74732}
74733
74734// AsAzureTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74735func (scfcrd SapCloudForCustomerResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
74736	return nil, false
74737}
74738
74739// AsAzureBlobDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74740func (scfcrd SapCloudForCustomerResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
74741	return nil, false
74742}
74743
74744// AsAmazonS3Dataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74745func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
74746	return nil, false
74747}
74748
74749// AsDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74750func (scfcrd SapCloudForCustomerResourceDataset) AsDataset() (*Dataset, bool) {
74751	return nil, false
74752}
74753
74754// AsBasicDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset.
74755func (scfcrd SapCloudForCustomerResourceDataset) AsBasicDataset() (BasicDataset, bool) {
74756	return &scfcrd, true
74757}
74758
74759// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerResourceDataset struct.
74760func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) error {
74761	var m map[string]*json.RawMessage
74762	err := json.Unmarshal(body, &m)
74763	if err != nil {
74764		return err
74765	}
74766	for k, v := range m {
74767		switch k {
74768		case "typeProperties":
74769			if v != nil {
74770				var sapCloudForCustomerResourceDatasetTypeProperties SapCloudForCustomerResourceDatasetTypeProperties
74771				err = json.Unmarshal(*v, &sapCloudForCustomerResourceDatasetTypeProperties)
74772				if err != nil {
74773					return err
74774				}
74775				scfcrd.SapCloudForCustomerResourceDatasetTypeProperties = &sapCloudForCustomerResourceDatasetTypeProperties
74776			}
74777		default:
74778			if v != nil {
74779				var additionalProperties interface{}
74780				err = json.Unmarshal(*v, &additionalProperties)
74781				if err != nil {
74782					return err
74783				}
74784				if scfcrd.AdditionalProperties == nil {
74785					scfcrd.AdditionalProperties = make(map[string]interface{})
74786				}
74787				scfcrd.AdditionalProperties[k] = additionalProperties
74788			}
74789		case "description":
74790			if v != nil {
74791				var description string
74792				err = json.Unmarshal(*v, &description)
74793				if err != nil {
74794					return err
74795				}
74796				scfcrd.Description = &description
74797			}
74798		case "structure":
74799			if v != nil {
74800				var structure interface{}
74801				err = json.Unmarshal(*v, &structure)
74802				if err != nil {
74803					return err
74804				}
74805				scfcrd.Structure = structure
74806			}
74807		case "linkedServiceName":
74808			if v != nil {
74809				var linkedServiceName LinkedServiceReference
74810				err = json.Unmarshal(*v, &linkedServiceName)
74811				if err != nil {
74812					return err
74813				}
74814				scfcrd.LinkedServiceName = &linkedServiceName
74815			}
74816		case "parameters":
74817			if v != nil {
74818				var parameters map[string]*ParameterSpecification
74819				err = json.Unmarshal(*v, &parameters)
74820				if err != nil {
74821					return err
74822				}
74823				scfcrd.Parameters = parameters
74824			}
74825		case "annotations":
74826			if v != nil {
74827				var annotations []interface{}
74828				err = json.Unmarshal(*v, &annotations)
74829				if err != nil {
74830					return err
74831				}
74832				scfcrd.Annotations = &annotations
74833			}
74834		case "type":
74835			if v != nil {
74836				var typeVar TypeBasicDataset
74837				err = json.Unmarshal(*v, &typeVar)
74838				if err != nil {
74839					return err
74840				}
74841				scfcrd.Type = typeVar
74842			}
74843		}
74844	}
74845
74846	return nil
74847}
74848
74849// SapCloudForCustomerResourceDatasetTypeProperties sap Cloud For Customer OData resource dataset properties.
74850type SapCloudForCustomerResourceDatasetTypeProperties struct {
74851	// Path - The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string).
74852	Path interface{} `json:"path,omitempty"`
74853}
74854
74855// SapCloudForCustomerSink a copy activity SAP Cloud for Customer sink.
74856type SapCloudForCustomerSink struct {
74857	// WriteBehavior - The write behavior for the operation. Default is 'Insert'. Possible values include: 'SapCloudForCustomerSinkWriteBehaviorInsert', 'SapCloudForCustomerSinkWriteBehaviorUpdate'
74858	WriteBehavior SapCloudForCustomerSinkWriteBehavior `json:"writeBehavior,omitempty"`
74859	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
74860	AdditionalProperties map[string]interface{} `json:""`
74861	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
74862	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
74863	// 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])).
74864	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
74865	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
74866	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
74867	// 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])).
74868	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
74869	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
74870	Type TypeBasicCopySink `json:"type,omitempty"`
74871}
74872
74873// MarshalJSON is the custom marshaler for SapCloudForCustomerSink.
74874func (scfcs SapCloudForCustomerSink) MarshalJSON() ([]byte, error) {
74875	scfcs.Type = TypeSapCloudForCustomerSink
74876	objectMap := make(map[string]interface{})
74877	if scfcs.WriteBehavior != "" {
74878		objectMap["writeBehavior"] = scfcs.WriteBehavior
74879	}
74880	objectMap["writeBatchSize"] = scfcs.WriteBatchSize
74881	objectMap["writeBatchTimeout"] = scfcs.WriteBatchTimeout
74882	objectMap["sinkRetryCount"] = scfcs.SinkRetryCount
74883	objectMap["sinkRetryWait"] = scfcs.SinkRetryWait
74884	if scfcs.Type != "" {
74885		objectMap["type"] = scfcs.Type
74886	}
74887	for k, v := range scfcs.AdditionalProperties {
74888		objectMap[k] = v
74889	}
74890	return json.Marshal(objectMap)
74891}
74892
74893// AsSalesforceSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74894func (scfcs SapCloudForCustomerSink) AsSalesforceSink() (*SalesforceSink, bool) {
74895	return nil, false
74896}
74897
74898// AsDynamicsSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74899func (scfcs SapCloudForCustomerSink) AsDynamicsSink() (*DynamicsSink, bool) {
74900	return nil, false
74901}
74902
74903// AsOdbcSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74904func (scfcs SapCloudForCustomerSink) AsOdbcSink() (*OdbcSink, bool) {
74905	return nil, false
74906}
74907
74908// AsAzureSearchIndexSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74909func (scfcs SapCloudForCustomerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
74910	return nil, false
74911}
74912
74913// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74914func (scfcs SapCloudForCustomerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
74915	return nil, false
74916}
74917
74918// AsOracleSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74919func (scfcs SapCloudForCustomerSink) AsOracleSink() (*OracleSink, bool) {
74920	return nil, false
74921}
74922
74923// AsSQLDWSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74924func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) {
74925	return nil, false
74926}
74927
74928// AsSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74929func (scfcs SapCloudForCustomerSink) AsSQLSink() (*SQLSink, bool) {
74930	return nil, false
74931}
74932
74933// AsDocumentDbCollectionSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74934func (scfcs SapCloudForCustomerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
74935	return nil, false
74936}
74937
74938// AsFileSystemSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74939func (scfcs SapCloudForCustomerSink) AsFileSystemSink() (*FileSystemSink, bool) {
74940	return nil, false
74941}
74942
74943// AsBlobSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74944func (scfcs SapCloudForCustomerSink) AsBlobSink() (*BlobSink, bool) {
74945	return nil, false
74946}
74947
74948// AsAzureTableSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74949func (scfcs SapCloudForCustomerSink) AsAzureTableSink() (*AzureTableSink, bool) {
74950	return nil, false
74951}
74952
74953// AsAzureQueueSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74954func (scfcs SapCloudForCustomerSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
74955	return nil, false
74956}
74957
74958// AsSapCloudForCustomerSink is the BasicCopySink implementation for SapCloudForCustomerSink.
74959func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
74960	return &scfcs, true
74961}
74962
74963// AsCopySink is the BasicCopySink implementation for SapCloudForCustomerSink.
74964func (scfcs SapCloudForCustomerSink) AsCopySink() (*CopySink, bool) {
74965	return nil, false
74966}
74967
74968// AsBasicCopySink is the BasicCopySink implementation for SapCloudForCustomerSink.
74969func (scfcs SapCloudForCustomerSink) AsBasicCopySink() (BasicCopySink, bool) {
74970	return &scfcs, true
74971}
74972
74973// SapCloudForCustomerSource a copy activity source for SAP Cloud for Customer source.
74974type SapCloudForCustomerSource struct {
74975	// Query - SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string).
74976	Query interface{} `json:"query,omitempty"`
74977	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
74978	AdditionalProperties map[string]interface{} `json:""`
74979	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
74980	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
74981	// 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])).
74982	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
74983	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
74984	Type TypeBasicCopySource `json:"type,omitempty"`
74985}
74986
74987// MarshalJSON is the custom marshaler for SapCloudForCustomerSource.
74988func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) {
74989	scfcs.Type = TypeSapCloudForCustomerSource
74990	objectMap := make(map[string]interface{})
74991	objectMap["query"] = scfcs.Query
74992	objectMap["sourceRetryCount"] = scfcs.SourceRetryCount
74993	objectMap["sourceRetryWait"] = scfcs.SourceRetryWait
74994	if scfcs.Type != "" {
74995		objectMap["type"] = scfcs.Type
74996	}
74997	for k, v := range scfcs.AdditionalProperties {
74998		objectMap[k] = v
74999	}
75000	return json.Marshal(objectMap)
75001}
75002
75003// AsAmazonRedshiftSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75004func (scfcs SapCloudForCustomerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
75005	return nil, false
75006}
75007
75008// AsResponsysSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75009func (scfcs SapCloudForCustomerSource) AsResponsysSource() (*ResponsysSource, bool) {
75010	return nil, false
75011}
75012
75013// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75014func (scfcs SapCloudForCustomerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
75015	return nil, false
75016}
75017
75018// AsVerticaSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75019func (scfcs SapCloudForCustomerSource) AsVerticaSource() (*VerticaSource, bool) {
75020	return nil, false
75021}
75022
75023// AsNetezzaSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75024func (scfcs SapCloudForCustomerSource) AsNetezzaSource() (*NetezzaSource, bool) {
75025	return nil, false
75026}
75027
75028// AsZohoSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75029func (scfcs SapCloudForCustomerSource) AsZohoSource() (*ZohoSource, bool) {
75030	return nil, false
75031}
75032
75033// AsXeroSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75034func (scfcs SapCloudForCustomerSource) AsXeroSource() (*XeroSource, bool) {
75035	return nil, false
75036}
75037
75038// AsSquareSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75039func (scfcs SapCloudForCustomerSource) AsSquareSource() (*SquareSource, bool) {
75040	return nil, false
75041}
75042
75043// AsSparkSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75044func (scfcs SapCloudForCustomerSource) AsSparkSource() (*SparkSource, bool) {
75045	return nil, false
75046}
75047
75048// AsShopifySource is the BasicCopySource implementation for SapCloudForCustomerSource.
75049func (scfcs SapCloudForCustomerSource) AsShopifySource() (*ShopifySource, bool) {
75050	return nil, false
75051}
75052
75053// AsServiceNowSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75054func (scfcs SapCloudForCustomerSource) AsServiceNowSource() (*ServiceNowSource, bool) {
75055	return nil, false
75056}
75057
75058// AsQuickBooksSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75059func (scfcs SapCloudForCustomerSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
75060	return nil, false
75061}
75062
75063// AsPrestoSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75064func (scfcs SapCloudForCustomerSource) AsPrestoSource() (*PrestoSource, bool) {
75065	return nil, false
75066}
75067
75068// AsPhoenixSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75069func (scfcs SapCloudForCustomerSource) AsPhoenixSource() (*PhoenixSource, bool) {
75070	return nil, false
75071}
75072
75073// AsPaypalSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75074func (scfcs SapCloudForCustomerSource) AsPaypalSource() (*PaypalSource, bool) {
75075	return nil, false
75076}
75077
75078// AsMarketoSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75079func (scfcs SapCloudForCustomerSource) AsMarketoSource() (*MarketoSource, bool) {
75080	return nil, false
75081}
75082
75083// AsMariaDBSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75084func (scfcs SapCloudForCustomerSource) AsMariaDBSource() (*MariaDBSource, bool) {
75085	return nil, false
75086}
75087
75088// AsMagentoSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75089func (scfcs SapCloudForCustomerSource) AsMagentoSource() (*MagentoSource, bool) {
75090	return nil, false
75091}
75092
75093// AsJiraSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75094func (scfcs SapCloudForCustomerSource) AsJiraSource() (*JiraSource, bool) {
75095	return nil, false
75096}
75097
75098// AsImpalaSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75099func (scfcs SapCloudForCustomerSource) AsImpalaSource() (*ImpalaSource, bool) {
75100	return nil, false
75101}
75102
75103// AsHubspotSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75104func (scfcs SapCloudForCustomerSource) AsHubspotSource() (*HubspotSource, bool) {
75105	return nil, false
75106}
75107
75108// AsHiveSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75109func (scfcs SapCloudForCustomerSource) AsHiveSource() (*HiveSource, bool) {
75110	return nil, false
75111}
75112
75113// AsHBaseSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75114func (scfcs SapCloudForCustomerSource) AsHBaseSource() (*HBaseSource, bool) {
75115	return nil, false
75116}
75117
75118// AsGreenplumSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75119func (scfcs SapCloudForCustomerSource) AsGreenplumSource() (*GreenplumSource, bool) {
75120	return nil, false
75121}
75122
75123// AsGoogleBigQuerySource is the BasicCopySource implementation for SapCloudForCustomerSource.
75124func (scfcs SapCloudForCustomerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
75125	return nil, false
75126}
75127
75128// AsEloquaSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75129func (scfcs SapCloudForCustomerSource) AsEloquaSource() (*EloquaSource, bool) {
75130	return nil, false
75131}
75132
75133// AsDrillSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75134func (scfcs SapCloudForCustomerSource) AsDrillSource() (*DrillSource, bool) {
75135	return nil, false
75136}
75137
75138// AsCouchbaseSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75139func (scfcs SapCloudForCustomerSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
75140	return nil, false
75141}
75142
75143// AsConcurSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75144func (scfcs SapCloudForCustomerSource) AsConcurSource() (*ConcurSource, bool) {
75145	return nil, false
75146}
75147
75148// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75149func (scfcs SapCloudForCustomerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
75150	return nil, false
75151}
75152
75153// AsAmazonMWSSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75154func (scfcs SapCloudForCustomerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
75155	return nil, false
75156}
75157
75158// AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75159func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) {
75160	return nil, false
75161}
75162
75163// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75164func (scfcs SapCloudForCustomerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
75165	return nil, false
75166}
75167
75168// AsMongoDbSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75169func (scfcs SapCloudForCustomerSource) AsMongoDbSource() (*MongoDbSource, bool) {
75170	return nil, false
75171}
75172
75173// AsCassandraSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75174func (scfcs SapCloudForCustomerSource) AsCassandraSource() (*CassandraSource, bool) {
75175	return nil, false
75176}
75177
75178// AsWebSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75179func (scfcs SapCloudForCustomerSource) AsWebSource() (*WebSource, bool) {
75180	return nil, false
75181}
75182
75183// AsOracleSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75184func (scfcs SapCloudForCustomerSource) AsOracleSource() (*OracleSource, bool) {
75185	return nil, false
75186}
75187
75188// AsAzureMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75189func (scfcs SapCloudForCustomerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
75190	return nil, false
75191}
75192
75193// AsHdfsSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75194func (scfcs SapCloudForCustomerSource) AsHdfsSource() (*HdfsSource, bool) {
75195	return nil, false
75196}
75197
75198// AsFileSystemSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75199func (scfcs SapCloudForCustomerSource) AsFileSystemSource() (*FileSystemSource, bool) {
75200	return nil, false
75201}
75202
75203// AsSQLDWSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75204func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) {
75205	return nil, false
75206}
75207
75208// AsSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75209func (scfcs SapCloudForCustomerSource) AsSQLSource() (*SQLSource, bool) {
75210	return nil, false
75211}
75212
75213// AsSapEccSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75214func (scfcs SapCloudForCustomerSource) AsSapEccSource() (*SapEccSource, bool) {
75215	return nil, false
75216}
75217
75218// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75219func (scfcs SapCloudForCustomerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
75220	return &scfcs, true
75221}
75222
75223// AsSalesforceSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75224func (scfcs SapCloudForCustomerSource) AsSalesforceSource() (*SalesforceSource, bool) {
75225	return nil, false
75226}
75227
75228// AsRelationalSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75229func (scfcs SapCloudForCustomerSource) AsRelationalSource() (*RelationalSource, bool) {
75230	return nil, false
75231}
75232
75233// AsDynamicsSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75234func (scfcs SapCloudForCustomerSource) AsDynamicsSource() (*DynamicsSource, bool) {
75235	return nil, false
75236}
75237
75238// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75239func (scfcs SapCloudForCustomerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
75240	return nil, false
75241}
75242
75243// AsBlobSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75244func (scfcs SapCloudForCustomerSource) AsBlobSource() (*BlobSource, bool) {
75245	return nil, false
75246}
75247
75248// AsAzureTableSource is the BasicCopySource implementation for SapCloudForCustomerSource.
75249func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, bool) {
75250	return nil, false
75251}
75252
75253// AsCopySource is the BasicCopySource implementation for SapCloudForCustomerSource.
75254func (scfcs SapCloudForCustomerSource) AsCopySource() (*CopySource, bool) {
75255	return nil, false
75256}
75257
75258// AsBasicCopySource is the BasicCopySource implementation for SapCloudForCustomerSource.
75259func (scfcs SapCloudForCustomerSource) AsBasicCopySource() (BasicCopySource, bool) {
75260	return &scfcs, true
75261}
75262
75263// SapEccLinkedService linked service for SAP ERP Central Component(SAP ECC).
75264type SapEccLinkedService struct {
75265	// SapEccLinkedServiceTypeProperties - SAP ECC linked service properties.
75266	*SapEccLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
75267	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
75268	AdditionalProperties map[string]interface{} `json:""`
75269	// ConnectVia - The integration runtime reference.
75270	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
75271	// Description - Linked service description.
75272	Description *string `json:"description,omitempty"`
75273	// Parameters - Parameters for linked service.
75274	Parameters map[string]*ParameterSpecification `json:"parameters"`
75275	// Annotations - List of tags that can be used for describing the Dataset.
75276	Annotations *[]interface{} `json:"annotations,omitempty"`
75277	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
75278	Type TypeBasicLinkedService `json:"type,omitempty"`
75279}
75280
75281// MarshalJSON is the custom marshaler for SapEccLinkedService.
75282func (sels SapEccLinkedService) MarshalJSON() ([]byte, error) {
75283	sels.Type = TypeSapEcc
75284	objectMap := make(map[string]interface{})
75285	if sels.SapEccLinkedServiceTypeProperties != nil {
75286		objectMap["typeProperties"] = sels.SapEccLinkedServiceTypeProperties
75287	}
75288	if sels.ConnectVia != nil {
75289		objectMap["connectVia"] = sels.ConnectVia
75290	}
75291	if sels.Description != nil {
75292		objectMap["description"] = sels.Description
75293	}
75294	if sels.Parameters != nil {
75295		objectMap["parameters"] = sels.Parameters
75296	}
75297	if sels.Annotations != nil {
75298		objectMap["annotations"] = sels.Annotations
75299	}
75300	if sels.Type != "" {
75301		objectMap["type"] = sels.Type
75302	}
75303	for k, v := range sels.AdditionalProperties {
75304		objectMap[k] = v
75305	}
75306	return json.Marshal(objectMap)
75307}
75308
75309// AsResponsysLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75310func (sels SapEccLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
75311	return nil, false
75312}
75313
75314// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75315func (sels SapEccLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
75316	return nil, false
75317}
75318
75319// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75320func (sels SapEccLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
75321	return nil, false
75322}
75323
75324// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75325func (sels SapEccLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
75326	return nil, false
75327}
75328
75329// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75330func (sels SapEccLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
75331	return nil, false
75332}
75333
75334// AsNetezzaLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75335func (sels SapEccLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
75336	return nil, false
75337}
75338
75339// AsVerticaLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75340func (sels SapEccLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
75341	return nil, false
75342}
75343
75344// AsZohoLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75345func (sels SapEccLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
75346	return nil, false
75347}
75348
75349// AsXeroLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75350func (sels SapEccLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
75351	return nil, false
75352}
75353
75354// AsSquareLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75355func (sels SapEccLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
75356	return nil, false
75357}
75358
75359// AsSparkLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75360func (sels SapEccLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
75361	return nil, false
75362}
75363
75364// AsShopifyLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75365func (sels SapEccLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
75366	return nil, false
75367}
75368
75369// AsServiceNowLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75370func (sels SapEccLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
75371	return nil, false
75372}
75373
75374// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75375func (sels SapEccLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
75376	return nil, false
75377}
75378
75379// AsPrestoLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75380func (sels SapEccLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
75381	return nil, false
75382}
75383
75384// AsPhoenixLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75385func (sels SapEccLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
75386	return nil, false
75387}
75388
75389// AsPaypalLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75390func (sels SapEccLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
75391	return nil, false
75392}
75393
75394// AsMarketoLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75395func (sels SapEccLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
75396	return nil, false
75397}
75398
75399// AsMariaDBLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75400func (sels SapEccLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
75401	return nil, false
75402}
75403
75404// AsMagentoLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75405func (sels SapEccLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
75406	return nil, false
75407}
75408
75409// AsJiraLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75410func (sels SapEccLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
75411	return nil, false
75412}
75413
75414// AsImpalaLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75415func (sels SapEccLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
75416	return nil, false
75417}
75418
75419// AsHubspotLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75420func (sels SapEccLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
75421	return nil, false
75422}
75423
75424// AsHiveLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75425func (sels SapEccLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
75426	return nil, false
75427}
75428
75429// AsHBaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75430func (sels SapEccLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
75431	return nil, false
75432}
75433
75434// AsGreenplumLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75435func (sels SapEccLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
75436	return nil, false
75437}
75438
75439// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75440func (sels SapEccLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
75441	return nil, false
75442}
75443
75444// AsEloquaLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75445func (sels SapEccLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
75446	return nil, false
75447}
75448
75449// AsDrillLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75450func (sels SapEccLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
75451	return nil, false
75452}
75453
75454// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75455func (sels SapEccLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
75456	return nil, false
75457}
75458
75459// AsConcurLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75460func (sels SapEccLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
75461	return nil, false
75462}
75463
75464// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75465func (sels SapEccLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
75466	return nil, false
75467}
75468
75469// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75470func (sels SapEccLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
75471	return nil, false
75472}
75473
75474// AsSapHanaLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75475func (sels SapEccLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
75476	return nil, false
75477}
75478
75479// AsSapBWLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75480func (sels SapEccLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
75481	return nil, false
75482}
75483
75484// AsSftpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75485func (sels SapEccLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
75486	return nil, false
75487}
75488
75489// AsFtpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75490func (sels SapEccLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
75491	return nil, false
75492}
75493
75494// AsHTTPLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75495func (sels SapEccLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
75496	return nil, false
75497}
75498
75499// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75500func (sels SapEccLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
75501	return nil, false
75502}
75503
75504// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75505func (sels SapEccLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
75506	return nil, false
75507}
75508
75509// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75510func (sels SapEccLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
75511	return nil, false
75512}
75513
75514// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75515func (sels SapEccLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
75516	return nil, false
75517}
75518
75519// AsSapEccLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75520func (sels SapEccLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
75521	return &sels, true
75522}
75523
75524// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75525func (sels SapEccLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
75526	return nil, false
75527}
75528
75529// AsSalesforceLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75530func (sels SapEccLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
75531	return nil, false
75532}
75533
75534// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75535func (sels SapEccLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
75536	return nil, false
75537}
75538
75539// AsMongoDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75540func (sels SapEccLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
75541	return nil, false
75542}
75543
75544// AsCassandraLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75545func (sels SapEccLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
75546	return nil, false
75547}
75548
75549// AsWebLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75550func (sels SapEccLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
75551	return nil, false
75552}
75553
75554// AsODataLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75555func (sels SapEccLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
75556	return nil, false
75557}
75558
75559// AsHdfsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75560func (sels SapEccLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
75561	return nil, false
75562}
75563
75564// AsOdbcLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75565func (sels SapEccLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
75566	return nil, false
75567}
75568
75569// AsAzureMLLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75570func (sels SapEccLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
75571	return nil, false
75572}
75573
75574// AsTeradataLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75575func (sels SapEccLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
75576	return nil, false
75577}
75578
75579// AsDb2LinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75580func (sels SapEccLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
75581	return nil, false
75582}
75583
75584// AsSybaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75585func (sels SapEccLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
75586	return nil, false
75587}
75588
75589// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75590func (sels SapEccLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
75591	return nil, false
75592}
75593
75594// AsMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75595func (sels SapEccLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
75596	return nil, false
75597}
75598
75599// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75600func (sels SapEccLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
75601	return nil, false
75602}
75603
75604// AsOracleLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75605func (sels SapEccLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
75606	return nil, false
75607}
75608
75609// AsFileServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75610func (sels SapEccLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
75611	return nil, false
75612}
75613
75614// AsHDInsightLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75615func (sels SapEccLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
75616	return nil, false
75617}
75618
75619// AsDynamicsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75620func (sels SapEccLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
75621	return nil, false
75622}
75623
75624// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75625func (sels SapEccLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
75626	return nil, false
75627}
75628
75629// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75630func (sels SapEccLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
75631	return nil, false
75632}
75633
75634// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75635func (sels SapEccLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
75636	return nil, false
75637}
75638
75639// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75640func (sels SapEccLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
75641	return nil, false
75642}
75643
75644// AsSQLServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75645func (sels SapEccLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
75646	return nil, false
75647}
75648
75649// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75650func (sels SapEccLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
75651	return nil, false
75652}
75653
75654// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75655func (sels SapEccLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
75656	return nil, false
75657}
75658
75659// AsLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75660func (sels SapEccLinkedService) AsLinkedService() (*LinkedService, bool) {
75661	return nil, false
75662}
75663
75664// AsBasicLinkedService is the BasicLinkedService implementation for SapEccLinkedService.
75665func (sels SapEccLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
75666	return &sels, true
75667}
75668
75669// UnmarshalJSON is the custom unmarshaler for SapEccLinkedService struct.
75670func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error {
75671	var m map[string]*json.RawMessage
75672	err := json.Unmarshal(body, &m)
75673	if err != nil {
75674		return err
75675	}
75676	for k, v := range m {
75677		switch k {
75678		case "typeProperties":
75679			if v != nil {
75680				var sapEccLinkedServiceTypeProperties SapEccLinkedServiceTypeProperties
75681				err = json.Unmarshal(*v, &sapEccLinkedServiceTypeProperties)
75682				if err != nil {
75683					return err
75684				}
75685				sels.SapEccLinkedServiceTypeProperties = &sapEccLinkedServiceTypeProperties
75686			}
75687		default:
75688			if v != nil {
75689				var additionalProperties interface{}
75690				err = json.Unmarshal(*v, &additionalProperties)
75691				if err != nil {
75692					return err
75693				}
75694				if sels.AdditionalProperties == nil {
75695					sels.AdditionalProperties = make(map[string]interface{})
75696				}
75697				sels.AdditionalProperties[k] = additionalProperties
75698			}
75699		case "connectVia":
75700			if v != nil {
75701				var connectVia IntegrationRuntimeReference
75702				err = json.Unmarshal(*v, &connectVia)
75703				if err != nil {
75704					return err
75705				}
75706				sels.ConnectVia = &connectVia
75707			}
75708		case "description":
75709			if v != nil {
75710				var description string
75711				err = json.Unmarshal(*v, &description)
75712				if err != nil {
75713					return err
75714				}
75715				sels.Description = &description
75716			}
75717		case "parameters":
75718			if v != nil {
75719				var parameters map[string]*ParameterSpecification
75720				err = json.Unmarshal(*v, &parameters)
75721				if err != nil {
75722					return err
75723				}
75724				sels.Parameters = parameters
75725			}
75726		case "annotations":
75727			if v != nil {
75728				var annotations []interface{}
75729				err = json.Unmarshal(*v, &annotations)
75730				if err != nil {
75731					return err
75732				}
75733				sels.Annotations = &annotations
75734			}
75735		case "type":
75736			if v != nil {
75737				var typeVar TypeBasicLinkedService
75738				err = json.Unmarshal(*v, &typeVar)
75739				if err != nil {
75740					return err
75741				}
75742				sels.Type = typeVar
75743			}
75744		}
75745	}
75746
75747	return nil
75748}
75749
75750// SapEccLinkedServiceTypeProperties SAP ECC linked service properties.
75751type SapEccLinkedServiceTypeProperties struct {
75752	// URL - The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string).
75753	URL *string `json:"url,omitempty"`
75754	// Username - The username for Basic authentication. Type: string (or Expression with resultType string).
75755	Username *string `json:"username,omitempty"`
75756	// Password - The password for Basic authentication.
75757	Password BasicSecretBase `json:"password,omitempty"`
75758	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string).
75759	EncryptedCredential *string `json:"encryptedCredential,omitempty"`
75760}
75761
75762// UnmarshalJSON is the custom unmarshaler for SapEccLinkedServiceTypeProperties struct.
75763func (selstp *SapEccLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
75764	var m map[string]*json.RawMessage
75765	err := json.Unmarshal(body, &m)
75766	if err != nil {
75767		return err
75768	}
75769	for k, v := range m {
75770		switch k {
75771		case "url":
75772			if v != nil {
75773				var URL string
75774				err = json.Unmarshal(*v, &URL)
75775				if err != nil {
75776					return err
75777				}
75778				selstp.URL = &URL
75779			}
75780		case "username":
75781			if v != nil {
75782				var username string
75783				err = json.Unmarshal(*v, &username)
75784				if err != nil {
75785					return err
75786				}
75787				selstp.Username = &username
75788			}
75789		case "password":
75790			if v != nil {
75791				password, err := unmarshalBasicSecretBase(*v)
75792				if err != nil {
75793					return err
75794				}
75795				selstp.Password = password
75796			}
75797		case "encryptedCredential":
75798			if v != nil {
75799				var encryptedCredential string
75800				err = json.Unmarshal(*v, &encryptedCredential)
75801				if err != nil {
75802					return err
75803				}
75804				selstp.EncryptedCredential = &encryptedCredential
75805			}
75806		}
75807	}
75808
75809	return nil
75810}
75811
75812// SapEccResourceDataset the path of the SAP ECC OData entity.
75813type SapEccResourceDataset struct {
75814	// SapEccResourceDatasetTypeProperties - SAP ECC OData resource dataset properties.
75815	*SapEccResourceDatasetTypeProperties `json:"typeProperties,omitempty"`
75816	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
75817	AdditionalProperties map[string]interface{} `json:""`
75818	// Description - Dataset description.
75819	Description *string `json:"description,omitempty"`
75820	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
75821	Structure interface{} `json:"structure,omitempty"`
75822	// LinkedServiceName - Linked service reference.
75823	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
75824	// Parameters - Parameters for dataset.
75825	Parameters map[string]*ParameterSpecification `json:"parameters"`
75826	// Annotations - List of tags that can be used for describing the Dataset.
75827	Annotations *[]interface{} `json:"annotations,omitempty"`
75828	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
75829	Type TypeBasicDataset `json:"type,omitempty"`
75830}
75831
75832// MarshalJSON is the custom marshaler for SapEccResourceDataset.
75833func (serd SapEccResourceDataset) MarshalJSON() ([]byte, error) {
75834	serd.Type = TypeSapEccResource
75835	objectMap := make(map[string]interface{})
75836	if serd.SapEccResourceDatasetTypeProperties != nil {
75837		objectMap["typeProperties"] = serd.SapEccResourceDatasetTypeProperties
75838	}
75839	if serd.Description != nil {
75840		objectMap["description"] = serd.Description
75841	}
75842	objectMap["structure"] = serd.Structure
75843	if serd.LinkedServiceName != nil {
75844		objectMap["linkedServiceName"] = serd.LinkedServiceName
75845	}
75846	if serd.Parameters != nil {
75847		objectMap["parameters"] = serd.Parameters
75848	}
75849	if serd.Annotations != nil {
75850		objectMap["annotations"] = serd.Annotations
75851	}
75852	if serd.Type != "" {
75853		objectMap["type"] = serd.Type
75854	}
75855	for k, v := range serd.AdditionalProperties {
75856		objectMap[k] = v
75857	}
75858	return json.Marshal(objectMap)
75859}
75860
75861// AsResponsysObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75862func (serd SapEccResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
75863	return nil, false
75864}
75865
75866// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75867func (serd SapEccResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
75868	return nil, false
75869}
75870
75871// AsVerticaTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75872func (serd SapEccResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
75873	return nil, false
75874}
75875
75876// AsNetezzaTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75877func (serd SapEccResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
75878	return nil, false
75879}
75880
75881// AsZohoObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75882func (serd SapEccResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
75883	return nil, false
75884}
75885
75886// AsXeroObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75887func (serd SapEccResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
75888	return nil, false
75889}
75890
75891// AsSquareObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75892func (serd SapEccResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
75893	return nil, false
75894}
75895
75896// AsSparkObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75897func (serd SapEccResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
75898	return nil, false
75899}
75900
75901// AsShopifyObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75902func (serd SapEccResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
75903	return nil, false
75904}
75905
75906// AsServiceNowObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75907func (serd SapEccResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
75908	return nil, false
75909}
75910
75911// AsQuickBooksObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75912func (serd SapEccResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
75913	return nil, false
75914}
75915
75916// AsPrestoObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75917func (serd SapEccResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
75918	return nil, false
75919}
75920
75921// AsPhoenixObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75922func (serd SapEccResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
75923	return nil, false
75924}
75925
75926// AsPaypalObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75927func (serd SapEccResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
75928	return nil, false
75929}
75930
75931// AsMarketoObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75932func (serd SapEccResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
75933	return nil, false
75934}
75935
75936// AsMariaDBTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75937func (serd SapEccResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
75938	return nil, false
75939}
75940
75941// AsMagentoObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75942func (serd SapEccResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
75943	return nil, false
75944}
75945
75946// AsJiraObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75947func (serd SapEccResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
75948	return nil, false
75949}
75950
75951// AsImpalaObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75952func (serd SapEccResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
75953	return nil, false
75954}
75955
75956// AsHubspotObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75957func (serd SapEccResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
75958	return nil, false
75959}
75960
75961// AsHiveObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75962func (serd SapEccResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
75963	return nil, false
75964}
75965
75966// AsHBaseObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75967func (serd SapEccResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
75968	return nil, false
75969}
75970
75971// AsGreenplumTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75972func (serd SapEccResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
75973	return nil, false
75974}
75975
75976// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75977func (serd SapEccResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
75978	return nil, false
75979}
75980
75981// AsEloquaObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75982func (serd SapEccResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
75983	return nil, false
75984}
75985
75986// AsDrillTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75987func (serd SapEccResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
75988	return nil, false
75989}
75990
75991// AsCouchbaseTableDataset is the BasicDataset implementation for SapEccResourceDataset.
75992func (serd SapEccResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
75993	return nil, false
75994}
75995
75996// AsConcurObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
75997func (serd SapEccResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
75998	return nil, false
75999}
76000
76001// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76002func (serd SapEccResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
76003	return nil, false
76004}
76005
76006// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
76007func (serd SapEccResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
76008	return nil, false
76009}
76010
76011// AsHTTPDataset is the BasicDataset implementation for SapEccResourceDataset.
76012func (serd SapEccResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) {
76013	return nil, false
76014}
76015
76016// AsAzureSearchIndexDataset is the BasicDataset implementation for SapEccResourceDataset.
76017func (serd SapEccResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
76018	return nil, false
76019}
76020
76021// AsWebTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76022func (serd SapEccResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) {
76023	return nil, false
76024}
76025
76026// AsSQLServerTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76027func (serd SapEccResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
76028	return nil, false
76029}
76030
76031// AsSapEccResourceDataset is the BasicDataset implementation for SapEccResourceDataset.
76032func (serd SapEccResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
76033	return &serd, true
76034}
76035
76036// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapEccResourceDataset.
76037func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
76038	return nil, false
76039}
76040
76041// AsSalesforceObjectDataset is the BasicDataset implementation for SapEccResourceDataset.
76042func (serd SapEccResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
76043	return nil, false
76044}
76045
76046// AsRelationalTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76047func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
76048	return nil, false
76049}
76050
76051// AsAzureMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76052func (serd SapEccResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
76053	return nil, false
76054}
76055
76056// AsOracleTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76057func (serd SapEccResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
76058	return nil, false
76059}
76060
76061// AsODataResourceDataset is the BasicDataset implementation for SapEccResourceDataset.
76062func (serd SapEccResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
76063	return nil, false
76064}
76065
76066// AsMongoDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset.
76067func (serd SapEccResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
76068	return nil, false
76069}
76070
76071// AsFileShareDataset is the BasicDataset implementation for SapEccResourceDataset.
76072func (serd SapEccResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) {
76073	return nil, false
76074}
76075
76076// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapEccResourceDataset.
76077func (serd SapEccResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
76078	return nil, false
76079}
76080
76081// AsDynamicsEntityDataset is the BasicDataset implementation for SapEccResourceDataset.
76082func (serd SapEccResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
76083	return nil, false
76084}
76085
76086// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset.
76087func (serd SapEccResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
76088	return nil, false
76089}
76090
76091// AsCustomDataset is the BasicDataset implementation for SapEccResourceDataset.
76092func (serd SapEccResourceDataset) AsCustomDataset() (*CustomDataset, bool) {
76093	return nil, false
76094}
76095
76096// AsCassandraTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76097func (serd SapEccResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
76098	return nil, false
76099}
76100
76101// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76102func (serd SapEccResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
76103	return nil, false
76104}
76105
76106// AsAzureSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76107func (serd SapEccResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
76108	return nil, false
76109}
76110
76111// AsAzureTableDataset is the BasicDataset implementation for SapEccResourceDataset.
76112func (serd SapEccResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
76113	return nil, false
76114}
76115
76116// AsAzureBlobDataset is the BasicDataset implementation for SapEccResourceDataset.
76117func (serd SapEccResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
76118	return nil, false
76119}
76120
76121// AsAmazonS3Dataset is the BasicDataset implementation for SapEccResourceDataset.
76122func (serd SapEccResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
76123	return nil, false
76124}
76125
76126// AsDataset is the BasicDataset implementation for SapEccResourceDataset.
76127func (serd SapEccResourceDataset) AsDataset() (*Dataset, bool) {
76128	return nil, false
76129}
76130
76131// AsBasicDataset is the BasicDataset implementation for SapEccResourceDataset.
76132func (serd SapEccResourceDataset) AsBasicDataset() (BasicDataset, bool) {
76133	return &serd, true
76134}
76135
76136// UnmarshalJSON is the custom unmarshaler for SapEccResourceDataset struct.
76137func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error {
76138	var m map[string]*json.RawMessage
76139	err := json.Unmarshal(body, &m)
76140	if err != nil {
76141		return err
76142	}
76143	for k, v := range m {
76144		switch k {
76145		case "typeProperties":
76146			if v != nil {
76147				var sapEccResourceDatasetTypeProperties SapEccResourceDatasetTypeProperties
76148				err = json.Unmarshal(*v, &sapEccResourceDatasetTypeProperties)
76149				if err != nil {
76150					return err
76151				}
76152				serd.SapEccResourceDatasetTypeProperties = &sapEccResourceDatasetTypeProperties
76153			}
76154		default:
76155			if v != nil {
76156				var additionalProperties interface{}
76157				err = json.Unmarshal(*v, &additionalProperties)
76158				if err != nil {
76159					return err
76160				}
76161				if serd.AdditionalProperties == nil {
76162					serd.AdditionalProperties = make(map[string]interface{})
76163				}
76164				serd.AdditionalProperties[k] = additionalProperties
76165			}
76166		case "description":
76167			if v != nil {
76168				var description string
76169				err = json.Unmarshal(*v, &description)
76170				if err != nil {
76171					return err
76172				}
76173				serd.Description = &description
76174			}
76175		case "structure":
76176			if v != nil {
76177				var structure interface{}
76178				err = json.Unmarshal(*v, &structure)
76179				if err != nil {
76180					return err
76181				}
76182				serd.Structure = structure
76183			}
76184		case "linkedServiceName":
76185			if v != nil {
76186				var linkedServiceName LinkedServiceReference
76187				err = json.Unmarshal(*v, &linkedServiceName)
76188				if err != nil {
76189					return err
76190				}
76191				serd.LinkedServiceName = &linkedServiceName
76192			}
76193		case "parameters":
76194			if v != nil {
76195				var parameters map[string]*ParameterSpecification
76196				err = json.Unmarshal(*v, &parameters)
76197				if err != nil {
76198					return err
76199				}
76200				serd.Parameters = parameters
76201			}
76202		case "annotations":
76203			if v != nil {
76204				var annotations []interface{}
76205				err = json.Unmarshal(*v, &annotations)
76206				if err != nil {
76207					return err
76208				}
76209				serd.Annotations = &annotations
76210			}
76211		case "type":
76212			if v != nil {
76213				var typeVar TypeBasicDataset
76214				err = json.Unmarshal(*v, &typeVar)
76215				if err != nil {
76216					return err
76217				}
76218				serd.Type = typeVar
76219			}
76220		}
76221	}
76222
76223	return nil
76224}
76225
76226// SapEccResourceDatasetTypeProperties sap ECC OData resource dataset properties.
76227type SapEccResourceDatasetTypeProperties struct {
76228	// Path - The path of the SAP ECC OData entity. Type: string (or Expression with resultType string).
76229	Path *string `json:"path,omitempty"`
76230}
76231
76232// SapEccSource a copy activity source for SAP ECC source.
76233type SapEccSource struct {
76234	// Query - SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string).
76235	Query *string `json:"query,omitempty"`
76236	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
76237	AdditionalProperties map[string]interface{} `json:""`
76238	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
76239	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
76240	// 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])).
76241	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
76242	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
76243	Type TypeBasicCopySource `json:"type,omitempty"`
76244}
76245
76246// MarshalJSON is the custom marshaler for SapEccSource.
76247func (ses SapEccSource) MarshalJSON() ([]byte, error) {
76248	ses.Type = TypeSapEccSource
76249	objectMap := make(map[string]interface{})
76250	if ses.Query != nil {
76251		objectMap["query"] = ses.Query
76252	}
76253	objectMap["sourceRetryCount"] = ses.SourceRetryCount
76254	objectMap["sourceRetryWait"] = ses.SourceRetryWait
76255	if ses.Type != "" {
76256		objectMap["type"] = ses.Type
76257	}
76258	for k, v := range ses.AdditionalProperties {
76259		objectMap[k] = v
76260	}
76261	return json.Marshal(objectMap)
76262}
76263
76264// AsAmazonRedshiftSource is the BasicCopySource implementation for SapEccSource.
76265func (ses SapEccSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
76266	return nil, false
76267}
76268
76269// AsResponsysSource is the BasicCopySource implementation for SapEccSource.
76270func (ses SapEccSource) AsResponsysSource() (*ResponsysSource, bool) {
76271	return nil, false
76272}
76273
76274// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SapEccSource.
76275func (ses SapEccSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
76276	return nil, false
76277}
76278
76279// AsVerticaSource is the BasicCopySource implementation for SapEccSource.
76280func (ses SapEccSource) AsVerticaSource() (*VerticaSource, bool) {
76281	return nil, false
76282}
76283
76284// AsNetezzaSource is the BasicCopySource implementation for SapEccSource.
76285func (ses SapEccSource) AsNetezzaSource() (*NetezzaSource, bool) {
76286	return nil, false
76287}
76288
76289// AsZohoSource is the BasicCopySource implementation for SapEccSource.
76290func (ses SapEccSource) AsZohoSource() (*ZohoSource, bool) {
76291	return nil, false
76292}
76293
76294// AsXeroSource is the BasicCopySource implementation for SapEccSource.
76295func (ses SapEccSource) AsXeroSource() (*XeroSource, bool) {
76296	return nil, false
76297}
76298
76299// AsSquareSource is the BasicCopySource implementation for SapEccSource.
76300func (ses SapEccSource) AsSquareSource() (*SquareSource, bool) {
76301	return nil, false
76302}
76303
76304// AsSparkSource is the BasicCopySource implementation for SapEccSource.
76305func (ses SapEccSource) AsSparkSource() (*SparkSource, bool) {
76306	return nil, false
76307}
76308
76309// AsShopifySource is the BasicCopySource implementation for SapEccSource.
76310func (ses SapEccSource) AsShopifySource() (*ShopifySource, bool) {
76311	return nil, false
76312}
76313
76314// AsServiceNowSource is the BasicCopySource implementation for SapEccSource.
76315func (ses SapEccSource) AsServiceNowSource() (*ServiceNowSource, bool) {
76316	return nil, false
76317}
76318
76319// AsQuickBooksSource is the BasicCopySource implementation for SapEccSource.
76320func (ses SapEccSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
76321	return nil, false
76322}
76323
76324// AsPrestoSource is the BasicCopySource implementation for SapEccSource.
76325func (ses SapEccSource) AsPrestoSource() (*PrestoSource, bool) {
76326	return nil, false
76327}
76328
76329// AsPhoenixSource is the BasicCopySource implementation for SapEccSource.
76330func (ses SapEccSource) AsPhoenixSource() (*PhoenixSource, bool) {
76331	return nil, false
76332}
76333
76334// AsPaypalSource is the BasicCopySource implementation for SapEccSource.
76335func (ses SapEccSource) AsPaypalSource() (*PaypalSource, bool) {
76336	return nil, false
76337}
76338
76339// AsMarketoSource is the BasicCopySource implementation for SapEccSource.
76340func (ses SapEccSource) AsMarketoSource() (*MarketoSource, bool) {
76341	return nil, false
76342}
76343
76344// AsMariaDBSource is the BasicCopySource implementation for SapEccSource.
76345func (ses SapEccSource) AsMariaDBSource() (*MariaDBSource, bool) {
76346	return nil, false
76347}
76348
76349// AsMagentoSource is the BasicCopySource implementation for SapEccSource.
76350func (ses SapEccSource) AsMagentoSource() (*MagentoSource, bool) {
76351	return nil, false
76352}
76353
76354// AsJiraSource is the BasicCopySource implementation for SapEccSource.
76355func (ses SapEccSource) AsJiraSource() (*JiraSource, bool) {
76356	return nil, false
76357}
76358
76359// AsImpalaSource is the BasicCopySource implementation for SapEccSource.
76360func (ses SapEccSource) AsImpalaSource() (*ImpalaSource, bool) {
76361	return nil, false
76362}
76363
76364// AsHubspotSource is the BasicCopySource implementation for SapEccSource.
76365func (ses SapEccSource) AsHubspotSource() (*HubspotSource, bool) {
76366	return nil, false
76367}
76368
76369// AsHiveSource is the BasicCopySource implementation for SapEccSource.
76370func (ses SapEccSource) AsHiveSource() (*HiveSource, bool) {
76371	return nil, false
76372}
76373
76374// AsHBaseSource is the BasicCopySource implementation for SapEccSource.
76375func (ses SapEccSource) AsHBaseSource() (*HBaseSource, bool) {
76376	return nil, false
76377}
76378
76379// AsGreenplumSource is the BasicCopySource implementation for SapEccSource.
76380func (ses SapEccSource) AsGreenplumSource() (*GreenplumSource, bool) {
76381	return nil, false
76382}
76383
76384// AsGoogleBigQuerySource is the BasicCopySource implementation for SapEccSource.
76385func (ses SapEccSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
76386	return nil, false
76387}
76388
76389// AsEloquaSource is the BasicCopySource implementation for SapEccSource.
76390func (ses SapEccSource) AsEloquaSource() (*EloquaSource, bool) {
76391	return nil, false
76392}
76393
76394// AsDrillSource is the BasicCopySource implementation for SapEccSource.
76395func (ses SapEccSource) AsDrillSource() (*DrillSource, bool) {
76396	return nil, false
76397}
76398
76399// AsCouchbaseSource is the BasicCopySource implementation for SapEccSource.
76400func (ses SapEccSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
76401	return nil, false
76402}
76403
76404// AsConcurSource is the BasicCopySource implementation for SapEccSource.
76405func (ses SapEccSource) AsConcurSource() (*ConcurSource, bool) {
76406	return nil, false
76407}
76408
76409// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapEccSource.
76410func (ses SapEccSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
76411	return nil, false
76412}
76413
76414// AsAmazonMWSSource is the BasicCopySource implementation for SapEccSource.
76415func (ses SapEccSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
76416	return nil, false
76417}
76418
76419// AsHTTPSource is the BasicCopySource implementation for SapEccSource.
76420func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) {
76421	return nil, false
76422}
76423
76424// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapEccSource.
76425func (ses SapEccSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
76426	return nil, false
76427}
76428
76429// AsMongoDbSource is the BasicCopySource implementation for SapEccSource.
76430func (ses SapEccSource) AsMongoDbSource() (*MongoDbSource, bool) {
76431	return nil, false
76432}
76433
76434// AsCassandraSource is the BasicCopySource implementation for SapEccSource.
76435func (ses SapEccSource) AsCassandraSource() (*CassandraSource, bool) {
76436	return nil, false
76437}
76438
76439// AsWebSource is the BasicCopySource implementation for SapEccSource.
76440func (ses SapEccSource) AsWebSource() (*WebSource, bool) {
76441	return nil, false
76442}
76443
76444// AsOracleSource is the BasicCopySource implementation for SapEccSource.
76445func (ses SapEccSource) AsOracleSource() (*OracleSource, bool) {
76446	return nil, false
76447}
76448
76449// AsAzureMySQLSource is the BasicCopySource implementation for SapEccSource.
76450func (ses SapEccSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
76451	return nil, false
76452}
76453
76454// AsHdfsSource is the BasicCopySource implementation for SapEccSource.
76455func (ses SapEccSource) AsHdfsSource() (*HdfsSource, bool) {
76456	return nil, false
76457}
76458
76459// AsFileSystemSource is the BasicCopySource implementation for SapEccSource.
76460func (ses SapEccSource) AsFileSystemSource() (*FileSystemSource, bool) {
76461	return nil, false
76462}
76463
76464// AsSQLDWSource is the BasicCopySource implementation for SapEccSource.
76465func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) {
76466	return nil, false
76467}
76468
76469// AsSQLSource is the BasicCopySource implementation for SapEccSource.
76470func (ses SapEccSource) AsSQLSource() (*SQLSource, bool) {
76471	return nil, false
76472}
76473
76474// AsSapEccSource is the BasicCopySource implementation for SapEccSource.
76475func (ses SapEccSource) AsSapEccSource() (*SapEccSource, bool) {
76476	return &ses, true
76477}
76478
76479// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapEccSource.
76480func (ses SapEccSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
76481	return nil, false
76482}
76483
76484// AsSalesforceSource is the BasicCopySource implementation for SapEccSource.
76485func (ses SapEccSource) AsSalesforceSource() (*SalesforceSource, bool) {
76486	return nil, false
76487}
76488
76489// AsRelationalSource is the BasicCopySource implementation for SapEccSource.
76490func (ses SapEccSource) AsRelationalSource() (*RelationalSource, bool) {
76491	return nil, false
76492}
76493
76494// AsDynamicsSource is the BasicCopySource implementation for SapEccSource.
76495func (ses SapEccSource) AsDynamicsSource() (*DynamicsSource, bool) {
76496	return nil, false
76497}
76498
76499// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapEccSource.
76500func (ses SapEccSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
76501	return nil, false
76502}
76503
76504// AsBlobSource is the BasicCopySource implementation for SapEccSource.
76505func (ses SapEccSource) AsBlobSource() (*BlobSource, bool) {
76506	return nil, false
76507}
76508
76509// AsAzureTableSource is the BasicCopySource implementation for SapEccSource.
76510func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) {
76511	return nil, false
76512}
76513
76514// AsCopySource is the BasicCopySource implementation for SapEccSource.
76515func (ses SapEccSource) AsCopySource() (*CopySource, bool) {
76516	return nil, false
76517}
76518
76519// AsBasicCopySource is the BasicCopySource implementation for SapEccSource.
76520func (ses SapEccSource) AsBasicCopySource() (BasicCopySource, bool) {
76521	return &ses, true
76522}
76523
76524// SapHanaLinkedService SAP HANA Linked Service.
76525type SapHanaLinkedService struct {
76526	// SapHanaLinkedServiceProperties - Properties specific to this linked service type.
76527	*SapHanaLinkedServiceProperties `json:"typeProperties,omitempty"`
76528	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
76529	AdditionalProperties map[string]interface{} `json:""`
76530	// ConnectVia - The integration runtime reference.
76531	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
76532	// Description - Linked service description.
76533	Description *string `json:"description,omitempty"`
76534	// Parameters - Parameters for linked service.
76535	Parameters map[string]*ParameterSpecification `json:"parameters"`
76536	// Annotations - List of tags that can be used for describing the Dataset.
76537	Annotations *[]interface{} `json:"annotations,omitempty"`
76538	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
76539	Type TypeBasicLinkedService `json:"type,omitempty"`
76540}
76541
76542// MarshalJSON is the custom marshaler for SapHanaLinkedService.
76543func (shls SapHanaLinkedService) MarshalJSON() ([]byte, error) {
76544	shls.Type = TypeSapHana
76545	objectMap := make(map[string]interface{})
76546	if shls.SapHanaLinkedServiceProperties != nil {
76547		objectMap["typeProperties"] = shls.SapHanaLinkedServiceProperties
76548	}
76549	if shls.ConnectVia != nil {
76550		objectMap["connectVia"] = shls.ConnectVia
76551	}
76552	if shls.Description != nil {
76553		objectMap["description"] = shls.Description
76554	}
76555	if shls.Parameters != nil {
76556		objectMap["parameters"] = shls.Parameters
76557	}
76558	if shls.Annotations != nil {
76559		objectMap["annotations"] = shls.Annotations
76560	}
76561	if shls.Type != "" {
76562		objectMap["type"] = shls.Type
76563	}
76564	for k, v := range shls.AdditionalProperties {
76565		objectMap[k] = v
76566	}
76567	return json.Marshal(objectMap)
76568}
76569
76570// AsResponsysLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76571func (shls SapHanaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
76572	return nil, false
76573}
76574
76575// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76576func (shls SapHanaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
76577	return nil, false
76578}
76579
76580// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76581func (shls SapHanaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
76582	return nil, false
76583}
76584
76585// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76586func (shls SapHanaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
76587	return nil, false
76588}
76589
76590// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76591func (shls SapHanaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
76592	return nil, false
76593}
76594
76595// AsNetezzaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76596func (shls SapHanaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
76597	return nil, false
76598}
76599
76600// AsVerticaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76601func (shls SapHanaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
76602	return nil, false
76603}
76604
76605// AsZohoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76606func (shls SapHanaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
76607	return nil, false
76608}
76609
76610// AsXeroLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76611func (shls SapHanaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
76612	return nil, false
76613}
76614
76615// AsSquareLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76616func (shls SapHanaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
76617	return nil, false
76618}
76619
76620// AsSparkLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76621func (shls SapHanaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
76622	return nil, false
76623}
76624
76625// AsShopifyLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76626func (shls SapHanaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
76627	return nil, false
76628}
76629
76630// AsServiceNowLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76631func (shls SapHanaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
76632	return nil, false
76633}
76634
76635// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76636func (shls SapHanaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
76637	return nil, false
76638}
76639
76640// AsPrestoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76641func (shls SapHanaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
76642	return nil, false
76643}
76644
76645// AsPhoenixLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76646func (shls SapHanaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
76647	return nil, false
76648}
76649
76650// AsPaypalLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76651func (shls SapHanaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
76652	return nil, false
76653}
76654
76655// AsMarketoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76656func (shls SapHanaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
76657	return nil, false
76658}
76659
76660// AsMariaDBLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76661func (shls SapHanaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
76662	return nil, false
76663}
76664
76665// AsMagentoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76666func (shls SapHanaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
76667	return nil, false
76668}
76669
76670// AsJiraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76671func (shls SapHanaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
76672	return nil, false
76673}
76674
76675// AsImpalaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76676func (shls SapHanaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
76677	return nil, false
76678}
76679
76680// AsHubspotLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76681func (shls SapHanaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
76682	return nil, false
76683}
76684
76685// AsHiveLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76686func (shls SapHanaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
76687	return nil, false
76688}
76689
76690// AsHBaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76691func (shls SapHanaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
76692	return nil, false
76693}
76694
76695// AsGreenplumLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76696func (shls SapHanaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
76697	return nil, false
76698}
76699
76700// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76701func (shls SapHanaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
76702	return nil, false
76703}
76704
76705// AsEloquaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76706func (shls SapHanaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
76707	return nil, false
76708}
76709
76710// AsDrillLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76711func (shls SapHanaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
76712	return nil, false
76713}
76714
76715// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76716func (shls SapHanaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
76717	return nil, false
76718}
76719
76720// AsConcurLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76721func (shls SapHanaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
76722	return nil, false
76723}
76724
76725// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76726func (shls SapHanaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
76727	return nil, false
76728}
76729
76730// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76731func (shls SapHanaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
76732	return nil, false
76733}
76734
76735// AsSapHanaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76736func (shls SapHanaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
76737	return &shls, true
76738}
76739
76740// AsSapBWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76741func (shls SapHanaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
76742	return nil, false
76743}
76744
76745// AsSftpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76746func (shls SapHanaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
76747	return nil, false
76748}
76749
76750// AsFtpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76751func (shls SapHanaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
76752	return nil, false
76753}
76754
76755// AsHTTPLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76756func (shls SapHanaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
76757	return nil, false
76758}
76759
76760// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76761func (shls SapHanaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
76762	return nil, false
76763}
76764
76765// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76766func (shls SapHanaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
76767	return nil, false
76768}
76769
76770// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76771func (shls SapHanaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
76772	return nil, false
76773}
76774
76775// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76776func (shls SapHanaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
76777	return nil, false
76778}
76779
76780// AsSapEccLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76781func (shls SapHanaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
76782	return nil, false
76783}
76784
76785// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76786func (shls SapHanaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
76787	return nil, false
76788}
76789
76790// AsSalesforceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76791func (shls SapHanaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
76792	return nil, false
76793}
76794
76795// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76796func (shls SapHanaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
76797	return nil, false
76798}
76799
76800// AsMongoDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76801func (shls SapHanaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
76802	return nil, false
76803}
76804
76805// AsCassandraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76806func (shls SapHanaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
76807	return nil, false
76808}
76809
76810// AsWebLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76811func (shls SapHanaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
76812	return nil, false
76813}
76814
76815// AsODataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76816func (shls SapHanaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
76817	return nil, false
76818}
76819
76820// AsHdfsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76821func (shls SapHanaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
76822	return nil, false
76823}
76824
76825// AsOdbcLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76826func (shls SapHanaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
76827	return nil, false
76828}
76829
76830// AsAzureMLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76831func (shls SapHanaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
76832	return nil, false
76833}
76834
76835// AsTeradataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76836func (shls SapHanaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
76837	return nil, false
76838}
76839
76840// AsDb2LinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76841func (shls SapHanaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
76842	return nil, false
76843}
76844
76845// AsSybaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76846func (shls SapHanaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
76847	return nil, false
76848}
76849
76850// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76851func (shls SapHanaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
76852	return nil, false
76853}
76854
76855// AsMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76856func (shls SapHanaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
76857	return nil, false
76858}
76859
76860// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76861func (shls SapHanaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
76862	return nil, false
76863}
76864
76865// AsOracleLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76866func (shls SapHanaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
76867	return nil, false
76868}
76869
76870// AsFileServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76871func (shls SapHanaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
76872	return nil, false
76873}
76874
76875// AsHDInsightLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76876func (shls SapHanaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
76877	return nil, false
76878}
76879
76880// AsDynamicsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76881func (shls SapHanaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
76882	return nil, false
76883}
76884
76885// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76886func (shls SapHanaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
76887	return nil, false
76888}
76889
76890// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76891func (shls SapHanaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
76892	return nil, false
76893}
76894
76895// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76896func (shls SapHanaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
76897	return nil, false
76898}
76899
76900// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76901func (shls SapHanaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
76902	return nil, false
76903}
76904
76905// AsSQLServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76906func (shls SapHanaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
76907	return nil, false
76908}
76909
76910// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76911func (shls SapHanaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
76912	return nil, false
76913}
76914
76915// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76916func (shls SapHanaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
76917	return nil, false
76918}
76919
76920// AsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76921func (shls SapHanaLinkedService) AsLinkedService() (*LinkedService, bool) {
76922	return nil, false
76923}
76924
76925// AsBasicLinkedService is the BasicLinkedService implementation for SapHanaLinkedService.
76926func (shls SapHanaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
76927	return &shls, true
76928}
76929
76930// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedService struct.
76931func (shls *SapHanaLinkedService) UnmarshalJSON(body []byte) error {
76932	var m map[string]*json.RawMessage
76933	err := json.Unmarshal(body, &m)
76934	if err != nil {
76935		return err
76936	}
76937	for k, v := range m {
76938		switch k {
76939		case "typeProperties":
76940			if v != nil {
76941				var sapHanaLinkedServiceProperties SapHanaLinkedServiceProperties
76942				err = json.Unmarshal(*v, &sapHanaLinkedServiceProperties)
76943				if err != nil {
76944					return err
76945				}
76946				shls.SapHanaLinkedServiceProperties = &sapHanaLinkedServiceProperties
76947			}
76948		default:
76949			if v != nil {
76950				var additionalProperties interface{}
76951				err = json.Unmarshal(*v, &additionalProperties)
76952				if err != nil {
76953					return err
76954				}
76955				if shls.AdditionalProperties == nil {
76956					shls.AdditionalProperties = make(map[string]interface{})
76957				}
76958				shls.AdditionalProperties[k] = additionalProperties
76959			}
76960		case "connectVia":
76961			if v != nil {
76962				var connectVia IntegrationRuntimeReference
76963				err = json.Unmarshal(*v, &connectVia)
76964				if err != nil {
76965					return err
76966				}
76967				shls.ConnectVia = &connectVia
76968			}
76969		case "description":
76970			if v != nil {
76971				var description string
76972				err = json.Unmarshal(*v, &description)
76973				if err != nil {
76974					return err
76975				}
76976				shls.Description = &description
76977			}
76978		case "parameters":
76979			if v != nil {
76980				var parameters map[string]*ParameterSpecification
76981				err = json.Unmarshal(*v, &parameters)
76982				if err != nil {
76983					return err
76984				}
76985				shls.Parameters = parameters
76986			}
76987		case "annotations":
76988			if v != nil {
76989				var annotations []interface{}
76990				err = json.Unmarshal(*v, &annotations)
76991				if err != nil {
76992					return err
76993				}
76994				shls.Annotations = &annotations
76995			}
76996		case "type":
76997			if v != nil {
76998				var typeVar TypeBasicLinkedService
76999				err = json.Unmarshal(*v, &typeVar)
77000				if err != nil {
77001					return err
77002				}
77003				shls.Type = typeVar
77004			}
77005		}
77006	}
77007
77008	return nil
77009}
77010
77011// SapHanaLinkedServiceProperties properties specific to this linked service type.
77012type SapHanaLinkedServiceProperties struct {
77013	// Server - Host name of the SAP HANA server. Type: string (or Expression with resultType string).
77014	Server interface{} `json:"server,omitempty"`
77015	// AuthenticationType - The authentication type to be used to connect to the SAP HANA server. Possible values include: 'SapHanaAuthenticationTypeBasic', 'SapHanaAuthenticationTypeWindows'
77016	AuthenticationType SapHanaAuthenticationType `json:"authenticationType,omitempty"`
77017	// UserName - Username to access the SAP HANA server. Type: string (or Expression with resultType string).
77018	UserName interface{} `json:"userName,omitempty"`
77019	// Password - Password to access the SAP HANA server.
77020	Password BasicSecretBase `json:"password,omitempty"`
77021	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
77022	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
77023}
77024
77025// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedServiceProperties struct.
77026func (shlsp *SapHanaLinkedServiceProperties) UnmarshalJSON(body []byte) error {
77027	var m map[string]*json.RawMessage
77028	err := json.Unmarshal(body, &m)
77029	if err != nil {
77030		return err
77031	}
77032	for k, v := range m {
77033		switch k {
77034		case "server":
77035			if v != nil {
77036				var server interface{}
77037				err = json.Unmarshal(*v, &server)
77038				if err != nil {
77039					return err
77040				}
77041				shlsp.Server = server
77042			}
77043		case "authenticationType":
77044			if v != nil {
77045				var authenticationType SapHanaAuthenticationType
77046				err = json.Unmarshal(*v, &authenticationType)
77047				if err != nil {
77048					return err
77049				}
77050				shlsp.AuthenticationType = authenticationType
77051			}
77052		case "userName":
77053			if v != nil {
77054				var userName interface{}
77055				err = json.Unmarshal(*v, &userName)
77056				if err != nil {
77057					return err
77058				}
77059				shlsp.UserName = userName
77060			}
77061		case "password":
77062			if v != nil {
77063				password, err := unmarshalBasicSecretBase(*v)
77064				if err != nil {
77065					return err
77066				}
77067				shlsp.Password = password
77068			}
77069		case "encryptedCredential":
77070			if v != nil {
77071				var encryptedCredential interface{}
77072				err = json.Unmarshal(*v, &encryptedCredential)
77073				if err != nil {
77074					return err
77075				}
77076				shlsp.EncryptedCredential = encryptedCredential
77077			}
77078		}
77079	}
77080
77081	return nil
77082}
77083
77084// ScheduleTrigger trigger that creates pipeline runs periodically, on schedule.
77085type ScheduleTrigger struct {
77086	// ScheduleTriggerTypeProperties - Schedule Trigger properties.
77087	*ScheduleTriggerTypeProperties `json:"typeProperties,omitempty"`
77088	// Pipelines - Pipelines that need to be started.
77089	Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"`
77090	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
77091	AdditionalProperties map[string]interface{} `json:""`
77092	// Description - Trigger description.
77093	Description *string `json:"description,omitempty"`
77094	// RuntimeState - Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
77095	RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
77096	// Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
77097	Type TypeBasicTrigger `json:"type,omitempty"`
77098}
77099
77100// MarshalJSON is the custom marshaler for ScheduleTrigger.
77101func (st ScheduleTrigger) MarshalJSON() ([]byte, error) {
77102	st.Type = TypeScheduleTrigger
77103	objectMap := make(map[string]interface{})
77104	if st.ScheduleTriggerTypeProperties != nil {
77105		objectMap["typeProperties"] = st.ScheduleTriggerTypeProperties
77106	}
77107	if st.Pipelines != nil {
77108		objectMap["pipelines"] = st.Pipelines
77109	}
77110	if st.Description != nil {
77111		objectMap["description"] = st.Description
77112	}
77113	if st.RuntimeState != "" {
77114		objectMap["runtimeState"] = st.RuntimeState
77115	}
77116	if st.Type != "" {
77117		objectMap["type"] = st.Type
77118	}
77119	for k, v := range st.AdditionalProperties {
77120		objectMap[k] = v
77121	}
77122	return json.Marshal(objectMap)
77123}
77124
77125// AsTumblingWindowTrigger is the BasicTrigger implementation for ScheduleTrigger.
77126func (st ScheduleTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
77127	return nil, false
77128}
77129
77130// AsBlobTrigger is the BasicTrigger implementation for ScheduleTrigger.
77131func (st ScheduleTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
77132	return nil, false
77133}
77134
77135// AsScheduleTrigger is the BasicTrigger implementation for ScheduleTrigger.
77136func (st ScheduleTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
77137	return &st, true
77138}
77139
77140// AsMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger.
77141func (st ScheduleTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
77142	return nil, false
77143}
77144
77145// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger.
77146func (st ScheduleTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
77147	return &st, true
77148}
77149
77150// AsTrigger is the BasicTrigger implementation for ScheduleTrigger.
77151func (st ScheduleTrigger) AsTrigger() (*Trigger, bool) {
77152	return nil, false
77153}
77154
77155// AsBasicTrigger is the BasicTrigger implementation for ScheduleTrigger.
77156func (st ScheduleTrigger) AsBasicTrigger() (BasicTrigger, bool) {
77157	return &st, true
77158}
77159
77160// UnmarshalJSON is the custom unmarshaler for ScheduleTrigger struct.
77161func (st *ScheduleTrigger) UnmarshalJSON(body []byte) error {
77162	var m map[string]*json.RawMessage
77163	err := json.Unmarshal(body, &m)
77164	if err != nil {
77165		return err
77166	}
77167	for k, v := range m {
77168		switch k {
77169		case "typeProperties":
77170			if v != nil {
77171				var scheduleTriggerTypeProperties ScheduleTriggerTypeProperties
77172				err = json.Unmarshal(*v, &scheduleTriggerTypeProperties)
77173				if err != nil {
77174					return err
77175				}
77176				st.ScheduleTriggerTypeProperties = &scheduleTriggerTypeProperties
77177			}
77178		case "pipelines":
77179			if v != nil {
77180				var pipelines []TriggerPipelineReference
77181				err = json.Unmarshal(*v, &pipelines)
77182				if err != nil {
77183					return err
77184				}
77185				st.Pipelines = &pipelines
77186			}
77187		default:
77188			if v != nil {
77189				var additionalProperties interface{}
77190				err = json.Unmarshal(*v, &additionalProperties)
77191				if err != nil {
77192					return err
77193				}
77194				if st.AdditionalProperties == nil {
77195					st.AdditionalProperties = make(map[string]interface{})
77196				}
77197				st.AdditionalProperties[k] = additionalProperties
77198			}
77199		case "description":
77200			if v != nil {
77201				var description string
77202				err = json.Unmarshal(*v, &description)
77203				if err != nil {
77204					return err
77205				}
77206				st.Description = &description
77207			}
77208		case "runtimeState":
77209			if v != nil {
77210				var runtimeState TriggerRuntimeState
77211				err = json.Unmarshal(*v, &runtimeState)
77212				if err != nil {
77213					return err
77214				}
77215				st.RuntimeState = runtimeState
77216			}
77217		case "type":
77218			if v != nil {
77219				var typeVar TypeBasicTrigger
77220				err = json.Unmarshal(*v, &typeVar)
77221				if err != nil {
77222					return err
77223				}
77224				st.Type = typeVar
77225			}
77226		}
77227	}
77228
77229	return nil
77230}
77231
77232// ScheduleTriggerRecurrence the workflow trigger recurrence.
77233type ScheduleTriggerRecurrence struct {
77234	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
77235	AdditionalProperties map[string]interface{} `json:""`
77236	// Frequency - The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
77237	Frequency RecurrenceFrequency `json:"frequency,omitempty"`
77238	// Interval - The interval.
77239	Interval *int32 `json:"interval,omitempty"`
77240	// StartTime - The start time.
77241	StartTime *date.Time `json:"startTime,omitempty"`
77242	// EndTime - The end time.
77243	EndTime *date.Time `json:"endTime,omitempty"`
77244	// TimeZone - The time zone.
77245	TimeZone *string `json:"timeZone,omitempty"`
77246	// Schedule - The recurrence schedule.
77247	Schedule *RecurrenceSchedule `json:"schedule,omitempty"`
77248}
77249
77250// MarshalJSON is the custom marshaler for ScheduleTriggerRecurrence.
77251func (str ScheduleTriggerRecurrence) MarshalJSON() ([]byte, error) {
77252	objectMap := make(map[string]interface{})
77253	if str.Frequency != "" {
77254		objectMap["frequency"] = str.Frequency
77255	}
77256	if str.Interval != nil {
77257		objectMap["interval"] = str.Interval
77258	}
77259	if str.StartTime != nil {
77260		objectMap["startTime"] = str.StartTime
77261	}
77262	if str.EndTime != nil {
77263		objectMap["endTime"] = str.EndTime
77264	}
77265	if str.TimeZone != nil {
77266		objectMap["timeZone"] = str.TimeZone
77267	}
77268	if str.Schedule != nil {
77269		objectMap["schedule"] = str.Schedule
77270	}
77271	for k, v := range str.AdditionalProperties {
77272		objectMap[k] = v
77273	}
77274	return json.Marshal(objectMap)
77275}
77276
77277// ScheduleTriggerTypeProperties schedule Trigger properties.
77278type ScheduleTriggerTypeProperties struct {
77279	// Recurrence - Recurrence schedule configuration.
77280	Recurrence *ScheduleTriggerRecurrence `json:"recurrence,omitempty"`
77281}
77282
77283// BasicSecretBase the base definition of a secret type.
77284type BasicSecretBase interface {
77285	AsSecureString() (*SecureString, bool)
77286	AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool)
77287	AsSecretBase() (*SecretBase, bool)
77288}
77289
77290// SecretBase the base definition of a secret type.
77291type SecretBase struct {
77292	// Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret'
77293	Type Type `json:"type,omitempty"`
77294}
77295
77296func unmarshalBasicSecretBase(body []byte) (BasicSecretBase, error) {
77297	var m map[string]interface{}
77298	err := json.Unmarshal(body, &m)
77299	if err != nil {
77300		return nil, err
77301	}
77302
77303	switch m["type"] {
77304	case string(TypeSecureString):
77305		var ss SecureString
77306		err := json.Unmarshal(body, &ss)
77307		return ss, err
77308	case string(TypeAzureKeyVaultSecret):
77309		var akvsr AzureKeyVaultSecretReference
77310		err := json.Unmarshal(body, &akvsr)
77311		return akvsr, err
77312	default:
77313		var sb SecretBase
77314		err := json.Unmarshal(body, &sb)
77315		return sb, err
77316	}
77317}
77318func unmarshalBasicSecretBaseArray(body []byte) ([]BasicSecretBase, error) {
77319	var rawMessages []*json.RawMessage
77320	err := json.Unmarshal(body, &rawMessages)
77321	if err != nil {
77322		return nil, err
77323	}
77324
77325	sbArray := make([]BasicSecretBase, len(rawMessages))
77326
77327	for index, rawMessage := range rawMessages {
77328		sb, err := unmarshalBasicSecretBase(*rawMessage)
77329		if err != nil {
77330			return nil, err
77331		}
77332		sbArray[index] = sb
77333	}
77334	return sbArray, nil
77335}
77336
77337// MarshalJSON is the custom marshaler for SecretBase.
77338func (sb SecretBase) MarshalJSON() ([]byte, error) {
77339	sb.Type = TypeSecretBase
77340	objectMap := make(map[string]interface{})
77341	if sb.Type != "" {
77342		objectMap["type"] = sb.Type
77343	}
77344	return json.Marshal(objectMap)
77345}
77346
77347// AsSecureString is the BasicSecretBase implementation for SecretBase.
77348func (sb SecretBase) AsSecureString() (*SecureString, bool) {
77349	return nil, false
77350}
77351
77352// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecretBase.
77353func (sb SecretBase) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) {
77354	return nil, false
77355}
77356
77357// AsSecretBase is the BasicSecretBase implementation for SecretBase.
77358func (sb SecretBase) AsSecretBase() (*SecretBase, bool) {
77359	return &sb, true
77360}
77361
77362// AsBasicSecretBase is the BasicSecretBase implementation for SecretBase.
77363func (sb SecretBase) AsBasicSecretBase() (BasicSecretBase, bool) {
77364	return &sb, true
77365}
77366
77367// SecureString azure Data Factory secure string definition. The string value will be masked with asterisks '*'
77368// during Get or List API calls.
77369type SecureString struct {
77370	// Value - Value of secure string.
77371	Value *string `json:"value,omitempty"`
77372	// Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret'
77373	Type Type `json:"type,omitempty"`
77374}
77375
77376// MarshalJSON is the custom marshaler for SecureString.
77377func (ss SecureString) MarshalJSON() ([]byte, error) {
77378	ss.Type = TypeSecureString
77379	objectMap := make(map[string]interface{})
77380	if ss.Value != nil {
77381		objectMap["value"] = ss.Value
77382	}
77383	if ss.Type != "" {
77384		objectMap["type"] = ss.Type
77385	}
77386	return json.Marshal(objectMap)
77387}
77388
77389// AsSecureString is the BasicSecretBase implementation for SecureString.
77390func (ss SecureString) AsSecureString() (*SecureString, bool) {
77391	return &ss, true
77392}
77393
77394// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecureString.
77395func (ss SecureString) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) {
77396	return nil, false
77397}
77398
77399// AsSecretBase is the BasicSecretBase implementation for SecureString.
77400func (ss SecureString) AsSecretBase() (*SecretBase, bool) {
77401	return nil, false
77402}
77403
77404// AsBasicSecretBase is the BasicSecretBase implementation for SecureString.
77405func (ss SecureString) AsBasicSecretBase() (BasicSecretBase, bool) {
77406	return &ss, true
77407}
77408
77409// SelfHostedIntegrationRuntime self-hosted integration runtime.
77410type SelfHostedIntegrationRuntime struct {
77411	// LinkedIntegrationRuntimeTypeProperties - When this property is not null, means this is a linked integration runtime. The property is used to access original integration runtime.
77412	*LinkedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"`
77413	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
77414	AdditionalProperties map[string]interface{} `json:""`
77415	// Description - Integration runtime description.
77416	Description *string `json:"description,omitempty"`
77417	// Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged'
77418	Type TypeBasicIntegrationRuntime `json:"type,omitempty"`
77419}
77420
77421// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntime.
77422func (shir SelfHostedIntegrationRuntime) MarshalJSON() ([]byte, error) {
77423	shir.Type = TypeSelfHosted
77424	objectMap := make(map[string]interface{})
77425	if shir.LinkedIntegrationRuntimeTypeProperties != nil {
77426		objectMap["typeProperties"] = shir.LinkedIntegrationRuntimeTypeProperties
77427	}
77428	if shir.Description != nil {
77429		objectMap["description"] = shir.Description
77430	}
77431	if shir.Type != "" {
77432		objectMap["type"] = shir.Type
77433	}
77434	for k, v := range shir.AdditionalProperties {
77435		objectMap[k] = v
77436	}
77437	return json.Marshal(objectMap)
77438}
77439
77440// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime.
77441func (shir SelfHostedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) {
77442	return &shir, true
77443}
77444
77445// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime.
77446func (shir SelfHostedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) {
77447	return nil, false
77448}
77449
77450// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime.
77451func (shir SelfHostedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) {
77452	return nil, false
77453}
77454
77455// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime.
77456func (shir SelfHostedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) {
77457	return &shir, true
77458}
77459
77460// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntime struct.
77461func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error {
77462	var m map[string]*json.RawMessage
77463	err := json.Unmarshal(body, &m)
77464	if err != nil {
77465		return err
77466	}
77467	for k, v := range m {
77468		switch k {
77469		case "typeProperties":
77470			if v != nil {
77471				var linkedIntegrationRuntimeTypeProperties LinkedIntegrationRuntimeTypeProperties
77472				err = json.Unmarshal(*v, &linkedIntegrationRuntimeTypeProperties)
77473				if err != nil {
77474					return err
77475				}
77476				shir.LinkedIntegrationRuntimeTypeProperties = &linkedIntegrationRuntimeTypeProperties
77477			}
77478		default:
77479			if v != nil {
77480				var additionalProperties interface{}
77481				err = json.Unmarshal(*v, &additionalProperties)
77482				if err != nil {
77483					return err
77484				}
77485				if shir.AdditionalProperties == nil {
77486					shir.AdditionalProperties = make(map[string]interface{})
77487				}
77488				shir.AdditionalProperties[k] = additionalProperties
77489			}
77490		case "description":
77491			if v != nil {
77492				var description string
77493				err = json.Unmarshal(*v, &description)
77494				if err != nil {
77495					return err
77496				}
77497				shir.Description = &description
77498			}
77499		case "type":
77500			if v != nil {
77501				var typeVar TypeBasicIntegrationRuntime
77502				err = json.Unmarshal(*v, &typeVar)
77503				if err != nil {
77504					return err
77505				}
77506				shir.Type = typeVar
77507			}
77508		}
77509	}
77510
77511	return nil
77512}
77513
77514// SelfHostedIntegrationRuntimeNode properties of Self-hosted integration runtime node.
77515type SelfHostedIntegrationRuntimeNode struct {
77516	autorest.Response `json:"-"`
77517	// NodeName - Name of the integration runtime node.
77518	NodeName *string `json:"nodeName,omitempty"`
77519	// MachineName - Machine name of the integration runtime node.
77520	MachineName *string `json:"machineName,omitempty"`
77521	// HostServiceURI - URI for the host machine of the integration runtime.
77522	HostServiceURI *string `json:"hostServiceUri,omitempty"`
77523	// Status - Status of the integration runtime node. Possible values include: 'SelfHostedIntegrationRuntimeNodeStatusNeedRegistration', 'SelfHostedIntegrationRuntimeNodeStatusOnline', 'SelfHostedIntegrationRuntimeNodeStatusLimited', 'SelfHostedIntegrationRuntimeNodeStatusOffline', 'SelfHostedIntegrationRuntimeNodeStatusUpgrading', 'SelfHostedIntegrationRuntimeNodeStatusInitializing', 'SelfHostedIntegrationRuntimeNodeStatusInitializeFailed'
77524	Status SelfHostedIntegrationRuntimeNodeStatus `json:"status,omitempty"`
77525	// Capabilities - The integration runtime capabilities dictionary
77526	Capabilities map[string]*string `json:"capabilities"`
77527	// VersionStatus - Status of the integration runtime node version.
77528	VersionStatus *string `json:"versionStatus,omitempty"`
77529	// Version - Version of the integration runtime node.
77530	Version *string `json:"version,omitempty"`
77531	// RegisterTime - The time at which the integration runtime node was registered in ISO8601 format.
77532	RegisterTime *date.Time `json:"registerTime,omitempty"`
77533	// LastConnectTime - The most recent time at which the integration runtime was connected in ISO8601 format.
77534	LastConnectTime *date.Time `json:"lastConnectTime,omitempty"`
77535	// ExpiryTime - The time at which the integration runtime will expire in ISO8601 format.
77536	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
77537	// LastStartTime - The time the node last started up.
77538	LastStartTime *date.Time `json:"lastStartTime,omitempty"`
77539	// LastStopTime - The integration runtime node last stop time.
77540	LastStopTime *date.Time `json:"lastStopTime,omitempty"`
77541	// LastUpdateResult - The result of the last integration runtime node update. Possible values include: 'Succeed', 'Fail'
77542	LastUpdateResult IntegrationRuntimeUpdateResult `json:"lastUpdateResult,omitempty"`
77543	// LastStartUpdateTime - The last time for the integration runtime node update start.
77544	LastStartUpdateTime *date.Time `json:"lastStartUpdateTime,omitempty"`
77545	// LastEndUpdateTime - The last time for the integration runtime node update end.
77546	LastEndUpdateTime *date.Time `json:"lastEndUpdateTime,omitempty"`
77547	// IsActiveDispatcher - Indicates whether this node is the active dispatcher for integration runtime requests.
77548	IsActiveDispatcher *bool `json:"isActiveDispatcher,omitempty"`
77549	// ConcurrentJobsLimit - Maximum concurrent jobs on the integration runtime node.
77550	ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"`
77551	// MaxConcurrentJobs - The maximum concurrent jobs in this integration runtime.
77552	MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"`
77553}
77554
77555// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeNode.
77556func (shirn SelfHostedIntegrationRuntimeNode) MarshalJSON() ([]byte, error) {
77557	objectMap := make(map[string]interface{})
77558	if shirn.NodeName != nil {
77559		objectMap["nodeName"] = shirn.NodeName
77560	}
77561	if shirn.MachineName != nil {
77562		objectMap["machineName"] = shirn.MachineName
77563	}
77564	if shirn.HostServiceURI != nil {
77565		objectMap["hostServiceUri"] = shirn.HostServiceURI
77566	}
77567	if shirn.Status != "" {
77568		objectMap["status"] = shirn.Status
77569	}
77570	if shirn.Capabilities != nil {
77571		objectMap["capabilities"] = shirn.Capabilities
77572	}
77573	if shirn.VersionStatus != nil {
77574		objectMap["versionStatus"] = shirn.VersionStatus
77575	}
77576	if shirn.Version != nil {
77577		objectMap["version"] = shirn.Version
77578	}
77579	if shirn.RegisterTime != nil {
77580		objectMap["registerTime"] = shirn.RegisterTime
77581	}
77582	if shirn.LastConnectTime != nil {
77583		objectMap["lastConnectTime"] = shirn.LastConnectTime
77584	}
77585	if shirn.ExpiryTime != nil {
77586		objectMap["expiryTime"] = shirn.ExpiryTime
77587	}
77588	if shirn.LastStartTime != nil {
77589		objectMap["lastStartTime"] = shirn.LastStartTime
77590	}
77591	if shirn.LastStopTime != nil {
77592		objectMap["lastStopTime"] = shirn.LastStopTime
77593	}
77594	if shirn.LastUpdateResult != "" {
77595		objectMap["lastUpdateResult"] = shirn.LastUpdateResult
77596	}
77597	if shirn.LastStartUpdateTime != nil {
77598		objectMap["lastStartUpdateTime"] = shirn.LastStartUpdateTime
77599	}
77600	if shirn.LastEndUpdateTime != nil {
77601		objectMap["lastEndUpdateTime"] = shirn.LastEndUpdateTime
77602	}
77603	if shirn.IsActiveDispatcher != nil {
77604		objectMap["isActiveDispatcher"] = shirn.IsActiveDispatcher
77605	}
77606	if shirn.ConcurrentJobsLimit != nil {
77607		objectMap["concurrentJobsLimit"] = shirn.ConcurrentJobsLimit
77608	}
77609	if shirn.MaxConcurrentJobs != nil {
77610		objectMap["maxConcurrentJobs"] = shirn.MaxConcurrentJobs
77611	}
77612	return json.Marshal(objectMap)
77613}
77614
77615// SelfHostedIntegrationRuntimeStatus self-hosted integration runtime status.
77616type SelfHostedIntegrationRuntimeStatus struct {
77617	// SelfHostedIntegrationRuntimeStatusTypeProperties - Self-hosted integration runtime status type properties.
77618	*SelfHostedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"`
77619	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
77620	AdditionalProperties map[string]interface{} `json:""`
77621	// DataFactoryName - The data factory name which the integration runtime belong to.
77622	DataFactoryName *string `json:"dataFactoryName,omitempty"`
77623	// State - The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline'
77624	State IntegrationRuntimeState `json:"state,omitempty"`
77625	// Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged'
77626	Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"`
77627}
77628
77629// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatus.
77630func (shirs SelfHostedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) {
77631	shirs.Type = TypeBasicIntegrationRuntimeStatusTypeSelfHosted
77632	objectMap := make(map[string]interface{})
77633	if shirs.SelfHostedIntegrationRuntimeStatusTypeProperties != nil {
77634		objectMap["typeProperties"] = shirs.SelfHostedIntegrationRuntimeStatusTypeProperties
77635	}
77636	if shirs.DataFactoryName != nil {
77637		objectMap["dataFactoryName"] = shirs.DataFactoryName
77638	}
77639	if shirs.State != "" {
77640		objectMap["state"] = shirs.State
77641	}
77642	if shirs.Type != "" {
77643		objectMap["type"] = shirs.Type
77644	}
77645	for k, v := range shirs.AdditionalProperties {
77646		objectMap[k] = v
77647	}
77648	return json.Marshal(objectMap)
77649}
77650
77651// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus.
77652func (shirs SelfHostedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) {
77653	return &shirs, true
77654}
77655
77656// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus.
77657func (shirs SelfHostedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) {
77658	return nil, false
77659}
77660
77661// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus.
77662func (shirs SelfHostedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) {
77663	return nil, false
77664}
77665
77666// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus.
77667func (shirs SelfHostedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) {
77668	return &shirs, true
77669}
77670
77671// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntimeStatus struct.
77672func (shirs *SelfHostedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error {
77673	var m map[string]*json.RawMessage
77674	err := json.Unmarshal(body, &m)
77675	if err != nil {
77676		return err
77677	}
77678	for k, v := range m {
77679		switch k {
77680		case "typeProperties":
77681			if v != nil {
77682				var selfHostedIntegrationRuntimeStatusTypeProperties SelfHostedIntegrationRuntimeStatusTypeProperties
77683				err = json.Unmarshal(*v, &selfHostedIntegrationRuntimeStatusTypeProperties)
77684				if err != nil {
77685					return err
77686				}
77687				shirs.SelfHostedIntegrationRuntimeStatusTypeProperties = &selfHostedIntegrationRuntimeStatusTypeProperties
77688			}
77689		default:
77690			if v != nil {
77691				var additionalProperties interface{}
77692				err = json.Unmarshal(*v, &additionalProperties)
77693				if err != nil {
77694					return err
77695				}
77696				if shirs.AdditionalProperties == nil {
77697					shirs.AdditionalProperties = make(map[string]interface{})
77698				}
77699				shirs.AdditionalProperties[k] = additionalProperties
77700			}
77701		case "dataFactoryName":
77702			if v != nil {
77703				var dataFactoryName string
77704				err = json.Unmarshal(*v, &dataFactoryName)
77705				if err != nil {
77706					return err
77707				}
77708				shirs.DataFactoryName = &dataFactoryName
77709			}
77710		case "state":
77711			if v != nil {
77712				var state IntegrationRuntimeState
77713				err = json.Unmarshal(*v, &state)
77714				if err != nil {
77715					return err
77716				}
77717				shirs.State = state
77718			}
77719		case "type":
77720			if v != nil {
77721				var typeVar TypeBasicIntegrationRuntimeStatus
77722				err = json.Unmarshal(*v, &typeVar)
77723				if err != nil {
77724					return err
77725				}
77726				shirs.Type = typeVar
77727			}
77728		}
77729	}
77730
77731	return nil
77732}
77733
77734// SelfHostedIntegrationRuntimeStatusTypeProperties self-hosted integration runtime status type properties.
77735type SelfHostedIntegrationRuntimeStatusTypeProperties struct {
77736	// CreateTime - The time at which the integration runtime was created, in ISO8601 format.
77737	CreateTime *date.Time `json:"createTime,omitempty"`
77738	// TaskQueueID - The task queue id of the integration runtime.
77739	TaskQueueID *string `json:"taskQueueId,omitempty"`
77740	// InternalChannelEncryption - It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted'
77741	InternalChannelEncryption IntegrationRuntimeInternalChannelEncryptionMode `json:"internalChannelEncryption,omitempty"`
77742	// Version - Version of the integration runtime.
77743	Version *string `json:"version,omitempty"`
77744	// Nodes - The list of nodes for this integration runtime.
77745	Nodes *[]SelfHostedIntegrationRuntimeNode `json:"nodes,omitempty"`
77746	// ScheduledUpdateDate - The date at which the integration runtime will be scheduled to update, in ISO8601 format.
77747	ScheduledUpdateDate *date.Time `json:"scheduledUpdateDate,omitempty"`
77748	// UpdateDelayOffset - The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours
77749	UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"`
77750	// LocalTimeZoneOffset - The local time zone offset in hours.
77751	LocalTimeZoneOffset *string `json:"localTimeZoneOffset,omitempty"`
77752	// Capabilities - Object with additional information about integration runtime capabilities.
77753	Capabilities map[string]*string `json:"capabilities"`
77754	// ServiceUrls - The URLs for the services used in integration runtime backend service.
77755	ServiceUrls *[]string `json:"serviceUrls,omitempty"`
77756	// AutoUpdate - Whether Self-hosted integration runtime auto update has been turned on. Possible values include: 'On', 'Off'
77757	AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"`
77758	// VersionStatus - Status of the integration runtime version.
77759	VersionStatus *string `json:"versionStatus,omitempty"`
77760	// Links - The list of linked integration runtimes that are created to share with this integration runtime.
77761	Links *[]LinkedIntegrationRuntime `json:"links,omitempty"`
77762}
77763
77764// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatusTypeProperties.
77765func (shirstp SelfHostedIntegrationRuntimeStatusTypeProperties) MarshalJSON() ([]byte, error) {
77766	objectMap := make(map[string]interface{})
77767	if shirstp.CreateTime != nil {
77768		objectMap["createTime"] = shirstp.CreateTime
77769	}
77770	if shirstp.TaskQueueID != nil {
77771		objectMap["taskQueueId"] = shirstp.TaskQueueID
77772	}
77773	if shirstp.InternalChannelEncryption != "" {
77774		objectMap["internalChannelEncryption"] = shirstp.InternalChannelEncryption
77775	}
77776	if shirstp.Version != nil {
77777		objectMap["version"] = shirstp.Version
77778	}
77779	if shirstp.Nodes != nil {
77780		objectMap["nodes"] = shirstp.Nodes
77781	}
77782	if shirstp.ScheduledUpdateDate != nil {
77783		objectMap["scheduledUpdateDate"] = shirstp.ScheduledUpdateDate
77784	}
77785	if shirstp.UpdateDelayOffset != nil {
77786		objectMap["updateDelayOffset"] = shirstp.UpdateDelayOffset
77787	}
77788	if shirstp.LocalTimeZoneOffset != nil {
77789		objectMap["localTimeZoneOffset"] = shirstp.LocalTimeZoneOffset
77790	}
77791	if shirstp.Capabilities != nil {
77792		objectMap["capabilities"] = shirstp.Capabilities
77793	}
77794	if shirstp.ServiceUrls != nil {
77795		objectMap["serviceUrls"] = shirstp.ServiceUrls
77796	}
77797	if shirstp.AutoUpdate != "" {
77798		objectMap["autoUpdate"] = shirstp.AutoUpdate
77799	}
77800	if shirstp.VersionStatus != nil {
77801		objectMap["versionStatus"] = shirstp.VersionStatus
77802	}
77803	if shirstp.Links != nil {
77804		objectMap["links"] = shirstp.Links
77805	}
77806	return json.Marshal(objectMap)
77807}
77808
77809// ServiceNowLinkedService serviceNow server linked service.
77810type ServiceNowLinkedService struct {
77811	// ServiceNowLinkedServiceTypeProperties - ServiceNow server linked service properties.
77812	*ServiceNowLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
77813	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
77814	AdditionalProperties map[string]interface{} `json:""`
77815	// ConnectVia - The integration runtime reference.
77816	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
77817	// Description - Linked service description.
77818	Description *string `json:"description,omitempty"`
77819	// Parameters - Parameters for linked service.
77820	Parameters map[string]*ParameterSpecification `json:"parameters"`
77821	// Annotations - List of tags that can be used for describing the Dataset.
77822	Annotations *[]interface{} `json:"annotations,omitempty"`
77823	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
77824	Type TypeBasicLinkedService `json:"type,omitempty"`
77825}
77826
77827// MarshalJSON is the custom marshaler for ServiceNowLinkedService.
77828func (snls ServiceNowLinkedService) MarshalJSON() ([]byte, error) {
77829	snls.Type = TypeServiceNow
77830	objectMap := make(map[string]interface{})
77831	if snls.ServiceNowLinkedServiceTypeProperties != nil {
77832		objectMap["typeProperties"] = snls.ServiceNowLinkedServiceTypeProperties
77833	}
77834	if snls.ConnectVia != nil {
77835		objectMap["connectVia"] = snls.ConnectVia
77836	}
77837	if snls.Description != nil {
77838		objectMap["description"] = snls.Description
77839	}
77840	if snls.Parameters != nil {
77841		objectMap["parameters"] = snls.Parameters
77842	}
77843	if snls.Annotations != nil {
77844		objectMap["annotations"] = snls.Annotations
77845	}
77846	if snls.Type != "" {
77847		objectMap["type"] = snls.Type
77848	}
77849	for k, v := range snls.AdditionalProperties {
77850		objectMap[k] = v
77851	}
77852	return json.Marshal(objectMap)
77853}
77854
77855// AsResponsysLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77856func (snls ServiceNowLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
77857	return nil, false
77858}
77859
77860// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77861func (snls ServiceNowLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
77862	return nil, false
77863}
77864
77865// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77866func (snls ServiceNowLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
77867	return nil, false
77868}
77869
77870// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77871func (snls ServiceNowLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
77872	return nil, false
77873}
77874
77875// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77876func (snls ServiceNowLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
77877	return nil, false
77878}
77879
77880// AsNetezzaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77881func (snls ServiceNowLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
77882	return nil, false
77883}
77884
77885// AsVerticaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77886func (snls ServiceNowLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
77887	return nil, false
77888}
77889
77890// AsZohoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77891func (snls ServiceNowLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
77892	return nil, false
77893}
77894
77895// AsXeroLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77896func (snls ServiceNowLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
77897	return nil, false
77898}
77899
77900// AsSquareLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77901func (snls ServiceNowLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
77902	return nil, false
77903}
77904
77905// AsSparkLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77906func (snls ServiceNowLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
77907	return nil, false
77908}
77909
77910// AsShopifyLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77911func (snls ServiceNowLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
77912	return nil, false
77913}
77914
77915// AsServiceNowLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77916func (snls ServiceNowLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
77917	return &snls, true
77918}
77919
77920// AsQuickBooksLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77921func (snls ServiceNowLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
77922	return nil, false
77923}
77924
77925// AsPrestoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77926func (snls ServiceNowLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
77927	return nil, false
77928}
77929
77930// AsPhoenixLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77931func (snls ServiceNowLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
77932	return nil, false
77933}
77934
77935// AsPaypalLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77936func (snls ServiceNowLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
77937	return nil, false
77938}
77939
77940// AsMarketoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77941func (snls ServiceNowLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
77942	return nil, false
77943}
77944
77945// AsMariaDBLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77946func (snls ServiceNowLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
77947	return nil, false
77948}
77949
77950// AsMagentoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77951func (snls ServiceNowLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
77952	return nil, false
77953}
77954
77955// AsJiraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77956func (snls ServiceNowLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
77957	return nil, false
77958}
77959
77960// AsImpalaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77961func (snls ServiceNowLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
77962	return nil, false
77963}
77964
77965// AsHubspotLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77966func (snls ServiceNowLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
77967	return nil, false
77968}
77969
77970// AsHiveLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77971func (snls ServiceNowLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
77972	return nil, false
77973}
77974
77975// AsHBaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77976func (snls ServiceNowLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
77977	return nil, false
77978}
77979
77980// AsGreenplumLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77981func (snls ServiceNowLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
77982	return nil, false
77983}
77984
77985// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77986func (snls ServiceNowLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
77987	return nil, false
77988}
77989
77990// AsEloquaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77991func (snls ServiceNowLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
77992	return nil, false
77993}
77994
77995// AsDrillLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
77996func (snls ServiceNowLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
77997	return nil, false
77998}
77999
78000// AsCouchbaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78001func (snls ServiceNowLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
78002	return nil, false
78003}
78004
78005// AsConcurLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78006func (snls ServiceNowLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
78007	return nil, false
78008}
78009
78010// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78011func (snls ServiceNowLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
78012	return nil, false
78013}
78014
78015// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78016func (snls ServiceNowLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
78017	return nil, false
78018}
78019
78020// AsSapHanaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78021func (snls ServiceNowLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
78022	return nil, false
78023}
78024
78025// AsSapBWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78026func (snls ServiceNowLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
78027	return nil, false
78028}
78029
78030// AsSftpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78031func (snls ServiceNowLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
78032	return nil, false
78033}
78034
78035// AsFtpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78036func (snls ServiceNowLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
78037	return nil, false
78038}
78039
78040// AsHTTPLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78041func (snls ServiceNowLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
78042	return nil, false
78043}
78044
78045// AsAzureSearchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78046func (snls ServiceNowLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
78047	return nil, false
78048}
78049
78050// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78051func (snls ServiceNowLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
78052	return nil, false
78053}
78054
78055// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78056func (snls ServiceNowLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
78057	return nil, false
78058}
78059
78060// AsAmazonS3LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78061func (snls ServiceNowLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
78062	return nil, false
78063}
78064
78065// AsSapEccLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78066func (snls ServiceNowLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
78067	return nil, false
78068}
78069
78070// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78071func (snls ServiceNowLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
78072	return nil, false
78073}
78074
78075// AsSalesforceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78076func (snls ServiceNowLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
78077	return nil, false
78078}
78079
78080// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78081func (snls ServiceNowLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
78082	return nil, false
78083}
78084
78085// AsMongoDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78086func (snls ServiceNowLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
78087	return nil, false
78088}
78089
78090// AsCassandraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78091func (snls ServiceNowLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
78092	return nil, false
78093}
78094
78095// AsWebLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78096func (snls ServiceNowLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
78097	return nil, false
78098}
78099
78100// AsODataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78101func (snls ServiceNowLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
78102	return nil, false
78103}
78104
78105// AsHdfsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78106func (snls ServiceNowLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
78107	return nil, false
78108}
78109
78110// AsOdbcLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78111func (snls ServiceNowLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
78112	return nil, false
78113}
78114
78115// AsAzureMLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78116func (snls ServiceNowLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
78117	return nil, false
78118}
78119
78120// AsTeradataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78121func (snls ServiceNowLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
78122	return nil, false
78123}
78124
78125// AsDb2LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78126func (snls ServiceNowLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
78127	return nil, false
78128}
78129
78130// AsSybaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78131func (snls ServiceNowLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
78132	return nil, false
78133}
78134
78135// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78136func (snls ServiceNowLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
78137	return nil, false
78138}
78139
78140// AsMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78141func (snls ServiceNowLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
78142	return nil, false
78143}
78144
78145// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78146func (snls ServiceNowLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
78147	return nil, false
78148}
78149
78150// AsOracleLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78151func (snls ServiceNowLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
78152	return nil, false
78153}
78154
78155// AsFileServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78156func (snls ServiceNowLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
78157	return nil, false
78158}
78159
78160// AsHDInsightLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78161func (snls ServiceNowLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
78162	return nil, false
78163}
78164
78165// AsDynamicsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78166func (snls ServiceNowLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
78167	return nil, false
78168}
78169
78170// AsCosmosDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78171func (snls ServiceNowLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
78172	return nil, false
78173}
78174
78175// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78176func (snls ServiceNowLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
78177	return nil, false
78178}
78179
78180// AsAzureBatchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78181func (snls ServiceNowLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
78182	return nil, false
78183}
78184
78185// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78186func (snls ServiceNowLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
78187	return nil, false
78188}
78189
78190// AsSQLServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78191func (snls ServiceNowLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
78192	return nil, false
78193}
78194
78195// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78196func (snls ServiceNowLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
78197	return nil, false
78198}
78199
78200// AsAzureStorageLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78201func (snls ServiceNowLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
78202	return nil, false
78203}
78204
78205// AsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78206func (snls ServiceNowLinkedService) AsLinkedService() (*LinkedService, bool) {
78207	return nil, false
78208}
78209
78210// AsBasicLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService.
78211func (snls ServiceNowLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
78212	return &snls, true
78213}
78214
78215// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedService struct.
78216func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error {
78217	var m map[string]*json.RawMessage
78218	err := json.Unmarshal(body, &m)
78219	if err != nil {
78220		return err
78221	}
78222	for k, v := range m {
78223		switch k {
78224		case "typeProperties":
78225			if v != nil {
78226				var serviceNowLinkedServiceTypeProperties ServiceNowLinkedServiceTypeProperties
78227				err = json.Unmarshal(*v, &serviceNowLinkedServiceTypeProperties)
78228				if err != nil {
78229					return err
78230				}
78231				snls.ServiceNowLinkedServiceTypeProperties = &serviceNowLinkedServiceTypeProperties
78232			}
78233		default:
78234			if v != nil {
78235				var additionalProperties interface{}
78236				err = json.Unmarshal(*v, &additionalProperties)
78237				if err != nil {
78238					return err
78239				}
78240				if snls.AdditionalProperties == nil {
78241					snls.AdditionalProperties = make(map[string]interface{})
78242				}
78243				snls.AdditionalProperties[k] = additionalProperties
78244			}
78245		case "connectVia":
78246			if v != nil {
78247				var connectVia IntegrationRuntimeReference
78248				err = json.Unmarshal(*v, &connectVia)
78249				if err != nil {
78250					return err
78251				}
78252				snls.ConnectVia = &connectVia
78253			}
78254		case "description":
78255			if v != nil {
78256				var description string
78257				err = json.Unmarshal(*v, &description)
78258				if err != nil {
78259					return err
78260				}
78261				snls.Description = &description
78262			}
78263		case "parameters":
78264			if v != nil {
78265				var parameters map[string]*ParameterSpecification
78266				err = json.Unmarshal(*v, &parameters)
78267				if err != nil {
78268					return err
78269				}
78270				snls.Parameters = parameters
78271			}
78272		case "annotations":
78273			if v != nil {
78274				var annotations []interface{}
78275				err = json.Unmarshal(*v, &annotations)
78276				if err != nil {
78277					return err
78278				}
78279				snls.Annotations = &annotations
78280			}
78281		case "type":
78282			if v != nil {
78283				var typeVar TypeBasicLinkedService
78284				err = json.Unmarshal(*v, &typeVar)
78285				if err != nil {
78286					return err
78287				}
78288				snls.Type = typeVar
78289			}
78290		}
78291	}
78292
78293	return nil
78294}
78295
78296// ServiceNowLinkedServiceTypeProperties serviceNow server linked service properties.
78297type ServiceNowLinkedServiceTypeProperties struct {
78298	// Endpoint - The endpoint of the ServiceNow server. (i.e. ServiceNowData.com)
78299	Endpoint interface{} `json:"endpoint,omitempty"`
78300	// AuthenticationType - The authentication type to use. Possible values include: 'ServiceNowAuthenticationTypeBasic', 'ServiceNowAuthenticationTypeOAuth2'
78301	AuthenticationType ServiceNowAuthenticationType `json:"authenticationType,omitempty"`
78302	// Username - The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.
78303	Username interface{} `json:"username,omitempty"`
78304	// Password - The password corresponding to the user name for Basic and OAuth2 authentication.
78305	Password BasicSecretBase `json:"password,omitempty"`
78306	// ClientID - The client id for OAuth2 authentication.
78307	ClientID interface{} `json:"clientId,omitempty"`
78308	// ClientSecret - The client secret for OAuth2 authentication.
78309	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
78310	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
78311	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
78312	// 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.
78313	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
78314	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
78315	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
78316	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
78317	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
78318}
78319
78320// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedServiceTypeProperties struct.
78321func (snlstp *ServiceNowLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
78322	var m map[string]*json.RawMessage
78323	err := json.Unmarshal(body, &m)
78324	if err != nil {
78325		return err
78326	}
78327	for k, v := range m {
78328		switch k {
78329		case "endpoint":
78330			if v != nil {
78331				var endpoint interface{}
78332				err = json.Unmarshal(*v, &endpoint)
78333				if err != nil {
78334					return err
78335				}
78336				snlstp.Endpoint = endpoint
78337			}
78338		case "authenticationType":
78339			if v != nil {
78340				var authenticationType ServiceNowAuthenticationType
78341				err = json.Unmarshal(*v, &authenticationType)
78342				if err != nil {
78343					return err
78344				}
78345				snlstp.AuthenticationType = authenticationType
78346			}
78347		case "username":
78348			if v != nil {
78349				var username interface{}
78350				err = json.Unmarshal(*v, &username)
78351				if err != nil {
78352					return err
78353				}
78354				snlstp.Username = username
78355			}
78356		case "password":
78357			if v != nil {
78358				password, err := unmarshalBasicSecretBase(*v)
78359				if err != nil {
78360					return err
78361				}
78362				snlstp.Password = password
78363			}
78364		case "clientId":
78365			if v != nil {
78366				var clientID interface{}
78367				err = json.Unmarshal(*v, &clientID)
78368				if err != nil {
78369					return err
78370				}
78371				snlstp.ClientID = clientID
78372			}
78373		case "clientSecret":
78374			if v != nil {
78375				clientSecret, err := unmarshalBasicSecretBase(*v)
78376				if err != nil {
78377					return err
78378				}
78379				snlstp.ClientSecret = clientSecret
78380			}
78381		case "useEncryptedEndpoints":
78382			if v != nil {
78383				var useEncryptedEndpoints interface{}
78384				err = json.Unmarshal(*v, &useEncryptedEndpoints)
78385				if err != nil {
78386					return err
78387				}
78388				snlstp.UseEncryptedEndpoints = useEncryptedEndpoints
78389			}
78390		case "useHostVerification":
78391			if v != nil {
78392				var useHostVerification interface{}
78393				err = json.Unmarshal(*v, &useHostVerification)
78394				if err != nil {
78395					return err
78396				}
78397				snlstp.UseHostVerification = useHostVerification
78398			}
78399		case "usePeerVerification":
78400			if v != nil {
78401				var usePeerVerification interface{}
78402				err = json.Unmarshal(*v, &usePeerVerification)
78403				if err != nil {
78404					return err
78405				}
78406				snlstp.UsePeerVerification = usePeerVerification
78407			}
78408		case "encryptedCredential":
78409			if v != nil {
78410				var encryptedCredential interface{}
78411				err = json.Unmarshal(*v, &encryptedCredential)
78412				if err != nil {
78413					return err
78414				}
78415				snlstp.EncryptedCredential = encryptedCredential
78416			}
78417		}
78418	}
78419
78420	return nil
78421}
78422
78423// ServiceNowObjectDataset serviceNow server dataset.
78424type ServiceNowObjectDataset struct {
78425	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
78426	AdditionalProperties map[string]interface{} `json:""`
78427	// Description - Dataset description.
78428	Description *string `json:"description,omitempty"`
78429	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
78430	Structure interface{} `json:"structure,omitempty"`
78431	// LinkedServiceName - Linked service reference.
78432	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
78433	// Parameters - Parameters for dataset.
78434	Parameters map[string]*ParameterSpecification `json:"parameters"`
78435	// Annotations - List of tags that can be used for describing the Dataset.
78436	Annotations *[]interface{} `json:"annotations,omitempty"`
78437	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
78438	Type TypeBasicDataset `json:"type,omitempty"`
78439}
78440
78441// MarshalJSON is the custom marshaler for ServiceNowObjectDataset.
78442func (snod ServiceNowObjectDataset) MarshalJSON() ([]byte, error) {
78443	snod.Type = TypeServiceNowObject
78444	objectMap := make(map[string]interface{})
78445	if snod.Description != nil {
78446		objectMap["description"] = snod.Description
78447	}
78448	objectMap["structure"] = snod.Structure
78449	if snod.LinkedServiceName != nil {
78450		objectMap["linkedServiceName"] = snod.LinkedServiceName
78451	}
78452	if snod.Parameters != nil {
78453		objectMap["parameters"] = snod.Parameters
78454	}
78455	if snod.Annotations != nil {
78456		objectMap["annotations"] = snod.Annotations
78457	}
78458	if snod.Type != "" {
78459		objectMap["type"] = snod.Type
78460	}
78461	for k, v := range snod.AdditionalProperties {
78462		objectMap[k] = v
78463	}
78464	return json.Marshal(objectMap)
78465}
78466
78467// AsResponsysObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78468func (snod ServiceNowObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
78469	return nil, false
78470}
78471
78472// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78473func (snod ServiceNowObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
78474	return nil, false
78475}
78476
78477// AsVerticaTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78478func (snod ServiceNowObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
78479	return nil, false
78480}
78481
78482// AsNetezzaTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78483func (snod ServiceNowObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
78484	return nil, false
78485}
78486
78487// AsZohoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78488func (snod ServiceNowObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
78489	return nil, false
78490}
78491
78492// AsXeroObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78493func (snod ServiceNowObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
78494	return nil, false
78495}
78496
78497// AsSquareObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78498func (snod ServiceNowObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
78499	return nil, false
78500}
78501
78502// AsSparkObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78503func (snod ServiceNowObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
78504	return nil, false
78505}
78506
78507// AsShopifyObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78508func (snod ServiceNowObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
78509	return nil, false
78510}
78511
78512// AsServiceNowObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78513func (snod ServiceNowObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
78514	return &snod, true
78515}
78516
78517// AsQuickBooksObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78518func (snod ServiceNowObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
78519	return nil, false
78520}
78521
78522// AsPrestoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78523func (snod ServiceNowObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
78524	return nil, false
78525}
78526
78527// AsPhoenixObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78528func (snod ServiceNowObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
78529	return nil, false
78530}
78531
78532// AsPaypalObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78533func (snod ServiceNowObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
78534	return nil, false
78535}
78536
78537// AsMarketoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78538func (snod ServiceNowObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
78539	return nil, false
78540}
78541
78542// AsMariaDBTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78543func (snod ServiceNowObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
78544	return nil, false
78545}
78546
78547// AsMagentoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78548func (snod ServiceNowObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
78549	return nil, false
78550}
78551
78552// AsJiraObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78553func (snod ServiceNowObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
78554	return nil, false
78555}
78556
78557// AsImpalaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78558func (snod ServiceNowObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
78559	return nil, false
78560}
78561
78562// AsHubspotObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78563func (snod ServiceNowObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
78564	return nil, false
78565}
78566
78567// AsHiveObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78568func (snod ServiceNowObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
78569	return nil, false
78570}
78571
78572// AsHBaseObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78573func (snod ServiceNowObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
78574	return nil, false
78575}
78576
78577// AsGreenplumTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78578func (snod ServiceNowObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
78579	return nil, false
78580}
78581
78582// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78583func (snod ServiceNowObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
78584	return nil, false
78585}
78586
78587// AsEloquaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78588func (snod ServiceNowObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
78589	return nil, false
78590}
78591
78592// AsDrillTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78593func (snod ServiceNowObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
78594	return nil, false
78595}
78596
78597// AsCouchbaseTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78598func (snod ServiceNowObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
78599	return nil, false
78600}
78601
78602// AsConcurObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78603func (snod ServiceNowObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
78604	return nil, false
78605}
78606
78607// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78608func (snod ServiceNowObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
78609	return nil, false
78610}
78611
78612// AsAmazonMWSObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78613func (snod ServiceNowObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
78614	return nil, false
78615}
78616
78617// AsHTTPDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78618func (snod ServiceNowObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
78619	return nil, false
78620}
78621
78622// AsAzureSearchIndexDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78623func (snod ServiceNowObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
78624	return nil, false
78625}
78626
78627// AsWebTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78628func (snod ServiceNowObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
78629	return nil, false
78630}
78631
78632// AsSQLServerTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78633func (snod ServiceNowObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
78634	return nil, false
78635}
78636
78637// AsSapEccResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78638func (snod ServiceNowObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
78639	return nil, false
78640}
78641
78642// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78643func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
78644	return nil, false
78645}
78646
78647// AsSalesforceObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78648func (snod ServiceNowObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
78649	return nil, false
78650}
78651
78652// AsRelationalTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78653func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
78654	return nil, false
78655}
78656
78657// AsAzureMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78658func (snod ServiceNowObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
78659	return nil, false
78660}
78661
78662// AsOracleTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78663func (snod ServiceNowObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
78664	return nil, false
78665}
78666
78667// AsODataResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78668func (snod ServiceNowObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
78669	return nil, false
78670}
78671
78672// AsMongoDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78673func (snod ServiceNowObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
78674	return nil, false
78675}
78676
78677// AsFileShareDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78678func (snod ServiceNowObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
78679	return nil, false
78680}
78681
78682// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78683func (snod ServiceNowObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
78684	return nil, false
78685}
78686
78687// AsDynamicsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78688func (snod ServiceNowObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
78689	return nil, false
78690}
78691
78692// AsDocumentDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78693func (snod ServiceNowObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
78694	return nil, false
78695}
78696
78697// AsCustomDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78698func (snod ServiceNowObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
78699	return nil, false
78700}
78701
78702// AsCassandraTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78703func (snod ServiceNowObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
78704	return nil, false
78705}
78706
78707// AsAzureSQLDWTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78708func (snod ServiceNowObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
78709	return nil, false
78710}
78711
78712// AsAzureSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78713func (snod ServiceNowObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
78714	return nil, false
78715}
78716
78717// AsAzureTableDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78718func (snod ServiceNowObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
78719	return nil, false
78720}
78721
78722// AsAzureBlobDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78723func (snod ServiceNowObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
78724	return nil, false
78725}
78726
78727// AsAmazonS3Dataset is the BasicDataset implementation for ServiceNowObjectDataset.
78728func (snod ServiceNowObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
78729	return nil, false
78730}
78731
78732// AsDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78733func (snod ServiceNowObjectDataset) AsDataset() (*Dataset, bool) {
78734	return nil, false
78735}
78736
78737// AsBasicDataset is the BasicDataset implementation for ServiceNowObjectDataset.
78738func (snod ServiceNowObjectDataset) AsBasicDataset() (BasicDataset, bool) {
78739	return &snod, true
78740}
78741
78742// ServiceNowSource a copy activity ServiceNow server source.
78743type ServiceNowSource struct {
78744	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
78745	Query interface{} `json:"query,omitempty"`
78746	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
78747	AdditionalProperties map[string]interface{} `json:""`
78748	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
78749	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
78750	// 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])).
78751	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
78752	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
78753	Type TypeBasicCopySource `json:"type,omitempty"`
78754}
78755
78756// MarshalJSON is the custom marshaler for ServiceNowSource.
78757func (sns ServiceNowSource) MarshalJSON() ([]byte, error) {
78758	sns.Type = TypeServiceNowSource
78759	objectMap := make(map[string]interface{})
78760	objectMap["query"] = sns.Query
78761	objectMap["sourceRetryCount"] = sns.SourceRetryCount
78762	objectMap["sourceRetryWait"] = sns.SourceRetryWait
78763	if sns.Type != "" {
78764		objectMap["type"] = sns.Type
78765	}
78766	for k, v := range sns.AdditionalProperties {
78767		objectMap[k] = v
78768	}
78769	return json.Marshal(objectMap)
78770}
78771
78772// AsAmazonRedshiftSource is the BasicCopySource implementation for ServiceNowSource.
78773func (sns ServiceNowSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
78774	return nil, false
78775}
78776
78777// AsResponsysSource is the BasicCopySource implementation for ServiceNowSource.
78778func (sns ServiceNowSource) AsResponsysSource() (*ResponsysSource, bool) {
78779	return nil, false
78780}
78781
78782// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ServiceNowSource.
78783func (sns ServiceNowSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
78784	return nil, false
78785}
78786
78787// AsVerticaSource is the BasicCopySource implementation for ServiceNowSource.
78788func (sns ServiceNowSource) AsVerticaSource() (*VerticaSource, bool) {
78789	return nil, false
78790}
78791
78792// AsNetezzaSource is the BasicCopySource implementation for ServiceNowSource.
78793func (sns ServiceNowSource) AsNetezzaSource() (*NetezzaSource, bool) {
78794	return nil, false
78795}
78796
78797// AsZohoSource is the BasicCopySource implementation for ServiceNowSource.
78798func (sns ServiceNowSource) AsZohoSource() (*ZohoSource, bool) {
78799	return nil, false
78800}
78801
78802// AsXeroSource is the BasicCopySource implementation for ServiceNowSource.
78803func (sns ServiceNowSource) AsXeroSource() (*XeroSource, bool) {
78804	return nil, false
78805}
78806
78807// AsSquareSource is the BasicCopySource implementation for ServiceNowSource.
78808func (sns ServiceNowSource) AsSquareSource() (*SquareSource, bool) {
78809	return nil, false
78810}
78811
78812// AsSparkSource is the BasicCopySource implementation for ServiceNowSource.
78813func (sns ServiceNowSource) AsSparkSource() (*SparkSource, bool) {
78814	return nil, false
78815}
78816
78817// AsShopifySource is the BasicCopySource implementation for ServiceNowSource.
78818func (sns ServiceNowSource) AsShopifySource() (*ShopifySource, bool) {
78819	return nil, false
78820}
78821
78822// AsServiceNowSource is the BasicCopySource implementation for ServiceNowSource.
78823func (sns ServiceNowSource) AsServiceNowSource() (*ServiceNowSource, bool) {
78824	return &sns, true
78825}
78826
78827// AsQuickBooksSource is the BasicCopySource implementation for ServiceNowSource.
78828func (sns ServiceNowSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
78829	return nil, false
78830}
78831
78832// AsPrestoSource is the BasicCopySource implementation for ServiceNowSource.
78833func (sns ServiceNowSource) AsPrestoSource() (*PrestoSource, bool) {
78834	return nil, false
78835}
78836
78837// AsPhoenixSource is the BasicCopySource implementation for ServiceNowSource.
78838func (sns ServiceNowSource) AsPhoenixSource() (*PhoenixSource, bool) {
78839	return nil, false
78840}
78841
78842// AsPaypalSource is the BasicCopySource implementation for ServiceNowSource.
78843func (sns ServiceNowSource) AsPaypalSource() (*PaypalSource, bool) {
78844	return nil, false
78845}
78846
78847// AsMarketoSource is the BasicCopySource implementation for ServiceNowSource.
78848func (sns ServiceNowSource) AsMarketoSource() (*MarketoSource, bool) {
78849	return nil, false
78850}
78851
78852// AsMariaDBSource is the BasicCopySource implementation for ServiceNowSource.
78853func (sns ServiceNowSource) AsMariaDBSource() (*MariaDBSource, bool) {
78854	return nil, false
78855}
78856
78857// AsMagentoSource is the BasicCopySource implementation for ServiceNowSource.
78858func (sns ServiceNowSource) AsMagentoSource() (*MagentoSource, bool) {
78859	return nil, false
78860}
78861
78862// AsJiraSource is the BasicCopySource implementation for ServiceNowSource.
78863func (sns ServiceNowSource) AsJiraSource() (*JiraSource, bool) {
78864	return nil, false
78865}
78866
78867// AsImpalaSource is the BasicCopySource implementation for ServiceNowSource.
78868func (sns ServiceNowSource) AsImpalaSource() (*ImpalaSource, bool) {
78869	return nil, false
78870}
78871
78872// AsHubspotSource is the BasicCopySource implementation for ServiceNowSource.
78873func (sns ServiceNowSource) AsHubspotSource() (*HubspotSource, bool) {
78874	return nil, false
78875}
78876
78877// AsHiveSource is the BasicCopySource implementation for ServiceNowSource.
78878func (sns ServiceNowSource) AsHiveSource() (*HiveSource, bool) {
78879	return nil, false
78880}
78881
78882// AsHBaseSource is the BasicCopySource implementation for ServiceNowSource.
78883func (sns ServiceNowSource) AsHBaseSource() (*HBaseSource, bool) {
78884	return nil, false
78885}
78886
78887// AsGreenplumSource is the BasicCopySource implementation for ServiceNowSource.
78888func (sns ServiceNowSource) AsGreenplumSource() (*GreenplumSource, bool) {
78889	return nil, false
78890}
78891
78892// AsGoogleBigQuerySource is the BasicCopySource implementation for ServiceNowSource.
78893func (sns ServiceNowSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
78894	return nil, false
78895}
78896
78897// AsEloquaSource is the BasicCopySource implementation for ServiceNowSource.
78898func (sns ServiceNowSource) AsEloquaSource() (*EloquaSource, bool) {
78899	return nil, false
78900}
78901
78902// AsDrillSource is the BasicCopySource implementation for ServiceNowSource.
78903func (sns ServiceNowSource) AsDrillSource() (*DrillSource, bool) {
78904	return nil, false
78905}
78906
78907// AsCouchbaseSource is the BasicCopySource implementation for ServiceNowSource.
78908func (sns ServiceNowSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
78909	return nil, false
78910}
78911
78912// AsConcurSource is the BasicCopySource implementation for ServiceNowSource.
78913func (sns ServiceNowSource) AsConcurSource() (*ConcurSource, bool) {
78914	return nil, false
78915}
78916
78917// AsAzurePostgreSQLSource is the BasicCopySource implementation for ServiceNowSource.
78918func (sns ServiceNowSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
78919	return nil, false
78920}
78921
78922// AsAmazonMWSSource is the BasicCopySource implementation for ServiceNowSource.
78923func (sns ServiceNowSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
78924	return nil, false
78925}
78926
78927// AsHTTPSource is the BasicCopySource implementation for ServiceNowSource.
78928func (sns ServiceNowSource) AsHTTPSource() (*HTTPSource, bool) {
78929	return nil, false
78930}
78931
78932// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ServiceNowSource.
78933func (sns ServiceNowSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
78934	return nil, false
78935}
78936
78937// AsMongoDbSource is the BasicCopySource implementation for ServiceNowSource.
78938func (sns ServiceNowSource) AsMongoDbSource() (*MongoDbSource, bool) {
78939	return nil, false
78940}
78941
78942// AsCassandraSource is the BasicCopySource implementation for ServiceNowSource.
78943func (sns ServiceNowSource) AsCassandraSource() (*CassandraSource, bool) {
78944	return nil, false
78945}
78946
78947// AsWebSource is the BasicCopySource implementation for ServiceNowSource.
78948func (sns ServiceNowSource) AsWebSource() (*WebSource, bool) {
78949	return nil, false
78950}
78951
78952// AsOracleSource is the BasicCopySource implementation for ServiceNowSource.
78953func (sns ServiceNowSource) AsOracleSource() (*OracleSource, bool) {
78954	return nil, false
78955}
78956
78957// AsAzureMySQLSource is the BasicCopySource implementation for ServiceNowSource.
78958func (sns ServiceNowSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
78959	return nil, false
78960}
78961
78962// AsHdfsSource is the BasicCopySource implementation for ServiceNowSource.
78963func (sns ServiceNowSource) AsHdfsSource() (*HdfsSource, bool) {
78964	return nil, false
78965}
78966
78967// AsFileSystemSource is the BasicCopySource implementation for ServiceNowSource.
78968func (sns ServiceNowSource) AsFileSystemSource() (*FileSystemSource, bool) {
78969	return nil, false
78970}
78971
78972// AsSQLDWSource is the BasicCopySource implementation for ServiceNowSource.
78973func (sns ServiceNowSource) AsSQLDWSource() (*SQLDWSource, bool) {
78974	return nil, false
78975}
78976
78977// AsSQLSource is the BasicCopySource implementation for ServiceNowSource.
78978func (sns ServiceNowSource) AsSQLSource() (*SQLSource, bool) {
78979	return nil, false
78980}
78981
78982// AsSapEccSource is the BasicCopySource implementation for ServiceNowSource.
78983func (sns ServiceNowSource) AsSapEccSource() (*SapEccSource, bool) {
78984	return nil, false
78985}
78986
78987// AsSapCloudForCustomerSource is the BasicCopySource implementation for ServiceNowSource.
78988func (sns ServiceNowSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
78989	return nil, false
78990}
78991
78992// AsSalesforceSource is the BasicCopySource implementation for ServiceNowSource.
78993func (sns ServiceNowSource) AsSalesforceSource() (*SalesforceSource, bool) {
78994	return nil, false
78995}
78996
78997// AsRelationalSource is the BasicCopySource implementation for ServiceNowSource.
78998func (sns ServiceNowSource) AsRelationalSource() (*RelationalSource, bool) {
78999	return nil, false
79000}
79001
79002// AsDynamicsSource is the BasicCopySource implementation for ServiceNowSource.
79003func (sns ServiceNowSource) AsDynamicsSource() (*DynamicsSource, bool) {
79004	return nil, false
79005}
79006
79007// AsDocumentDbCollectionSource is the BasicCopySource implementation for ServiceNowSource.
79008func (sns ServiceNowSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
79009	return nil, false
79010}
79011
79012// AsBlobSource is the BasicCopySource implementation for ServiceNowSource.
79013func (sns ServiceNowSource) AsBlobSource() (*BlobSource, bool) {
79014	return nil, false
79015}
79016
79017// AsAzureTableSource is the BasicCopySource implementation for ServiceNowSource.
79018func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) {
79019	return nil, false
79020}
79021
79022// AsCopySource is the BasicCopySource implementation for ServiceNowSource.
79023func (sns ServiceNowSource) AsCopySource() (*CopySource, bool) {
79024	return nil, false
79025}
79026
79027// AsBasicCopySource is the BasicCopySource implementation for ServiceNowSource.
79028func (sns ServiceNowSource) AsBasicCopySource() (BasicCopySource, bool) {
79029	return &sns, true
79030}
79031
79032// SftpServerLinkedService a linked service for an SSH File Transfer Protocol (SFTP) server.
79033type SftpServerLinkedService struct {
79034	// SftpServerLinkedServiceTypeProperties - Properties specific to this linked service type.
79035	*SftpServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
79036	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
79037	AdditionalProperties map[string]interface{} `json:""`
79038	// ConnectVia - The integration runtime reference.
79039	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
79040	// Description - Linked service description.
79041	Description *string `json:"description,omitempty"`
79042	// Parameters - Parameters for linked service.
79043	Parameters map[string]*ParameterSpecification `json:"parameters"`
79044	// Annotations - List of tags that can be used for describing the Dataset.
79045	Annotations *[]interface{} `json:"annotations,omitempty"`
79046	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
79047	Type TypeBasicLinkedService `json:"type,omitempty"`
79048}
79049
79050// MarshalJSON is the custom marshaler for SftpServerLinkedService.
79051func (ssls SftpServerLinkedService) MarshalJSON() ([]byte, error) {
79052	ssls.Type = TypeSftp
79053	objectMap := make(map[string]interface{})
79054	if ssls.SftpServerLinkedServiceTypeProperties != nil {
79055		objectMap["typeProperties"] = ssls.SftpServerLinkedServiceTypeProperties
79056	}
79057	if ssls.ConnectVia != nil {
79058		objectMap["connectVia"] = ssls.ConnectVia
79059	}
79060	if ssls.Description != nil {
79061		objectMap["description"] = ssls.Description
79062	}
79063	if ssls.Parameters != nil {
79064		objectMap["parameters"] = ssls.Parameters
79065	}
79066	if ssls.Annotations != nil {
79067		objectMap["annotations"] = ssls.Annotations
79068	}
79069	if ssls.Type != "" {
79070		objectMap["type"] = ssls.Type
79071	}
79072	for k, v := range ssls.AdditionalProperties {
79073		objectMap[k] = v
79074	}
79075	return json.Marshal(objectMap)
79076}
79077
79078// AsResponsysLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79079func (ssls SftpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
79080	return nil, false
79081}
79082
79083// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79084func (ssls SftpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
79085	return nil, false
79086}
79087
79088// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79089func (ssls SftpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
79090	return nil, false
79091}
79092
79093// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79094func (ssls SftpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
79095	return nil, false
79096}
79097
79098// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79099func (ssls SftpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
79100	return nil, false
79101}
79102
79103// AsNetezzaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79104func (ssls SftpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
79105	return nil, false
79106}
79107
79108// AsVerticaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79109func (ssls SftpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
79110	return nil, false
79111}
79112
79113// AsZohoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79114func (ssls SftpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
79115	return nil, false
79116}
79117
79118// AsXeroLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79119func (ssls SftpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
79120	return nil, false
79121}
79122
79123// AsSquareLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79124func (ssls SftpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
79125	return nil, false
79126}
79127
79128// AsSparkLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79129func (ssls SftpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
79130	return nil, false
79131}
79132
79133// AsShopifyLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79134func (ssls SftpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
79135	return nil, false
79136}
79137
79138// AsServiceNowLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79139func (ssls SftpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
79140	return nil, false
79141}
79142
79143// AsQuickBooksLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79144func (ssls SftpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
79145	return nil, false
79146}
79147
79148// AsPrestoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79149func (ssls SftpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
79150	return nil, false
79151}
79152
79153// AsPhoenixLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79154func (ssls SftpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
79155	return nil, false
79156}
79157
79158// AsPaypalLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79159func (ssls SftpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
79160	return nil, false
79161}
79162
79163// AsMarketoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79164func (ssls SftpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
79165	return nil, false
79166}
79167
79168// AsMariaDBLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79169func (ssls SftpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
79170	return nil, false
79171}
79172
79173// AsMagentoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79174func (ssls SftpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
79175	return nil, false
79176}
79177
79178// AsJiraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79179func (ssls SftpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
79180	return nil, false
79181}
79182
79183// AsImpalaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79184func (ssls SftpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
79185	return nil, false
79186}
79187
79188// AsHubspotLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79189func (ssls SftpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
79190	return nil, false
79191}
79192
79193// AsHiveLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79194func (ssls SftpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
79195	return nil, false
79196}
79197
79198// AsHBaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79199func (ssls SftpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
79200	return nil, false
79201}
79202
79203// AsGreenplumLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79204func (ssls SftpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
79205	return nil, false
79206}
79207
79208// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79209func (ssls SftpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
79210	return nil, false
79211}
79212
79213// AsEloquaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79214func (ssls SftpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
79215	return nil, false
79216}
79217
79218// AsDrillLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79219func (ssls SftpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
79220	return nil, false
79221}
79222
79223// AsCouchbaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79224func (ssls SftpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
79225	return nil, false
79226}
79227
79228// AsConcurLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79229func (ssls SftpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
79230	return nil, false
79231}
79232
79233// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79234func (ssls SftpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
79235	return nil, false
79236}
79237
79238// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79239func (ssls SftpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
79240	return nil, false
79241}
79242
79243// AsSapHanaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79244func (ssls SftpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
79245	return nil, false
79246}
79247
79248// AsSapBWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79249func (ssls SftpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
79250	return nil, false
79251}
79252
79253// AsSftpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79254func (ssls SftpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
79255	return &ssls, true
79256}
79257
79258// AsFtpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79259func (ssls SftpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
79260	return nil, false
79261}
79262
79263// AsHTTPLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79264func (ssls SftpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
79265	return nil, false
79266}
79267
79268// AsAzureSearchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79269func (ssls SftpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
79270	return nil, false
79271}
79272
79273// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79274func (ssls SftpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
79275	return nil, false
79276}
79277
79278// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79279func (ssls SftpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
79280	return nil, false
79281}
79282
79283// AsAmazonS3LinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79284func (ssls SftpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
79285	return nil, false
79286}
79287
79288// AsSapEccLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79289func (ssls SftpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
79290	return nil, false
79291}
79292
79293// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79294func (ssls SftpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
79295	return nil, false
79296}
79297
79298// AsSalesforceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79299func (ssls SftpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
79300	return nil, false
79301}
79302
79303// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79304func (ssls SftpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
79305	return nil, false
79306}
79307
79308// AsMongoDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79309func (ssls SftpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
79310	return nil, false
79311}
79312
79313// AsCassandraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79314func (ssls SftpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
79315	return nil, false
79316}
79317
79318// AsWebLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79319func (ssls SftpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
79320	return nil, false
79321}
79322
79323// AsODataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79324func (ssls SftpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
79325	return nil, false
79326}
79327
79328// AsHdfsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79329func (ssls SftpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
79330	return nil, false
79331}
79332
79333// AsOdbcLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79334func (ssls SftpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
79335	return nil, false
79336}
79337
79338// AsAzureMLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79339func (ssls SftpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
79340	return nil, false
79341}
79342
79343// AsTeradataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79344func (ssls SftpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
79345	return nil, false
79346}
79347
79348// AsDb2LinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79349func (ssls SftpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
79350	return nil, false
79351}
79352
79353// AsSybaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79354func (ssls SftpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
79355	return nil, false
79356}
79357
79358// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79359func (ssls SftpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
79360	return nil, false
79361}
79362
79363// AsMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79364func (ssls SftpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
79365	return nil, false
79366}
79367
79368// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79369func (ssls SftpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
79370	return nil, false
79371}
79372
79373// AsOracleLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79374func (ssls SftpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
79375	return nil, false
79376}
79377
79378// AsFileServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79379func (ssls SftpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
79380	return nil, false
79381}
79382
79383// AsHDInsightLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79384func (ssls SftpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
79385	return nil, false
79386}
79387
79388// AsDynamicsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79389func (ssls SftpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
79390	return nil, false
79391}
79392
79393// AsCosmosDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79394func (ssls SftpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
79395	return nil, false
79396}
79397
79398// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79399func (ssls SftpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
79400	return nil, false
79401}
79402
79403// AsAzureBatchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79404func (ssls SftpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
79405	return nil, false
79406}
79407
79408// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79409func (ssls SftpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
79410	return nil, false
79411}
79412
79413// AsSQLServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79414func (ssls SftpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
79415	return nil, false
79416}
79417
79418// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79419func (ssls SftpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
79420	return nil, false
79421}
79422
79423// AsAzureStorageLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79424func (ssls SftpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
79425	return nil, false
79426}
79427
79428// AsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79429func (ssls SftpServerLinkedService) AsLinkedService() (*LinkedService, bool) {
79430	return nil, false
79431}
79432
79433// AsBasicLinkedService is the BasicLinkedService implementation for SftpServerLinkedService.
79434func (ssls SftpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
79435	return &ssls, true
79436}
79437
79438// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedService struct.
79439func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error {
79440	var m map[string]*json.RawMessage
79441	err := json.Unmarshal(body, &m)
79442	if err != nil {
79443		return err
79444	}
79445	for k, v := range m {
79446		switch k {
79447		case "typeProperties":
79448			if v != nil {
79449				var sftpServerLinkedServiceTypeProperties SftpServerLinkedServiceTypeProperties
79450				err = json.Unmarshal(*v, &sftpServerLinkedServiceTypeProperties)
79451				if err != nil {
79452					return err
79453				}
79454				ssls.SftpServerLinkedServiceTypeProperties = &sftpServerLinkedServiceTypeProperties
79455			}
79456		default:
79457			if v != nil {
79458				var additionalProperties interface{}
79459				err = json.Unmarshal(*v, &additionalProperties)
79460				if err != nil {
79461					return err
79462				}
79463				if ssls.AdditionalProperties == nil {
79464					ssls.AdditionalProperties = make(map[string]interface{})
79465				}
79466				ssls.AdditionalProperties[k] = additionalProperties
79467			}
79468		case "connectVia":
79469			if v != nil {
79470				var connectVia IntegrationRuntimeReference
79471				err = json.Unmarshal(*v, &connectVia)
79472				if err != nil {
79473					return err
79474				}
79475				ssls.ConnectVia = &connectVia
79476			}
79477		case "description":
79478			if v != nil {
79479				var description string
79480				err = json.Unmarshal(*v, &description)
79481				if err != nil {
79482					return err
79483				}
79484				ssls.Description = &description
79485			}
79486		case "parameters":
79487			if v != nil {
79488				var parameters map[string]*ParameterSpecification
79489				err = json.Unmarshal(*v, &parameters)
79490				if err != nil {
79491					return err
79492				}
79493				ssls.Parameters = parameters
79494			}
79495		case "annotations":
79496			if v != nil {
79497				var annotations []interface{}
79498				err = json.Unmarshal(*v, &annotations)
79499				if err != nil {
79500					return err
79501				}
79502				ssls.Annotations = &annotations
79503			}
79504		case "type":
79505			if v != nil {
79506				var typeVar TypeBasicLinkedService
79507				err = json.Unmarshal(*v, &typeVar)
79508				if err != nil {
79509					return err
79510				}
79511				ssls.Type = typeVar
79512			}
79513		}
79514	}
79515
79516	return nil
79517}
79518
79519// SftpServerLinkedServiceTypeProperties properties specific to this linked service type.
79520type SftpServerLinkedServiceTypeProperties struct {
79521	// Host - The SFTP server host name. Type: string (or Expression with resultType string).
79522	Host interface{} `json:"host,omitempty"`
79523	// Port - The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0.
79524	Port interface{} `json:"port,omitempty"`
79525	// AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'SftpAuthenticationTypeBasic', 'SftpAuthenticationTypeSSHPublicKey'
79526	AuthenticationType SftpAuthenticationType `json:"authenticationType,omitempty"`
79527	// UserName - The username used to log on to the SFTP server. Type: string (or Expression with resultType string).
79528	UserName interface{} `json:"userName,omitempty"`
79529	// Password - Password to logon the SFTP server for Basic authentication.
79530	Password BasicSecretBase `json:"password,omitempty"`
79531	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
79532	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
79533	// PrivateKeyPath - The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string).
79534	PrivateKeyPath interface{} `json:"privateKeyPath,omitempty"`
79535	// PrivateKeyContent - Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format.
79536	PrivateKeyContent BasicSecretBase `json:"privateKeyContent,omitempty"`
79537	// PassPhrase - The password to decrypt the SSH private key if the SSH private key is encrypted.
79538	PassPhrase BasicSecretBase `json:"passPhrase,omitempty"`
79539	// SkipHostKeyValidation - If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean).
79540	SkipHostKeyValidation interface{} `json:"skipHostKeyValidation,omitempty"`
79541	// HostKeyFingerprint - The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string).
79542	HostKeyFingerprint interface{} `json:"hostKeyFingerprint,omitempty"`
79543}
79544
79545// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedServiceTypeProperties struct.
79546func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
79547	var m map[string]*json.RawMessage
79548	err := json.Unmarshal(body, &m)
79549	if err != nil {
79550		return err
79551	}
79552	for k, v := range m {
79553		switch k {
79554		case "host":
79555			if v != nil {
79556				var host interface{}
79557				err = json.Unmarshal(*v, &host)
79558				if err != nil {
79559					return err
79560				}
79561				sslstp.Host = host
79562			}
79563		case "port":
79564			if v != nil {
79565				var port interface{}
79566				err = json.Unmarshal(*v, &port)
79567				if err != nil {
79568					return err
79569				}
79570				sslstp.Port = port
79571			}
79572		case "authenticationType":
79573			if v != nil {
79574				var authenticationType SftpAuthenticationType
79575				err = json.Unmarshal(*v, &authenticationType)
79576				if err != nil {
79577					return err
79578				}
79579				sslstp.AuthenticationType = authenticationType
79580			}
79581		case "userName":
79582			if v != nil {
79583				var userName interface{}
79584				err = json.Unmarshal(*v, &userName)
79585				if err != nil {
79586					return err
79587				}
79588				sslstp.UserName = userName
79589			}
79590		case "password":
79591			if v != nil {
79592				password, err := unmarshalBasicSecretBase(*v)
79593				if err != nil {
79594					return err
79595				}
79596				sslstp.Password = password
79597			}
79598		case "encryptedCredential":
79599			if v != nil {
79600				var encryptedCredential interface{}
79601				err = json.Unmarshal(*v, &encryptedCredential)
79602				if err != nil {
79603					return err
79604				}
79605				sslstp.EncryptedCredential = encryptedCredential
79606			}
79607		case "privateKeyPath":
79608			if v != nil {
79609				var privateKeyPath interface{}
79610				err = json.Unmarshal(*v, &privateKeyPath)
79611				if err != nil {
79612					return err
79613				}
79614				sslstp.PrivateKeyPath = privateKeyPath
79615			}
79616		case "privateKeyContent":
79617			if v != nil {
79618				privateKeyContent, err := unmarshalBasicSecretBase(*v)
79619				if err != nil {
79620					return err
79621				}
79622				sslstp.PrivateKeyContent = privateKeyContent
79623			}
79624		case "passPhrase":
79625			if v != nil {
79626				passPhrase, err := unmarshalBasicSecretBase(*v)
79627				if err != nil {
79628					return err
79629				}
79630				sslstp.PassPhrase = passPhrase
79631			}
79632		case "skipHostKeyValidation":
79633			if v != nil {
79634				var skipHostKeyValidation interface{}
79635				err = json.Unmarshal(*v, &skipHostKeyValidation)
79636				if err != nil {
79637					return err
79638				}
79639				sslstp.SkipHostKeyValidation = skipHostKeyValidation
79640			}
79641		case "hostKeyFingerprint":
79642			if v != nil {
79643				var hostKeyFingerprint interface{}
79644				err = json.Unmarshal(*v, &hostKeyFingerprint)
79645				if err != nil {
79646					return err
79647				}
79648				sslstp.HostKeyFingerprint = hostKeyFingerprint
79649			}
79650		}
79651	}
79652
79653	return nil
79654}
79655
79656// ShopifyLinkedService shopify Serivce linked service.
79657type ShopifyLinkedService struct {
79658	// ShopifyLinkedServiceTypeProperties - Shopify Serivce linked service properties.
79659	*ShopifyLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
79660	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
79661	AdditionalProperties map[string]interface{} `json:""`
79662	// ConnectVia - The integration runtime reference.
79663	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
79664	// Description - Linked service description.
79665	Description *string `json:"description,omitempty"`
79666	// Parameters - Parameters for linked service.
79667	Parameters map[string]*ParameterSpecification `json:"parameters"`
79668	// Annotations - List of tags that can be used for describing the Dataset.
79669	Annotations *[]interface{} `json:"annotations,omitempty"`
79670	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
79671	Type TypeBasicLinkedService `json:"type,omitempty"`
79672}
79673
79674// MarshalJSON is the custom marshaler for ShopifyLinkedService.
79675func (sls ShopifyLinkedService) MarshalJSON() ([]byte, error) {
79676	sls.Type = TypeShopify
79677	objectMap := make(map[string]interface{})
79678	if sls.ShopifyLinkedServiceTypeProperties != nil {
79679		objectMap["typeProperties"] = sls.ShopifyLinkedServiceTypeProperties
79680	}
79681	if sls.ConnectVia != nil {
79682		objectMap["connectVia"] = sls.ConnectVia
79683	}
79684	if sls.Description != nil {
79685		objectMap["description"] = sls.Description
79686	}
79687	if sls.Parameters != nil {
79688		objectMap["parameters"] = sls.Parameters
79689	}
79690	if sls.Annotations != nil {
79691		objectMap["annotations"] = sls.Annotations
79692	}
79693	if sls.Type != "" {
79694		objectMap["type"] = sls.Type
79695	}
79696	for k, v := range sls.AdditionalProperties {
79697		objectMap[k] = v
79698	}
79699	return json.Marshal(objectMap)
79700}
79701
79702// AsResponsysLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79703func (sls ShopifyLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
79704	return nil, false
79705}
79706
79707// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79708func (sls ShopifyLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
79709	return nil, false
79710}
79711
79712// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79713func (sls ShopifyLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
79714	return nil, false
79715}
79716
79717// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79718func (sls ShopifyLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
79719	return nil, false
79720}
79721
79722// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79723func (sls ShopifyLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
79724	return nil, false
79725}
79726
79727// AsNetezzaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79728func (sls ShopifyLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
79729	return nil, false
79730}
79731
79732// AsVerticaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79733func (sls ShopifyLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
79734	return nil, false
79735}
79736
79737// AsZohoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79738func (sls ShopifyLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
79739	return nil, false
79740}
79741
79742// AsXeroLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79743func (sls ShopifyLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
79744	return nil, false
79745}
79746
79747// AsSquareLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79748func (sls ShopifyLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
79749	return nil, false
79750}
79751
79752// AsSparkLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79753func (sls ShopifyLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
79754	return nil, false
79755}
79756
79757// AsShopifyLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79758func (sls ShopifyLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
79759	return &sls, true
79760}
79761
79762// AsServiceNowLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79763func (sls ShopifyLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
79764	return nil, false
79765}
79766
79767// AsQuickBooksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79768func (sls ShopifyLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
79769	return nil, false
79770}
79771
79772// AsPrestoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79773func (sls ShopifyLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
79774	return nil, false
79775}
79776
79777// AsPhoenixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79778func (sls ShopifyLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
79779	return nil, false
79780}
79781
79782// AsPaypalLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79783func (sls ShopifyLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
79784	return nil, false
79785}
79786
79787// AsMarketoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79788func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
79789	return nil, false
79790}
79791
79792// AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79793func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
79794	return nil, false
79795}
79796
79797// AsMagentoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79798func (sls ShopifyLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
79799	return nil, false
79800}
79801
79802// AsJiraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79803func (sls ShopifyLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
79804	return nil, false
79805}
79806
79807// AsImpalaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79808func (sls ShopifyLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
79809	return nil, false
79810}
79811
79812// AsHubspotLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79813func (sls ShopifyLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
79814	return nil, false
79815}
79816
79817// AsHiveLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79818func (sls ShopifyLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
79819	return nil, false
79820}
79821
79822// AsHBaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79823func (sls ShopifyLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
79824	return nil, false
79825}
79826
79827// AsGreenplumLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79828func (sls ShopifyLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
79829	return nil, false
79830}
79831
79832// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79833func (sls ShopifyLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
79834	return nil, false
79835}
79836
79837// AsEloquaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79838func (sls ShopifyLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
79839	return nil, false
79840}
79841
79842// AsDrillLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79843func (sls ShopifyLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
79844	return nil, false
79845}
79846
79847// AsCouchbaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79848func (sls ShopifyLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
79849	return nil, false
79850}
79851
79852// AsConcurLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79853func (sls ShopifyLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
79854	return nil, false
79855}
79856
79857// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79858func (sls ShopifyLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
79859	return nil, false
79860}
79861
79862// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79863func (sls ShopifyLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
79864	return nil, false
79865}
79866
79867// AsSapHanaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79868func (sls ShopifyLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
79869	return nil, false
79870}
79871
79872// AsSapBWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79873func (sls ShopifyLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
79874	return nil, false
79875}
79876
79877// AsSftpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79878func (sls ShopifyLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
79879	return nil, false
79880}
79881
79882// AsFtpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79883func (sls ShopifyLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
79884	return nil, false
79885}
79886
79887// AsHTTPLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79888func (sls ShopifyLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
79889	return nil, false
79890}
79891
79892// AsAzureSearchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79893func (sls ShopifyLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
79894	return nil, false
79895}
79896
79897// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79898func (sls ShopifyLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
79899	return nil, false
79900}
79901
79902// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79903func (sls ShopifyLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
79904	return nil, false
79905}
79906
79907// AsAmazonS3LinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79908func (sls ShopifyLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
79909	return nil, false
79910}
79911
79912// AsSapEccLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79913func (sls ShopifyLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
79914	return nil, false
79915}
79916
79917// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79918func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
79919	return nil, false
79920}
79921
79922// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79923func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
79924	return nil, false
79925}
79926
79927// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79928func (sls ShopifyLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
79929	return nil, false
79930}
79931
79932// AsMongoDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79933func (sls ShopifyLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
79934	return nil, false
79935}
79936
79937// AsCassandraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79938func (sls ShopifyLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
79939	return nil, false
79940}
79941
79942// AsWebLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79943func (sls ShopifyLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
79944	return nil, false
79945}
79946
79947// AsODataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79948func (sls ShopifyLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
79949	return nil, false
79950}
79951
79952// AsHdfsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79953func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
79954	return nil, false
79955}
79956
79957// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79958func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
79959	return nil, false
79960}
79961
79962// AsAzureMLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79963func (sls ShopifyLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
79964	return nil, false
79965}
79966
79967// AsTeradataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79968func (sls ShopifyLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
79969	return nil, false
79970}
79971
79972// AsDb2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79973func (sls ShopifyLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
79974	return nil, false
79975}
79976
79977// AsSybaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79978func (sls ShopifyLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
79979	return nil, false
79980}
79981
79982// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79983func (sls ShopifyLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
79984	return nil, false
79985}
79986
79987// AsMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79988func (sls ShopifyLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
79989	return nil, false
79990}
79991
79992// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79993func (sls ShopifyLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
79994	return nil, false
79995}
79996
79997// AsOracleLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
79998func (sls ShopifyLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
79999	return nil, false
80000}
80001
80002// AsFileServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80003func (sls ShopifyLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
80004	return nil, false
80005}
80006
80007// AsHDInsightLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80008func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
80009	return nil, false
80010}
80011
80012// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80013func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
80014	return nil, false
80015}
80016
80017// AsCosmosDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80018func (sls ShopifyLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
80019	return nil, false
80020}
80021
80022// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80023func (sls ShopifyLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
80024	return nil, false
80025}
80026
80027// AsAzureBatchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80028func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
80029	return nil, false
80030}
80031
80032// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80033func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
80034	return nil, false
80035}
80036
80037// AsSQLServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80038func (sls ShopifyLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
80039	return nil, false
80040}
80041
80042// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80043func (sls ShopifyLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
80044	return nil, false
80045}
80046
80047// AsAzureStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80048func (sls ShopifyLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
80049	return nil, false
80050}
80051
80052// AsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80053func (sls ShopifyLinkedService) AsLinkedService() (*LinkedService, bool) {
80054	return nil, false
80055}
80056
80057// AsBasicLinkedService is the BasicLinkedService implementation for ShopifyLinkedService.
80058func (sls ShopifyLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
80059	return &sls, true
80060}
80061
80062// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedService struct.
80063func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error {
80064	var m map[string]*json.RawMessage
80065	err := json.Unmarshal(body, &m)
80066	if err != nil {
80067		return err
80068	}
80069	for k, v := range m {
80070		switch k {
80071		case "typeProperties":
80072			if v != nil {
80073				var shopifyLinkedServiceTypeProperties ShopifyLinkedServiceTypeProperties
80074				err = json.Unmarshal(*v, &shopifyLinkedServiceTypeProperties)
80075				if err != nil {
80076					return err
80077				}
80078				sls.ShopifyLinkedServiceTypeProperties = &shopifyLinkedServiceTypeProperties
80079			}
80080		default:
80081			if v != nil {
80082				var additionalProperties interface{}
80083				err = json.Unmarshal(*v, &additionalProperties)
80084				if err != nil {
80085					return err
80086				}
80087				if sls.AdditionalProperties == nil {
80088					sls.AdditionalProperties = make(map[string]interface{})
80089				}
80090				sls.AdditionalProperties[k] = additionalProperties
80091			}
80092		case "connectVia":
80093			if v != nil {
80094				var connectVia IntegrationRuntimeReference
80095				err = json.Unmarshal(*v, &connectVia)
80096				if err != nil {
80097					return err
80098				}
80099				sls.ConnectVia = &connectVia
80100			}
80101		case "description":
80102			if v != nil {
80103				var description string
80104				err = json.Unmarshal(*v, &description)
80105				if err != nil {
80106					return err
80107				}
80108				sls.Description = &description
80109			}
80110		case "parameters":
80111			if v != nil {
80112				var parameters map[string]*ParameterSpecification
80113				err = json.Unmarshal(*v, &parameters)
80114				if err != nil {
80115					return err
80116				}
80117				sls.Parameters = parameters
80118			}
80119		case "annotations":
80120			if v != nil {
80121				var annotations []interface{}
80122				err = json.Unmarshal(*v, &annotations)
80123				if err != nil {
80124					return err
80125				}
80126				sls.Annotations = &annotations
80127			}
80128		case "type":
80129			if v != nil {
80130				var typeVar TypeBasicLinkedService
80131				err = json.Unmarshal(*v, &typeVar)
80132				if err != nil {
80133					return err
80134				}
80135				sls.Type = typeVar
80136			}
80137		}
80138	}
80139
80140	return nil
80141}
80142
80143// ShopifyLinkedServiceTypeProperties shopify Serivce linked service properties.
80144type ShopifyLinkedServiceTypeProperties struct {
80145	// Host - The endpoint of the Shopify server. (i.e. mystore.myshopify.com)
80146	Host interface{} `json:"host,omitempty"`
80147	// AccessToken - The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode.
80148	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
80149	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
80150	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
80151	// 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.
80152	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
80153	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
80154	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
80155	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
80156	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
80157}
80158
80159// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedServiceTypeProperties struct.
80160func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
80161	var m map[string]*json.RawMessage
80162	err := json.Unmarshal(body, &m)
80163	if err != nil {
80164		return err
80165	}
80166	for k, v := range m {
80167		switch k {
80168		case "host":
80169			if v != nil {
80170				var host interface{}
80171				err = json.Unmarshal(*v, &host)
80172				if err != nil {
80173					return err
80174				}
80175				slstp.Host = host
80176			}
80177		case "accessToken":
80178			if v != nil {
80179				accessToken, err := unmarshalBasicSecretBase(*v)
80180				if err != nil {
80181					return err
80182				}
80183				slstp.AccessToken = accessToken
80184			}
80185		case "useEncryptedEndpoints":
80186			if v != nil {
80187				var useEncryptedEndpoints interface{}
80188				err = json.Unmarshal(*v, &useEncryptedEndpoints)
80189				if err != nil {
80190					return err
80191				}
80192				slstp.UseEncryptedEndpoints = useEncryptedEndpoints
80193			}
80194		case "useHostVerification":
80195			if v != nil {
80196				var useHostVerification interface{}
80197				err = json.Unmarshal(*v, &useHostVerification)
80198				if err != nil {
80199					return err
80200				}
80201				slstp.UseHostVerification = useHostVerification
80202			}
80203		case "usePeerVerification":
80204			if v != nil {
80205				var usePeerVerification interface{}
80206				err = json.Unmarshal(*v, &usePeerVerification)
80207				if err != nil {
80208					return err
80209				}
80210				slstp.UsePeerVerification = usePeerVerification
80211			}
80212		case "encryptedCredential":
80213			if v != nil {
80214				var encryptedCredential interface{}
80215				err = json.Unmarshal(*v, &encryptedCredential)
80216				if err != nil {
80217					return err
80218				}
80219				slstp.EncryptedCredential = encryptedCredential
80220			}
80221		}
80222	}
80223
80224	return nil
80225}
80226
80227// ShopifyObjectDataset shopify Serivce dataset.
80228type ShopifyObjectDataset struct {
80229	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
80230	AdditionalProperties map[string]interface{} `json:""`
80231	// Description - Dataset description.
80232	Description *string `json:"description,omitempty"`
80233	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
80234	Structure interface{} `json:"structure,omitempty"`
80235	// LinkedServiceName - Linked service reference.
80236	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
80237	// Parameters - Parameters for dataset.
80238	Parameters map[string]*ParameterSpecification `json:"parameters"`
80239	// Annotations - List of tags that can be used for describing the Dataset.
80240	Annotations *[]interface{} `json:"annotations,omitempty"`
80241	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
80242	Type TypeBasicDataset `json:"type,omitempty"`
80243}
80244
80245// MarshalJSON is the custom marshaler for ShopifyObjectDataset.
80246func (sod ShopifyObjectDataset) MarshalJSON() ([]byte, error) {
80247	sod.Type = TypeShopifyObject
80248	objectMap := make(map[string]interface{})
80249	if sod.Description != nil {
80250		objectMap["description"] = sod.Description
80251	}
80252	objectMap["structure"] = sod.Structure
80253	if sod.LinkedServiceName != nil {
80254		objectMap["linkedServiceName"] = sod.LinkedServiceName
80255	}
80256	if sod.Parameters != nil {
80257		objectMap["parameters"] = sod.Parameters
80258	}
80259	if sod.Annotations != nil {
80260		objectMap["annotations"] = sod.Annotations
80261	}
80262	if sod.Type != "" {
80263		objectMap["type"] = sod.Type
80264	}
80265	for k, v := range sod.AdditionalProperties {
80266		objectMap[k] = v
80267	}
80268	return json.Marshal(objectMap)
80269}
80270
80271// AsResponsysObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80272func (sod ShopifyObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
80273	return nil, false
80274}
80275
80276// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80277func (sod ShopifyObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
80278	return nil, false
80279}
80280
80281// AsVerticaTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80282func (sod ShopifyObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
80283	return nil, false
80284}
80285
80286// AsNetezzaTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80287func (sod ShopifyObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
80288	return nil, false
80289}
80290
80291// AsZohoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80292func (sod ShopifyObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
80293	return nil, false
80294}
80295
80296// AsXeroObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80297func (sod ShopifyObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
80298	return nil, false
80299}
80300
80301// AsSquareObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80302func (sod ShopifyObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
80303	return nil, false
80304}
80305
80306// AsSparkObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80307func (sod ShopifyObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
80308	return nil, false
80309}
80310
80311// AsShopifyObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80312func (sod ShopifyObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
80313	return &sod, true
80314}
80315
80316// AsServiceNowObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80317func (sod ShopifyObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
80318	return nil, false
80319}
80320
80321// AsQuickBooksObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80322func (sod ShopifyObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
80323	return nil, false
80324}
80325
80326// AsPrestoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80327func (sod ShopifyObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
80328	return nil, false
80329}
80330
80331// AsPhoenixObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80332func (sod ShopifyObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
80333	return nil, false
80334}
80335
80336// AsPaypalObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80337func (sod ShopifyObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
80338	return nil, false
80339}
80340
80341// AsMarketoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80342func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
80343	return nil, false
80344}
80345
80346// AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80347func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
80348	return nil, false
80349}
80350
80351// AsMagentoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80352func (sod ShopifyObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
80353	return nil, false
80354}
80355
80356// AsJiraObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80357func (sod ShopifyObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
80358	return nil, false
80359}
80360
80361// AsImpalaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80362func (sod ShopifyObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
80363	return nil, false
80364}
80365
80366// AsHubspotObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80367func (sod ShopifyObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
80368	return nil, false
80369}
80370
80371// AsHiveObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80372func (sod ShopifyObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
80373	return nil, false
80374}
80375
80376// AsHBaseObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80377func (sod ShopifyObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
80378	return nil, false
80379}
80380
80381// AsGreenplumTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80382func (sod ShopifyObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
80383	return nil, false
80384}
80385
80386// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80387func (sod ShopifyObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
80388	return nil, false
80389}
80390
80391// AsEloquaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80392func (sod ShopifyObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
80393	return nil, false
80394}
80395
80396// AsDrillTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80397func (sod ShopifyObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
80398	return nil, false
80399}
80400
80401// AsCouchbaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80402func (sod ShopifyObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
80403	return nil, false
80404}
80405
80406// AsConcurObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80407func (sod ShopifyObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
80408	return nil, false
80409}
80410
80411// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80412func (sod ShopifyObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
80413	return nil, false
80414}
80415
80416// AsAmazonMWSObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80417func (sod ShopifyObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
80418	return nil, false
80419}
80420
80421// AsHTTPDataset is the BasicDataset implementation for ShopifyObjectDataset.
80422func (sod ShopifyObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
80423	return nil, false
80424}
80425
80426// AsAzureSearchIndexDataset is the BasicDataset implementation for ShopifyObjectDataset.
80427func (sod ShopifyObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
80428	return nil, false
80429}
80430
80431// AsWebTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80432func (sod ShopifyObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
80433	return nil, false
80434}
80435
80436// AsSQLServerTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80437func (sod ShopifyObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
80438	return nil, false
80439}
80440
80441// AsSapEccResourceDataset is the BasicDataset implementation for ShopifyObjectDataset.
80442func (sod ShopifyObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
80443	return nil, false
80444}
80445
80446// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ShopifyObjectDataset.
80447func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
80448	return nil, false
80449}
80450
80451// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset.
80452func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
80453	return nil, false
80454}
80455
80456// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80457func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
80458	return nil, false
80459}
80460
80461// AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80462func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
80463	return nil, false
80464}
80465
80466// AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80467func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
80468	return nil, false
80469}
80470
80471// AsODataResourceDataset is the BasicDataset implementation for ShopifyObjectDataset.
80472func (sod ShopifyObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
80473	return nil, false
80474}
80475
80476// AsMongoDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset.
80477func (sod ShopifyObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
80478	return nil, false
80479}
80480
80481// AsFileShareDataset is the BasicDataset implementation for ShopifyObjectDataset.
80482func (sod ShopifyObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
80483	return nil, false
80484}
80485
80486// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ShopifyObjectDataset.
80487func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
80488	return nil, false
80489}
80490
80491// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset.
80492func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
80493	return nil, false
80494}
80495
80496// AsDocumentDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset.
80497func (sod ShopifyObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
80498	return nil, false
80499}
80500
80501// AsCustomDataset is the BasicDataset implementation for ShopifyObjectDataset.
80502func (sod ShopifyObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
80503	return nil, false
80504}
80505
80506// AsCassandraTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80507func (sod ShopifyObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
80508	return nil, false
80509}
80510
80511// AsAzureSQLDWTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80512func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
80513	return nil, false
80514}
80515
80516// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80517func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
80518	return nil, false
80519}
80520
80521// AsAzureTableDataset is the BasicDataset implementation for ShopifyObjectDataset.
80522func (sod ShopifyObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
80523	return nil, false
80524}
80525
80526// AsAzureBlobDataset is the BasicDataset implementation for ShopifyObjectDataset.
80527func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
80528	return nil, false
80529}
80530
80531// AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset.
80532func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
80533	return nil, false
80534}
80535
80536// AsDataset is the BasicDataset implementation for ShopifyObjectDataset.
80537func (sod ShopifyObjectDataset) AsDataset() (*Dataset, bool) {
80538	return nil, false
80539}
80540
80541// AsBasicDataset is the BasicDataset implementation for ShopifyObjectDataset.
80542func (sod ShopifyObjectDataset) AsBasicDataset() (BasicDataset, bool) {
80543	return &sod, true
80544}
80545
80546// ShopifySource a copy activity Shopify Serivce source.
80547type ShopifySource struct {
80548	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
80549	Query interface{} `json:"query,omitempty"`
80550	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
80551	AdditionalProperties map[string]interface{} `json:""`
80552	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
80553	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
80554	// 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])).
80555	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
80556	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
80557	Type TypeBasicCopySource `json:"type,omitempty"`
80558}
80559
80560// MarshalJSON is the custom marshaler for ShopifySource.
80561func (ss ShopifySource) MarshalJSON() ([]byte, error) {
80562	ss.Type = TypeShopifySource
80563	objectMap := make(map[string]interface{})
80564	objectMap["query"] = ss.Query
80565	objectMap["sourceRetryCount"] = ss.SourceRetryCount
80566	objectMap["sourceRetryWait"] = ss.SourceRetryWait
80567	if ss.Type != "" {
80568		objectMap["type"] = ss.Type
80569	}
80570	for k, v := range ss.AdditionalProperties {
80571		objectMap[k] = v
80572	}
80573	return json.Marshal(objectMap)
80574}
80575
80576// AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource.
80577func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
80578	return nil, false
80579}
80580
80581// AsResponsysSource is the BasicCopySource implementation for ShopifySource.
80582func (ss ShopifySource) AsResponsysSource() (*ResponsysSource, bool) {
80583	return nil, false
80584}
80585
80586// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ShopifySource.
80587func (ss ShopifySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
80588	return nil, false
80589}
80590
80591// AsVerticaSource is the BasicCopySource implementation for ShopifySource.
80592func (ss ShopifySource) AsVerticaSource() (*VerticaSource, bool) {
80593	return nil, false
80594}
80595
80596// AsNetezzaSource is the BasicCopySource implementation for ShopifySource.
80597func (ss ShopifySource) AsNetezzaSource() (*NetezzaSource, bool) {
80598	return nil, false
80599}
80600
80601// AsZohoSource is the BasicCopySource implementation for ShopifySource.
80602func (ss ShopifySource) AsZohoSource() (*ZohoSource, bool) {
80603	return nil, false
80604}
80605
80606// AsXeroSource is the BasicCopySource implementation for ShopifySource.
80607func (ss ShopifySource) AsXeroSource() (*XeroSource, bool) {
80608	return nil, false
80609}
80610
80611// AsSquareSource is the BasicCopySource implementation for ShopifySource.
80612func (ss ShopifySource) AsSquareSource() (*SquareSource, bool) {
80613	return nil, false
80614}
80615
80616// AsSparkSource is the BasicCopySource implementation for ShopifySource.
80617func (ss ShopifySource) AsSparkSource() (*SparkSource, bool) {
80618	return nil, false
80619}
80620
80621// AsShopifySource is the BasicCopySource implementation for ShopifySource.
80622func (ss ShopifySource) AsShopifySource() (*ShopifySource, bool) {
80623	return &ss, true
80624}
80625
80626// AsServiceNowSource is the BasicCopySource implementation for ShopifySource.
80627func (ss ShopifySource) AsServiceNowSource() (*ServiceNowSource, bool) {
80628	return nil, false
80629}
80630
80631// AsQuickBooksSource is the BasicCopySource implementation for ShopifySource.
80632func (ss ShopifySource) AsQuickBooksSource() (*QuickBooksSource, bool) {
80633	return nil, false
80634}
80635
80636// AsPrestoSource is the BasicCopySource implementation for ShopifySource.
80637func (ss ShopifySource) AsPrestoSource() (*PrestoSource, bool) {
80638	return nil, false
80639}
80640
80641// AsPhoenixSource is the BasicCopySource implementation for ShopifySource.
80642func (ss ShopifySource) AsPhoenixSource() (*PhoenixSource, bool) {
80643	return nil, false
80644}
80645
80646// AsPaypalSource is the BasicCopySource implementation for ShopifySource.
80647func (ss ShopifySource) AsPaypalSource() (*PaypalSource, bool) {
80648	return nil, false
80649}
80650
80651// AsMarketoSource is the BasicCopySource implementation for ShopifySource.
80652func (ss ShopifySource) AsMarketoSource() (*MarketoSource, bool) {
80653	return nil, false
80654}
80655
80656// AsMariaDBSource is the BasicCopySource implementation for ShopifySource.
80657func (ss ShopifySource) AsMariaDBSource() (*MariaDBSource, bool) {
80658	return nil, false
80659}
80660
80661// AsMagentoSource is the BasicCopySource implementation for ShopifySource.
80662func (ss ShopifySource) AsMagentoSource() (*MagentoSource, bool) {
80663	return nil, false
80664}
80665
80666// AsJiraSource is the BasicCopySource implementation for ShopifySource.
80667func (ss ShopifySource) AsJiraSource() (*JiraSource, bool) {
80668	return nil, false
80669}
80670
80671// AsImpalaSource is the BasicCopySource implementation for ShopifySource.
80672func (ss ShopifySource) AsImpalaSource() (*ImpalaSource, bool) {
80673	return nil, false
80674}
80675
80676// AsHubspotSource is the BasicCopySource implementation for ShopifySource.
80677func (ss ShopifySource) AsHubspotSource() (*HubspotSource, bool) {
80678	return nil, false
80679}
80680
80681// AsHiveSource is the BasicCopySource implementation for ShopifySource.
80682func (ss ShopifySource) AsHiveSource() (*HiveSource, bool) {
80683	return nil, false
80684}
80685
80686// AsHBaseSource is the BasicCopySource implementation for ShopifySource.
80687func (ss ShopifySource) AsHBaseSource() (*HBaseSource, bool) {
80688	return nil, false
80689}
80690
80691// AsGreenplumSource is the BasicCopySource implementation for ShopifySource.
80692func (ss ShopifySource) AsGreenplumSource() (*GreenplumSource, bool) {
80693	return nil, false
80694}
80695
80696// AsGoogleBigQuerySource is the BasicCopySource implementation for ShopifySource.
80697func (ss ShopifySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
80698	return nil, false
80699}
80700
80701// AsEloquaSource is the BasicCopySource implementation for ShopifySource.
80702func (ss ShopifySource) AsEloquaSource() (*EloquaSource, bool) {
80703	return nil, false
80704}
80705
80706// AsDrillSource is the BasicCopySource implementation for ShopifySource.
80707func (ss ShopifySource) AsDrillSource() (*DrillSource, bool) {
80708	return nil, false
80709}
80710
80711// AsCouchbaseSource is the BasicCopySource implementation for ShopifySource.
80712func (ss ShopifySource) AsCouchbaseSource() (*CouchbaseSource, bool) {
80713	return nil, false
80714}
80715
80716// AsConcurSource is the BasicCopySource implementation for ShopifySource.
80717func (ss ShopifySource) AsConcurSource() (*ConcurSource, bool) {
80718	return nil, false
80719}
80720
80721// AsAzurePostgreSQLSource is the BasicCopySource implementation for ShopifySource.
80722func (ss ShopifySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
80723	return nil, false
80724}
80725
80726// AsAmazonMWSSource is the BasicCopySource implementation for ShopifySource.
80727func (ss ShopifySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
80728	return nil, false
80729}
80730
80731// AsHTTPSource is the BasicCopySource implementation for ShopifySource.
80732func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) {
80733	return nil, false
80734}
80735
80736// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource.
80737func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
80738	return nil, false
80739}
80740
80741// AsMongoDbSource is the BasicCopySource implementation for ShopifySource.
80742func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) {
80743	return nil, false
80744}
80745
80746// AsCassandraSource is the BasicCopySource implementation for ShopifySource.
80747func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) {
80748	return nil, false
80749}
80750
80751// AsWebSource is the BasicCopySource implementation for ShopifySource.
80752func (ss ShopifySource) AsWebSource() (*WebSource, bool) {
80753	return nil, false
80754}
80755
80756// AsOracleSource is the BasicCopySource implementation for ShopifySource.
80757func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) {
80758	return nil, false
80759}
80760
80761// AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource.
80762func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
80763	return nil, false
80764}
80765
80766// AsHdfsSource is the BasicCopySource implementation for ShopifySource.
80767func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) {
80768	return nil, false
80769}
80770
80771// AsFileSystemSource is the BasicCopySource implementation for ShopifySource.
80772func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) {
80773	return nil, false
80774}
80775
80776// AsSQLDWSource is the BasicCopySource implementation for ShopifySource.
80777func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) {
80778	return nil, false
80779}
80780
80781// AsSQLSource is the BasicCopySource implementation for ShopifySource.
80782func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) {
80783	return nil, false
80784}
80785
80786// AsSapEccSource is the BasicCopySource implementation for ShopifySource.
80787func (ss ShopifySource) AsSapEccSource() (*SapEccSource, bool) {
80788	return nil, false
80789}
80790
80791// AsSapCloudForCustomerSource is the BasicCopySource implementation for ShopifySource.
80792func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
80793	return nil, false
80794}
80795
80796// AsSalesforceSource is the BasicCopySource implementation for ShopifySource.
80797func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) {
80798	return nil, false
80799}
80800
80801// AsRelationalSource is the BasicCopySource implementation for ShopifySource.
80802func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) {
80803	return nil, false
80804}
80805
80806// AsDynamicsSource is the BasicCopySource implementation for ShopifySource.
80807func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) {
80808	return nil, false
80809}
80810
80811// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource.
80812func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
80813	return nil, false
80814}
80815
80816// AsBlobSource is the BasicCopySource implementation for ShopifySource.
80817func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) {
80818	return nil, false
80819}
80820
80821// AsAzureTableSource is the BasicCopySource implementation for ShopifySource.
80822func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) {
80823	return nil, false
80824}
80825
80826// AsCopySource is the BasicCopySource implementation for ShopifySource.
80827func (ss ShopifySource) AsCopySource() (*CopySource, bool) {
80828	return nil, false
80829}
80830
80831// AsBasicCopySource is the BasicCopySource implementation for ShopifySource.
80832func (ss ShopifySource) AsBasicCopySource() (BasicCopySource, bool) {
80833	return &ss, true
80834}
80835
80836// SparkLinkedService spark Server linked service.
80837type SparkLinkedService struct {
80838	// SparkLinkedServiceTypeProperties - Spark Server linked service properties.
80839	*SparkLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
80840	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
80841	AdditionalProperties map[string]interface{} `json:""`
80842	// ConnectVia - The integration runtime reference.
80843	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
80844	// Description - Linked service description.
80845	Description *string `json:"description,omitempty"`
80846	// Parameters - Parameters for linked service.
80847	Parameters map[string]*ParameterSpecification `json:"parameters"`
80848	// Annotations - List of tags that can be used for describing the Dataset.
80849	Annotations *[]interface{} `json:"annotations,omitempty"`
80850	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
80851	Type TypeBasicLinkedService `json:"type,omitempty"`
80852}
80853
80854// MarshalJSON is the custom marshaler for SparkLinkedService.
80855func (sls SparkLinkedService) MarshalJSON() ([]byte, error) {
80856	sls.Type = TypeSpark
80857	objectMap := make(map[string]interface{})
80858	if sls.SparkLinkedServiceTypeProperties != nil {
80859		objectMap["typeProperties"] = sls.SparkLinkedServiceTypeProperties
80860	}
80861	if sls.ConnectVia != nil {
80862		objectMap["connectVia"] = sls.ConnectVia
80863	}
80864	if sls.Description != nil {
80865		objectMap["description"] = sls.Description
80866	}
80867	if sls.Parameters != nil {
80868		objectMap["parameters"] = sls.Parameters
80869	}
80870	if sls.Annotations != nil {
80871		objectMap["annotations"] = sls.Annotations
80872	}
80873	if sls.Type != "" {
80874		objectMap["type"] = sls.Type
80875	}
80876	for k, v := range sls.AdditionalProperties {
80877		objectMap[k] = v
80878	}
80879	return json.Marshal(objectMap)
80880}
80881
80882// AsResponsysLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80883func (sls SparkLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
80884	return nil, false
80885}
80886
80887// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80888func (sls SparkLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
80889	return nil, false
80890}
80891
80892// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80893func (sls SparkLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
80894	return nil, false
80895}
80896
80897// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80898func (sls SparkLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
80899	return nil, false
80900}
80901
80902// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80903func (sls SparkLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
80904	return nil, false
80905}
80906
80907// AsNetezzaLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80908func (sls SparkLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
80909	return nil, false
80910}
80911
80912// AsVerticaLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80913func (sls SparkLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
80914	return nil, false
80915}
80916
80917// AsZohoLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80918func (sls SparkLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
80919	return nil, false
80920}
80921
80922// AsXeroLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80923func (sls SparkLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
80924	return nil, false
80925}
80926
80927// AsSquareLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80928func (sls SparkLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
80929	return nil, false
80930}
80931
80932// AsSparkLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80933func (sls SparkLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
80934	return &sls, true
80935}
80936
80937// AsShopifyLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80938func (sls SparkLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
80939	return nil, false
80940}
80941
80942// AsServiceNowLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80943func (sls SparkLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
80944	return nil, false
80945}
80946
80947// AsQuickBooksLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80948func (sls SparkLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
80949	return nil, false
80950}
80951
80952// AsPrestoLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80953func (sls SparkLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
80954	return nil, false
80955}
80956
80957// AsPhoenixLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80958func (sls SparkLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
80959	return nil, false
80960}
80961
80962// AsPaypalLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80963func (sls SparkLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
80964	return nil, false
80965}
80966
80967// AsMarketoLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80968func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
80969	return nil, false
80970}
80971
80972// AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80973func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
80974	return nil, false
80975}
80976
80977// AsMagentoLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80978func (sls SparkLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
80979	return nil, false
80980}
80981
80982// AsJiraLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80983func (sls SparkLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
80984	return nil, false
80985}
80986
80987// AsImpalaLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80988func (sls SparkLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
80989	return nil, false
80990}
80991
80992// AsHubspotLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80993func (sls SparkLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
80994	return nil, false
80995}
80996
80997// AsHiveLinkedService is the BasicLinkedService implementation for SparkLinkedService.
80998func (sls SparkLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
80999	return nil, false
81000}
81001
81002// AsHBaseLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81003func (sls SparkLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
81004	return nil, false
81005}
81006
81007// AsGreenplumLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81008func (sls SparkLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
81009	return nil, false
81010}
81011
81012// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81013func (sls SparkLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
81014	return nil, false
81015}
81016
81017// AsEloquaLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81018func (sls SparkLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
81019	return nil, false
81020}
81021
81022// AsDrillLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81023func (sls SparkLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
81024	return nil, false
81025}
81026
81027// AsCouchbaseLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81028func (sls SparkLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
81029	return nil, false
81030}
81031
81032// AsConcurLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81033func (sls SparkLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
81034	return nil, false
81035}
81036
81037// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81038func (sls SparkLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
81039	return nil, false
81040}
81041
81042// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81043func (sls SparkLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
81044	return nil, false
81045}
81046
81047// AsSapHanaLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81048func (sls SparkLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
81049	return nil, false
81050}
81051
81052// AsSapBWLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81053func (sls SparkLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
81054	return nil, false
81055}
81056
81057// AsSftpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81058func (sls SparkLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
81059	return nil, false
81060}
81061
81062// AsFtpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81063func (sls SparkLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
81064	return nil, false
81065}
81066
81067// AsHTTPLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81068func (sls SparkLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
81069	return nil, false
81070}
81071
81072// AsAzureSearchLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81073func (sls SparkLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
81074	return nil, false
81075}
81076
81077// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81078func (sls SparkLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
81079	return nil, false
81080}
81081
81082// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81083func (sls SparkLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
81084	return nil, false
81085}
81086
81087// AsAmazonS3LinkedService is the BasicLinkedService implementation for SparkLinkedService.
81088func (sls SparkLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
81089	return nil, false
81090}
81091
81092// AsSapEccLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81093func (sls SparkLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
81094	return nil, false
81095}
81096
81097// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81098func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
81099	return nil, false
81100}
81101
81102// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81103func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
81104	return nil, false
81105}
81106
81107// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81108func (sls SparkLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
81109	return nil, false
81110}
81111
81112// AsMongoDbLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81113func (sls SparkLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
81114	return nil, false
81115}
81116
81117// AsCassandraLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81118func (sls SparkLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
81119	return nil, false
81120}
81121
81122// AsWebLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81123func (sls SparkLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
81124	return nil, false
81125}
81126
81127// AsODataLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81128func (sls SparkLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
81129	return nil, false
81130}
81131
81132// AsHdfsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81133func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
81134	return nil, false
81135}
81136
81137// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81138func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
81139	return nil, false
81140}
81141
81142// AsAzureMLLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81143func (sls SparkLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
81144	return nil, false
81145}
81146
81147// AsTeradataLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81148func (sls SparkLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
81149	return nil, false
81150}
81151
81152// AsDb2LinkedService is the BasicLinkedService implementation for SparkLinkedService.
81153func (sls SparkLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
81154	return nil, false
81155}
81156
81157// AsSybaseLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81158func (sls SparkLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
81159	return nil, false
81160}
81161
81162// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81163func (sls SparkLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
81164	return nil, false
81165}
81166
81167// AsMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81168func (sls SparkLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
81169	return nil, false
81170}
81171
81172// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81173func (sls SparkLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
81174	return nil, false
81175}
81176
81177// AsOracleLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81178func (sls SparkLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
81179	return nil, false
81180}
81181
81182// AsFileServerLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81183func (sls SparkLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
81184	return nil, false
81185}
81186
81187// AsHDInsightLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81188func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
81189	return nil, false
81190}
81191
81192// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81193func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
81194	return nil, false
81195}
81196
81197// AsCosmosDbLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81198func (sls SparkLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
81199	return nil, false
81200}
81201
81202// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81203func (sls SparkLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
81204	return nil, false
81205}
81206
81207// AsAzureBatchLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81208func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
81209	return nil, false
81210}
81211
81212// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81213func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
81214	return nil, false
81215}
81216
81217// AsSQLServerLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81218func (sls SparkLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
81219	return nil, false
81220}
81221
81222// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81223func (sls SparkLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
81224	return nil, false
81225}
81226
81227// AsAzureStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81228func (sls SparkLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
81229	return nil, false
81230}
81231
81232// AsLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81233func (sls SparkLinkedService) AsLinkedService() (*LinkedService, bool) {
81234	return nil, false
81235}
81236
81237// AsBasicLinkedService is the BasicLinkedService implementation for SparkLinkedService.
81238func (sls SparkLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
81239	return &sls, true
81240}
81241
81242// UnmarshalJSON is the custom unmarshaler for SparkLinkedService struct.
81243func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error {
81244	var m map[string]*json.RawMessage
81245	err := json.Unmarshal(body, &m)
81246	if err != nil {
81247		return err
81248	}
81249	for k, v := range m {
81250		switch k {
81251		case "typeProperties":
81252			if v != nil {
81253				var sparkLinkedServiceTypeProperties SparkLinkedServiceTypeProperties
81254				err = json.Unmarshal(*v, &sparkLinkedServiceTypeProperties)
81255				if err != nil {
81256					return err
81257				}
81258				sls.SparkLinkedServiceTypeProperties = &sparkLinkedServiceTypeProperties
81259			}
81260		default:
81261			if v != nil {
81262				var additionalProperties interface{}
81263				err = json.Unmarshal(*v, &additionalProperties)
81264				if err != nil {
81265					return err
81266				}
81267				if sls.AdditionalProperties == nil {
81268					sls.AdditionalProperties = make(map[string]interface{})
81269				}
81270				sls.AdditionalProperties[k] = additionalProperties
81271			}
81272		case "connectVia":
81273			if v != nil {
81274				var connectVia IntegrationRuntimeReference
81275				err = json.Unmarshal(*v, &connectVia)
81276				if err != nil {
81277					return err
81278				}
81279				sls.ConnectVia = &connectVia
81280			}
81281		case "description":
81282			if v != nil {
81283				var description string
81284				err = json.Unmarshal(*v, &description)
81285				if err != nil {
81286					return err
81287				}
81288				sls.Description = &description
81289			}
81290		case "parameters":
81291			if v != nil {
81292				var parameters map[string]*ParameterSpecification
81293				err = json.Unmarshal(*v, &parameters)
81294				if err != nil {
81295					return err
81296				}
81297				sls.Parameters = parameters
81298			}
81299		case "annotations":
81300			if v != nil {
81301				var annotations []interface{}
81302				err = json.Unmarshal(*v, &annotations)
81303				if err != nil {
81304					return err
81305				}
81306				sls.Annotations = &annotations
81307			}
81308		case "type":
81309			if v != nil {
81310				var typeVar TypeBasicLinkedService
81311				err = json.Unmarshal(*v, &typeVar)
81312				if err != nil {
81313					return err
81314				}
81315				sls.Type = typeVar
81316			}
81317		}
81318	}
81319
81320	return nil
81321}
81322
81323// SparkLinkedServiceTypeProperties spark Server linked service properties.
81324type SparkLinkedServiceTypeProperties struct {
81325	// Host - IP address or host name of the Spark server
81326	Host interface{} `json:"host,omitempty"`
81327	// Port - The TCP port that the Spark server uses to listen for client connections.
81328	Port interface{} `json:"port,omitempty"`
81329	// ServerType - The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer'
81330	ServerType SparkServerType `json:"serverType,omitempty"`
81331	// ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'SparkThriftTransportProtocolBinary', 'SparkThriftTransportProtocolSASL', 'SparkThriftTransportProtocolHTTP'
81332	ThriftTransportProtocol SparkThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"`
81333	// AuthenticationType - The authentication method used to access the Spark server. Possible values include: 'SparkAuthenticationTypeAnonymous', 'SparkAuthenticationTypeUsername', 'SparkAuthenticationTypeUsernameAndPassword', 'SparkAuthenticationTypeWindowsAzureHDInsightService'
81334	AuthenticationType SparkAuthenticationType `json:"authenticationType,omitempty"`
81335	// Username - The user name that you use to access Spark Server.
81336	Username interface{} `json:"username,omitempty"`
81337	// Password - The password corresponding to the user name that you provided in the Username field
81338	Password BasicSecretBase `json:"password,omitempty"`
81339	// HTTPPath - The partial URL corresponding to the Spark server.
81340	HTTPPath interface{} `json:"httpPath,omitempty"`
81341	// EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false.
81342	EnableSsl interface{} `json:"enableSsl,omitempty"`
81343	// 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.
81344	TrustedCertPath interface{} `json:"trustedCertPath,omitempty"`
81345	// UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
81346	UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"`
81347	// 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.
81348	AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"`
81349	// AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false.
81350	AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"`
81351	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
81352	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
81353}
81354
81355// UnmarshalJSON is the custom unmarshaler for SparkLinkedServiceTypeProperties struct.
81356func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
81357	var m map[string]*json.RawMessage
81358	err := json.Unmarshal(body, &m)
81359	if err != nil {
81360		return err
81361	}
81362	for k, v := range m {
81363		switch k {
81364		case "host":
81365			if v != nil {
81366				var host interface{}
81367				err = json.Unmarshal(*v, &host)
81368				if err != nil {
81369					return err
81370				}
81371				slstp.Host = host
81372			}
81373		case "port":
81374			if v != nil {
81375				var port interface{}
81376				err = json.Unmarshal(*v, &port)
81377				if err != nil {
81378					return err
81379				}
81380				slstp.Port = port
81381			}
81382		case "serverType":
81383			if v != nil {
81384				var serverType SparkServerType
81385				err = json.Unmarshal(*v, &serverType)
81386				if err != nil {
81387					return err
81388				}
81389				slstp.ServerType = serverType
81390			}
81391		case "thriftTransportProtocol":
81392			if v != nil {
81393				var thriftTransportProtocol SparkThriftTransportProtocol
81394				err = json.Unmarshal(*v, &thriftTransportProtocol)
81395				if err != nil {
81396					return err
81397				}
81398				slstp.ThriftTransportProtocol = thriftTransportProtocol
81399			}
81400		case "authenticationType":
81401			if v != nil {
81402				var authenticationType SparkAuthenticationType
81403				err = json.Unmarshal(*v, &authenticationType)
81404				if err != nil {
81405					return err
81406				}
81407				slstp.AuthenticationType = authenticationType
81408			}
81409		case "username":
81410			if v != nil {
81411				var username interface{}
81412				err = json.Unmarshal(*v, &username)
81413				if err != nil {
81414					return err
81415				}
81416				slstp.Username = username
81417			}
81418		case "password":
81419			if v != nil {
81420				password, err := unmarshalBasicSecretBase(*v)
81421				if err != nil {
81422					return err
81423				}
81424				slstp.Password = password
81425			}
81426		case "httpPath":
81427			if v != nil {
81428				var HTTPPath interface{}
81429				err = json.Unmarshal(*v, &HTTPPath)
81430				if err != nil {
81431					return err
81432				}
81433				slstp.HTTPPath = HTTPPath
81434			}
81435		case "enableSsl":
81436			if v != nil {
81437				var enableSsl interface{}
81438				err = json.Unmarshal(*v, &enableSsl)
81439				if err != nil {
81440					return err
81441				}
81442				slstp.EnableSsl = enableSsl
81443			}
81444		case "trustedCertPath":
81445			if v != nil {
81446				var trustedCertPath interface{}
81447				err = json.Unmarshal(*v, &trustedCertPath)
81448				if err != nil {
81449					return err
81450				}
81451				slstp.TrustedCertPath = trustedCertPath
81452			}
81453		case "useSystemTrustStore":
81454			if v != nil {
81455				var useSystemTrustStore interface{}
81456				err = json.Unmarshal(*v, &useSystemTrustStore)
81457				if err != nil {
81458					return err
81459				}
81460				slstp.UseSystemTrustStore = useSystemTrustStore
81461			}
81462		case "allowHostNameCNMismatch":
81463			if v != nil {
81464				var allowHostNameCNMismatch interface{}
81465				err = json.Unmarshal(*v, &allowHostNameCNMismatch)
81466				if err != nil {
81467					return err
81468				}
81469				slstp.AllowHostNameCNMismatch = allowHostNameCNMismatch
81470			}
81471		case "allowSelfSignedServerCert":
81472			if v != nil {
81473				var allowSelfSignedServerCert interface{}
81474				err = json.Unmarshal(*v, &allowSelfSignedServerCert)
81475				if err != nil {
81476					return err
81477				}
81478				slstp.AllowSelfSignedServerCert = allowSelfSignedServerCert
81479			}
81480		case "encryptedCredential":
81481			if v != nil {
81482				var encryptedCredential interface{}
81483				err = json.Unmarshal(*v, &encryptedCredential)
81484				if err != nil {
81485					return err
81486				}
81487				slstp.EncryptedCredential = encryptedCredential
81488			}
81489		}
81490	}
81491
81492	return nil
81493}
81494
81495// SparkObjectDataset spark Server dataset.
81496type SparkObjectDataset struct {
81497	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
81498	AdditionalProperties map[string]interface{} `json:""`
81499	// Description - Dataset description.
81500	Description *string `json:"description,omitempty"`
81501	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
81502	Structure interface{} `json:"structure,omitempty"`
81503	// LinkedServiceName - Linked service reference.
81504	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
81505	// Parameters - Parameters for dataset.
81506	Parameters map[string]*ParameterSpecification `json:"parameters"`
81507	// Annotations - List of tags that can be used for describing the Dataset.
81508	Annotations *[]interface{} `json:"annotations,omitempty"`
81509	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
81510	Type TypeBasicDataset `json:"type,omitempty"`
81511}
81512
81513// MarshalJSON is the custom marshaler for SparkObjectDataset.
81514func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) {
81515	sod.Type = TypeSparkObject
81516	objectMap := make(map[string]interface{})
81517	if sod.Description != nil {
81518		objectMap["description"] = sod.Description
81519	}
81520	objectMap["structure"] = sod.Structure
81521	if sod.LinkedServiceName != nil {
81522		objectMap["linkedServiceName"] = sod.LinkedServiceName
81523	}
81524	if sod.Parameters != nil {
81525		objectMap["parameters"] = sod.Parameters
81526	}
81527	if sod.Annotations != nil {
81528		objectMap["annotations"] = sod.Annotations
81529	}
81530	if sod.Type != "" {
81531		objectMap["type"] = sod.Type
81532	}
81533	for k, v := range sod.AdditionalProperties {
81534		objectMap[k] = v
81535	}
81536	return json.Marshal(objectMap)
81537}
81538
81539// AsResponsysObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81540func (sod SparkObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
81541	return nil, false
81542}
81543
81544// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81545func (sod SparkObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
81546	return nil, false
81547}
81548
81549// AsVerticaTableDataset is the BasicDataset implementation for SparkObjectDataset.
81550func (sod SparkObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
81551	return nil, false
81552}
81553
81554// AsNetezzaTableDataset is the BasicDataset implementation for SparkObjectDataset.
81555func (sod SparkObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
81556	return nil, false
81557}
81558
81559// AsZohoObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81560func (sod SparkObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
81561	return nil, false
81562}
81563
81564// AsXeroObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81565func (sod SparkObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
81566	return nil, false
81567}
81568
81569// AsSquareObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81570func (sod SparkObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
81571	return nil, false
81572}
81573
81574// AsSparkObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81575func (sod SparkObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
81576	return &sod, true
81577}
81578
81579// AsShopifyObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81580func (sod SparkObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
81581	return nil, false
81582}
81583
81584// AsServiceNowObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81585func (sod SparkObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
81586	return nil, false
81587}
81588
81589// AsQuickBooksObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81590func (sod SparkObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
81591	return nil, false
81592}
81593
81594// AsPrestoObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81595func (sod SparkObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
81596	return nil, false
81597}
81598
81599// AsPhoenixObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81600func (sod SparkObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
81601	return nil, false
81602}
81603
81604// AsPaypalObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81605func (sod SparkObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
81606	return nil, false
81607}
81608
81609// AsMarketoObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81610func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
81611	return nil, false
81612}
81613
81614// AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset.
81615func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
81616	return nil, false
81617}
81618
81619// AsMagentoObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81620func (sod SparkObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
81621	return nil, false
81622}
81623
81624// AsJiraObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81625func (sod SparkObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
81626	return nil, false
81627}
81628
81629// AsImpalaObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81630func (sod SparkObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
81631	return nil, false
81632}
81633
81634// AsHubspotObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81635func (sod SparkObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
81636	return nil, false
81637}
81638
81639// AsHiveObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81640func (sod SparkObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
81641	return nil, false
81642}
81643
81644// AsHBaseObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81645func (sod SparkObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
81646	return nil, false
81647}
81648
81649// AsGreenplumTableDataset is the BasicDataset implementation for SparkObjectDataset.
81650func (sod SparkObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
81651	return nil, false
81652}
81653
81654// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81655func (sod SparkObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
81656	return nil, false
81657}
81658
81659// AsEloquaObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81660func (sod SparkObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
81661	return nil, false
81662}
81663
81664// AsDrillTableDataset is the BasicDataset implementation for SparkObjectDataset.
81665func (sod SparkObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
81666	return nil, false
81667}
81668
81669// AsCouchbaseTableDataset is the BasicDataset implementation for SparkObjectDataset.
81670func (sod SparkObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
81671	return nil, false
81672}
81673
81674// AsConcurObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81675func (sod SparkObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
81676	return nil, false
81677}
81678
81679// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
81680func (sod SparkObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
81681	return nil, false
81682}
81683
81684// AsAmazonMWSObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81685func (sod SparkObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
81686	return nil, false
81687}
81688
81689// AsHTTPDataset is the BasicDataset implementation for SparkObjectDataset.
81690func (sod SparkObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
81691	return nil, false
81692}
81693
81694// AsAzureSearchIndexDataset is the BasicDataset implementation for SparkObjectDataset.
81695func (sod SparkObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
81696	return nil, false
81697}
81698
81699// AsWebTableDataset is the BasicDataset implementation for SparkObjectDataset.
81700func (sod SparkObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
81701	return nil, false
81702}
81703
81704// AsSQLServerTableDataset is the BasicDataset implementation for SparkObjectDataset.
81705func (sod SparkObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
81706	return nil, false
81707}
81708
81709// AsSapEccResourceDataset is the BasicDataset implementation for SparkObjectDataset.
81710func (sod SparkObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
81711	return nil, false
81712}
81713
81714// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SparkObjectDataset.
81715func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
81716	return nil, false
81717}
81718
81719// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset.
81720func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
81721	return nil, false
81722}
81723
81724// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset.
81725func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
81726	return nil, false
81727}
81728
81729// AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
81730func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
81731	return nil, false
81732}
81733
81734// AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset.
81735func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
81736	return nil, false
81737}
81738
81739// AsODataResourceDataset is the BasicDataset implementation for SparkObjectDataset.
81740func (sod SparkObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
81741	return nil, false
81742}
81743
81744// AsMongoDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset.
81745func (sod SparkObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
81746	return nil, false
81747}
81748
81749// AsFileShareDataset is the BasicDataset implementation for SparkObjectDataset.
81750func (sod SparkObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
81751	return nil, false
81752}
81753
81754// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SparkObjectDataset.
81755func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
81756	return nil, false
81757}
81758
81759// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset.
81760func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
81761	return nil, false
81762}
81763
81764// AsDocumentDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset.
81765func (sod SparkObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
81766	return nil, false
81767}
81768
81769// AsCustomDataset is the BasicDataset implementation for SparkObjectDataset.
81770func (sod SparkObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
81771	return nil, false
81772}
81773
81774// AsCassandraTableDataset is the BasicDataset implementation for SparkObjectDataset.
81775func (sod SparkObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
81776	return nil, false
81777}
81778
81779// AsAzureSQLDWTableDataset is the BasicDataset implementation for SparkObjectDataset.
81780func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
81781	return nil, false
81782}
81783
81784// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset.
81785func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
81786	return nil, false
81787}
81788
81789// AsAzureTableDataset is the BasicDataset implementation for SparkObjectDataset.
81790func (sod SparkObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
81791	return nil, false
81792}
81793
81794// AsAzureBlobDataset is the BasicDataset implementation for SparkObjectDataset.
81795func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
81796	return nil, false
81797}
81798
81799// AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset.
81800func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
81801	return nil, false
81802}
81803
81804// AsDataset is the BasicDataset implementation for SparkObjectDataset.
81805func (sod SparkObjectDataset) AsDataset() (*Dataset, bool) {
81806	return nil, false
81807}
81808
81809// AsBasicDataset is the BasicDataset implementation for SparkObjectDataset.
81810func (sod SparkObjectDataset) AsBasicDataset() (BasicDataset, bool) {
81811	return &sod, true
81812}
81813
81814// SparkSource a copy activity Spark Server source.
81815type SparkSource struct {
81816	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
81817	Query interface{} `json:"query,omitempty"`
81818	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
81819	AdditionalProperties map[string]interface{} `json:""`
81820	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
81821	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
81822	// 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])).
81823	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
81824	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
81825	Type TypeBasicCopySource `json:"type,omitempty"`
81826}
81827
81828// MarshalJSON is the custom marshaler for SparkSource.
81829func (ss SparkSource) MarshalJSON() ([]byte, error) {
81830	ss.Type = TypeSparkSource
81831	objectMap := make(map[string]interface{})
81832	objectMap["query"] = ss.Query
81833	objectMap["sourceRetryCount"] = ss.SourceRetryCount
81834	objectMap["sourceRetryWait"] = ss.SourceRetryWait
81835	if ss.Type != "" {
81836		objectMap["type"] = ss.Type
81837	}
81838	for k, v := range ss.AdditionalProperties {
81839		objectMap[k] = v
81840	}
81841	return json.Marshal(objectMap)
81842}
81843
81844// AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource.
81845func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
81846	return nil, false
81847}
81848
81849// AsResponsysSource is the BasicCopySource implementation for SparkSource.
81850func (ss SparkSource) AsResponsysSource() (*ResponsysSource, bool) {
81851	return nil, false
81852}
81853
81854// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SparkSource.
81855func (ss SparkSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
81856	return nil, false
81857}
81858
81859// AsVerticaSource is the BasicCopySource implementation for SparkSource.
81860func (ss SparkSource) AsVerticaSource() (*VerticaSource, bool) {
81861	return nil, false
81862}
81863
81864// AsNetezzaSource is the BasicCopySource implementation for SparkSource.
81865func (ss SparkSource) AsNetezzaSource() (*NetezzaSource, bool) {
81866	return nil, false
81867}
81868
81869// AsZohoSource is the BasicCopySource implementation for SparkSource.
81870func (ss SparkSource) AsZohoSource() (*ZohoSource, bool) {
81871	return nil, false
81872}
81873
81874// AsXeroSource is the BasicCopySource implementation for SparkSource.
81875func (ss SparkSource) AsXeroSource() (*XeroSource, bool) {
81876	return nil, false
81877}
81878
81879// AsSquareSource is the BasicCopySource implementation for SparkSource.
81880func (ss SparkSource) AsSquareSource() (*SquareSource, bool) {
81881	return nil, false
81882}
81883
81884// AsSparkSource is the BasicCopySource implementation for SparkSource.
81885func (ss SparkSource) AsSparkSource() (*SparkSource, bool) {
81886	return &ss, true
81887}
81888
81889// AsShopifySource is the BasicCopySource implementation for SparkSource.
81890func (ss SparkSource) AsShopifySource() (*ShopifySource, bool) {
81891	return nil, false
81892}
81893
81894// AsServiceNowSource is the BasicCopySource implementation for SparkSource.
81895func (ss SparkSource) AsServiceNowSource() (*ServiceNowSource, bool) {
81896	return nil, false
81897}
81898
81899// AsQuickBooksSource is the BasicCopySource implementation for SparkSource.
81900func (ss SparkSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
81901	return nil, false
81902}
81903
81904// AsPrestoSource is the BasicCopySource implementation for SparkSource.
81905func (ss SparkSource) AsPrestoSource() (*PrestoSource, bool) {
81906	return nil, false
81907}
81908
81909// AsPhoenixSource is the BasicCopySource implementation for SparkSource.
81910func (ss SparkSource) AsPhoenixSource() (*PhoenixSource, bool) {
81911	return nil, false
81912}
81913
81914// AsPaypalSource is the BasicCopySource implementation for SparkSource.
81915func (ss SparkSource) AsPaypalSource() (*PaypalSource, bool) {
81916	return nil, false
81917}
81918
81919// AsMarketoSource is the BasicCopySource implementation for SparkSource.
81920func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) {
81921	return nil, false
81922}
81923
81924// AsMariaDBSource is the BasicCopySource implementation for SparkSource.
81925func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) {
81926	return nil, false
81927}
81928
81929// AsMagentoSource is the BasicCopySource implementation for SparkSource.
81930func (ss SparkSource) AsMagentoSource() (*MagentoSource, bool) {
81931	return nil, false
81932}
81933
81934// AsJiraSource is the BasicCopySource implementation for SparkSource.
81935func (ss SparkSource) AsJiraSource() (*JiraSource, bool) {
81936	return nil, false
81937}
81938
81939// AsImpalaSource is the BasicCopySource implementation for SparkSource.
81940func (ss SparkSource) AsImpalaSource() (*ImpalaSource, bool) {
81941	return nil, false
81942}
81943
81944// AsHubspotSource is the BasicCopySource implementation for SparkSource.
81945func (ss SparkSource) AsHubspotSource() (*HubspotSource, bool) {
81946	return nil, false
81947}
81948
81949// AsHiveSource is the BasicCopySource implementation for SparkSource.
81950func (ss SparkSource) AsHiveSource() (*HiveSource, bool) {
81951	return nil, false
81952}
81953
81954// AsHBaseSource is the BasicCopySource implementation for SparkSource.
81955func (ss SparkSource) AsHBaseSource() (*HBaseSource, bool) {
81956	return nil, false
81957}
81958
81959// AsGreenplumSource is the BasicCopySource implementation for SparkSource.
81960func (ss SparkSource) AsGreenplumSource() (*GreenplumSource, bool) {
81961	return nil, false
81962}
81963
81964// AsGoogleBigQuerySource is the BasicCopySource implementation for SparkSource.
81965func (ss SparkSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
81966	return nil, false
81967}
81968
81969// AsEloquaSource is the BasicCopySource implementation for SparkSource.
81970func (ss SparkSource) AsEloquaSource() (*EloquaSource, bool) {
81971	return nil, false
81972}
81973
81974// AsDrillSource is the BasicCopySource implementation for SparkSource.
81975func (ss SparkSource) AsDrillSource() (*DrillSource, bool) {
81976	return nil, false
81977}
81978
81979// AsCouchbaseSource is the BasicCopySource implementation for SparkSource.
81980func (ss SparkSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
81981	return nil, false
81982}
81983
81984// AsConcurSource is the BasicCopySource implementation for SparkSource.
81985func (ss SparkSource) AsConcurSource() (*ConcurSource, bool) {
81986	return nil, false
81987}
81988
81989// AsAzurePostgreSQLSource is the BasicCopySource implementation for SparkSource.
81990func (ss SparkSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
81991	return nil, false
81992}
81993
81994// AsAmazonMWSSource is the BasicCopySource implementation for SparkSource.
81995func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
81996	return nil, false
81997}
81998
81999// AsHTTPSource is the BasicCopySource implementation for SparkSource.
82000func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) {
82001	return nil, false
82002}
82003
82004// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource.
82005func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
82006	return nil, false
82007}
82008
82009// AsMongoDbSource is the BasicCopySource implementation for SparkSource.
82010func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) {
82011	return nil, false
82012}
82013
82014// AsCassandraSource is the BasicCopySource implementation for SparkSource.
82015func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) {
82016	return nil, false
82017}
82018
82019// AsWebSource is the BasicCopySource implementation for SparkSource.
82020func (ss SparkSource) AsWebSource() (*WebSource, bool) {
82021	return nil, false
82022}
82023
82024// AsOracleSource is the BasicCopySource implementation for SparkSource.
82025func (ss SparkSource) AsOracleSource() (*OracleSource, bool) {
82026	return nil, false
82027}
82028
82029// AsAzureMySQLSource is the BasicCopySource implementation for SparkSource.
82030func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
82031	return nil, false
82032}
82033
82034// AsHdfsSource is the BasicCopySource implementation for SparkSource.
82035func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) {
82036	return nil, false
82037}
82038
82039// AsFileSystemSource is the BasicCopySource implementation for SparkSource.
82040func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) {
82041	return nil, false
82042}
82043
82044// AsSQLDWSource is the BasicCopySource implementation for SparkSource.
82045func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) {
82046	return nil, false
82047}
82048
82049// AsSQLSource is the BasicCopySource implementation for SparkSource.
82050func (ss SparkSource) AsSQLSource() (*SQLSource, bool) {
82051	return nil, false
82052}
82053
82054// AsSapEccSource is the BasicCopySource implementation for SparkSource.
82055func (ss SparkSource) AsSapEccSource() (*SapEccSource, bool) {
82056	return nil, false
82057}
82058
82059// AsSapCloudForCustomerSource is the BasicCopySource implementation for SparkSource.
82060func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
82061	return nil, false
82062}
82063
82064// AsSalesforceSource is the BasicCopySource implementation for SparkSource.
82065func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) {
82066	return nil, false
82067}
82068
82069// AsRelationalSource is the BasicCopySource implementation for SparkSource.
82070func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) {
82071	return nil, false
82072}
82073
82074// AsDynamicsSource is the BasicCopySource implementation for SparkSource.
82075func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) {
82076	return nil, false
82077}
82078
82079// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource.
82080func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
82081	return nil, false
82082}
82083
82084// AsBlobSource is the BasicCopySource implementation for SparkSource.
82085func (ss SparkSource) AsBlobSource() (*BlobSource, bool) {
82086	return nil, false
82087}
82088
82089// AsAzureTableSource is the BasicCopySource implementation for SparkSource.
82090func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) {
82091	return nil, false
82092}
82093
82094// AsCopySource is the BasicCopySource implementation for SparkSource.
82095func (ss SparkSource) AsCopySource() (*CopySource, bool) {
82096	return nil, false
82097}
82098
82099// AsBasicCopySource is the BasicCopySource implementation for SparkSource.
82100func (ss SparkSource) AsBasicCopySource() (BasicCopySource, bool) {
82101	return &ss, true
82102}
82103
82104// SQLDWSink a copy activity SQL Data Warehouse sink.
82105type SQLDWSink struct {
82106	// PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
82107	PreCopyScript interface{} `json:"preCopyScript,omitempty"`
82108	// AllowPolyBase - Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean).
82109	AllowPolyBase interface{} `json:"allowPolyBase,omitempty"`
82110	// PolyBaseSettings - Specifies PolyBase-related settings when allowPolyBase is true.
82111	PolyBaseSettings *PolybaseSettings `json:"polyBaseSettings,omitempty"`
82112	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
82113	AdditionalProperties map[string]interface{} `json:""`
82114	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
82115	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
82116	// 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])).
82117	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
82118	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
82119	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
82120	// 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])).
82121	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
82122	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
82123	Type TypeBasicCopySink `json:"type,omitempty"`
82124}
82125
82126// MarshalJSON is the custom marshaler for SQLDWSink.
82127func (sds SQLDWSink) MarshalJSON() ([]byte, error) {
82128	sds.Type = TypeSQLDWSink
82129	objectMap := make(map[string]interface{})
82130	objectMap["preCopyScript"] = sds.PreCopyScript
82131	objectMap["allowPolyBase"] = sds.AllowPolyBase
82132	if sds.PolyBaseSettings != nil {
82133		objectMap["polyBaseSettings"] = sds.PolyBaseSettings
82134	}
82135	objectMap["writeBatchSize"] = sds.WriteBatchSize
82136	objectMap["writeBatchTimeout"] = sds.WriteBatchTimeout
82137	objectMap["sinkRetryCount"] = sds.SinkRetryCount
82138	objectMap["sinkRetryWait"] = sds.SinkRetryWait
82139	if sds.Type != "" {
82140		objectMap["type"] = sds.Type
82141	}
82142	for k, v := range sds.AdditionalProperties {
82143		objectMap[k] = v
82144	}
82145	return json.Marshal(objectMap)
82146}
82147
82148// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink.
82149func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) {
82150	return nil, false
82151}
82152
82153// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink.
82154func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) {
82155	return nil, false
82156}
82157
82158// AsOdbcSink is the BasicCopySink implementation for SQLDWSink.
82159func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) {
82160	return nil, false
82161}
82162
82163// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLDWSink.
82164func (sds SQLDWSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
82165	return nil, false
82166}
82167
82168// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLDWSink.
82169func (sds SQLDWSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
82170	return nil, false
82171}
82172
82173// AsOracleSink is the BasicCopySink implementation for SQLDWSink.
82174func (sds SQLDWSink) AsOracleSink() (*OracleSink, bool) {
82175	return nil, false
82176}
82177
82178// AsSQLDWSink is the BasicCopySink implementation for SQLDWSink.
82179func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) {
82180	return &sds, true
82181}
82182
82183// AsSQLSink is the BasicCopySink implementation for SQLDWSink.
82184func (sds SQLDWSink) AsSQLSink() (*SQLSink, bool) {
82185	return nil, false
82186}
82187
82188// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLDWSink.
82189func (sds SQLDWSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
82190	return nil, false
82191}
82192
82193// AsFileSystemSink is the BasicCopySink implementation for SQLDWSink.
82194func (sds SQLDWSink) AsFileSystemSink() (*FileSystemSink, bool) {
82195	return nil, false
82196}
82197
82198// AsBlobSink is the BasicCopySink implementation for SQLDWSink.
82199func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) {
82200	return nil, false
82201}
82202
82203// AsAzureTableSink is the BasicCopySink implementation for SQLDWSink.
82204func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) {
82205	return nil, false
82206}
82207
82208// AsAzureQueueSink is the BasicCopySink implementation for SQLDWSink.
82209func (sds SQLDWSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
82210	return nil, false
82211}
82212
82213// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLDWSink.
82214func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
82215	return nil, false
82216}
82217
82218// AsCopySink is the BasicCopySink implementation for SQLDWSink.
82219func (sds SQLDWSink) AsCopySink() (*CopySink, bool) {
82220	return nil, false
82221}
82222
82223// AsBasicCopySink is the BasicCopySink implementation for SQLDWSink.
82224func (sds SQLDWSink) AsBasicCopySink() (BasicCopySink, bool) {
82225	return &sds, true
82226}
82227
82228// SQLDWSource a copy activity SQL Data Warehouse source.
82229type SQLDWSource struct {
82230	// SQLReaderQuery - SQL Data Warehouse reader query. Type: string (or Expression with resultType string).
82231	SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"`
82232	// 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).
82233	SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"`
82234	// StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter.
82235	StoredProcedureParameters interface{} `json:"storedProcedureParameters,omitempty"`
82236	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
82237	AdditionalProperties map[string]interface{} `json:""`
82238	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
82239	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
82240	// 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])).
82241	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
82242	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
82243	Type TypeBasicCopySource `json:"type,omitempty"`
82244}
82245
82246// MarshalJSON is the custom marshaler for SQLDWSource.
82247func (sds SQLDWSource) MarshalJSON() ([]byte, error) {
82248	sds.Type = TypeSQLDWSource
82249	objectMap := make(map[string]interface{})
82250	objectMap["sqlReaderQuery"] = sds.SQLReaderQuery
82251	objectMap["sqlReaderStoredProcedureName"] = sds.SQLReaderStoredProcedureName
82252	objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters
82253	objectMap["sourceRetryCount"] = sds.SourceRetryCount
82254	objectMap["sourceRetryWait"] = sds.SourceRetryWait
82255	if sds.Type != "" {
82256		objectMap["type"] = sds.Type
82257	}
82258	for k, v := range sds.AdditionalProperties {
82259		objectMap[k] = v
82260	}
82261	return json.Marshal(objectMap)
82262}
82263
82264// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource.
82265func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
82266	return nil, false
82267}
82268
82269// AsResponsysSource is the BasicCopySource implementation for SQLDWSource.
82270func (sds SQLDWSource) AsResponsysSource() (*ResponsysSource, bool) {
82271	return nil, false
82272}
82273
82274// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLDWSource.
82275func (sds SQLDWSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
82276	return nil, false
82277}
82278
82279// AsVerticaSource is the BasicCopySource implementation for SQLDWSource.
82280func (sds SQLDWSource) AsVerticaSource() (*VerticaSource, bool) {
82281	return nil, false
82282}
82283
82284// AsNetezzaSource is the BasicCopySource implementation for SQLDWSource.
82285func (sds SQLDWSource) AsNetezzaSource() (*NetezzaSource, bool) {
82286	return nil, false
82287}
82288
82289// AsZohoSource is the BasicCopySource implementation for SQLDWSource.
82290func (sds SQLDWSource) AsZohoSource() (*ZohoSource, bool) {
82291	return nil, false
82292}
82293
82294// AsXeroSource is the BasicCopySource implementation for SQLDWSource.
82295func (sds SQLDWSource) AsXeroSource() (*XeroSource, bool) {
82296	return nil, false
82297}
82298
82299// AsSquareSource is the BasicCopySource implementation for SQLDWSource.
82300func (sds SQLDWSource) AsSquareSource() (*SquareSource, bool) {
82301	return nil, false
82302}
82303
82304// AsSparkSource is the BasicCopySource implementation for SQLDWSource.
82305func (sds SQLDWSource) AsSparkSource() (*SparkSource, bool) {
82306	return nil, false
82307}
82308
82309// AsShopifySource is the BasicCopySource implementation for SQLDWSource.
82310func (sds SQLDWSource) AsShopifySource() (*ShopifySource, bool) {
82311	return nil, false
82312}
82313
82314// AsServiceNowSource is the BasicCopySource implementation for SQLDWSource.
82315func (sds SQLDWSource) AsServiceNowSource() (*ServiceNowSource, bool) {
82316	return nil, false
82317}
82318
82319// AsQuickBooksSource is the BasicCopySource implementation for SQLDWSource.
82320func (sds SQLDWSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
82321	return nil, false
82322}
82323
82324// AsPrestoSource is the BasicCopySource implementation for SQLDWSource.
82325func (sds SQLDWSource) AsPrestoSource() (*PrestoSource, bool) {
82326	return nil, false
82327}
82328
82329// AsPhoenixSource is the BasicCopySource implementation for SQLDWSource.
82330func (sds SQLDWSource) AsPhoenixSource() (*PhoenixSource, bool) {
82331	return nil, false
82332}
82333
82334// AsPaypalSource is the BasicCopySource implementation for SQLDWSource.
82335func (sds SQLDWSource) AsPaypalSource() (*PaypalSource, bool) {
82336	return nil, false
82337}
82338
82339// AsMarketoSource is the BasicCopySource implementation for SQLDWSource.
82340func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) {
82341	return nil, false
82342}
82343
82344// AsMariaDBSource is the BasicCopySource implementation for SQLDWSource.
82345func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) {
82346	return nil, false
82347}
82348
82349// AsMagentoSource is the BasicCopySource implementation for SQLDWSource.
82350func (sds SQLDWSource) AsMagentoSource() (*MagentoSource, bool) {
82351	return nil, false
82352}
82353
82354// AsJiraSource is the BasicCopySource implementation for SQLDWSource.
82355func (sds SQLDWSource) AsJiraSource() (*JiraSource, bool) {
82356	return nil, false
82357}
82358
82359// AsImpalaSource is the BasicCopySource implementation for SQLDWSource.
82360func (sds SQLDWSource) AsImpalaSource() (*ImpalaSource, bool) {
82361	return nil, false
82362}
82363
82364// AsHubspotSource is the BasicCopySource implementation for SQLDWSource.
82365func (sds SQLDWSource) AsHubspotSource() (*HubspotSource, bool) {
82366	return nil, false
82367}
82368
82369// AsHiveSource is the BasicCopySource implementation for SQLDWSource.
82370func (sds SQLDWSource) AsHiveSource() (*HiveSource, bool) {
82371	return nil, false
82372}
82373
82374// AsHBaseSource is the BasicCopySource implementation for SQLDWSource.
82375func (sds SQLDWSource) AsHBaseSource() (*HBaseSource, bool) {
82376	return nil, false
82377}
82378
82379// AsGreenplumSource is the BasicCopySource implementation for SQLDWSource.
82380func (sds SQLDWSource) AsGreenplumSource() (*GreenplumSource, bool) {
82381	return nil, false
82382}
82383
82384// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLDWSource.
82385func (sds SQLDWSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
82386	return nil, false
82387}
82388
82389// AsEloquaSource is the BasicCopySource implementation for SQLDWSource.
82390func (sds SQLDWSource) AsEloquaSource() (*EloquaSource, bool) {
82391	return nil, false
82392}
82393
82394// AsDrillSource is the BasicCopySource implementation for SQLDWSource.
82395func (sds SQLDWSource) AsDrillSource() (*DrillSource, bool) {
82396	return nil, false
82397}
82398
82399// AsCouchbaseSource is the BasicCopySource implementation for SQLDWSource.
82400func (sds SQLDWSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
82401	return nil, false
82402}
82403
82404// AsConcurSource is the BasicCopySource implementation for SQLDWSource.
82405func (sds SQLDWSource) AsConcurSource() (*ConcurSource, bool) {
82406	return nil, false
82407}
82408
82409// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLDWSource.
82410func (sds SQLDWSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
82411	return nil, false
82412}
82413
82414// AsAmazonMWSSource is the BasicCopySource implementation for SQLDWSource.
82415func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
82416	return nil, false
82417}
82418
82419// AsHTTPSource is the BasicCopySource implementation for SQLDWSource.
82420func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) {
82421	return nil, false
82422}
82423
82424// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource.
82425func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
82426	return nil, false
82427}
82428
82429// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource.
82430func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) {
82431	return nil, false
82432}
82433
82434// AsCassandraSource is the BasicCopySource implementation for SQLDWSource.
82435func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) {
82436	return nil, false
82437}
82438
82439// AsWebSource is the BasicCopySource implementation for SQLDWSource.
82440func (sds SQLDWSource) AsWebSource() (*WebSource, bool) {
82441	return nil, false
82442}
82443
82444// AsOracleSource is the BasicCopySource implementation for SQLDWSource.
82445func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) {
82446	return nil, false
82447}
82448
82449// AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource.
82450func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
82451	return nil, false
82452}
82453
82454// AsHdfsSource is the BasicCopySource implementation for SQLDWSource.
82455func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) {
82456	return nil, false
82457}
82458
82459// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource.
82460func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) {
82461	return nil, false
82462}
82463
82464// AsSQLDWSource is the BasicCopySource implementation for SQLDWSource.
82465func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) {
82466	return &sds, true
82467}
82468
82469// AsSQLSource is the BasicCopySource implementation for SQLDWSource.
82470func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) {
82471	return nil, false
82472}
82473
82474// AsSapEccSource is the BasicCopySource implementation for SQLDWSource.
82475func (sds SQLDWSource) AsSapEccSource() (*SapEccSource, bool) {
82476	return nil, false
82477}
82478
82479// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLDWSource.
82480func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
82481	return nil, false
82482}
82483
82484// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource.
82485func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) {
82486	return nil, false
82487}
82488
82489// AsRelationalSource is the BasicCopySource implementation for SQLDWSource.
82490func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) {
82491	return nil, false
82492}
82493
82494// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource.
82495func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) {
82496	return nil, false
82497}
82498
82499// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource.
82500func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
82501	return nil, false
82502}
82503
82504// AsBlobSource is the BasicCopySource implementation for SQLDWSource.
82505func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) {
82506	return nil, false
82507}
82508
82509// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource.
82510func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) {
82511	return nil, false
82512}
82513
82514// AsCopySource is the BasicCopySource implementation for SQLDWSource.
82515func (sds SQLDWSource) AsCopySource() (*CopySource, bool) {
82516	return nil, false
82517}
82518
82519// AsBasicCopySource is the BasicCopySource implementation for SQLDWSource.
82520func (sds SQLDWSource) AsBasicCopySource() (BasicCopySource, bool) {
82521	return &sds, true
82522}
82523
82524// SQLServerLinkedService SQL Server linked service.
82525type SQLServerLinkedService struct {
82526	// SQLServerLinkedServiceTypeProperties - SQL Server linked service properties.
82527	*SQLServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
82528	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
82529	AdditionalProperties map[string]interface{} `json:""`
82530	// ConnectVia - The integration runtime reference.
82531	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
82532	// Description - Linked service description.
82533	Description *string `json:"description,omitempty"`
82534	// Parameters - Parameters for linked service.
82535	Parameters map[string]*ParameterSpecification `json:"parameters"`
82536	// Annotations - List of tags that can be used for describing the Dataset.
82537	Annotations *[]interface{} `json:"annotations,omitempty"`
82538	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
82539	Type TypeBasicLinkedService `json:"type,omitempty"`
82540}
82541
82542// MarshalJSON is the custom marshaler for SQLServerLinkedService.
82543func (ssls SQLServerLinkedService) MarshalJSON() ([]byte, error) {
82544	ssls.Type = TypeSQLServer
82545	objectMap := make(map[string]interface{})
82546	if ssls.SQLServerLinkedServiceTypeProperties != nil {
82547		objectMap["typeProperties"] = ssls.SQLServerLinkedServiceTypeProperties
82548	}
82549	if ssls.ConnectVia != nil {
82550		objectMap["connectVia"] = ssls.ConnectVia
82551	}
82552	if ssls.Description != nil {
82553		objectMap["description"] = ssls.Description
82554	}
82555	if ssls.Parameters != nil {
82556		objectMap["parameters"] = ssls.Parameters
82557	}
82558	if ssls.Annotations != nil {
82559		objectMap["annotations"] = ssls.Annotations
82560	}
82561	if ssls.Type != "" {
82562		objectMap["type"] = ssls.Type
82563	}
82564	for k, v := range ssls.AdditionalProperties {
82565		objectMap[k] = v
82566	}
82567	return json.Marshal(objectMap)
82568}
82569
82570// AsResponsysLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82571func (ssls SQLServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
82572	return nil, false
82573}
82574
82575// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82576func (ssls SQLServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
82577	return nil, false
82578}
82579
82580// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82581func (ssls SQLServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
82582	return nil, false
82583}
82584
82585// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82586func (ssls SQLServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
82587	return nil, false
82588}
82589
82590// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82591func (ssls SQLServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
82592	return nil, false
82593}
82594
82595// AsNetezzaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82596func (ssls SQLServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
82597	return nil, false
82598}
82599
82600// AsVerticaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82601func (ssls SQLServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
82602	return nil, false
82603}
82604
82605// AsZohoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82606func (ssls SQLServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
82607	return nil, false
82608}
82609
82610// AsXeroLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82611func (ssls SQLServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
82612	return nil, false
82613}
82614
82615// AsSquareLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82616func (ssls SQLServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
82617	return nil, false
82618}
82619
82620// AsSparkLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82621func (ssls SQLServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
82622	return nil, false
82623}
82624
82625// AsShopifyLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82626func (ssls SQLServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
82627	return nil, false
82628}
82629
82630// AsServiceNowLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82631func (ssls SQLServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
82632	return nil, false
82633}
82634
82635// AsQuickBooksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82636func (ssls SQLServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
82637	return nil, false
82638}
82639
82640// AsPrestoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82641func (ssls SQLServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
82642	return nil, false
82643}
82644
82645// AsPhoenixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82646func (ssls SQLServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
82647	return nil, false
82648}
82649
82650// AsPaypalLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82651func (ssls SQLServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
82652	return nil, false
82653}
82654
82655// AsMarketoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82656func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
82657	return nil, false
82658}
82659
82660// AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82661func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
82662	return nil, false
82663}
82664
82665// AsMagentoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82666func (ssls SQLServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
82667	return nil, false
82668}
82669
82670// AsJiraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82671func (ssls SQLServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
82672	return nil, false
82673}
82674
82675// AsImpalaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82676func (ssls SQLServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
82677	return nil, false
82678}
82679
82680// AsHubspotLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82681func (ssls SQLServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
82682	return nil, false
82683}
82684
82685// AsHiveLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82686func (ssls SQLServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
82687	return nil, false
82688}
82689
82690// AsHBaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82691func (ssls SQLServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
82692	return nil, false
82693}
82694
82695// AsGreenplumLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82696func (ssls SQLServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
82697	return nil, false
82698}
82699
82700// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82701func (ssls SQLServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
82702	return nil, false
82703}
82704
82705// AsEloquaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82706func (ssls SQLServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
82707	return nil, false
82708}
82709
82710// AsDrillLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82711func (ssls SQLServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
82712	return nil, false
82713}
82714
82715// AsCouchbaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82716func (ssls SQLServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
82717	return nil, false
82718}
82719
82720// AsConcurLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82721func (ssls SQLServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
82722	return nil, false
82723}
82724
82725// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82726func (ssls SQLServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
82727	return nil, false
82728}
82729
82730// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82731func (ssls SQLServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
82732	return nil, false
82733}
82734
82735// AsSapHanaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82736func (ssls SQLServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
82737	return nil, false
82738}
82739
82740// AsSapBWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82741func (ssls SQLServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
82742	return nil, false
82743}
82744
82745// AsSftpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82746func (ssls SQLServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
82747	return nil, false
82748}
82749
82750// AsFtpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82751func (ssls SQLServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
82752	return nil, false
82753}
82754
82755// AsHTTPLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82756func (ssls SQLServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
82757	return nil, false
82758}
82759
82760// AsAzureSearchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82761func (ssls SQLServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
82762	return nil, false
82763}
82764
82765// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82766func (ssls SQLServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
82767	return nil, false
82768}
82769
82770// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82771func (ssls SQLServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
82772	return nil, false
82773}
82774
82775// AsAmazonS3LinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82776func (ssls SQLServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
82777	return nil, false
82778}
82779
82780// AsSapEccLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82781func (ssls SQLServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
82782	return nil, false
82783}
82784
82785// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82786func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
82787	return nil, false
82788}
82789
82790// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82791func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
82792	return nil, false
82793}
82794
82795// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82796func (ssls SQLServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
82797	return nil, false
82798}
82799
82800// AsMongoDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82801func (ssls SQLServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
82802	return nil, false
82803}
82804
82805// AsCassandraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82806func (ssls SQLServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
82807	return nil, false
82808}
82809
82810// AsWebLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82811func (ssls SQLServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
82812	return nil, false
82813}
82814
82815// AsODataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82816func (ssls SQLServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
82817	return nil, false
82818}
82819
82820// AsHdfsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82821func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
82822	return nil, false
82823}
82824
82825// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82826func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
82827	return nil, false
82828}
82829
82830// AsAzureMLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82831func (ssls SQLServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
82832	return nil, false
82833}
82834
82835// AsTeradataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82836func (ssls SQLServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
82837	return nil, false
82838}
82839
82840// AsDb2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82841func (ssls SQLServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
82842	return nil, false
82843}
82844
82845// AsSybaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82846func (ssls SQLServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
82847	return nil, false
82848}
82849
82850// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82851func (ssls SQLServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
82852	return nil, false
82853}
82854
82855// AsMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82856func (ssls SQLServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
82857	return nil, false
82858}
82859
82860// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82861func (ssls SQLServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
82862	return nil, false
82863}
82864
82865// AsOracleLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82866func (ssls SQLServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
82867	return nil, false
82868}
82869
82870// AsFileServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82871func (ssls SQLServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
82872	return nil, false
82873}
82874
82875// AsHDInsightLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82876func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
82877	return nil, false
82878}
82879
82880// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82881func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
82882	return nil, false
82883}
82884
82885// AsCosmosDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82886func (ssls SQLServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
82887	return nil, false
82888}
82889
82890// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82891func (ssls SQLServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
82892	return nil, false
82893}
82894
82895// AsAzureBatchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82896func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
82897	return nil, false
82898}
82899
82900// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82901func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
82902	return nil, false
82903}
82904
82905// AsSQLServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82906func (ssls SQLServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
82907	return &ssls, true
82908}
82909
82910// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82911func (ssls SQLServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
82912	return nil, false
82913}
82914
82915// AsAzureStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82916func (ssls SQLServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
82917	return nil, false
82918}
82919
82920// AsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82921func (ssls SQLServerLinkedService) AsLinkedService() (*LinkedService, bool) {
82922	return nil, false
82923}
82924
82925// AsBasicLinkedService is the BasicLinkedService implementation for SQLServerLinkedService.
82926func (ssls SQLServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
82927	return &ssls, true
82928}
82929
82930// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedService struct.
82931func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error {
82932	var m map[string]*json.RawMessage
82933	err := json.Unmarshal(body, &m)
82934	if err != nil {
82935		return err
82936	}
82937	for k, v := range m {
82938		switch k {
82939		case "typeProperties":
82940			if v != nil {
82941				var SQLServerLinkedServiceTypeProperties SQLServerLinkedServiceTypeProperties
82942				err = json.Unmarshal(*v, &SQLServerLinkedServiceTypeProperties)
82943				if err != nil {
82944					return err
82945				}
82946				ssls.SQLServerLinkedServiceTypeProperties = &SQLServerLinkedServiceTypeProperties
82947			}
82948		default:
82949			if v != nil {
82950				var additionalProperties interface{}
82951				err = json.Unmarshal(*v, &additionalProperties)
82952				if err != nil {
82953					return err
82954				}
82955				if ssls.AdditionalProperties == nil {
82956					ssls.AdditionalProperties = make(map[string]interface{})
82957				}
82958				ssls.AdditionalProperties[k] = additionalProperties
82959			}
82960		case "connectVia":
82961			if v != nil {
82962				var connectVia IntegrationRuntimeReference
82963				err = json.Unmarshal(*v, &connectVia)
82964				if err != nil {
82965					return err
82966				}
82967				ssls.ConnectVia = &connectVia
82968			}
82969		case "description":
82970			if v != nil {
82971				var description string
82972				err = json.Unmarshal(*v, &description)
82973				if err != nil {
82974					return err
82975				}
82976				ssls.Description = &description
82977			}
82978		case "parameters":
82979			if v != nil {
82980				var parameters map[string]*ParameterSpecification
82981				err = json.Unmarshal(*v, &parameters)
82982				if err != nil {
82983					return err
82984				}
82985				ssls.Parameters = parameters
82986			}
82987		case "annotations":
82988			if v != nil {
82989				var annotations []interface{}
82990				err = json.Unmarshal(*v, &annotations)
82991				if err != nil {
82992					return err
82993				}
82994				ssls.Annotations = &annotations
82995			}
82996		case "type":
82997			if v != nil {
82998				var typeVar TypeBasicLinkedService
82999				err = json.Unmarshal(*v, &typeVar)
83000				if err != nil {
83001					return err
83002				}
83003				ssls.Type = typeVar
83004			}
83005		}
83006	}
83007
83008	return nil
83009}
83010
83011// SQLServerLinkedServiceTypeProperties SQL Server linked service properties.
83012type SQLServerLinkedServiceTypeProperties struct {
83013	// ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
83014	ConnectionString interface{} `json:"connectionString,omitempty"`
83015	// UserName - The on-premises Windows authentication user name. Type: string (or Expression with resultType string).
83016	UserName interface{} `json:"userName,omitempty"`
83017	// Password - The on-premises Windows authentication password.
83018	Password BasicSecretBase `json:"password,omitempty"`
83019	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
83020	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
83021}
83022
83023// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedServiceTypeProperties struct.
83024func (sslstp *SQLServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
83025	var m map[string]*json.RawMessage
83026	err := json.Unmarshal(body, &m)
83027	if err != nil {
83028		return err
83029	}
83030	for k, v := range m {
83031		switch k {
83032		case "connectionString":
83033			if v != nil {
83034				var connectionString interface{}
83035				err = json.Unmarshal(*v, &connectionString)
83036				if err != nil {
83037					return err
83038				}
83039				sslstp.ConnectionString = connectionString
83040			}
83041		case "userName":
83042			if v != nil {
83043				var userName interface{}
83044				err = json.Unmarshal(*v, &userName)
83045				if err != nil {
83046					return err
83047				}
83048				sslstp.UserName = userName
83049			}
83050		case "password":
83051			if v != nil {
83052				password, err := unmarshalBasicSecretBase(*v)
83053				if err != nil {
83054					return err
83055				}
83056				sslstp.Password = password
83057			}
83058		case "encryptedCredential":
83059			if v != nil {
83060				var encryptedCredential interface{}
83061				err = json.Unmarshal(*v, &encryptedCredential)
83062				if err != nil {
83063					return err
83064				}
83065				sslstp.EncryptedCredential = encryptedCredential
83066			}
83067		}
83068	}
83069
83070	return nil
83071}
83072
83073// SQLServerStoredProcedureActivity SQL stored procedure activity type.
83074type SQLServerStoredProcedureActivity struct {
83075	// SQLServerStoredProcedureActivityTypeProperties - SQL stored procedure activity properties.
83076	*SQLServerStoredProcedureActivityTypeProperties `json:"typeProperties,omitempty"`
83077	// LinkedServiceName - Linked service reference.
83078	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
83079	// Policy - Activity policy.
83080	Policy *ActivityPolicy `json:"policy,omitempty"`
83081	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
83082	AdditionalProperties map[string]interface{} `json:""`
83083	// Name - Activity name.
83084	Name *string `json:"name,omitempty"`
83085	// Description - Activity description.
83086	Description *string `json:"description,omitempty"`
83087	// DependsOn - Activity depends on condition.
83088	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
83089	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
83090	Type TypeBasicActivity `json:"type,omitempty"`
83091}
83092
83093// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivity.
83094func (ssspa SQLServerStoredProcedureActivity) MarshalJSON() ([]byte, error) {
83095	ssspa.Type = TypeSQLServerStoredProcedure
83096	objectMap := make(map[string]interface{})
83097	if ssspa.SQLServerStoredProcedureActivityTypeProperties != nil {
83098		objectMap["typeProperties"] = ssspa.SQLServerStoredProcedureActivityTypeProperties
83099	}
83100	if ssspa.LinkedServiceName != nil {
83101		objectMap["linkedServiceName"] = ssspa.LinkedServiceName
83102	}
83103	if ssspa.Policy != nil {
83104		objectMap["policy"] = ssspa.Policy
83105	}
83106	if ssspa.Name != nil {
83107		objectMap["name"] = ssspa.Name
83108	}
83109	if ssspa.Description != nil {
83110		objectMap["description"] = ssspa.Description
83111	}
83112	if ssspa.DependsOn != nil {
83113		objectMap["dependsOn"] = ssspa.DependsOn
83114	}
83115	if ssspa.Type != "" {
83116		objectMap["type"] = ssspa.Type
83117	}
83118	for k, v := range ssspa.AdditionalProperties {
83119		objectMap[k] = v
83120	}
83121	return json.Marshal(objectMap)
83122}
83123
83124// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83125func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
83126	return nil, false
83127}
83128
83129// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83130func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
83131	return nil, false
83132}
83133
83134// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83135func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
83136	return nil, false
83137}
83138
83139// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83140func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
83141	return nil, false
83142}
83143
83144// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83145func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
83146	return nil, false
83147}
83148
83149// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83150func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) {
83151	return nil, false
83152}
83153
83154// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83155func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) {
83156	return nil, false
83157}
83158
83159// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83160func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
83161	return &ssspa, true
83162}
83163
83164// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83165func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) {
83166	return nil, false
83167}
83168
83169// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83170func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
83171	return nil, false
83172}
83173
83174// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83175func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
83176	return nil, false
83177}
83178
83179// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83180func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
83181	return nil, false
83182}
83183
83184// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83185func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
83186	return nil, false
83187}
83188
83189// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83190func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
83191	return nil, false
83192}
83193
83194// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83195func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
83196	return nil, false
83197}
83198
83199// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83200func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) {
83201	return nil, false
83202}
83203
83204// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83205func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
83206	return nil, false
83207}
83208
83209// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83210func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
83211	return &ssspa, true
83212}
83213
83214// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83215func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) {
83216	return nil, false
83217}
83218
83219// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83220func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) {
83221	return nil, false
83222}
83223
83224// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83225func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) {
83226	return nil, false
83227}
83228
83229// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83230func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) {
83231	return nil, false
83232}
83233
83234// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83235func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
83236	return nil, false
83237}
83238
83239// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83240func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
83241	return nil, false
83242}
83243
83244// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83245func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) {
83246	return nil, false
83247}
83248
83249// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83250func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
83251	return nil, false
83252}
83253
83254// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83255func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) {
83256	return nil, false
83257}
83258
83259// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity.
83260func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) {
83261	return &ssspa, true
83262}
83263
83264// UnmarshalJSON is the custom unmarshaler for SQLServerStoredProcedureActivity struct.
83265func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error {
83266	var m map[string]*json.RawMessage
83267	err := json.Unmarshal(body, &m)
83268	if err != nil {
83269		return err
83270	}
83271	for k, v := range m {
83272		switch k {
83273		case "typeProperties":
83274			if v != nil {
83275				var SQLServerStoredProcedureActivityTypeProperties SQLServerStoredProcedureActivityTypeProperties
83276				err = json.Unmarshal(*v, &SQLServerStoredProcedureActivityTypeProperties)
83277				if err != nil {
83278					return err
83279				}
83280				ssspa.SQLServerStoredProcedureActivityTypeProperties = &SQLServerStoredProcedureActivityTypeProperties
83281			}
83282		case "linkedServiceName":
83283			if v != nil {
83284				var linkedServiceName LinkedServiceReference
83285				err = json.Unmarshal(*v, &linkedServiceName)
83286				if err != nil {
83287					return err
83288				}
83289				ssspa.LinkedServiceName = &linkedServiceName
83290			}
83291		case "policy":
83292			if v != nil {
83293				var policy ActivityPolicy
83294				err = json.Unmarshal(*v, &policy)
83295				if err != nil {
83296					return err
83297				}
83298				ssspa.Policy = &policy
83299			}
83300		default:
83301			if v != nil {
83302				var additionalProperties interface{}
83303				err = json.Unmarshal(*v, &additionalProperties)
83304				if err != nil {
83305					return err
83306				}
83307				if ssspa.AdditionalProperties == nil {
83308					ssspa.AdditionalProperties = make(map[string]interface{})
83309				}
83310				ssspa.AdditionalProperties[k] = additionalProperties
83311			}
83312		case "name":
83313			if v != nil {
83314				var name string
83315				err = json.Unmarshal(*v, &name)
83316				if err != nil {
83317					return err
83318				}
83319				ssspa.Name = &name
83320			}
83321		case "description":
83322			if v != nil {
83323				var description string
83324				err = json.Unmarshal(*v, &description)
83325				if err != nil {
83326					return err
83327				}
83328				ssspa.Description = &description
83329			}
83330		case "dependsOn":
83331			if v != nil {
83332				var dependsOn []ActivityDependency
83333				err = json.Unmarshal(*v, &dependsOn)
83334				if err != nil {
83335					return err
83336				}
83337				ssspa.DependsOn = &dependsOn
83338			}
83339		case "type":
83340			if v != nil {
83341				var typeVar TypeBasicActivity
83342				err = json.Unmarshal(*v, &typeVar)
83343				if err != nil {
83344					return err
83345				}
83346				ssspa.Type = typeVar
83347			}
83348		}
83349	}
83350
83351	return nil
83352}
83353
83354// SQLServerStoredProcedureActivityTypeProperties SQL stored procedure activity properties.
83355type SQLServerStoredProcedureActivityTypeProperties struct {
83356	// StoredProcedureName - Stored procedure name. Type: string (or Expression with resultType string).
83357	StoredProcedureName interface{} `json:"storedProcedureName,omitempty"`
83358	// StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
83359	StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
83360}
83361
83362// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties.
83363func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) {
83364	objectMap := make(map[string]interface{})
83365	objectMap["storedProcedureName"] = ssspatp.StoredProcedureName
83366	if ssspatp.StoredProcedureParameters != nil {
83367		objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters
83368	}
83369	return json.Marshal(objectMap)
83370}
83371
83372// SQLServerTableDataset the on-premises SQL Server dataset.
83373type SQLServerTableDataset struct {
83374	// SQLServerTableDatasetTypeProperties - On-premises SQL Server dataset properties.
83375	*SQLServerTableDatasetTypeProperties `json:"typeProperties,omitempty"`
83376	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
83377	AdditionalProperties map[string]interface{} `json:""`
83378	// Description - Dataset description.
83379	Description *string `json:"description,omitempty"`
83380	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
83381	Structure interface{} `json:"structure,omitempty"`
83382	// LinkedServiceName - Linked service reference.
83383	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
83384	// Parameters - Parameters for dataset.
83385	Parameters map[string]*ParameterSpecification `json:"parameters"`
83386	// Annotations - List of tags that can be used for describing the Dataset.
83387	Annotations *[]interface{} `json:"annotations,omitempty"`
83388	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
83389	Type TypeBasicDataset `json:"type,omitempty"`
83390}
83391
83392// MarshalJSON is the custom marshaler for SQLServerTableDataset.
83393func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) {
83394	sstd.Type = TypeSQLServerTable
83395	objectMap := make(map[string]interface{})
83396	if sstd.SQLServerTableDatasetTypeProperties != nil {
83397		objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties
83398	}
83399	if sstd.Description != nil {
83400		objectMap["description"] = sstd.Description
83401	}
83402	objectMap["structure"] = sstd.Structure
83403	if sstd.LinkedServiceName != nil {
83404		objectMap["linkedServiceName"] = sstd.LinkedServiceName
83405	}
83406	if sstd.Parameters != nil {
83407		objectMap["parameters"] = sstd.Parameters
83408	}
83409	if sstd.Annotations != nil {
83410		objectMap["annotations"] = sstd.Annotations
83411	}
83412	if sstd.Type != "" {
83413		objectMap["type"] = sstd.Type
83414	}
83415	for k, v := range sstd.AdditionalProperties {
83416		objectMap[k] = v
83417	}
83418	return json.Marshal(objectMap)
83419}
83420
83421// AsResponsysObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83422func (sstd SQLServerTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
83423	return nil, false
83424}
83425
83426// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83427func (sstd SQLServerTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
83428	return nil, false
83429}
83430
83431// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83432func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
83433	return nil, false
83434}
83435
83436// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83437func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
83438	return nil, false
83439}
83440
83441// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83442func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
83443	return nil, false
83444}
83445
83446// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83447func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
83448	return nil, false
83449}
83450
83451// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83452func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
83453	return nil, false
83454}
83455
83456// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83457func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
83458	return nil, false
83459}
83460
83461// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83462func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
83463	return nil, false
83464}
83465
83466// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83467func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
83468	return nil, false
83469}
83470
83471// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83472func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
83473	return nil, false
83474}
83475
83476// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83477func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
83478	return nil, false
83479}
83480
83481// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83482func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
83483	return nil, false
83484}
83485
83486// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83487func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
83488	return nil, false
83489}
83490
83491// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83492func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
83493	return nil, false
83494}
83495
83496// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83497func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
83498	return nil, false
83499}
83500
83501// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83502func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
83503	return nil, false
83504}
83505
83506// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83507func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
83508	return nil, false
83509}
83510
83511// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83512func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
83513	return nil, false
83514}
83515
83516// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83517func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
83518	return nil, false
83519}
83520
83521// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83522func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
83523	return nil, false
83524}
83525
83526// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83527func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
83528	return nil, false
83529}
83530
83531// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83532func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
83533	return nil, false
83534}
83535
83536// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83537func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
83538	return nil, false
83539}
83540
83541// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83542func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
83543	return nil, false
83544}
83545
83546// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83547func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
83548	return nil, false
83549}
83550
83551// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83552func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
83553	return nil, false
83554}
83555
83556// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83557func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
83558	return nil, false
83559}
83560
83561// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83562func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
83563	return nil, false
83564}
83565
83566// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83567func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
83568	return nil, false
83569}
83570
83571// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset.
83572func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
83573	return nil, false
83574}
83575
83576// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset.
83577func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
83578	return nil, false
83579}
83580
83581// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83582func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
83583	return nil, false
83584}
83585
83586// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83587func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
83588	return &sstd, true
83589}
83590
83591// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset.
83592func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
83593	return nil, false
83594}
83595
83596// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset.
83597func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
83598	return nil, false
83599}
83600
83601// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset.
83602func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
83603	return nil, false
83604}
83605
83606// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83607func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
83608	return nil, false
83609}
83610
83611// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83612func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
83613	return nil, false
83614}
83615
83616// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83617func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
83618	return nil, false
83619}
83620
83621// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset.
83622func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
83623	return nil, false
83624}
83625
83626// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset.
83627func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
83628	return nil, false
83629}
83630
83631// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset.
83632func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
83633	return nil, false
83634}
83635
83636// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset.
83637func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
83638	return nil, false
83639}
83640
83641// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset.
83642func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
83643	return nil, false
83644}
83645
83646// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset.
83647func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
83648	return nil, false
83649}
83650
83651// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset.
83652func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) {
83653	return nil, false
83654}
83655
83656// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83657func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
83658	return nil, false
83659}
83660
83661// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83662func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
83663	return nil, false
83664}
83665
83666// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83667func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
83668	return nil, false
83669}
83670
83671// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset.
83672func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
83673	return nil, false
83674}
83675
83676// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset.
83677func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
83678	return nil, false
83679}
83680
83681// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset.
83682func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
83683	return nil, false
83684}
83685
83686// AsDataset is the BasicDataset implementation for SQLServerTableDataset.
83687func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) {
83688	return nil, false
83689}
83690
83691// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset.
83692func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) {
83693	return &sstd, true
83694}
83695
83696// UnmarshalJSON is the custom unmarshaler for SQLServerTableDataset struct.
83697func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error {
83698	var m map[string]*json.RawMessage
83699	err := json.Unmarshal(body, &m)
83700	if err != nil {
83701		return err
83702	}
83703	for k, v := range m {
83704		switch k {
83705		case "typeProperties":
83706			if v != nil {
83707				var SQLServerTableDatasetTypeProperties SQLServerTableDatasetTypeProperties
83708				err = json.Unmarshal(*v, &SQLServerTableDatasetTypeProperties)
83709				if err != nil {
83710					return err
83711				}
83712				sstd.SQLServerTableDatasetTypeProperties = &SQLServerTableDatasetTypeProperties
83713			}
83714		default:
83715			if v != nil {
83716				var additionalProperties interface{}
83717				err = json.Unmarshal(*v, &additionalProperties)
83718				if err != nil {
83719					return err
83720				}
83721				if sstd.AdditionalProperties == nil {
83722					sstd.AdditionalProperties = make(map[string]interface{})
83723				}
83724				sstd.AdditionalProperties[k] = additionalProperties
83725			}
83726		case "description":
83727			if v != nil {
83728				var description string
83729				err = json.Unmarshal(*v, &description)
83730				if err != nil {
83731					return err
83732				}
83733				sstd.Description = &description
83734			}
83735		case "structure":
83736			if v != nil {
83737				var structure interface{}
83738				err = json.Unmarshal(*v, &structure)
83739				if err != nil {
83740					return err
83741				}
83742				sstd.Structure = structure
83743			}
83744		case "linkedServiceName":
83745			if v != nil {
83746				var linkedServiceName LinkedServiceReference
83747				err = json.Unmarshal(*v, &linkedServiceName)
83748				if err != nil {
83749					return err
83750				}
83751				sstd.LinkedServiceName = &linkedServiceName
83752			}
83753		case "parameters":
83754			if v != nil {
83755				var parameters map[string]*ParameterSpecification
83756				err = json.Unmarshal(*v, &parameters)
83757				if err != nil {
83758					return err
83759				}
83760				sstd.Parameters = parameters
83761			}
83762		case "annotations":
83763			if v != nil {
83764				var annotations []interface{}
83765				err = json.Unmarshal(*v, &annotations)
83766				if err != nil {
83767					return err
83768				}
83769				sstd.Annotations = &annotations
83770			}
83771		case "type":
83772			if v != nil {
83773				var typeVar TypeBasicDataset
83774				err = json.Unmarshal(*v, &typeVar)
83775				if err != nil {
83776					return err
83777				}
83778				sstd.Type = typeVar
83779			}
83780		}
83781	}
83782
83783	return nil
83784}
83785
83786// SQLServerTableDatasetTypeProperties on-premises SQL Server dataset properties.
83787type SQLServerTableDatasetTypeProperties struct {
83788	// TableName - The table name of the SQL Server dataset. Type: string (or Expression with resultType string).
83789	TableName interface{} `json:"tableName,omitempty"`
83790}
83791
83792// SQLSink a copy activity SQL sink.
83793type SQLSink struct {
83794	// SQLWriterStoredProcedureName - SQL writer stored procedure name. Type: string (or Expression with resultType string).
83795	SQLWriterStoredProcedureName interface{} `json:"sqlWriterStoredProcedureName,omitempty"`
83796	// SQLWriterTableType - SQL writer table type. Type: string (or Expression with resultType string).
83797	SQLWriterTableType interface{} `json:"sqlWriterTableType,omitempty"`
83798	// PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string).
83799	PreCopyScript interface{} `json:"preCopyScript,omitempty"`
83800	// StoredProcedureParameters - SQL stored procedure parameters.
83801	StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
83802	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
83803	AdditionalProperties map[string]interface{} `json:""`
83804	// WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.
83805	WriteBatchSize interface{} `json:"writeBatchSize,omitempty"`
83806	// 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])).
83807	WriteBatchTimeout interface{} `json:"writeBatchTimeout,omitempty"`
83808	// SinkRetryCount - Sink retry count. Type: integer (or Expression with resultType integer).
83809	SinkRetryCount interface{} `json:"sinkRetryCount,omitempty"`
83810	// 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])).
83811	SinkRetryWait interface{} `json:"sinkRetryWait,omitempty"`
83812	// Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink'
83813	Type TypeBasicCopySink `json:"type,omitempty"`
83814}
83815
83816// MarshalJSON is the custom marshaler for SQLSink.
83817func (ss SQLSink) MarshalJSON() ([]byte, error) {
83818	ss.Type = TypeSQLSink
83819	objectMap := make(map[string]interface{})
83820	objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName
83821	objectMap["sqlWriterTableType"] = ss.SQLWriterTableType
83822	objectMap["preCopyScript"] = ss.PreCopyScript
83823	if ss.StoredProcedureParameters != nil {
83824		objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters
83825	}
83826	objectMap["writeBatchSize"] = ss.WriteBatchSize
83827	objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout
83828	objectMap["sinkRetryCount"] = ss.SinkRetryCount
83829	objectMap["sinkRetryWait"] = ss.SinkRetryWait
83830	if ss.Type != "" {
83831		objectMap["type"] = ss.Type
83832	}
83833	for k, v := range ss.AdditionalProperties {
83834		objectMap[k] = v
83835	}
83836	return json.Marshal(objectMap)
83837}
83838
83839// AsSalesforceSink is the BasicCopySink implementation for SQLSink.
83840func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) {
83841	return nil, false
83842}
83843
83844// AsDynamicsSink is the BasicCopySink implementation for SQLSink.
83845func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) {
83846	return nil, false
83847}
83848
83849// AsOdbcSink is the BasicCopySink implementation for SQLSink.
83850func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) {
83851	return nil, false
83852}
83853
83854// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink.
83855func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) {
83856	return nil, false
83857}
83858
83859// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink.
83860func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) {
83861	return nil, false
83862}
83863
83864// AsOracleSink is the BasicCopySink implementation for SQLSink.
83865func (ss SQLSink) AsOracleSink() (*OracleSink, bool) {
83866	return nil, false
83867}
83868
83869// AsSQLDWSink is the BasicCopySink implementation for SQLSink.
83870func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) {
83871	return nil, false
83872}
83873
83874// AsSQLSink is the BasicCopySink implementation for SQLSink.
83875func (ss SQLSink) AsSQLSink() (*SQLSink, bool) {
83876	return &ss, true
83877}
83878
83879// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink.
83880func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) {
83881	return nil, false
83882}
83883
83884// AsFileSystemSink is the BasicCopySink implementation for SQLSink.
83885func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) {
83886	return nil, false
83887}
83888
83889// AsBlobSink is the BasicCopySink implementation for SQLSink.
83890func (ss SQLSink) AsBlobSink() (*BlobSink, bool) {
83891	return nil, false
83892}
83893
83894// AsAzureTableSink is the BasicCopySink implementation for SQLSink.
83895func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) {
83896	return nil, false
83897}
83898
83899// AsAzureQueueSink is the BasicCopySink implementation for SQLSink.
83900func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) {
83901	return nil, false
83902}
83903
83904// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink.
83905func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) {
83906	return nil, false
83907}
83908
83909// AsCopySink is the BasicCopySink implementation for SQLSink.
83910func (ss SQLSink) AsCopySink() (*CopySink, bool) {
83911	return nil, false
83912}
83913
83914// AsBasicCopySink is the BasicCopySink implementation for SQLSink.
83915func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) {
83916	return &ss, true
83917}
83918
83919// SQLSource a copy activity SQL source.
83920type SQLSource struct {
83921	// SQLReaderQuery - SQL reader query. Type: string (or Expression with resultType string).
83922	SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"`
83923	// 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).
83924	SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"`
83925	// StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
83926	StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"`
83927	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
83928	AdditionalProperties map[string]interface{} `json:""`
83929	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
83930	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
83931	// 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])).
83932	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
83933	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
83934	Type TypeBasicCopySource `json:"type,omitempty"`
83935}
83936
83937// MarshalJSON is the custom marshaler for SQLSource.
83938func (ss SQLSource) MarshalJSON() ([]byte, error) {
83939	ss.Type = TypeSQLSource
83940	objectMap := make(map[string]interface{})
83941	objectMap["sqlReaderQuery"] = ss.SQLReaderQuery
83942	objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName
83943	if ss.StoredProcedureParameters != nil {
83944		objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters
83945	}
83946	objectMap["sourceRetryCount"] = ss.SourceRetryCount
83947	objectMap["sourceRetryWait"] = ss.SourceRetryWait
83948	if ss.Type != "" {
83949		objectMap["type"] = ss.Type
83950	}
83951	for k, v := range ss.AdditionalProperties {
83952		objectMap[k] = v
83953	}
83954	return json.Marshal(objectMap)
83955}
83956
83957// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource.
83958func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
83959	return nil, false
83960}
83961
83962// AsResponsysSource is the BasicCopySource implementation for SQLSource.
83963func (ss SQLSource) AsResponsysSource() (*ResponsysSource, bool) {
83964	return nil, false
83965}
83966
83967// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLSource.
83968func (ss SQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
83969	return nil, false
83970}
83971
83972// AsVerticaSource is the BasicCopySource implementation for SQLSource.
83973func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) {
83974	return nil, false
83975}
83976
83977// AsNetezzaSource is the BasicCopySource implementation for SQLSource.
83978func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) {
83979	return nil, false
83980}
83981
83982// AsZohoSource is the BasicCopySource implementation for SQLSource.
83983func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) {
83984	return nil, false
83985}
83986
83987// AsXeroSource is the BasicCopySource implementation for SQLSource.
83988func (ss SQLSource) AsXeroSource() (*XeroSource, bool) {
83989	return nil, false
83990}
83991
83992// AsSquareSource is the BasicCopySource implementation for SQLSource.
83993func (ss SQLSource) AsSquareSource() (*SquareSource, bool) {
83994	return nil, false
83995}
83996
83997// AsSparkSource is the BasicCopySource implementation for SQLSource.
83998func (ss SQLSource) AsSparkSource() (*SparkSource, bool) {
83999	return nil, false
84000}
84001
84002// AsShopifySource is the BasicCopySource implementation for SQLSource.
84003func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) {
84004	return nil, false
84005}
84006
84007// AsServiceNowSource is the BasicCopySource implementation for SQLSource.
84008func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) {
84009	return nil, false
84010}
84011
84012// AsQuickBooksSource is the BasicCopySource implementation for SQLSource.
84013func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
84014	return nil, false
84015}
84016
84017// AsPrestoSource is the BasicCopySource implementation for SQLSource.
84018func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) {
84019	return nil, false
84020}
84021
84022// AsPhoenixSource is the BasicCopySource implementation for SQLSource.
84023func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) {
84024	return nil, false
84025}
84026
84027// AsPaypalSource is the BasicCopySource implementation for SQLSource.
84028func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) {
84029	return nil, false
84030}
84031
84032// AsMarketoSource is the BasicCopySource implementation for SQLSource.
84033func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) {
84034	return nil, false
84035}
84036
84037// AsMariaDBSource is the BasicCopySource implementation for SQLSource.
84038func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) {
84039	return nil, false
84040}
84041
84042// AsMagentoSource is the BasicCopySource implementation for SQLSource.
84043func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) {
84044	return nil, false
84045}
84046
84047// AsJiraSource is the BasicCopySource implementation for SQLSource.
84048func (ss SQLSource) AsJiraSource() (*JiraSource, bool) {
84049	return nil, false
84050}
84051
84052// AsImpalaSource is the BasicCopySource implementation for SQLSource.
84053func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) {
84054	return nil, false
84055}
84056
84057// AsHubspotSource is the BasicCopySource implementation for SQLSource.
84058func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) {
84059	return nil, false
84060}
84061
84062// AsHiveSource is the BasicCopySource implementation for SQLSource.
84063func (ss SQLSource) AsHiveSource() (*HiveSource, bool) {
84064	return nil, false
84065}
84066
84067// AsHBaseSource is the BasicCopySource implementation for SQLSource.
84068func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) {
84069	return nil, false
84070}
84071
84072// AsGreenplumSource is the BasicCopySource implementation for SQLSource.
84073func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) {
84074	return nil, false
84075}
84076
84077// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource.
84078func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
84079	return nil, false
84080}
84081
84082// AsEloquaSource is the BasicCopySource implementation for SQLSource.
84083func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) {
84084	return nil, false
84085}
84086
84087// AsDrillSource is the BasicCopySource implementation for SQLSource.
84088func (ss SQLSource) AsDrillSource() (*DrillSource, bool) {
84089	return nil, false
84090}
84091
84092// AsCouchbaseSource is the BasicCopySource implementation for SQLSource.
84093func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
84094	return nil, false
84095}
84096
84097// AsConcurSource is the BasicCopySource implementation for SQLSource.
84098func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) {
84099	return nil, false
84100}
84101
84102// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource.
84103func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
84104	return nil, false
84105}
84106
84107// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource.
84108func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
84109	return nil, false
84110}
84111
84112// AsHTTPSource is the BasicCopySource implementation for SQLSource.
84113func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) {
84114	return nil, false
84115}
84116
84117// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource.
84118func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
84119	return nil, false
84120}
84121
84122// AsMongoDbSource is the BasicCopySource implementation for SQLSource.
84123func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) {
84124	return nil, false
84125}
84126
84127// AsCassandraSource is the BasicCopySource implementation for SQLSource.
84128func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) {
84129	return nil, false
84130}
84131
84132// AsWebSource is the BasicCopySource implementation for SQLSource.
84133func (ss SQLSource) AsWebSource() (*WebSource, bool) {
84134	return nil, false
84135}
84136
84137// AsOracleSource is the BasicCopySource implementation for SQLSource.
84138func (ss SQLSource) AsOracleSource() (*OracleSource, bool) {
84139	return nil, false
84140}
84141
84142// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource.
84143func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
84144	return nil, false
84145}
84146
84147// AsHdfsSource is the BasicCopySource implementation for SQLSource.
84148func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) {
84149	return nil, false
84150}
84151
84152// AsFileSystemSource is the BasicCopySource implementation for SQLSource.
84153func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) {
84154	return nil, false
84155}
84156
84157// AsSQLDWSource is the BasicCopySource implementation for SQLSource.
84158func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) {
84159	return nil, false
84160}
84161
84162// AsSQLSource is the BasicCopySource implementation for SQLSource.
84163func (ss SQLSource) AsSQLSource() (*SQLSource, bool) {
84164	return &ss, true
84165}
84166
84167// AsSapEccSource is the BasicCopySource implementation for SQLSource.
84168func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) {
84169	return nil, false
84170}
84171
84172// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource.
84173func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
84174	return nil, false
84175}
84176
84177// AsSalesforceSource is the BasicCopySource implementation for SQLSource.
84178func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) {
84179	return nil, false
84180}
84181
84182// AsRelationalSource is the BasicCopySource implementation for SQLSource.
84183func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) {
84184	return nil, false
84185}
84186
84187// AsDynamicsSource is the BasicCopySource implementation for SQLSource.
84188func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) {
84189	return nil, false
84190}
84191
84192// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource.
84193func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
84194	return nil, false
84195}
84196
84197// AsBlobSource is the BasicCopySource implementation for SQLSource.
84198func (ss SQLSource) AsBlobSource() (*BlobSource, bool) {
84199	return nil, false
84200}
84201
84202// AsAzureTableSource is the BasicCopySource implementation for SQLSource.
84203func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) {
84204	return nil, false
84205}
84206
84207// AsCopySource is the BasicCopySource implementation for SQLSource.
84208func (ss SQLSource) AsCopySource() (*CopySource, bool) {
84209	return nil, false
84210}
84211
84212// AsBasicCopySource is the BasicCopySource implementation for SQLSource.
84213func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) {
84214	return &ss, true
84215}
84216
84217// SquareLinkedService square Serivce linked service.
84218type SquareLinkedService struct {
84219	// SquareLinkedServiceTypeProperties - Square Serivce linked service properties.
84220	*SquareLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
84221	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
84222	AdditionalProperties map[string]interface{} `json:""`
84223	// ConnectVia - The integration runtime reference.
84224	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
84225	// Description - Linked service description.
84226	Description *string `json:"description,omitempty"`
84227	// Parameters - Parameters for linked service.
84228	Parameters map[string]*ParameterSpecification `json:"parameters"`
84229	// Annotations - List of tags that can be used for describing the Dataset.
84230	Annotations *[]interface{} `json:"annotations,omitempty"`
84231	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
84232	Type TypeBasicLinkedService `json:"type,omitempty"`
84233}
84234
84235// MarshalJSON is the custom marshaler for SquareLinkedService.
84236func (sls SquareLinkedService) MarshalJSON() ([]byte, error) {
84237	sls.Type = TypeSquare
84238	objectMap := make(map[string]interface{})
84239	if sls.SquareLinkedServiceTypeProperties != nil {
84240		objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties
84241	}
84242	if sls.ConnectVia != nil {
84243		objectMap["connectVia"] = sls.ConnectVia
84244	}
84245	if sls.Description != nil {
84246		objectMap["description"] = sls.Description
84247	}
84248	if sls.Parameters != nil {
84249		objectMap["parameters"] = sls.Parameters
84250	}
84251	if sls.Annotations != nil {
84252		objectMap["annotations"] = sls.Annotations
84253	}
84254	if sls.Type != "" {
84255		objectMap["type"] = sls.Type
84256	}
84257	for k, v := range sls.AdditionalProperties {
84258		objectMap[k] = v
84259	}
84260	return json.Marshal(objectMap)
84261}
84262
84263// AsResponsysLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84264func (sls SquareLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
84265	return nil, false
84266}
84267
84268// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84269func (sls SquareLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
84270	return nil, false
84271}
84272
84273// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84274func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
84275	return nil, false
84276}
84277
84278// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84279func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
84280	return nil, false
84281}
84282
84283// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84284func (sls SquareLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
84285	return nil, false
84286}
84287
84288// AsNetezzaLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84289func (sls SquareLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
84290	return nil, false
84291}
84292
84293// AsVerticaLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84294func (sls SquareLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
84295	return nil, false
84296}
84297
84298// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84299func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
84300	return nil, false
84301}
84302
84303// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84304func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
84305	return nil, false
84306}
84307
84308// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84309func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
84310	return &sls, true
84311}
84312
84313// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84314func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
84315	return nil, false
84316}
84317
84318// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84319func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
84320	return nil, false
84321}
84322
84323// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84324func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
84325	return nil, false
84326}
84327
84328// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84329func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
84330	return nil, false
84331}
84332
84333// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84334func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
84335	return nil, false
84336}
84337
84338// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84339func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
84340	return nil, false
84341}
84342
84343// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84344func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
84345	return nil, false
84346}
84347
84348// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84349func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
84350	return nil, false
84351}
84352
84353// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84354func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
84355	return nil, false
84356}
84357
84358// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84359func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
84360	return nil, false
84361}
84362
84363// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84364func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
84365	return nil, false
84366}
84367
84368// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84369func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
84370	return nil, false
84371}
84372
84373// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84374func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
84375	return nil, false
84376}
84377
84378// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84379func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
84380	return nil, false
84381}
84382
84383// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84384func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
84385	return nil, false
84386}
84387
84388// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84389func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
84390	return nil, false
84391}
84392
84393// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84394func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
84395	return nil, false
84396}
84397
84398// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84399func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
84400	return nil, false
84401}
84402
84403// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84404func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
84405	return nil, false
84406}
84407
84408// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84409func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
84410	return nil, false
84411}
84412
84413// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84414func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
84415	return nil, false
84416}
84417
84418// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84419func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
84420	return nil, false
84421}
84422
84423// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84424func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
84425	return nil, false
84426}
84427
84428// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84429func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
84430	return nil, false
84431}
84432
84433// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84434func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
84435	return nil, false
84436}
84437
84438// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84439func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
84440	return nil, false
84441}
84442
84443// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84444func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
84445	return nil, false
84446}
84447
84448// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84449func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
84450	return nil, false
84451}
84452
84453// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84454func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
84455	return nil, false
84456}
84457
84458// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84459func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
84460	return nil, false
84461}
84462
84463// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84464func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
84465	return nil, false
84466}
84467
84468// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService.
84469func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
84470	return nil, false
84471}
84472
84473// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84474func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
84475	return nil, false
84476}
84477
84478// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84479func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
84480	return nil, false
84481}
84482
84483// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84484func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
84485	return nil, false
84486}
84487
84488// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84489func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
84490	return nil, false
84491}
84492
84493// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84494func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
84495	return nil, false
84496}
84497
84498// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84499func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
84500	return nil, false
84501}
84502
84503// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84504func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
84505	return nil, false
84506}
84507
84508// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84509func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
84510	return nil, false
84511}
84512
84513// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84514func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
84515	return nil, false
84516}
84517
84518// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84519func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
84520	return nil, false
84521}
84522
84523// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84524func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
84525	return nil, false
84526}
84527
84528// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84529func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
84530	return nil, false
84531}
84532
84533// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService.
84534func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
84535	return nil, false
84536}
84537
84538// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84539func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
84540	return nil, false
84541}
84542
84543// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84544func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
84545	return nil, false
84546}
84547
84548// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84549func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
84550	return nil, false
84551}
84552
84553// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84554func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
84555	return nil, false
84556}
84557
84558// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84559func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
84560	return nil, false
84561}
84562
84563// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84564func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
84565	return nil, false
84566}
84567
84568// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84569func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
84570	return nil, false
84571}
84572
84573// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84574func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
84575	return nil, false
84576}
84577
84578// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84579func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
84580	return nil, false
84581}
84582
84583// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84584func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
84585	return nil, false
84586}
84587
84588// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84589func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
84590	return nil, false
84591}
84592
84593// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84594func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
84595	return nil, false
84596}
84597
84598// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84599func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
84600	return nil, false
84601}
84602
84603// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84604func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
84605	return nil, false
84606}
84607
84608// AsAzureStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84609func (sls SquareLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
84610	return nil, false
84611}
84612
84613// AsLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84614func (sls SquareLinkedService) AsLinkedService() (*LinkedService, bool) {
84615	return nil, false
84616}
84617
84618// AsBasicLinkedService is the BasicLinkedService implementation for SquareLinkedService.
84619func (sls SquareLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
84620	return &sls, true
84621}
84622
84623// UnmarshalJSON is the custom unmarshaler for SquareLinkedService struct.
84624func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error {
84625	var m map[string]*json.RawMessage
84626	err := json.Unmarshal(body, &m)
84627	if err != nil {
84628		return err
84629	}
84630	for k, v := range m {
84631		switch k {
84632		case "typeProperties":
84633			if v != nil {
84634				var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties
84635				err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties)
84636				if err != nil {
84637					return err
84638				}
84639				sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties
84640			}
84641		default:
84642			if v != nil {
84643				var additionalProperties interface{}
84644				err = json.Unmarshal(*v, &additionalProperties)
84645				if err != nil {
84646					return err
84647				}
84648				if sls.AdditionalProperties == nil {
84649					sls.AdditionalProperties = make(map[string]interface{})
84650				}
84651				sls.AdditionalProperties[k] = additionalProperties
84652			}
84653		case "connectVia":
84654			if v != nil {
84655				var connectVia IntegrationRuntimeReference
84656				err = json.Unmarshal(*v, &connectVia)
84657				if err != nil {
84658					return err
84659				}
84660				sls.ConnectVia = &connectVia
84661			}
84662		case "description":
84663			if v != nil {
84664				var description string
84665				err = json.Unmarshal(*v, &description)
84666				if err != nil {
84667					return err
84668				}
84669				sls.Description = &description
84670			}
84671		case "parameters":
84672			if v != nil {
84673				var parameters map[string]*ParameterSpecification
84674				err = json.Unmarshal(*v, &parameters)
84675				if err != nil {
84676					return err
84677				}
84678				sls.Parameters = parameters
84679			}
84680		case "annotations":
84681			if v != nil {
84682				var annotations []interface{}
84683				err = json.Unmarshal(*v, &annotations)
84684				if err != nil {
84685					return err
84686				}
84687				sls.Annotations = &annotations
84688			}
84689		case "type":
84690			if v != nil {
84691				var typeVar TypeBasicLinkedService
84692				err = json.Unmarshal(*v, &typeVar)
84693				if err != nil {
84694					return err
84695				}
84696				sls.Type = typeVar
84697			}
84698		}
84699	}
84700
84701	return nil
84702}
84703
84704// SquareLinkedServiceTypeProperties square Serivce linked service properties.
84705type SquareLinkedServiceTypeProperties struct {
84706	// Host - The URL of the Square instance. (i.e. mystore.mysquare.com)
84707	Host interface{} `json:"host,omitempty"`
84708	// ClientID - The client ID associated with your Square application.
84709	ClientID interface{} `json:"clientId,omitempty"`
84710	// ClientSecret - The client secret associated with your Square application.
84711	ClientSecret BasicSecretBase `json:"clientSecret,omitempty"`
84712	// RedirectURI - The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500)
84713	RedirectURI interface{} `json:"redirectUri,omitempty"`
84714	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
84715	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
84716	// 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.
84717	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
84718	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
84719	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
84720	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
84721	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
84722}
84723
84724// UnmarshalJSON is the custom unmarshaler for SquareLinkedServiceTypeProperties struct.
84725func (slstp *SquareLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
84726	var m map[string]*json.RawMessage
84727	err := json.Unmarshal(body, &m)
84728	if err != nil {
84729		return err
84730	}
84731	for k, v := range m {
84732		switch k {
84733		case "host":
84734			if v != nil {
84735				var host interface{}
84736				err = json.Unmarshal(*v, &host)
84737				if err != nil {
84738					return err
84739				}
84740				slstp.Host = host
84741			}
84742		case "clientId":
84743			if v != nil {
84744				var clientID interface{}
84745				err = json.Unmarshal(*v, &clientID)
84746				if err != nil {
84747					return err
84748				}
84749				slstp.ClientID = clientID
84750			}
84751		case "clientSecret":
84752			if v != nil {
84753				clientSecret, err := unmarshalBasicSecretBase(*v)
84754				if err != nil {
84755					return err
84756				}
84757				slstp.ClientSecret = clientSecret
84758			}
84759		case "redirectUri":
84760			if v != nil {
84761				var redirectURI interface{}
84762				err = json.Unmarshal(*v, &redirectURI)
84763				if err != nil {
84764					return err
84765				}
84766				slstp.RedirectURI = redirectURI
84767			}
84768		case "useEncryptedEndpoints":
84769			if v != nil {
84770				var useEncryptedEndpoints interface{}
84771				err = json.Unmarshal(*v, &useEncryptedEndpoints)
84772				if err != nil {
84773					return err
84774				}
84775				slstp.UseEncryptedEndpoints = useEncryptedEndpoints
84776			}
84777		case "useHostVerification":
84778			if v != nil {
84779				var useHostVerification interface{}
84780				err = json.Unmarshal(*v, &useHostVerification)
84781				if err != nil {
84782					return err
84783				}
84784				slstp.UseHostVerification = useHostVerification
84785			}
84786		case "usePeerVerification":
84787			if v != nil {
84788				var usePeerVerification interface{}
84789				err = json.Unmarshal(*v, &usePeerVerification)
84790				if err != nil {
84791					return err
84792				}
84793				slstp.UsePeerVerification = usePeerVerification
84794			}
84795		case "encryptedCredential":
84796			if v != nil {
84797				var encryptedCredential interface{}
84798				err = json.Unmarshal(*v, &encryptedCredential)
84799				if err != nil {
84800					return err
84801				}
84802				slstp.EncryptedCredential = encryptedCredential
84803			}
84804		}
84805	}
84806
84807	return nil
84808}
84809
84810// SquareObjectDataset square Serivce dataset.
84811type SquareObjectDataset struct {
84812	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
84813	AdditionalProperties map[string]interface{} `json:""`
84814	// Description - Dataset description.
84815	Description *string `json:"description,omitempty"`
84816	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
84817	Structure interface{} `json:"structure,omitempty"`
84818	// LinkedServiceName - Linked service reference.
84819	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
84820	// Parameters - Parameters for dataset.
84821	Parameters map[string]*ParameterSpecification `json:"parameters"`
84822	// Annotations - List of tags that can be used for describing the Dataset.
84823	Annotations *[]interface{} `json:"annotations,omitempty"`
84824	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
84825	Type TypeBasicDataset `json:"type,omitempty"`
84826}
84827
84828// MarshalJSON is the custom marshaler for SquareObjectDataset.
84829func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) {
84830	sod.Type = TypeSquareObject
84831	objectMap := make(map[string]interface{})
84832	if sod.Description != nil {
84833		objectMap["description"] = sod.Description
84834	}
84835	objectMap["structure"] = sod.Structure
84836	if sod.LinkedServiceName != nil {
84837		objectMap["linkedServiceName"] = sod.LinkedServiceName
84838	}
84839	if sod.Parameters != nil {
84840		objectMap["parameters"] = sod.Parameters
84841	}
84842	if sod.Annotations != nil {
84843		objectMap["annotations"] = sod.Annotations
84844	}
84845	if sod.Type != "" {
84846		objectMap["type"] = sod.Type
84847	}
84848	for k, v := range sod.AdditionalProperties {
84849		objectMap[k] = v
84850	}
84851	return json.Marshal(objectMap)
84852}
84853
84854// AsResponsysObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84855func (sod SquareObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
84856	return nil, false
84857}
84858
84859// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84860func (sod SquareObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
84861	return nil, false
84862}
84863
84864// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset.
84865func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
84866	return nil, false
84867}
84868
84869// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset.
84870func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
84871	return nil, false
84872}
84873
84874// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84875func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
84876	return nil, false
84877}
84878
84879// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84880func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
84881	return nil, false
84882}
84883
84884// AsSquareObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84885func (sod SquareObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
84886	return &sod, true
84887}
84888
84889// AsSparkObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84890func (sod SquareObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
84891	return nil, false
84892}
84893
84894// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84895func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
84896	return nil, false
84897}
84898
84899// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84900func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
84901	return nil, false
84902}
84903
84904// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84905func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
84906	return nil, false
84907}
84908
84909// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84910func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
84911	return nil, false
84912}
84913
84914// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84915func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
84916	return nil, false
84917}
84918
84919// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84920func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
84921	return nil, false
84922}
84923
84924// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84925func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
84926	return nil, false
84927}
84928
84929// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset.
84930func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
84931	return nil, false
84932}
84933
84934// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84935func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
84936	return nil, false
84937}
84938
84939// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84940func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
84941	return nil, false
84942}
84943
84944// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84945func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
84946	return nil, false
84947}
84948
84949// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84950func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
84951	return nil, false
84952}
84953
84954// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84955func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
84956	return nil, false
84957}
84958
84959// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84960func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
84961	return nil, false
84962}
84963
84964// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset.
84965func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
84966	return nil, false
84967}
84968
84969// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84970func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
84971	return nil, false
84972}
84973
84974// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84975func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
84976	return nil, false
84977}
84978
84979// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset.
84980func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
84981	return nil, false
84982}
84983
84984// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset.
84985func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
84986	return nil, false
84987}
84988
84989// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset.
84990func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
84991	return nil, false
84992}
84993
84994// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
84995func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
84996	return nil, false
84997}
84998
84999// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset.
85000func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
85001	return nil, false
85002}
85003
85004// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset.
85005func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
85006	return nil, false
85007}
85008
85009// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset.
85010func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
85011	return nil, false
85012}
85013
85014// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset.
85015func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
85016	return nil, false
85017}
85018
85019// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset.
85020func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
85021	return nil, false
85022}
85023
85024// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset.
85025func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
85026	return nil, false
85027}
85028
85029// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset.
85030func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
85031	return nil, false
85032}
85033
85034// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset.
85035func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
85036	return nil, false
85037}
85038
85039// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset.
85040func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
85041	return nil, false
85042}
85043
85044// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
85045func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
85046	return nil, false
85047}
85048
85049// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset.
85050func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
85051	return nil, false
85052}
85053
85054// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset.
85055func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
85056	return nil, false
85057}
85058
85059// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset.
85060func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
85061	return nil, false
85062}
85063
85064// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset.
85065func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
85066	return nil, false
85067}
85068
85069// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset.
85070func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
85071	return nil, false
85072}
85073
85074// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset.
85075func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
85076	return nil, false
85077}
85078
85079// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset.
85080func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
85081	return nil, false
85082}
85083
85084// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset.
85085func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
85086	return nil, false
85087}
85088
85089// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset.
85090func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
85091	return nil, false
85092}
85093
85094// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset.
85095func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
85096	return nil, false
85097}
85098
85099// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset.
85100func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
85101	return nil, false
85102}
85103
85104// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset.
85105func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
85106	return nil, false
85107}
85108
85109// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset.
85110func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
85111	return nil, false
85112}
85113
85114// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset.
85115func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
85116	return nil, false
85117}
85118
85119// AsDataset is the BasicDataset implementation for SquareObjectDataset.
85120func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) {
85121	return nil, false
85122}
85123
85124// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset.
85125func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) {
85126	return &sod, true
85127}
85128
85129// SquareSource a copy activity Square Serivce source.
85130type SquareSource struct {
85131	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
85132	Query interface{} `json:"query,omitempty"`
85133	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
85134	AdditionalProperties map[string]interface{} `json:""`
85135	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
85136	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
85137	// 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])).
85138	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
85139	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
85140	Type TypeBasicCopySource `json:"type,omitempty"`
85141}
85142
85143// MarshalJSON is the custom marshaler for SquareSource.
85144func (ss SquareSource) MarshalJSON() ([]byte, error) {
85145	ss.Type = TypeSquareSource
85146	objectMap := make(map[string]interface{})
85147	objectMap["query"] = ss.Query
85148	objectMap["sourceRetryCount"] = ss.SourceRetryCount
85149	objectMap["sourceRetryWait"] = ss.SourceRetryWait
85150	if ss.Type != "" {
85151		objectMap["type"] = ss.Type
85152	}
85153	for k, v := range ss.AdditionalProperties {
85154		objectMap[k] = v
85155	}
85156	return json.Marshal(objectMap)
85157}
85158
85159// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource.
85160func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
85161	return nil, false
85162}
85163
85164// AsResponsysSource is the BasicCopySource implementation for SquareSource.
85165func (ss SquareSource) AsResponsysSource() (*ResponsysSource, bool) {
85166	return nil, false
85167}
85168
85169// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SquareSource.
85170func (ss SquareSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
85171	return nil, false
85172}
85173
85174// AsVerticaSource is the BasicCopySource implementation for SquareSource.
85175func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) {
85176	return nil, false
85177}
85178
85179// AsNetezzaSource is the BasicCopySource implementation for SquareSource.
85180func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) {
85181	return nil, false
85182}
85183
85184// AsZohoSource is the BasicCopySource implementation for SquareSource.
85185func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) {
85186	return nil, false
85187}
85188
85189// AsXeroSource is the BasicCopySource implementation for SquareSource.
85190func (ss SquareSource) AsXeroSource() (*XeroSource, bool) {
85191	return nil, false
85192}
85193
85194// AsSquareSource is the BasicCopySource implementation for SquareSource.
85195func (ss SquareSource) AsSquareSource() (*SquareSource, bool) {
85196	return &ss, true
85197}
85198
85199// AsSparkSource is the BasicCopySource implementation for SquareSource.
85200func (ss SquareSource) AsSparkSource() (*SparkSource, bool) {
85201	return nil, false
85202}
85203
85204// AsShopifySource is the BasicCopySource implementation for SquareSource.
85205func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) {
85206	return nil, false
85207}
85208
85209// AsServiceNowSource is the BasicCopySource implementation for SquareSource.
85210func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) {
85211	return nil, false
85212}
85213
85214// AsQuickBooksSource is the BasicCopySource implementation for SquareSource.
85215func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
85216	return nil, false
85217}
85218
85219// AsPrestoSource is the BasicCopySource implementation for SquareSource.
85220func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) {
85221	return nil, false
85222}
85223
85224// AsPhoenixSource is the BasicCopySource implementation for SquareSource.
85225func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) {
85226	return nil, false
85227}
85228
85229// AsPaypalSource is the BasicCopySource implementation for SquareSource.
85230func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) {
85231	return nil, false
85232}
85233
85234// AsMarketoSource is the BasicCopySource implementation for SquareSource.
85235func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) {
85236	return nil, false
85237}
85238
85239// AsMariaDBSource is the BasicCopySource implementation for SquareSource.
85240func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) {
85241	return nil, false
85242}
85243
85244// AsMagentoSource is the BasicCopySource implementation for SquareSource.
85245func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) {
85246	return nil, false
85247}
85248
85249// AsJiraSource is the BasicCopySource implementation for SquareSource.
85250func (ss SquareSource) AsJiraSource() (*JiraSource, bool) {
85251	return nil, false
85252}
85253
85254// AsImpalaSource is the BasicCopySource implementation for SquareSource.
85255func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) {
85256	return nil, false
85257}
85258
85259// AsHubspotSource is the BasicCopySource implementation for SquareSource.
85260func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) {
85261	return nil, false
85262}
85263
85264// AsHiveSource is the BasicCopySource implementation for SquareSource.
85265func (ss SquareSource) AsHiveSource() (*HiveSource, bool) {
85266	return nil, false
85267}
85268
85269// AsHBaseSource is the BasicCopySource implementation for SquareSource.
85270func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) {
85271	return nil, false
85272}
85273
85274// AsGreenplumSource is the BasicCopySource implementation for SquareSource.
85275func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) {
85276	return nil, false
85277}
85278
85279// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource.
85280func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
85281	return nil, false
85282}
85283
85284// AsEloquaSource is the BasicCopySource implementation for SquareSource.
85285func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) {
85286	return nil, false
85287}
85288
85289// AsDrillSource is the BasicCopySource implementation for SquareSource.
85290func (ss SquareSource) AsDrillSource() (*DrillSource, bool) {
85291	return nil, false
85292}
85293
85294// AsCouchbaseSource is the BasicCopySource implementation for SquareSource.
85295func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
85296	return nil, false
85297}
85298
85299// AsConcurSource is the BasicCopySource implementation for SquareSource.
85300func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) {
85301	return nil, false
85302}
85303
85304// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource.
85305func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
85306	return nil, false
85307}
85308
85309// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource.
85310func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
85311	return nil, false
85312}
85313
85314// AsHTTPSource is the BasicCopySource implementation for SquareSource.
85315func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) {
85316	return nil, false
85317}
85318
85319// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource.
85320func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
85321	return nil, false
85322}
85323
85324// AsMongoDbSource is the BasicCopySource implementation for SquareSource.
85325func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) {
85326	return nil, false
85327}
85328
85329// AsCassandraSource is the BasicCopySource implementation for SquareSource.
85330func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) {
85331	return nil, false
85332}
85333
85334// AsWebSource is the BasicCopySource implementation for SquareSource.
85335func (ss SquareSource) AsWebSource() (*WebSource, bool) {
85336	return nil, false
85337}
85338
85339// AsOracleSource is the BasicCopySource implementation for SquareSource.
85340func (ss SquareSource) AsOracleSource() (*OracleSource, bool) {
85341	return nil, false
85342}
85343
85344// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource.
85345func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
85346	return nil, false
85347}
85348
85349// AsHdfsSource is the BasicCopySource implementation for SquareSource.
85350func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) {
85351	return nil, false
85352}
85353
85354// AsFileSystemSource is the BasicCopySource implementation for SquareSource.
85355func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) {
85356	return nil, false
85357}
85358
85359// AsSQLDWSource is the BasicCopySource implementation for SquareSource.
85360func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) {
85361	return nil, false
85362}
85363
85364// AsSQLSource is the BasicCopySource implementation for SquareSource.
85365func (ss SquareSource) AsSQLSource() (*SQLSource, bool) {
85366	return nil, false
85367}
85368
85369// AsSapEccSource is the BasicCopySource implementation for SquareSource.
85370func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) {
85371	return nil, false
85372}
85373
85374// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource.
85375func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
85376	return nil, false
85377}
85378
85379// AsSalesforceSource is the BasicCopySource implementation for SquareSource.
85380func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) {
85381	return nil, false
85382}
85383
85384// AsRelationalSource is the BasicCopySource implementation for SquareSource.
85385func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) {
85386	return nil, false
85387}
85388
85389// AsDynamicsSource is the BasicCopySource implementation for SquareSource.
85390func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) {
85391	return nil, false
85392}
85393
85394// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource.
85395func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
85396	return nil, false
85397}
85398
85399// AsBlobSource is the BasicCopySource implementation for SquareSource.
85400func (ss SquareSource) AsBlobSource() (*BlobSource, bool) {
85401	return nil, false
85402}
85403
85404// AsAzureTableSource is the BasicCopySource implementation for SquareSource.
85405func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) {
85406	return nil, false
85407}
85408
85409// AsCopySource is the BasicCopySource implementation for SquareSource.
85410func (ss SquareSource) AsCopySource() (*CopySource, bool) {
85411	return nil, false
85412}
85413
85414// AsBasicCopySource is the BasicCopySource implementation for SquareSource.
85415func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) {
85416	return &ss, true
85417}
85418
85419// SSISExecutionParameter SSIS execution parameter.
85420type SSISExecutionParameter struct {
85421	// Value - SSIS package execution parameter value. Type: string (or Expression with resultType string).
85422	Value interface{} `json:"value,omitempty"`
85423}
85424
85425// SSISPackageLocation SSIS package location.
85426type SSISPackageLocation struct {
85427	// PackagePath - The SSIS package path.
85428	PackagePath *string `json:"packagePath,omitempty"`
85429}
85430
85431// SSISPropertyOverride SSIS property override.
85432type SSISPropertyOverride struct {
85433	// Value - SSIS package property override value. Type: string (or Expression with resultType string).
85434	Value interface{} `json:"value,omitempty"`
85435	// IsSensitive - Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true
85436	IsSensitive *bool `json:"isSensitive,omitempty"`
85437}
85438
85439// StagingSettings staging settings.
85440type StagingSettings struct {
85441	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
85442	AdditionalProperties map[string]interface{} `json:""`
85443	// LinkedServiceName - Staging linked service reference.
85444	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
85445	// Path - The path to storage for storing the interim data. Type: string (or Expression with resultType string).
85446	Path interface{} `json:"path,omitempty"`
85447	// EnableCompression - Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean).
85448	EnableCompression interface{} `json:"enableCompression,omitempty"`
85449}
85450
85451// MarshalJSON is the custom marshaler for StagingSettings.
85452func (ss StagingSettings) MarshalJSON() ([]byte, error) {
85453	objectMap := make(map[string]interface{})
85454	if ss.LinkedServiceName != nil {
85455		objectMap["linkedServiceName"] = ss.LinkedServiceName
85456	}
85457	objectMap["path"] = ss.Path
85458	objectMap["enableCompression"] = ss.EnableCompression
85459	for k, v := range ss.AdditionalProperties {
85460		objectMap[k] = v
85461	}
85462	return json.Marshal(objectMap)
85463}
85464
85465// StoredProcedureParameter SQL stored procedure parameter.
85466type StoredProcedureParameter struct {
85467	// Value - Stored procedure parameter value. Type: string (or Expression with resultType string).
85468	Value interface{} `json:"value,omitempty"`
85469	// Type - Stored procedure parameter type. Possible values include: 'String', 'Int', 'Decimal', 'GUID', 'Boolean', 'Date'
85470	Type StoredProcedureParameterType `json:"type,omitempty"`
85471}
85472
85473// SubResource azure Data Factory nested resource, which belongs to a factory.
85474type SubResource struct {
85475	// ID - The resource identifier.
85476	ID *string `json:"id,omitempty"`
85477	// Name - The resource name.
85478	Name *string `json:"name,omitempty"`
85479	// Type - The resource type.
85480	Type *string `json:"type,omitempty"`
85481	// Etag - Etag identifies change in the resource.
85482	Etag *string `json:"etag,omitempty"`
85483}
85484
85485// SybaseLinkedService linked service for Sybase data source.
85486type SybaseLinkedService struct {
85487	// SybaseLinkedServiceTypeProperties - Sybase linked service properties.
85488	*SybaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
85489	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
85490	AdditionalProperties map[string]interface{} `json:""`
85491	// ConnectVia - The integration runtime reference.
85492	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
85493	// Description - Linked service description.
85494	Description *string `json:"description,omitempty"`
85495	// Parameters - Parameters for linked service.
85496	Parameters map[string]*ParameterSpecification `json:"parameters"`
85497	// Annotations - List of tags that can be used for describing the Dataset.
85498	Annotations *[]interface{} `json:"annotations,omitempty"`
85499	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
85500	Type TypeBasicLinkedService `json:"type,omitempty"`
85501}
85502
85503// MarshalJSON is the custom marshaler for SybaseLinkedService.
85504func (sls SybaseLinkedService) MarshalJSON() ([]byte, error) {
85505	sls.Type = TypeSybase
85506	objectMap := make(map[string]interface{})
85507	if sls.SybaseLinkedServiceTypeProperties != nil {
85508		objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties
85509	}
85510	if sls.ConnectVia != nil {
85511		objectMap["connectVia"] = sls.ConnectVia
85512	}
85513	if sls.Description != nil {
85514		objectMap["description"] = sls.Description
85515	}
85516	if sls.Parameters != nil {
85517		objectMap["parameters"] = sls.Parameters
85518	}
85519	if sls.Annotations != nil {
85520		objectMap["annotations"] = sls.Annotations
85521	}
85522	if sls.Type != "" {
85523		objectMap["type"] = sls.Type
85524	}
85525	for k, v := range sls.AdditionalProperties {
85526		objectMap[k] = v
85527	}
85528	return json.Marshal(objectMap)
85529}
85530
85531// AsResponsysLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85532func (sls SybaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
85533	return nil, false
85534}
85535
85536// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85537func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
85538	return nil, false
85539}
85540
85541// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85542func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
85543	return nil, false
85544}
85545
85546// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85547func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
85548	return nil, false
85549}
85550
85551// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85552func (sls SybaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
85553	return nil, false
85554}
85555
85556// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85557func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
85558	return nil, false
85559}
85560
85561// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85562func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
85563	return nil, false
85564}
85565
85566// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85567func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
85568	return nil, false
85569}
85570
85571// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85572func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
85573	return nil, false
85574}
85575
85576// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85577func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
85578	return nil, false
85579}
85580
85581// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85582func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
85583	return nil, false
85584}
85585
85586// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85587func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
85588	return nil, false
85589}
85590
85591// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85592func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
85593	return nil, false
85594}
85595
85596// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85597func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
85598	return nil, false
85599}
85600
85601// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85602func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
85603	return nil, false
85604}
85605
85606// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85607func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
85608	return nil, false
85609}
85610
85611// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85612func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
85613	return nil, false
85614}
85615
85616// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85617func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
85618	return nil, false
85619}
85620
85621// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85622func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
85623	return nil, false
85624}
85625
85626// AsMagentoLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85627func (sls SybaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
85628	return nil, false
85629}
85630
85631// AsJiraLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85632func (sls SybaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
85633	return nil, false
85634}
85635
85636// AsImpalaLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85637func (sls SybaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
85638	return nil, false
85639}
85640
85641// AsHubspotLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85642func (sls SybaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
85643	return nil, false
85644}
85645
85646// AsHiveLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85647func (sls SybaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
85648	return nil, false
85649}
85650
85651// AsHBaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85652func (sls SybaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
85653	return nil, false
85654}
85655
85656// AsGreenplumLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85657func (sls SybaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
85658	return nil, false
85659}
85660
85661// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85662func (sls SybaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
85663	return nil, false
85664}
85665
85666// AsEloquaLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85667func (sls SybaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
85668	return nil, false
85669}
85670
85671// AsDrillLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85672func (sls SybaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
85673	return nil, false
85674}
85675
85676// AsCouchbaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85677func (sls SybaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
85678	return nil, false
85679}
85680
85681// AsConcurLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85682func (sls SybaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
85683	return nil, false
85684}
85685
85686// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85687func (sls SybaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
85688	return nil, false
85689}
85690
85691// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85692func (sls SybaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
85693	return nil, false
85694}
85695
85696// AsSapHanaLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85697func (sls SybaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
85698	return nil, false
85699}
85700
85701// AsSapBWLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85702func (sls SybaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
85703	return nil, false
85704}
85705
85706// AsSftpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85707func (sls SybaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
85708	return nil, false
85709}
85710
85711// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85712func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
85713	return nil, false
85714}
85715
85716// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85717func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
85718	return nil, false
85719}
85720
85721// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85722func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
85723	return nil, false
85724}
85725
85726// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85727func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
85728	return nil, false
85729}
85730
85731// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85732func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
85733	return nil, false
85734}
85735
85736// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85737func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
85738	return nil, false
85739}
85740
85741// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85742func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
85743	return nil, false
85744}
85745
85746// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85747func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
85748	return nil, false
85749}
85750
85751// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85752func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
85753	return nil, false
85754}
85755
85756// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85757func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
85758	return nil, false
85759}
85760
85761// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85762func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
85763	return nil, false
85764}
85765
85766// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85767func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
85768	return nil, false
85769}
85770
85771// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85772func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
85773	return nil, false
85774}
85775
85776// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85777func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
85778	return nil, false
85779}
85780
85781// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85782func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
85783	return nil, false
85784}
85785
85786// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85787func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
85788	return nil, false
85789}
85790
85791// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85792func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
85793	return nil, false
85794}
85795
85796// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85797func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
85798	return nil, false
85799}
85800
85801// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85802func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
85803	return nil, false
85804}
85805
85806// AsSybaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85807func (sls SybaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
85808	return &sls, true
85809}
85810
85811// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85812func (sls SybaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
85813	return nil, false
85814}
85815
85816// AsMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85817func (sls SybaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
85818	return nil, false
85819}
85820
85821// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85822func (sls SybaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
85823	return nil, false
85824}
85825
85826// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85827func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
85828	return nil, false
85829}
85830
85831// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85832func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
85833	return nil, false
85834}
85835
85836// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85837func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
85838	return nil, false
85839}
85840
85841// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85842func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
85843	return nil, false
85844}
85845
85846// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85847func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
85848	return nil, false
85849}
85850
85851// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85852func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
85853	return nil, false
85854}
85855
85856// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85857func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
85858	return nil, false
85859}
85860
85861// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85862func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
85863	return nil, false
85864}
85865
85866// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85867func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
85868	return nil, false
85869}
85870
85871// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85872func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
85873	return nil, false
85874}
85875
85876// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85877func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
85878	return nil, false
85879}
85880
85881// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85882func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) {
85883	return nil, false
85884}
85885
85886// AsBasicLinkedService is the BasicLinkedService implementation for SybaseLinkedService.
85887func (sls SybaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
85888	return &sls, true
85889}
85890
85891// UnmarshalJSON is the custom unmarshaler for SybaseLinkedService struct.
85892func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error {
85893	var m map[string]*json.RawMessage
85894	err := json.Unmarshal(body, &m)
85895	if err != nil {
85896		return err
85897	}
85898	for k, v := range m {
85899		switch k {
85900		case "typeProperties":
85901			if v != nil {
85902				var sybaseLinkedServiceTypeProperties SybaseLinkedServiceTypeProperties
85903				err = json.Unmarshal(*v, &sybaseLinkedServiceTypeProperties)
85904				if err != nil {
85905					return err
85906				}
85907				sls.SybaseLinkedServiceTypeProperties = &sybaseLinkedServiceTypeProperties
85908			}
85909		default:
85910			if v != nil {
85911				var additionalProperties interface{}
85912				err = json.Unmarshal(*v, &additionalProperties)
85913				if err != nil {
85914					return err
85915				}
85916				if sls.AdditionalProperties == nil {
85917					sls.AdditionalProperties = make(map[string]interface{})
85918				}
85919				sls.AdditionalProperties[k] = additionalProperties
85920			}
85921		case "connectVia":
85922			if v != nil {
85923				var connectVia IntegrationRuntimeReference
85924				err = json.Unmarshal(*v, &connectVia)
85925				if err != nil {
85926					return err
85927				}
85928				sls.ConnectVia = &connectVia
85929			}
85930		case "description":
85931			if v != nil {
85932				var description string
85933				err = json.Unmarshal(*v, &description)
85934				if err != nil {
85935					return err
85936				}
85937				sls.Description = &description
85938			}
85939		case "parameters":
85940			if v != nil {
85941				var parameters map[string]*ParameterSpecification
85942				err = json.Unmarshal(*v, &parameters)
85943				if err != nil {
85944					return err
85945				}
85946				sls.Parameters = parameters
85947			}
85948		case "annotations":
85949			if v != nil {
85950				var annotations []interface{}
85951				err = json.Unmarshal(*v, &annotations)
85952				if err != nil {
85953					return err
85954				}
85955				sls.Annotations = &annotations
85956			}
85957		case "type":
85958			if v != nil {
85959				var typeVar TypeBasicLinkedService
85960				err = json.Unmarshal(*v, &typeVar)
85961				if err != nil {
85962					return err
85963				}
85964				sls.Type = typeVar
85965			}
85966		}
85967	}
85968
85969	return nil
85970}
85971
85972// SybaseLinkedServiceTypeProperties sybase linked service properties.
85973type SybaseLinkedServiceTypeProperties struct {
85974	// Server - Server name for connection. Type: string (or Expression with resultType string).
85975	Server interface{} `json:"server,omitempty"`
85976	// Database - Database name for connection. Type: string (or Expression with resultType string).
85977	Database interface{} `json:"database,omitempty"`
85978	// Schema - Schema name for connection. Type: string (or Expression with resultType string).
85979	Schema interface{} `json:"schema,omitempty"`
85980	// AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'SybaseAuthenticationTypeBasic', 'SybaseAuthenticationTypeWindows'
85981	AuthenticationType SybaseAuthenticationType `json:"authenticationType,omitempty"`
85982	// Username - Username for authentication. Type: string (or Expression with resultType string).
85983	Username interface{} `json:"username,omitempty"`
85984	// Password - Password for authentication.
85985	Password BasicSecretBase `json:"password,omitempty"`
85986	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
85987	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
85988}
85989
85990// UnmarshalJSON is the custom unmarshaler for SybaseLinkedServiceTypeProperties struct.
85991func (slstp *SybaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
85992	var m map[string]*json.RawMessage
85993	err := json.Unmarshal(body, &m)
85994	if err != nil {
85995		return err
85996	}
85997	for k, v := range m {
85998		switch k {
85999		case "server":
86000			if v != nil {
86001				var server interface{}
86002				err = json.Unmarshal(*v, &server)
86003				if err != nil {
86004					return err
86005				}
86006				slstp.Server = server
86007			}
86008		case "database":
86009			if v != nil {
86010				var databaseVar interface{}
86011				err = json.Unmarshal(*v, &databaseVar)
86012				if err != nil {
86013					return err
86014				}
86015				slstp.Database = databaseVar
86016			}
86017		case "schema":
86018			if v != nil {
86019				var schema interface{}
86020				err = json.Unmarshal(*v, &schema)
86021				if err != nil {
86022					return err
86023				}
86024				slstp.Schema = schema
86025			}
86026		case "authenticationType":
86027			if v != nil {
86028				var authenticationType SybaseAuthenticationType
86029				err = json.Unmarshal(*v, &authenticationType)
86030				if err != nil {
86031					return err
86032				}
86033				slstp.AuthenticationType = authenticationType
86034			}
86035		case "username":
86036			if v != nil {
86037				var username interface{}
86038				err = json.Unmarshal(*v, &username)
86039				if err != nil {
86040					return err
86041				}
86042				slstp.Username = username
86043			}
86044		case "password":
86045			if v != nil {
86046				password, err := unmarshalBasicSecretBase(*v)
86047				if err != nil {
86048					return err
86049				}
86050				slstp.Password = password
86051			}
86052		case "encryptedCredential":
86053			if v != nil {
86054				var encryptedCredential interface{}
86055				err = json.Unmarshal(*v, &encryptedCredential)
86056				if err != nil {
86057					return err
86058				}
86059				slstp.EncryptedCredential = encryptedCredential
86060			}
86061		}
86062	}
86063
86064	return nil
86065}
86066
86067// TabularTranslator a copy activity tabular translator.
86068type TabularTranslator struct {
86069	// ColumnMappings - Column mappings. Type: string (or Expression with resultType string).
86070	ColumnMappings interface{} `json:"columnMappings,omitempty"`
86071	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
86072	AdditionalProperties map[string]interface{} `json:""`
86073	// Type - Possible values include: 'TypeCopyTranslator', 'TypeTabularTranslator'
86074	Type TypeBasicCopyTranslator `json:"type,omitempty"`
86075}
86076
86077// MarshalJSON is the custom marshaler for TabularTranslator.
86078func (tt TabularTranslator) MarshalJSON() ([]byte, error) {
86079	tt.Type = TypeTabularTranslator
86080	objectMap := make(map[string]interface{})
86081	objectMap["columnMappings"] = tt.ColumnMappings
86082	if tt.Type != "" {
86083		objectMap["type"] = tt.Type
86084	}
86085	for k, v := range tt.AdditionalProperties {
86086		objectMap[k] = v
86087	}
86088	return json.Marshal(objectMap)
86089}
86090
86091// AsTabularTranslator is the BasicCopyTranslator implementation for TabularTranslator.
86092func (tt TabularTranslator) AsTabularTranslator() (*TabularTranslator, bool) {
86093	return &tt, true
86094}
86095
86096// AsCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator.
86097func (tt TabularTranslator) AsCopyTranslator() (*CopyTranslator, bool) {
86098	return nil, false
86099}
86100
86101// AsBasicCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator.
86102func (tt TabularTranslator) AsBasicCopyTranslator() (BasicCopyTranslator, bool) {
86103	return &tt, true
86104}
86105
86106// TeradataLinkedService linked service for Teradata data source.
86107type TeradataLinkedService struct {
86108	// TeradataLinkedServiceTypeProperties - Teradata linked service properties.
86109	*TeradataLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
86110	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
86111	AdditionalProperties map[string]interface{} `json:""`
86112	// ConnectVia - The integration runtime reference.
86113	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
86114	// Description - Linked service description.
86115	Description *string `json:"description,omitempty"`
86116	// Parameters - Parameters for linked service.
86117	Parameters map[string]*ParameterSpecification `json:"parameters"`
86118	// Annotations - List of tags that can be used for describing the Dataset.
86119	Annotations *[]interface{} `json:"annotations,omitempty"`
86120	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
86121	Type TypeBasicLinkedService `json:"type,omitempty"`
86122}
86123
86124// MarshalJSON is the custom marshaler for TeradataLinkedService.
86125func (TLSVar TeradataLinkedService) MarshalJSON() ([]byte, error) {
86126	TLSVar.Type = TypeTeradata
86127	objectMap := make(map[string]interface{})
86128	if TLSVar.TeradataLinkedServiceTypeProperties != nil {
86129		objectMap["typeProperties"] = TLSVar.TeradataLinkedServiceTypeProperties
86130	}
86131	if TLSVar.ConnectVia != nil {
86132		objectMap["connectVia"] = TLSVar.ConnectVia
86133	}
86134	if TLSVar.Description != nil {
86135		objectMap["description"] = TLSVar.Description
86136	}
86137	if TLSVar.Parameters != nil {
86138		objectMap["parameters"] = TLSVar.Parameters
86139	}
86140	if TLSVar.Annotations != nil {
86141		objectMap["annotations"] = TLSVar.Annotations
86142	}
86143	if TLSVar.Type != "" {
86144		objectMap["type"] = TLSVar.Type
86145	}
86146	for k, v := range TLSVar.AdditionalProperties {
86147		objectMap[k] = v
86148	}
86149	return json.Marshal(objectMap)
86150}
86151
86152// AsResponsysLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86153func (TLSVar TeradataLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
86154	return nil, false
86155}
86156
86157// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86158func (TLSVar TeradataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
86159	return nil, false
86160}
86161
86162// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86163func (TLSVar TeradataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
86164	return nil, false
86165}
86166
86167// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86168func (TLSVar TeradataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
86169	return nil, false
86170}
86171
86172// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86173func (TLSVar TeradataLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
86174	return nil, false
86175}
86176
86177// AsNetezzaLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86178func (TLSVar TeradataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
86179	return nil, false
86180}
86181
86182// AsVerticaLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86183func (TLSVar TeradataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
86184	return nil, false
86185}
86186
86187// AsZohoLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86188func (TLSVar TeradataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
86189	return nil, false
86190}
86191
86192// AsXeroLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86193func (TLSVar TeradataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
86194	return nil, false
86195}
86196
86197// AsSquareLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86198func (TLSVar TeradataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
86199	return nil, false
86200}
86201
86202// AsSparkLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86203func (TLSVar TeradataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
86204	return nil, false
86205}
86206
86207// AsShopifyLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86208func (TLSVar TeradataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
86209	return nil, false
86210}
86211
86212// AsServiceNowLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86213func (TLSVar TeradataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
86214	return nil, false
86215}
86216
86217// AsQuickBooksLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86218func (TLSVar TeradataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
86219	return nil, false
86220}
86221
86222// AsPrestoLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86223func (TLSVar TeradataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
86224	return nil, false
86225}
86226
86227// AsPhoenixLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86228func (TLSVar TeradataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
86229	return nil, false
86230}
86231
86232// AsPaypalLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86233func (TLSVar TeradataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
86234	return nil, false
86235}
86236
86237// AsMarketoLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86238func (TLSVar TeradataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
86239	return nil, false
86240}
86241
86242// AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86243func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
86244	return nil, false
86245}
86246
86247// AsMagentoLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86248func (TLSVar TeradataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
86249	return nil, false
86250}
86251
86252// AsJiraLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86253func (TLSVar TeradataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
86254	return nil, false
86255}
86256
86257// AsImpalaLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86258func (TLSVar TeradataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
86259	return nil, false
86260}
86261
86262// AsHubspotLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86263func (TLSVar TeradataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
86264	return nil, false
86265}
86266
86267// AsHiveLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86268func (TLSVar TeradataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
86269	return nil, false
86270}
86271
86272// AsHBaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86273func (TLSVar TeradataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
86274	return nil, false
86275}
86276
86277// AsGreenplumLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86278func (TLSVar TeradataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
86279	return nil, false
86280}
86281
86282// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86283func (TLSVar TeradataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
86284	return nil, false
86285}
86286
86287// AsEloquaLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86288func (TLSVar TeradataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
86289	return nil, false
86290}
86291
86292// AsDrillLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86293func (TLSVar TeradataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
86294	return nil, false
86295}
86296
86297// AsCouchbaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86298func (TLSVar TeradataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
86299	return nil, false
86300}
86301
86302// AsConcurLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86303func (TLSVar TeradataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
86304	return nil, false
86305}
86306
86307// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86308func (TLSVar TeradataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
86309	return nil, false
86310}
86311
86312// AsAmazonMWSLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86313func (TLSVar TeradataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
86314	return nil, false
86315}
86316
86317// AsSapHanaLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86318func (TLSVar TeradataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
86319	return nil, false
86320}
86321
86322// AsSapBWLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86323func (TLSVar TeradataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
86324	return nil, false
86325}
86326
86327// AsSftpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86328func (TLSVar TeradataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
86329	return nil, false
86330}
86331
86332// AsFtpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86333func (TLSVar TeradataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
86334	return nil, false
86335}
86336
86337// AsHTTPLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86338func (TLSVar TeradataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
86339	return nil, false
86340}
86341
86342// AsAzureSearchLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86343func (TLSVar TeradataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
86344	return nil, false
86345}
86346
86347// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86348func (TLSVar TeradataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
86349	return nil, false
86350}
86351
86352// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86353func (TLSVar TeradataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
86354	return nil, false
86355}
86356
86357// AsAmazonS3LinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86358func (TLSVar TeradataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
86359	return nil, false
86360}
86361
86362// AsSapEccLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86363func (TLSVar TeradataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
86364	return nil, false
86365}
86366
86367// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86368func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
86369	return nil, false
86370}
86371
86372// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86373func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
86374	return nil, false
86375}
86376
86377// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86378func (TLSVar TeradataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
86379	return nil, false
86380}
86381
86382// AsMongoDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86383func (TLSVar TeradataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
86384	return nil, false
86385}
86386
86387// AsCassandraLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86388func (TLSVar TeradataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
86389	return nil, false
86390}
86391
86392// AsWebLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86393func (TLSVar TeradataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
86394	return nil, false
86395}
86396
86397// AsODataLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86398func (TLSVar TeradataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
86399	return nil, false
86400}
86401
86402// AsHdfsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86403func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
86404	return nil, false
86405}
86406
86407// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86408func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
86409	return nil, false
86410}
86411
86412// AsAzureMLLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86413func (TLSVar TeradataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
86414	return nil, false
86415}
86416
86417// AsTeradataLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86418func (TLSVar TeradataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
86419	return &TLSVar, true
86420}
86421
86422// AsDb2LinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86423func (TLSVar TeradataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
86424	return nil, false
86425}
86426
86427// AsSybaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86428func (TLSVar TeradataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
86429	return nil, false
86430}
86431
86432// AsPostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86433func (TLSVar TeradataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
86434	return nil, false
86435}
86436
86437// AsMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86438func (TLSVar TeradataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
86439	return nil, false
86440}
86441
86442// AsAzureMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86443func (TLSVar TeradataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
86444	return nil, false
86445}
86446
86447// AsOracleLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86448func (TLSVar TeradataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
86449	return nil, false
86450}
86451
86452// AsFileServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86453func (TLSVar TeradataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
86454	return nil, false
86455}
86456
86457// AsHDInsightLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86458func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
86459	return nil, false
86460}
86461
86462// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86463func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
86464	return nil, false
86465}
86466
86467// AsCosmosDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86468func (TLSVar TeradataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
86469	return nil, false
86470}
86471
86472// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86473func (TLSVar TeradataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
86474	return nil, false
86475}
86476
86477// AsAzureBatchLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86478func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
86479	return nil, false
86480}
86481
86482// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86483func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
86484	return nil, false
86485}
86486
86487// AsSQLServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86488func (TLSVar TeradataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
86489	return nil, false
86490}
86491
86492// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86493func (TLSVar TeradataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
86494	return nil, false
86495}
86496
86497// AsAzureStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86498func (TLSVar TeradataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
86499	return nil, false
86500}
86501
86502// AsLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86503func (TLSVar TeradataLinkedService) AsLinkedService() (*LinkedService, bool) {
86504	return nil, false
86505}
86506
86507// AsBasicLinkedService is the BasicLinkedService implementation for TeradataLinkedService.
86508func (TLSVar TeradataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
86509	return &TLSVar, true
86510}
86511
86512// UnmarshalJSON is the custom unmarshaler for TeradataLinkedService struct.
86513func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error {
86514	var m map[string]*json.RawMessage
86515	err := json.Unmarshal(body, &m)
86516	if err != nil {
86517		return err
86518	}
86519	for k, v := range m {
86520		switch k {
86521		case "typeProperties":
86522			if v != nil {
86523				var teradataLinkedServiceTypeProperties TeradataLinkedServiceTypeProperties
86524				err = json.Unmarshal(*v, &teradataLinkedServiceTypeProperties)
86525				if err != nil {
86526					return err
86527				}
86528				TLSVar.TeradataLinkedServiceTypeProperties = &teradataLinkedServiceTypeProperties
86529			}
86530		default:
86531			if v != nil {
86532				var additionalProperties interface{}
86533				err = json.Unmarshal(*v, &additionalProperties)
86534				if err != nil {
86535					return err
86536				}
86537				if TLSVar.AdditionalProperties == nil {
86538					TLSVar.AdditionalProperties = make(map[string]interface{})
86539				}
86540				TLSVar.AdditionalProperties[k] = additionalProperties
86541			}
86542		case "connectVia":
86543			if v != nil {
86544				var connectVia IntegrationRuntimeReference
86545				err = json.Unmarshal(*v, &connectVia)
86546				if err != nil {
86547					return err
86548				}
86549				TLSVar.ConnectVia = &connectVia
86550			}
86551		case "description":
86552			if v != nil {
86553				var description string
86554				err = json.Unmarshal(*v, &description)
86555				if err != nil {
86556					return err
86557				}
86558				TLSVar.Description = &description
86559			}
86560		case "parameters":
86561			if v != nil {
86562				var parameters map[string]*ParameterSpecification
86563				err = json.Unmarshal(*v, &parameters)
86564				if err != nil {
86565					return err
86566				}
86567				TLSVar.Parameters = parameters
86568			}
86569		case "annotations":
86570			if v != nil {
86571				var annotations []interface{}
86572				err = json.Unmarshal(*v, &annotations)
86573				if err != nil {
86574					return err
86575				}
86576				TLSVar.Annotations = &annotations
86577			}
86578		case "type":
86579			if v != nil {
86580				var typeVar TypeBasicLinkedService
86581				err = json.Unmarshal(*v, &typeVar)
86582				if err != nil {
86583					return err
86584				}
86585				TLSVar.Type = typeVar
86586			}
86587		}
86588	}
86589
86590	return nil
86591}
86592
86593// TeradataLinkedServiceTypeProperties teradata linked service properties.
86594type TeradataLinkedServiceTypeProperties struct {
86595	// Server - Server name for connection. Type: string (or Expression with resultType string).
86596	Server interface{} `json:"server,omitempty"`
86597	// AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows'
86598	AuthenticationType TeradataAuthenticationType `json:"authenticationType,omitempty"`
86599	// Username - Username for authentication. Type: string (or Expression with resultType string).
86600	Username interface{} `json:"username,omitempty"`
86601	// Password - Password for authentication.
86602	Password BasicSecretBase `json:"password,omitempty"`
86603	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
86604	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
86605}
86606
86607// UnmarshalJSON is the custom unmarshaler for TeradataLinkedServiceTypeProperties struct.
86608func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
86609	var m map[string]*json.RawMessage
86610	err := json.Unmarshal(body, &m)
86611	if err != nil {
86612		return err
86613	}
86614	for k, v := range m {
86615		switch k {
86616		case "server":
86617			if v != nil {
86618				var server interface{}
86619				err = json.Unmarshal(*v, &server)
86620				if err != nil {
86621					return err
86622				}
86623				tlstp.Server = server
86624			}
86625		case "authenticationType":
86626			if v != nil {
86627				var authenticationType TeradataAuthenticationType
86628				err = json.Unmarshal(*v, &authenticationType)
86629				if err != nil {
86630					return err
86631				}
86632				tlstp.AuthenticationType = authenticationType
86633			}
86634		case "username":
86635			if v != nil {
86636				var username interface{}
86637				err = json.Unmarshal(*v, &username)
86638				if err != nil {
86639					return err
86640				}
86641				tlstp.Username = username
86642			}
86643		case "password":
86644			if v != nil {
86645				password, err := unmarshalBasicSecretBase(*v)
86646				if err != nil {
86647					return err
86648				}
86649				tlstp.Password = password
86650			}
86651		case "encryptedCredential":
86652			if v != nil {
86653				var encryptedCredential interface{}
86654				err = json.Unmarshal(*v, &encryptedCredential)
86655				if err != nil {
86656					return err
86657				}
86658				tlstp.EncryptedCredential = encryptedCredential
86659			}
86660		}
86661	}
86662
86663	return nil
86664}
86665
86666// TextFormat the data stored in text format.
86667type TextFormat struct {
86668	// ColumnDelimiter - The column delimiter. Type: string (or Expression with resultType string).
86669	ColumnDelimiter interface{} `json:"columnDelimiter,omitempty"`
86670	// RowDelimiter - The row delimiter. Type: string (or Expression with resultType string).
86671	RowDelimiter interface{} `json:"rowDelimiter,omitempty"`
86672	// EscapeChar - The escape character. Type: string (or Expression with resultType string).
86673	EscapeChar interface{} `json:"escapeChar,omitempty"`
86674	// QuoteChar - The quote character. Type: string (or Expression with resultType string).
86675	QuoteChar interface{} `json:"quoteChar,omitempty"`
86676	// NullValue - The null value string. Type: string (or Expression with resultType string).
86677	NullValue interface{} `json:"nullValue,omitempty"`
86678	// 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).
86679	EncodingName interface{} `json:"encodingName,omitempty"`
86680	// TreatEmptyAsNull - Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean).
86681	TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"`
86682	// 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).
86683	SkipLineCount interface{} `json:"skipLineCount,omitempty"`
86684	// 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).
86685	FirstRowAsHeader interface{} `json:"firstRowAsHeader,omitempty"`
86686	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
86687	AdditionalProperties map[string]interface{} `json:""`
86688	// Serializer - Serializer. Type: string (or Expression with resultType string).
86689	Serializer interface{} `json:"serializer,omitempty"`
86690	// Deserializer - Deserializer. Type: string (or Expression with resultType string).
86691	Deserializer interface{} `json:"deserializer,omitempty"`
86692	// Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat'
86693	Type TypeBasicDatasetStorageFormat `json:"type,omitempty"`
86694}
86695
86696// MarshalJSON is the custom marshaler for TextFormat.
86697func (tf TextFormat) MarshalJSON() ([]byte, error) {
86698	tf.Type = TypeTextFormat
86699	objectMap := make(map[string]interface{})
86700	objectMap["columnDelimiter"] = tf.ColumnDelimiter
86701	objectMap["rowDelimiter"] = tf.RowDelimiter
86702	objectMap["escapeChar"] = tf.EscapeChar
86703	objectMap["quoteChar"] = tf.QuoteChar
86704	objectMap["nullValue"] = tf.NullValue
86705	objectMap["encodingName"] = tf.EncodingName
86706	objectMap["treatEmptyAsNull"] = tf.TreatEmptyAsNull
86707	objectMap["skipLineCount"] = tf.SkipLineCount
86708	objectMap["firstRowAsHeader"] = tf.FirstRowAsHeader
86709	objectMap["serializer"] = tf.Serializer
86710	objectMap["deserializer"] = tf.Deserializer
86711	if tf.Type != "" {
86712		objectMap["type"] = tf.Type
86713	}
86714	for k, v := range tf.AdditionalProperties {
86715		objectMap[k] = v
86716	}
86717	return json.Marshal(objectMap)
86718}
86719
86720// AsParquetFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86721func (tf TextFormat) AsParquetFormat() (*ParquetFormat, bool) {
86722	return nil, false
86723}
86724
86725// AsOrcFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86726func (tf TextFormat) AsOrcFormat() (*OrcFormat, bool) {
86727	return nil, false
86728}
86729
86730// AsAvroFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86731func (tf TextFormat) AsAvroFormat() (*AvroFormat, bool) {
86732	return nil, false
86733}
86734
86735// AsJSONFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86736func (tf TextFormat) AsJSONFormat() (*JSONFormat, bool) {
86737	return nil, false
86738}
86739
86740// AsTextFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86741func (tf TextFormat) AsTextFormat() (*TextFormat, bool) {
86742	return &tf, true
86743}
86744
86745// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86746func (tf TextFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) {
86747	return nil, false
86748}
86749
86750// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat.
86751func (tf TextFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) {
86752	return &tf, true
86753}
86754
86755// BasicTrigger azure data factory nested object which contains information about creating pipeline run
86756type BasicTrigger interface {
86757	AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool)
86758	AsBlobTrigger() (*BlobTrigger, bool)
86759	AsScheduleTrigger() (*ScheduleTrigger, bool)
86760	AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool)
86761	AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool)
86762	AsTrigger() (*Trigger, bool)
86763}
86764
86765// Trigger azure data factory nested object which contains information about creating pipeline run
86766type Trigger struct {
86767	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
86768	AdditionalProperties map[string]interface{} `json:""`
86769	// Description - Trigger description.
86770	Description *string `json:"description,omitempty"`
86771	// RuntimeState - Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
86772	RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
86773	// Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
86774	Type TypeBasicTrigger `json:"type,omitempty"`
86775}
86776
86777func unmarshalBasicTrigger(body []byte) (BasicTrigger, error) {
86778	var m map[string]interface{}
86779	err := json.Unmarshal(body, &m)
86780	if err != nil {
86781		return nil, err
86782	}
86783
86784	switch m["type"] {
86785	case string(TypeTumblingWindowTrigger):
86786		var twt TumblingWindowTrigger
86787		err := json.Unmarshal(body, &twt)
86788		return twt, err
86789	case string(TypeBlobTrigger):
86790		var bt BlobTrigger
86791		err := json.Unmarshal(body, &bt)
86792		return bt, err
86793	case string(TypeScheduleTrigger):
86794		var st ScheduleTrigger
86795		err := json.Unmarshal(body, &st)
86796		return st, err
86797	case string(TypeMultiplePipelineTrigger):
86798		var mpt MultiplePipelineTrigger
86799		err := json.Unmarshal(body, &mpt)
86800		return mpt, err
86801	default:
86802		var t Trigger
86803		err := json.Unmarshal(body, &t)
86804		return t, err
86805	}
86806}
86807func unmarshalBasicTriggerArray(body []byte) ([]BasicTrigger, error) {
86808	var rawMessages []*json.RawMessage
86809	err := json.Unmarshal(body, &rawMessages)
86810	if err != nil {
86811		return nil, err
86812	}
86813
86814	tArray := make([]BasicTrigger, len(rawMessages))
86815
86816	for index, rawMessage := range rawMessages {
86817		t, err := unmarshalBasicTrigger(*rawMessage)
86818		if err != nil {
86819			return nil, err
86820		}
86821		tArray[index] = t
86822	}
86823	return tArray, nil
86824}
86825
86826// MarshalJSON is the custom marshaler for Trigger.
86827func (t Trigger) MarshalJSON() ([]byte, error) {
86828	t.Type = TypeTrigger
86829	objectMap := make(map[string]interface{})
86830	if t.Description != nil {
86831		objectMap["description"] = t.Description
86832	}
86833	if t.RuntimeState != "" {
86834		objectMap["runtimeState"] = t.RuntimeState
86835	}
86836	if t.Type != "" {
86837		objectMap["type"] = t.Type
86838	}
86839	for k, v := range t.AdditionalProperties {
86840		objectMap[k] = v
86841	}
86842	return json.Marshal(objectMap)
86843}
86844
86845// AsTumblingWindowTrigger is the BasicTrigger implementation for Trigger.
86846func (t Trigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
86847	return nil, false
86848}
86849
86850// AsBlobTrigger is the BasicTrigger implementation for Trigger.
86851func (t Trigger) AsBlobTrigger() (*BlobTrigger, bool) {
86852	return nil, false
86853}
86854
86855// AsScheduleTrigger is the BasicTrigger implementation for Trigger.
86856func (t Trigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
86857	return nil, false
86858}
86859
86860// AsMultiplePipelineTrigger is the BasicTrigger implementation for Trigger.
86861func (t Trigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
86862	return nil, false
86863}
86864
86865// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for Trigger.
86866func (t Trigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
86867	return nil, false
86868}
86869
86870// AsTrigger is the BasicTrigger implementation for Trigger.
86871func (t Trigger) AsTrigger() (*Trigger, bool) {
86872	return &t, true
86873}
86874
86875// AsBasicTrigger is the BasicTrigger implementation for Trigger.
86876func (t Trigger) AsBasicTrigger() (BasicTrigger, bool) {
86877	return &t, true
86878}
86879
86880// TriggerListResponse a list of trigger resources.
86881type TriggerListResponse struct {
86882	autorest.Response `json:"-"`
86883	// Value - List of triggers.
86884	Value *[]TriggerResource `json:"value,omitempty"`
86885	// NextLink - The link to the next page of results, if any remaining results exist.
86886	NextLink *string `json:"nextLink,omitempty"`
86887}
86888
86889// TriggerListResponseIterator provides access to a complete listing of TriggerResource values.
86890type TriggerListResponseIterator struct {
86891	i    int
86892	page TriggerListResponsePage
86893}
86894
86895// Next advances to the next value.  If there was an error making
86896// the request the iterator does not advance and the error is returned.
86897func (iter *TriggerListResponseIterator) Next() error {
86898	iter.i++
86899	if iter.i < len(iter.page.Values()) {
86900		return nil
86901	}
86902	err := iter.page.Next()
86903	if err != nil {
86904		iter.i--
86905		return err
86906	}
86907	iter.i = 0
86908	return nil
86909}
86910
86911// NotDone returns true if the enumeration should be started or is not yet complete.
86912func (iter TriggerListResponseIterator) NotDone() bool {
86913	return iter.page.NotDone() && iter.i < len(iter.page.Values())
86914}
86915
86916// Response returns the raw server response from the last page request.
86917func (iter TriggerListResponseIterator) Response() TriggerListResponse {
86918	return iter.page.Response()
86919}
86920
86921// Value returns the current value or a zero-initialized value if the
86922// iterator has advanced beyond the end of the collection.
86923func (iter TriggerListResponseIterator) Value() TriggerResource {
86924	if !iter.page.NotDone() {
86925		return TriggerResource{}
86926	}
86927	return iter.page.Values()[iter.i]
86928}
86929
86930// IsEmpty returns true if the ListResult contains no values.
86931func (tlr TriggerListResponse) IsEmpty() bool {
86932	return tlr.Value == nil || len(*tlr.Value) == 0
86933}
86934
86935// triggerListResponsePreparer prepares a request to retrieve the next set of results.
86936// It returns nil if no more results exist.
86937func (tlr TriggerListResponse) triggerListResponsePreparer() (*http.Request, error) {
86938	if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 {
86939		return nil, nil
86940	}
86941	return autorest.Prepare(&http.Request{},
86942		autorest.AsJSON(),
86943		autorest.AsGet(),
86944		autorest.WithBaseURL(to.String(tlr.NextLink)))
86945}
86946
86947// TriggerListResponsePage contains a page of TriggerResource values.
86948type TriggerListResponsePage struct {
86949	fn  func(TriggerListResponse) (TriggerListResponse, error)
86950	tlr TriggerListResponse
86951}
86952
86953// Next advances to the next page of values.  If there was an error making
86954// the request the page does not advance and the error is returned.
86955func (page *TriggerListResponsePage) Next() error {
86956	next, err := page.fn(page.tlr)
86957	if err != nil {
86958		return err
86959	}
86960	page.tlr = next
86961	return nil
86962}
86963
86964// NotDone returns true if the page enumeration should be started or is not yet complete.
86965func (page TriggerListResponsePage) NotDone() bool {
86966	return !page.tlr.IsEmpty()
86967}
86968
86969// Response returns the raw server response from the last page request.
86970func (page TriggerListResponsePage) Response() TriggerListResponse {
86971	return page.tlr
86972}
86973
86974// Values returns the slice of values for the current page or nil if there are no values.
86975func (page TriggerListResponsePage) Values() []TriggerResource {
86976	if page.tlr.IsEmpty() {
86977		return nil
86978	}
86979	return *page.tlr.Value
86980}
86981
86982// TriggerPipelineReference pipeline that needs to be triggered with the given parameters.
86983type TriggerPipelineReference struct {
86984	// PipelineReference - Pipeline reference.
86985	PipelineReference *PipelineReference `json:"pipelineReference,omitempty"`
86986	// Parameters - Pipeline parameters.
86987	Parameters map[string]interface{} `json:"parameters"`
86988}
86989
86990// MarshalJSON is the custom marshaler for TriggerPipelineReference.
86991func (tpr TriggerPipelineReference) MarshalJSON() ([]byte, error) {
86992	objectMap := make(map[string]interface{})
86993	if tpr.PipelineReference != nil {
86994		objectMap["pipelineReference"] = tpr.PipelineReference
86995	}
86996	if tpr.Parameters != nil {
86997		objectMap["parameters"] = tpr.Parameters
86998	}
86999	return json.Marshal(objectMap)
87000}
87001
87002// TriggerResource trigger resource type.
87003type TriggerResource struct {
87004	autorest.Response `json:"-"`
87005	// Properties - Properties of the trigger.
87006	Properties BasicTrigger `json:"properties,omitempty"`
87007	// ID - The resource identifier.
87008	ID *string `json:"id,omitempty"`
87009	// Name - The resource name.
87010	Name *string `json:"name,omitempty"`
87011	// Type - The resource type.
87012	Type *string `json:"type,omitempty"`
87013	// Etag - Etag identifies change in the resource.
87014	Etag *string `json:"etag,omitempty"`
87015}
87016
87017// UnmarshalJSON is the custom unmarshaler for TriggerResource struct.
87018func (tr *TriggerResource) UnmarshalJSON(body []byte) error {
87019	var m map[string]*json.RawMessage
87020	err := json.Unmarshal(body, &m)
87021	if err != nil {
87022		return err
87023	}
87024	for k, v := range m {
87025		switch k {
87026		case "properties":
87027			if v != nil {
87028				properties, err := unmarshalBasicTrigger(*v)
87029				if err != nil {
87030					return err
87031				}
87032				tr.Properties = properties
87033			}
87034		case "id":
87035			if v != nil {
87036				var ID string
87037				err = json.Unmarshal(*v, &ID)
87038				if err != nil {
87039					return err
87040				}
87041				tr.ID = &ID
87042			}
87043		case "name":
87044			if v != nil {
87045				var name string
87046				err = json.Unmarshal(*v, &name)
87047				if err != nil {
87048					return err
87049				}
87050				tr.Name = &name
87051			}
87052		case "type":
87053			if v != nil {
87054				var typeVar string
87055				err = json.Unmarshal(*v, &typeVar)
87056				if err != nil {
87057					return err
87058				}
87059				tr.Type = &typeVar
87060			}
87061		case "etag":
87062			if v != nil {
87063				var etag string
87064				err = json.Unmarshal(*v, &etag)
87065				if err != nil {
87066					return err
87067				}
87068				tr.Etag = &etag
87069			}
87070		}
87071	}
87072
87073	return nil
87074}
87075
87076// TriggerRun trigger runs.
87077type TriggerRun struct {
87078	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
87079	AdditionalProperties map[string]interface{} `json:""`
87080	// TriggerRunID - Trigger run id.
87081	TriggerRunID *string `json:"triggerRunId,omitempty"`
87082	// TriggerName - Trigger name.
87083	TriggerName *string `json:"triggerName,omitempty"`
87084	// TriggerType - Trigger type.
87085	TriggerType *string `json:"triggerType,omitempty"`
87086	// TriggerRunTimestamp - Trigger run start time.
87087	TriggerRunTimestamp *date.Time `json:"triggerRunTimestamp,omitempty"`
87088	// Status - Trigger run status. Possible values include: 'TriggerRunStatusSucceeded', 'TriggerRunStatusFailed', 'TriggerRunStatusInprogress'
87089	Status TriggerRunStatus `json:"status,omitempty"`
87090	// Message - Trigger error message.
87091	Message *string `json:"message,omitempty"`
87092	// Properties - List of property name and value related to trigger run. Name, value pair depends on type of trigger.
87093	Properties map[string]*string `json:"properties"`
87094	// TriggeredPipelines - List of pipeline name and run Id triggered by the trigger run.
87095	TriggeredPipelines map[string]*string `json:"triggeredPipelines"`
87096}
87097
87098// MarshalJSON is the custom marshaler for TriggerRun.
87099func (tr TriggerRun) MarshalJSON() ([]byte, error) {
87100	objectMap := make(map[string]interface{})
87101	if tr.TriggerRunID != nil {
87102		objectMap["triggerRunId"] = tr.TriggerRunID
87103	}
87104	if tr.TriggerName != nil {
87105		objectMap["triggerName"] = tr.TriggerName
87106	}
87107	if tr.TriggerType != nil {
87108		objectMap["triggerType"] = tr.TriggerType
87109	}
87110	if tr.TriggerRunTimestamp != nil {
87111		objectMap["triggerRunTimestamp"] = tr.TriggerRunTimestamp
87112	}
87113	if tr.Status != "" {
87114		objectMap["status"] = tr.Status
87115	}
87116	if tr.Message != nil {
87117		objectMap["message"] = tr.Message
87118	}
87119	if tr.Properties != nil {
87120		objectMap["properties"] = tr.Properties
87121	}
87122	if tr.TriggeredPipelines != nil {
87123		objectMap["triggeredPipelines"] = tr.TriggeredPipelines
87124	}
87125	for k, v := range tr.AdditionalProperties {
87126		objectMap[k] = v
87127	}
87128	return json.Marshal(objectMap)
87129}
87130
87131// TriggerRunListResponse a list of trigger runs.
87132type TriggerRunListResponse struct {
87133	autorest.Response `json:"-"`
87134	// Value - List of trigger runs.
87135	Value *[]TriggerRun `json:"value,omitempty"`
87136	// NextLink - The link to the next page of results, if any remaining results exist.
87137	NextLink *string `json:"nextLink,omitempty"`
87138}
87139
87140// TriggerRunListResponseIterator provides access to a complete listing of TriggerRun values.
87141type TriggerRunListResponseIterator struct {
87142	i    int
87143	page TriggerRunListResponsePage
87144}
87145
87146// Next advances to the next value.  If there was an error making
87147// the request the iterator does not advance and the error is returned.
87148func (iter *TriggerRunListResponseIterator) Next() error {
87149	iter.i++
87150	if iter.i < len(iter.page.Values()) {
87151		return nil
87152	}
87153	err := iter.page.Next()
87154	if err != nil {
87155		iter.i--
87156		return err
87157	}
87158	iter.i = 0
87159	return nil
87160}
87161
87162// NotDone returns true if the enumeration should be started or is not yet complete.
87163func (iter TriggerRunListResponseIterator) NotDone() bool {
87164	return iter.page.NotDone() && iter.i < len(iter.page.Values())
87165}
87166
87167// Response returns the raw server response from the last page request.
87168func (iter TriggerRunListResponseIterator) Response() TriggerRunListResponse {
87169	return iter.page.Response()
87170}
87171
87172// Value returns the current value or a zero-initialized value if the
87173// iterator has advanced beyond the end of the collection.
87174func (iter TriggerRunListResponseIterator) Value() TriggerRun {
87175	if !iter.page.NotDone() {
87176		return TriggerRun{}
87177	}
87178	return iter.page.Values()[iter.i]
87179}
87180
87181// IsEmpty returns true if the ListResult contains no values.
87182func (trlr TriggerRunListResponse) IsEmpty() bool {
87183	return trlr.Value == nil || len(*trlr.Value) == 0
87184}
87185
87186// triggerRunListResponsePreparer prepares a request to retrieve the next set of results.
87187// It returns nil if no more results exist.
87188func (trlr TriggerRunListResponse) triggerRunListResponsePreparer() (*http.Request, error) {
87189	if trlr.NextLink == nil || len(to.String(trlr.NextLink)) < 1 {
87190		return nil, nil
87191	}
87192	return autorest.Prepare(&http.Request{},
87193		autorest.AsJSON(),
87194		autorest.AsGet(),
87195		autorest.WithBaseURL(to.String(trlr.NextLink)))
87196}
87197
87198// TriggerRunListResponsePage contains a page of TriggerRun values.
87199type TriggerRunListResponsePage struct {
87200	fn   func(TriggerRunListResponse) (TriggerRunListResponse, error)
87201	trlr TriggerRunListResponse
87202}
87203
87204// Next advances to the next page of values.  If there was an error making
87205// the request the page does not advance and the error is returned.
87206func (page *TriggerRunListResponsePage) Next() error {
87207	next, err := page.fn(page.trlr)
87208	if err != nil {
87209		return err
87210	}
87211	page.trlr = next
87212	return nil
87213}
87214
87215// NotDone returns true if the page enumeration should be started or is not yet complete.
87216func (page TriggerRunListResponsePage) NotDone() bool {
87217	return !page.trlr.IsEmpty()
87218}
87219
87220// Response returns the raw server response from the last page request.
87221func (page TriggerRunListResponsePage) Response() TriggerRunListResponse {
87222	return page.trlr
87223}
87224
87225// Values returns the slice of values for the current page or nil if there are no values.
87226func (page TriggerRunListResponsePage) Values() []TriggerRun {
87227	if page.trlr.IsEmpty() {
87228		return nil
87229	}
87230	return *page.trlr.Value
87231}
87232
87233// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
87234type TriggersStartFuture struct {
87235	azure.Future
87236	req *http.Request
87237}
87238
87239// Result returns the result of the asynchronous operation.
87240// If the operation has not completed it will return an error.
87241func (future TriggersStartFuture) Result(client TriggersClient) (ar autorest.Response, err error) {
87242	var done bool
87243	done, err = future.Done(client)
87244	if err != nil {
87245		err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Polling failure")
87246		return
87247	}
87248	if !done {
87249		return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStartFuture")
87250	}
87251	if future.PollingMethod() == azure.PollingLocation {
87252		ar, err = client.StartResponder(future.Response())
87253		if err != nil {
87254			err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Failure responding to request")
87255		}
87256		return
87257	}
87258	var req *http.Request
87259	var resp *http.Response
87260	if future.PollingURL() != "" {
87261		req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
87262		if err != nil {
87263			return
87264		}
87265	} else {
87266		req = autorest.ChangeToGet(future.req)
87267	}
87268	resp, err = autorest.SendWithSender(client, req,
87269		autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
87270	if err != nil {
87271		err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure sending request")
87272		return
87273	}
87274	ar, err = client.StartResponder(resp)
87275	if err != nil {
87276		err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure responding to request")
87277	}
87278	return
87279}
87280
87281// TriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
87282type TriggersStopFuture struct {
87283	azure.Future
87284	req *http.Request
87285}
87286
87287// Result returns the result of the asynchronous operation.
87288// If the operation has not completed it will return an error.
87289func (future TriggersStopFuture) Result(client TriggersClient) (ar autorest.Response, err error) {
87290	var done bool
87291	done, err = future.Done(client)
87292	if err != nil {
87293		err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Polling failure")
87294		return
87295	}
87296	if !done {
87297		return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStopFuture")
87298	}
87299	if future.PollingMethod() == azure.PollingLocation {
87300		ar, err = client.StopResponder(future.Response())
87301		if err != nil {
87302			err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Failure responding to request")
87303		}
87304		return
87305	}
87306	var req *http.Request
87307	var resp *http.Response
87308	if future.PollingURL() != "" {
87309		req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
87310		if err != nil {
87311			return
87312		}
87313	} else {
87314		req = autorest.ChangeToGet(future.req)
87315	}
87316	resp, err = autorest.SendWithSender(client, req,
87317		autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
87318	if err != nil {
87319		err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "Failure sending request")
87320		return
87321	}
87322	ar, err = client.StopResponder(resp)
87323	if err != nil {
87324		err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "Failure responding to request")
87325	}
87326	return
87327}
87328
87329// TumblingWindowTrigger trigger that schedules pipeline runs for all fixed time interval windows from a start time
87330// without gaps and also supports backfill scenarios (when start time is in the past).
87331type TumblingWindowTrigger struct {
87332	// Pipeline - Pipeline for which runs are created when an event is fired for trigger window that is ready.
87333	Pipeline *TriggerPipelineReference `json:"pipeline,omitempty"`
87334	// TumblingWindowTriggerTypeProperties - Tumbling Window Trigger properties.
87335	*TumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"`
87336	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
87337	AdditionalProperties map[string]interface{} `json:""`
87338	// Description - Trigger description.
87339	Description *string `json:"description,omitempty"`
87340	// RuntimeState - Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: 'TriggerRuntimeStateStarted', 'TriggerRuntimeStateStopped', 'TriggerRuntimeStateDisabled'
87341	RuntimeState TriggerRuntimeState `json:"runtimeState,omitempty"`
87342	// Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger'
87343	Type TypeBasicTrigger `json:"type,omitempty"`
87344}
87345
87346// MarshalJSON is the custom marshaler for TumblingWindowTrigger.
87347func (twt TumblingWindowTrigger) MarshalJSON() ([]byte, error) {
87348	twt.Type = TypeTumblingWindowTrigger
87349	objectMap := make(map[string]interface{})
87350	if twt.Pipeline != nil {
87351		objectMap["pipeline"] = twt.Pipeline
87352	}
87353	if twt.TumblingWindowTriggerTypeProperties != nil {
87354		objectMap["typeProperties"] = twt.TumblingWindowTriggerTypeProperties
87355	}
87356	if twt.Description != nil {
87357		objectMap["description"] = twt.Description
87358	}
87359	if twt.RuntimeState != "" {
87360		objectMap["runtimeState"] = twt.RuntimeState
87361	}
87362	if twt.Type != "" {
87363		objectMap["type"] = twt.Type
87364	}
87365	for k, v := range twt.AdditionalProperties {
87366		objectMap[k] = v
87367	}
87368	return json.Marshal(objectMap)
87369}
87370
87371// AsTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87372func (twt TumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) {
87373	return &twt, true
87374}
87375
87376// AsBlobTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87377func (twt TumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) {
87378	return nil, false
87379}
87380
87381// AsScheduleTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87382func (twt TumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) {
87383	return nil, false
87384}
87385
87386// AsMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87387func (twt TumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) {
87388	return nil, false
87389}
87390
87391// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87392func (twt TumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) {
87393	return nil, false
87394}
87395
87396// AsTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87397func (twt TumblingWindowTrigger) AsTrigger() (*Trigger, bool) {
87398	return nil, false
87399}
87400
87401// AsBasicTrigger is the BasicTrigger implementation for TumblingWindowTrigger.
87402func (twt TumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) {
87403	return &twt, true
87404}
87405
87406// UnmarshalJSON is the custom unmarshaler for TumblingWindowTrigger struct.
87407func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error {
87408	var m map[string]*json.RawMessage
87409	err := json.Unmarshal(body, &m)
87410	if err != nil {
87411		return err
87412	}
87413	for k, v := range m {
87414		switch k {
87415		case "pipeline":
87416			if v != nil {
87417				var pipeline TriggerPipelineReference
87418				err = json.Unmarshal(*v, &pipeline)
87419				if err != nil {
87420					return err
87421				}
87422				twt.Pipeline = &pipeline
87423			}
87424		case "typeProperties":
87425			if v != nil {
87426				var tumblingWindowTriggerTypeProperties TumblingWindowTriggerTypeProperties
87427				err = json.Unmarshal(*v, &tumblingWindowTriggerTypeProperties)
87428				if err != nil {
87429					return err
87430				}
87431				twt.TumblingWindowTriggerTypeProperties = &tumblingWindowTriggerTypeProperties
87432			}
87433		default:
87434			if v != nil {
87435				var additionalProperties interface{}
87436				err = json.Unmarshal(*v, &additionalProperties)
87437				if err != nil {
87438					return err
87439				}
87440				if twt.AdditionalProperties == nil {
87441					twt.AdditionalProperties = make(map[string]interface{})
87442				}
87443				twt.AdditionalProperties[k] = additionalProperties
87444			}
87445		case "description":
87446			if v != nil {
87447				var description string
87448				err = json.Unmarshal(*v, &description)
87449				if err != nil {
87450					return err
87451				}
87452				twt.Description = &description
87453			}
87454		case "runtimeState":
87455			if v != nil {
87456				var runtimeState TriggerRuntimeState
87457				err = json.Unmarshal(*v, &runtimeState)
87458				if err != nil {
87459					return err
87460				}
87461				twt.RuntimeState = runtimeState
87462			}
87463		case "type":
87464			if v != nil {
87465				var typeVar TypeBasicTrigger
87466				err = json.Unmarshal(*v, &typeVar)
87467				if err != nil {
87468					return err
87469				}
87470				twt.Type = typeVar
87471			}
87472		}
87473	}
87474
87475	return nil
87476}
87477
87478// TumblingWindowTriggerTypeProperties tumbling Window Trigger properties.
87479type TumblingWindowTriggerTypeProperties struct {
87480	// Frequency - The frequency of the time windows. Possible values include: 'TumblingWindowFrequencyMinute', 'TumblingWindowFrequencyHour'
87481	Frequency TumblingWindowFrequency `json:"frequency,omitempty"`
87482	// Interval - The interval of the time windows. The minimum interval allowed is 15 Minutes.
87483	Interval *int32 `json:"interval,omitempty"`
87484	// 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.
87485	StartTime *date.Time `json:"startTime,omitempty"`
87486	// 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.
87487	EndTime *date.Time `json:"endTime,omitempty"`
87488	// 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])).
87489	Delay interface{} `json:"delay,omitempty"`
87490	// MaxConcurrency - The max number of parallel time windows (ready for execution) for which a new run is triggered.
87491	MaxConcurrency *int32 `json:"maxConcurrency,omitempty"`
87492	// RetryPolicy - Retry policy that will be applied for failed pipeline runs.
87493	RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"`
87494}
87495
87496// UntilActivity this activity executes inner activities until the specified boolean expression results to true or
87497// timeout is reached, whichever is earlier.
87498type UntilActivity struct {
87499	// UntilActivityTypeProperties - Until activity properties.
87500	*UntilActivityTypeProperties `json:"typeProperties,omitempty"`
87501	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
87502	AdditionalProperties map[string]interface{} `json:""`
87503	// Name - Activity name.
87504	Name *string `json:"name,omitempty"`
87505	// Description - Activity description.
87506	Description *string `json:"description,omitempty"`
87507	// DependsOn - Activity depends on condition.
87508	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
87509	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
87510	Type TypeBasicActivity `json:"type,omitempty"`
87511}
87512
87513// MarshalJSON is the custom marshaler for UntilActivity.
87514func (ua UntilActivity) MarshalJSON() ([]byte, error) {
87515	ua.Type = TypeUntil
87516	objectMap := make(map[string]interface{})
87517	if ua.UntilActivityTypeProperties != nil {
87518		objectMap["typeProperties"] = ua.UntilActivityTypeProperties
87519	}
87520	if ua.Name != nil {
87521		objectMap["name"] = ua.Name
87522	}
87523	if ua.Description != nil {
87524		objectMap["description"] = ua.Description
87525	}
87526	if ua.DependsOn != nil {
87527		objectMap["dependsOn"] = ua.DependsOn
87528	}
87529	if ua.Type != "" {
87530		objectMap["type"] = ua.Type
87531	}
87532	for k, v := range ua.AdditionalProperties {
87533		objectMap[k] = v
87534	}
87535	return json.Marshal(objectMap)
87536}
87537
87538// AsDatabricksNotebookActivity is the BasicActivity implementation for UntilActivity.
87539func (ua UntilActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
87540	return nil, false
87541}
87542
87543// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for UntilActivity.
87544func (ua UntilActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
87545	return nil, false
87546}
87547
87548// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for UntilActivity.
87549func (ua UntilActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
87550	return nil, false
87551}
87552
87553// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for UntilActivity.
87554func (ua UntilActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
87555	return nil, false
87556}
87557
87558// AsGetMetadataActivity is the BasicActivity implementation for UntilActivity.
87559func (ua UntilActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
87560	return nil, false
87561}
87562
87563// AsWebActivity is the BasicActivity implementation for UntilActivity.
87564func (ua UntilActivity) AsWebActivity() (*WebActivity, bool) {
87565	return nil, false
87566}
87567
87568// AsLookupActivity is the BasicActivity implementation for UntilActivity.
87569func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) {
87570	return nil, false
87571}
87572
87573// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for UntilActivity.
87574func (ua UntilActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
87575	return nil, false
87576}
87577
87578// AsCustomActivity is the BasicActivity implementation for UntilActivity.
87579func (ua UntilActivity) AsCustomActivity() (*CustomActivity, bool) {
87580	return nil, false
87581}
87582
87583// AsExecuteSSISPackageActivity is the BasicActivity implementation for UntilActivity.
87584func (ua UntilActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
87585	return nil, false
87586}
87587
87588// AsHDInsightSparkActivity is the BasicActivity implementation for UntilActivity.
87589func (ua UntilActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
87590	return nil, false
87591}
87592
87593// AsHDInsightStreamingActivity is the BasicActivity implementation for UntilActivity.
87594func (ua UntilActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
87595	return nil, false
87596}
87597
87598// AsHDInsightMapReduceActivity is the BasicActivity implementation for UntilActivity.
87599func (ua UntilActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
87600	return nil, false
87601}
87602
87603// AsHDInsightPigActivity is the BasicActivity implementation for UntilActivity.
87604func (ua UntilActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
87605	return nil, false
87606}
87607
87608// AsHDInsightHiveActivity is the BasicActivity implementation for UntilActivity.
87609func (ua UntilActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
87610	return nil, false
87611}
87612
87613// AsCopyActivity is the BasicActivity implementation for UntilActivity.
87614func (ua UntilActivity) AsCopyActivity() (*CopyActivity, bool) {
87615	return nil, false
87616}
87617
87618// AsExecutionActivity is the BasicActivity implementation for UntilActivity.
87619func (ua UntilActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
87620	return nil, false
87621}
87622
87623// AsBasicExecutionActivity is the BasicActivity implementation for UntilActivity.
87624func (ua UntilActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
87625	return nil, false
87626}
87627
87628// AsFilterActivity is the BasicActivity implementation for UntilActivity.
87629func (ua UntilActivity) AsFilterActivity() (*FilterActivity, bool) {
87630	return nil, false
87631}
87632
87633// AsUntilActivity is the BasicActivity implementation for UntilActivity.
87634func (ua UntilActivity) AsUntilActivity() (*UntilActivity, bool) {
87635	return &ua, true
87636}
87637
87638// AsWaitActivity is the BasicActivity implementation for UntilActivity.
87639func (ua UntilActivity) AsWaitActivity() (*WaitActivity, bool) {
87640	return nil, false
87641}
87642
87643// AsForEachActivity is the BasicActivity implementation for UntilActivity.
87644func (ua UntilActivity) AsForEachActivity() (*ForEachActivity, bool) {
87645	return nil, false
87646}
87647
87648// AsIfConditionActivity is the BasicActivity implementation for UntilActivity.
87649func (ua UntilActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
87650	return nil, false
87651}
87652
87653// AsExecutePipelineActivity is the BasicActivity implementation for UntilActivity.
87654func (ua UntilActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
87655	return nil, false
87656}
87657
87658// AsControlActivity is the BasicActivity implementation for UntilActivity.
87659func (ua UntilActivity) AsControlActivity() (*ControlActivity, bool) {
87660	return nil, false
87661}
87662
87663// AsBasicControlActivity is the BasicActivity implementation for UntilActivity.
87664func (ua UntilActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
87665	return &ua, true
87666}
87667
87668// AsActivity is the BasicActivity implementation for UntilActivity.
87669func (ua UntilActivity) AsActivity() (*Activity, bool) {
87670	return nil, false
87671}
87672
87673// AsBasicActivity is the BasicActivity implementation for UntilActivity.
87674func (ua UntilActivity) AsBasicActivity() (BasicActivity, bool) {
87675	return &ua, true
87676}
87677
87678// UnmarshalJSON is the custom unmarshaler for UntilActivity struct.
87679func (ua *UntilActivity) UnmarshalJSON(body []byte) error {
87680	var m map[string]*json.RawMessage
87681	err := json.Unmarshal(body, &m)
87682	if err != nil {
87683		return err
87684	}
87685	for k, v := range m {
87686		switch k {
87687		case "typeProperties":
87688			if v != nil {
87689				var untilActivityTypeProperties UntilActivityTypeProperties
87690				err = json.Unmarshal(*v, &untilActivityTypeProperties)
87691				if err != nil {
87692					return err
87693				}
87694				ua.UntilActivityTypeProperties = &untilActivityTypeProperties
87695			}
87696		default:
87697			if v != nil {
87698				var additionalProperties interface{}
87699				err = json.Unmarshal(*v, &additionalProperties)
87700				if err != nil {
87701					return err
87702				}
87703				if ua.AdditionalProperties == nil {
87704					ua.AdditionalProperties = make(map[string]interface{})
87705				}
87706				ua.AdditionalProperties[k] = additionalProperties
87707			}
87708		case "name":
87709			if v != nil {
87710				var name string
87711				err = json.Unmarshal(*v, &name)
87712				if err != nil {
87713					return err
87714				}
87715				ua.Name = &name
87716			}
87717		case "description":
87718			if v != nil {
87719				var description string
87720				err = json.Unmarshal(*v, &description)
87721				if err != nil {
87722					return err
87723				}
87724				ua.Description = &description
87725			}
87726		case "dependsOn":
87727			if v != nil {
87728				var dependsOn []ActivityDependency
87729				err = json.Unmarshal(*v, &dependsOn)
87730				if err != nil {
87731					return err
87732				}
87733				ua.DependsOn = &dependsOn
87734			}
87735		case "type":
87736			if v != nil {
87737				var typeVar TypeBasicActivity
87738				err = json.Unmarshal(*v, &typeVar)
87739				if err != nil {
87740					return err
87741				}
87742				ua.Type = typeVar
87743			}
87744		}
87745	}
87746
87747	return nil
87748}
87749
87750// UntilActivityTypeProperties until activity properties.
87751type UntilActivityTypeProperties struct {
87752	// Expression - An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true
87753	Expression *Expression `json:"expression,omitempty"`
87754	// 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])).
87755	Timeout interface{} `json:"timeout,omitempty"`
87756	// Activities - List of activities to execute.
87757	Activities *[]BasicActivity `json:"activities,omitempty"`
87758}
87759
87760// UnmarshalJSON is the custom unmarshaler for UntilActivityTypeProperties struct.
87761func (uatp *UntilActivityTypeProperties) UnmarshalJSON(body []byte) error {
87762	var m map[string]*json.RawMessage
87763	err := json.Unmarshal(body, &m)
87764	if err != nil {
87765		return err
87766	}
87767	for k, v := range m {
87768		switch k {
87769		case "expression":
87770			if v != nil {
87771				var expression Expression
87772				err = json.Unmarshal(*v, &expression)
87773				if err != nil {
87774					return err
87775				}
87776				uatp.Expression = &expression
87777			}
87778		case "timeout":
87779			if v != nil {
87780				var timeout interface{}
87781				err = json.Unmarshal(*v, &timeout)
87782				if err != nil {
87783					return err
87784				}
87785				uatp.Timeout = timeout
87786			}
87787		case "activities":
87788			if v != nil {
87789				activities, err := unmarshalBasicActivityArray(*v)
87790				if err != nil {
87791					return err
87792				}
87793				uatp.Activities = &activities
87794			}
87795		}
87796	}
87797
87798	return nil
87799}
87800
87801// UpdateIntegrationRuntimeNodeRequest update integration runtime node request.
87802type UpdateIntegrationRuntimeNodeRequest struct {
87803	// ConcurrentJobsLimit - The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.
87804	ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"`
87805}
87806
87807// UpdateIntegrationRuntimeRequest update integration runtime request.
87808type UpdateIntegrationRuntimeRequest struct {
87809	// 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'
87810	AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"`
87811	// 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.
87812	UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"`
87813}
87814
87815// VerticaLinkedService vertica linked service.
87816type VerticaLinkedService struct {
87817	// VerticaLinkedServiceTypeProperties - Vertica linked service properties.
87818	*VerticaLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
87819	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
87820	AdditionalProperties map[string]interface{} `json:""`
87821	// ConnectVia - The integration runtime reference.
87822	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
87823	// Description - Linked service description.
87824	Description *string `json:"description,omitempty"`
87825	// Parameters - Parameters for linked service.
87826	Parameters map[string]*ParameterSpecification `json:"parameters"`
87827	// Annotations - List of tags that can be used for describing the Dataset.
87828	Annotations *[]interface{} `json:"annotations,omitempty"`
87829	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
87830	Type TypeBasicLinkedService `json:"type,omitempty"`
87831}
87832
87833// MarshalJSON is the custom marshaler for VerticaLinkedService.
87834func (vls VerticaLinkedService) MarshalJSON() ([]byte, error) {
87835	vls.Type = TypeVertica
87836	objectMap := make(map[string]interface{})
87837	if vls.VerticaLinkedServiceTypeProperties != nil {
87838		objectMap["typeProperties"] = vls.VerticaLinkedServiceTypeProperties
87839	}
87840	if vls.ConnectVia != nil {
87841		objectMap["connectVia"] = vls.ConnectVia
87842	}
87843	if vls.Description != nil {
87844		objectMap["description"] = vls.Description
87845	}
87846	if vls.Parameters != nil {
87847		objectMap["parameters"] = vls.Parameters
87848	}
87849	if vls.Annotations != nil {
87850		objectMap["annotations"] = vls.Annotations
87851	}
87852	if vls.Type != "" {
87853		objectMap["type"] = vls.Type
87854	}
87855	for k, v := range vls.AdditionalProperties {
87856		objectMap[k] = v
87857	}
87858	return json.Marshal(objectMap)
87859}
87860
87861// AsResponsysLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87862func (vls VerticaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
87863	return nil, false
87864}
87865
87866// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87867func (vls VerticaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
87868	return nil, false
87869}
87870
87871// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87872func (vls VerticaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
87873	return nil, false
87874}
87875
87876// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87877func (vls VerticaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
87878	return nil, false
87879}
87880
87881// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87882func (vls VerticaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
87883	return nil, false
87884}
87885
87886// AsNetezzaLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87887func (vls VerticaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
87888	return nil, false
87889}
87890
87891// AsVerticaLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87892func (vls VerticaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
87893	return &vls, true
87894}
87895
87896// AsZohoLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87897func (vls VerticaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
87898	return nil, false
87899}
87900
87901// AsXeroLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87902func (vls VerticaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
87903	return nil, false
87904}
87905
87906// AsSquareLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87907func (vls VerticaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
87908	return nil, false
87909}
87910
87911// AsSparkLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87912func (vls VerticaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
87913	return nil, false
87914}
87915
87916// AsShopifyLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87917func (vls VerticaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
87918	return nil, false
87919}
87920
87921// AsServiceNowLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87922func (vls VerticaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
87923	return nil, false
87924}
87925
87926// AsQuickBooksLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87927func (vls VerticaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
87928	return nil, false
87929}
87930
87931// AsPrestoLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87932func (vls VerticaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
87933	return nil, false
87934}
87935
87936// AsPhoenixLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87937func (vls VerticaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
87938	return nil, false
87939}
87940
87941// AsPaypalLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87942func (vls VerticaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
87943	return nil, false
87944}
87945
87946// AsMarketoLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87947func (vls VerticaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
87948	return nil, false
87949}
87950
87951// AsMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87952func (vls VerticaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
87953	return nil, false
87954}
87955
87956// AsMagentoLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87957func (vls VerticaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
87958	return nil, false
87959}
87960
87961// AsJiraLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87962func (vls VerticaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
87963	return nil, false
87964}
87965
87966// AsImpalaLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87967func (vls VerticaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
87968	return nil, false
87969}
87970
87971// AsHubspotLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87972func (vls VerticaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
87973	return nil, false
87974}
87975
87976// AsHiveLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87977func (vls VerticaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
87978	return nil, false
87979}
87980
87981// AsHBaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87982func (vls VerticaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
87983	return nil, false
87984}
87985
87986// AsGreenplumLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87987func (vls VerticaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
87988	return nil, false
87989}
87990
87991// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87992func (vls VerticaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
87993	return nil, false
87994}
87995
87996// AsEloquaLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
87997func (vls VerticaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
87998	return nil, false
87999}
88000
88001// AsDrillLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88002func (vls VerticaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
88003	return nil, false
88004}
88005
88006// AsCouchbaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88007func (vls VerticaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
88008	return nil, false
88009}
88010
88011// AsConcurLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88012func (vls VerticaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
88013	return nil, false
88014}
88015
88016// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88017func (vls VerticaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
88018	return nil, false
88019}
88020
88021// AsAmazonMWSLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88022func (vls VerticaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
88023	return nil, false
88024}
88025
88026// AsSapHanaLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88027func (vls VerticaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
88028	return nil, false
88029}
88030
88031// AsSapBWLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88032func (vls VerticaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
88033	return nil, false
88034}
88035
88036// AsSftpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88037func (vls VerticaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
88038	return nil, false
88039}
88040
88041// AsFtpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88042func (vls VerticaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
88043	return nil, false
88044}
88045
88046// AsHTTPLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88047func (vls VerticaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
88048	return nil, false
88049}
88050
88051// AsAzureSearchLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88052func (vls VerticaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
88053	return nil, false
88054}
88055
88056// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88057func (vls VerticaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
88058	return nil, false
88059}
88060
88061// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88062func (vls VerticaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
88063	return nil, false
88064}
88065
88066// AsAmazonS3LinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88067func (vls VerticaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
88068	return nil, false
88069}
88070
88071// AsSapEccLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88072func (vls VerticaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
88073	return nil, false
88074}
88075
88076// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88077func (vls VerticaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
88078	return nil, false
88079}
88080
88081// AsSalesforceLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88082func (vls VerticaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
88083	return nil, false
88084}
88085
88086// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88087func (vls VerticaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
88088	return nil, false
88089}
88090
88091// AsMongoDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88092func (vls VerticaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
88093	return nil, false
88094}
88095
88096// AsCassandraLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88097func (vls VerticaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
88098	return nil, false
88099}
88100
88101// AsWebLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88102func (vls VerticaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
88103	return nil, false
88104}
88105
88106// AsODataLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88107func (vls VerticaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
88108	return nil, false
88109}
88110
88111// AsHdfsLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88112func (vls VerticaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
88113	return nil, false
88114}
88115
88116// AsOdbcLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88117func (vls VerticaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
88118	return nil, false
88119}
88120
88121// AsAzureMLLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88122func (vls VerticaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
88123	return nil, false
88124}
88125
88126// AsTeradataLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88127func (vls VerticaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
88128	return nil, false
88129}
88130
88131// AsDb2LinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88132func (vls VerticaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
88133	return nil, false
88134}
88135
88136// AsSybaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88137func (vls VerticaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
88138	return nil, false
88139}
88140
88141// AsPostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88142func (vls VerticaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
88143	return nil, false
88144}
88145
88146// AsMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88147func (vls VerticaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
88148	return nil, false
88149}
88150
88151// AsAzureMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88152func (vls VerticaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
88153	return nil, false
88154}
88155
88156// AsOracleLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88157func (vls VerticaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
88158	return nil, false
88159}
88160
88161// AsFileServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88162func (vls VerticaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
88163	return nil, false
88164}
88165
88166// AsHDInsightLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88167func (vls VerticaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
88168	return nil, false
88169}
88170
88171// AsDynamicsLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88172func (vls VerticaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
88173	return nil, false
88174}
88175
88176// AsCosmosDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88177func (vls VerticaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
88178	return nil, false
88179}
88180
88181// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88182func (vls VerticaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
88183	return nil, false
88184}
88185
88186// AsAzureBatchLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88187func (vls VerticaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
88188	return nil, false
88189}
88190
88191// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88192func (vls VerticaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
88193	return nil, false
88194}
88195
88196// AsSQLServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88197func (vls VerticaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
88198	return nil, false
88199}
88200
88201// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88202func (vls VerticaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
88203	return nil, false
88204}
88205
88206// AsAzureStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88207func (vls VerticaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
88208	return nil, false
88209}
88210
88211// AsLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88212func (vls VerticaLinkedService) AsLinkedService() (*LinkedService, bool) {
88213	return nil, false
88214}
88215
88216// AsBasicLinkedService is the BasicLinkedService implementation for VerticaLinkedService.
88217func (vls VerticaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
88218	return &vls, true
88219}
88220
88221// UnmarshalJSON is the custom unmarshaler for VerticaLinkedService struct.
88222func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error {
88223	var m map[string]*json.RawMessage
88224	err := json.Unmarshal(body, &m)
88225	if err != nil {
88226		return err
88227	}
88228	for k, v := range m {
88229		switch k {
88230		case "typeProperties":
88231			if v != nil {
88232				var verticaLinkedServiceTypeProperties VerticaLinkedServiceTypeProperties
88233				err = json.Unmarshal(*v, &verticaLinkedServiceTypeProperties)
88234				if err != nil {
88235					return err
88236				}
88237				vls.VerticaLinkedServiceTypeProperties = &verticaLinkedServiceTypeProperties
88238			}
88239		default:
88240			if v != nil {
88241				var additionalProperties interface{}
88242				err = json.Unmarshal(*v, &additionalProperties)
88243				if err != nil {
88244					return err
88245				}
88246				if vls.AdditionalProperties == nil {
88247					vls.AdditionalProperties = make(map[string]interface{})
88248				}
88249				vls.AdditionalProperties[k] = additionalProperties
88250			}
88251		case "connectVia":
88252			if v != nil {
88253				var connectVia IntegrationRuntimeReference
88254				err = json.Unmarshal(*v, &connectVia)
88255				if err != nil {
88256					return err
88257				}
88258				vls.ConnectVia = &connectVia
88259			}
88260		case "description":
88261			if v != nil {
88262				var description string
88263				err = json.Unmarshal(*v, &description)
88264				if err != nil {
88265					return err
88266				}
88267				vls.Description = &description
88268			}
88269		case "parameters":
88270			if v != nil {
88271				var parameters map[string]*ParameterSpecification
88272				err = json.Unmarshal(*v, &parameters)
88273				if err != nil {
88274					return err
88275				}
88276				vls.Parameters = parameters
88277			}
88278		case "annotations":
88279			if v != nil {
88280				var annotations []interface{}
88281				err = json.Unmarshal(*v, &annotations)
88282				if err != nil {
88283					return err
88284				}
88285				vls.Annotations = &annotations
88286			}
88287		case "type":
88288			if v != nil {
88289				var typeVar TypeBasicLinkedService
88290				err = json.Unmarshal(*v, &typeVar)
88291				if err != nil {
88292					return err
88293				}
88294				vls.Type = typeVar
88295			}
88296		}
88297	}
88298
88299	return nil
88300}
88301
88302// VerticaLinkedServiceTypeProperties vertica linked service properties.
88303type VerticaLinkedServiceTypeProperties struct {
88304	// ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
88305	ConnectionString interface{} `json:"connectionString,omitempty"`
88306	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
88307	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
88308}
88309
88310// VerticaSource a copy activity Vertica source.
88311type VerticaSource struct {
88312	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
88313	Query interface{} `json:"query,omitempty"`
88314	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
88315	AdditionalProperties map[string]interface{} `json:""`
88316	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
88317	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
88318	// 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])).
88319	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
88320	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
88321	Type TypeBasicCopySource `json:"type,omitempty"`
88322}
88323
88324// MarshalJSON is the custom marshaler for VerticaSource.
88325func (vs VerticaSource) MarshalJSON() ([]byte, error) {
88326	vs.Type = TypeVerticaSource
88327	objectMap := make(map[string]interface{})
88328	objectMap["query"] = vs.Query
88329	objectMap["sourceRetryCount"] = vs.SourceRetryCount
88330	objectMap["sourceRetryWait"] = vs.SourceRetryWait
88331	if vs.Type != "" {
88332		objectMap["type"] = vs.Type
88333	}
88334	for k, v := range vs.AdditionalProperties {
88335		objectMap[k] = v
88336	}
88337	return json.Marshal(objectMap)
88338}
88339
88340// AsAmazonRedshiftSource is the BasicCopySource implementation for VerticaSource.
88341func (vs VerticaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
88342	return nil, false
88343}
88344
88345// AsResponsysSource is the BasicCopySource implementation for VerticaSource.
88346func (vs VerticaSource) AsResponsysSource() (*ResponsysSource, bool) {
88347	return nil, false
88348}
88349
88350// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for VerticaSource.
88351func (vs VerticaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
88352	return nil, false
88353}
88354
88355// AsVerticaSource is the BasicCopySource implementation for VerticaSource.
88356func (vs VerticaSource) AsVerticaSource() (*VerticaSource, bool) {
88357	return &vs, true
88358}
88359
88360// AsNetezzaSource is the BasicCopySource implementation for VerticaSource.
88361func (vs VerticaSource) AsNetezzaSource() (*NetezzaSource, bool) {
88362	return nil, false
88363}
88364
88365// AsZohoSource is the BasicCopySource implementation for VerticaSource.
88366func (vs VerticaSource) AsZohoSource() (*ZohoSource, bool) {
88367	return nil, false
88368}
88369
88370// AsXeroSource is the BasicCopySource implementation for VerticaSource.
88371func (vs VerticaSource) AsXeroSource() (*XeroSource, bool) {
88372	return nil, false
88373}
88374
88375// AsSquareSource is the BasicCopySource implementation for VerticaSource.
88376func (vs VerticaSource) AsSquareSource() (*SquareSource, bool) {
88377	return nil, false
88378}
88379
88380// AsSparkSource is the BasicCopySource implementation for VerticaSource.
88381func (vs VerticaSource) AsSparkSource() (*SparkSource, bool) {
88382	return nil, false
88383}
88384
88385// AsShopifySource is the BasicCopySource implementation for VerticaSource.
88386func (vs VerticaSource) AsShopifySource() (*ShopifySource, bool) {
88387	return nil, false
88388}
88389
88390// AsServiceNowSource is the BasicCopySource implementation for VerticaSource.
88391func (vs VerticaSource) AsServiceNowSource() (*ServiceNowSource, bool) {
88392	return nil, false
88393}
88394
88395// AsQuickBooksSource is the BasicCopySource implementation for VerticaSource.
88396func (vs VerticaSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
88397	return nil, false
88398}
88399
88400// AsPrestoSource is the BasicCopySource implementation for VerticaSource.
88401func (vs VerticaSource) AsPrestoSource() (*PrestoSource, bool) {
88402	return nil, false
88403}
88404
88405// AsPhoenixSource is the BasicCopySource implementation for VerticaSource.
88406func (vs VerticaSource) AsPhoenixSource() (*PhoenixSource, bool) {
88407	return nil, false
88408}
88409
88410// AsPaypalSource is the BasicCopySource implementation for VerticaSource.
88411func (vs VerticaSource) AsPaypalSource() (*PaypalSource, bool) {
88412	return nil, false
88413}
88414
88415// AsMarketoSource is the BasicCopySource implementation for VerticaSource.
88416func (vs VerticaSource) AsMarketoSource() (*MarketoSource, bool) {
88417	return nil, false
88418}
88419
88420// AsMariaDBSource is the BasicCopySource implementation for VerticaSource.
88421func (vs VerticaSource) AsMariaDBSource() (*MariaDBSource, bool) {
88422	return nil, false
88423}
88424
88425// AsMagentoSource is the BasicCopySource implementation for VerticaSource.
88426func (vs VerticaSource) AsMagentoSource() (*MagentoSource, bool) {
88427	return nil, false
88428}
88429
88430// AsJiraSource is the BasicCopySource implementation for VerticaSource.
88431func (vs VerticaSource) AsJiraSource() (*JiraSource, bool) {
88432	return nil, false
88433}
88434
88435// AsImpalaSource is the BasicCopySource implementation for VerticaSource.
88436func (vs VerticaSource) AsImpalaSource() (*ImpalaSource, bool) {
88437	return nil, false
88438}
88439
88440// AsHubspotSource is the BasicCopySource implementation for VerticaSource.
88441func (vs VerticaSource) AsHubspotSource() (*HubspotSource, bool) {
88442	return nil, false
88443}
88444
88445// AsHiveSource is the BasicCopySource implementation for VerticaSource.
88446func (vs VerticaSource) AsHiveSource() (*HiveSource, bool) {
88447	return nil, false
88448}
88449
88450// AsHBaseSource is the BasicCopySource implementation for VerticaSource.
88451func (vs VerticaSource) AsHBaseSource() (*HBaseSource, bool) {
88452	return nil, false
88453}
88454
88455// AsGreenplumSource is the BasicCopySource implementation for VerticaSource.
88456func (vs VerticaSource) AsGreenplumSource() (*GreenplumSource, bool) {
88457	return nil, false
88458}
88459
88460// AsGoogleBigQuerySource is the BasicCopySource implementation for VerticaSource.
88461func (vs VerticaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
88462	return nil, false
88463}
88464
88465// AsEloquaSource is the BasicCopySource implementation for VerticaSource.
88466func (vs VerticaSource) AsEloquaSource() (*EloquaSource, bool) {
88467	return nil, false
88468}
88469
88470// AsDrillSource is the BasicCopySource implementation for VerticaSource.
88471func (vs VerticaSource) AsDrillSource() (*DrillSource, bool) {
88472	return nil, false
88473}
88474
88475// AsCouchbaseSource is the BasicCopySource implementation for VerticaSource.
88476func (vs VerticaSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
88477	return nil, false
88478}
88479
88480// AsConcurSource is the BasicCopySource implementation for VerticaSource.
88481func (vs VerticaSource) AsConcurSource() (*ConcurSource, bool) {
88482	return nil, false
88483}
88484
88485// AsAzurePostgreSQLSource is the BasicCopySource implementation for VerticaSource.
88486func (vs VerticaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
88487	return nil, false
88488}
88489
88490// AsAmazonMWSSource is the BasicCopySource implementation for VerticaSource.
88491func (vs VerticaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
88492	return nil, false
88493}
88494
88495// AsHTTPSource is the BasicCopySource implementation for VerticaSource.
88496func (vs VerticaSource) AsHTTPSource() (*HTTPSource, bool) {
88497	return nil, false
88498}
88499
88500// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource.
88501func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
88502	return nil, false
88503}
88504
88505// AsMongoDbSource is the BasicCopySource implementation for VerticaSource.
88506func (vs VerticaSource) AsMongoDbSource() (*MongoDbSource, bool) {
88507	return nil, false
88508}
88509
88510// AsCassandraSource is the BasicCopySource implementation for VerticaSource.
88511func (vs VerticaSource) AsCassandraSource() (*CassandraSource, bool) {
88512	return nil, false
88513}
88514
88515// AsWebSource is the BasicCopySource implementation for VerticaSource.
88516func (vs VerticaSource) AsWebSource() (*WebSource, bool) {
88517	return nil, false
88518}
88519
88520// AsOracleSource is the BasicCopySource implementation for VerticaSource.
88521func (vs VerticaSource) AsOracleSource() (*OracleSource, bool) {
88522	return nil, false
88523}
88524
88525// AsAzureMySQLSource is the BasicCopySource implementation for VerticaSource.
88526func (vs VerticaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
88527	return nil, false
88528}
88529
88530// AsHdfsSource is the BasicCopySource implementation for VerticaSource.
88531func (vs VerticaSource) AsHdfsSource() (*HdfsSource, bool) {
88532	return nil, false
88533}
88534
88535// AsFileSystemSource is the BasicCopySource implementation for VerticaSource.
88536func (vs VerticaSource) AsFileSystemSource() (*FileSystemSource, bool) {
88537	return nil, false
88538}
88539
88540// AsSQLDWSource is the BasicCopySource implementation for VerticaSource.
88541func (vs VerticaSource) AsSQLDWSource() (*SQLDWSource, bool) {
88542	return nil, false
88543}
88544
88545// AsSQLSource is the BasicCopySource implementation for VerticaSource.
88546func (vs VerticaSource) AsSQLSource() (*SQLSource, bool) {
88547	return nil, false
88548}
88549
88550// AsSapEccSource is the BasicCopySource implementation for VerticaSource.
88551func (vs VerticaSource) AsSapEccSource() (*SapEccSource, bool) {
88552	return nil, false
88553}
88554
88555// AsSapCloudForCustomerSource is the BasicCopySource implementation for VerticaSource.
88556func (vs VerticaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
88557	return nil, false
88558}
88559
88560// AsSalesforceSource is the BasicCopySource implementation for VerticaSource.
88561func (vs VerticaSource) AsSalesforceSource() (*SalesforceSource, bool) {
88562	return nil, false
88563}
88564
88565// AsRelationalSource is the BasicCopySource implementation for VerticaSource.
88566func (vs VerticaSource) AsRelationalSource() (*RelationalSource, bool) {
88567	return nil, false
88568}
88569
88570// AsDynamicsSource is the BasicCopySource implementation for VerticaSource.
88571func (vs VerticaSource) AsDynamicsSource() (*DynamicsSource, bool) {
88572	return nil, false
88573}
88574
88575// AsDocumentDbCollectionSource is the BasicCopySource implementation for VerticaSource.
88576func (vs VerticaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
88577	return nil, false
88578}
88579
88580// AsBlobSource is the BasicCopySource implementation for VerticaSource.
88581func (vs VerticaSource) AsBlobSource() (*BlobSource, bool) {
88582	return nil, false
88583}
88584
88585// AsAzureTableSource is the BasicCopySource implementation for VerticaSource.
88586func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) {
88587	return nil, false
88588}
88589
88590// AsCopySource is the BasicCopySource implementation for VerticaSource.
88591func (vs VerticaSource) AsCopySource() (*CopySource, bool) {
88592	return nil, false
88593}
88594
88595// AsBasicCopySource is the BasicCopySource implementation for VerticaSource.
88596func (vs VerticaSource) AsBasicCopySource() (BasicCopySource, bool) {
88597	return &vs, true
88598}
88599
88600// VerticaTableDataset vertica dataset.
88601type VerticaTableDataset struct {
88602	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
88603	AdditionalProperties map[string]interface{} `json:""`
88604	// Description - Dataset description.
88605	Description *string `json:"description,omitempty"`
88606	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
88607	Structure interface{} `json:"structure,omitempty"`
88608	// LinkedServiceName - Linked service reference.
88609	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
88610	// Parameters - Parameters for dataset.
88611	Parameters map[string]*ParameterSpecification `json:"parameters"`
88612	// Annotations - List of tags that can be used for describing the Dataset.
88613	Annotations *[]interface{} `json:"annotations,omitempty"`
88614	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
88615	Type TypeBasicDataset `json:"type,omitempty"`
88616}
88617
88618// MarshalJSON is the custom marshaler for VerticaTableDataset.
88619func (vtd VerticaTableDataset) MarshalJSON() ([]byte, error) {
88620	vtd.Type = TypeVerticaTable
88621	objectMap := make(map[string]interface{})
88622	if vtd.Description != nil {
88623		objectMap["description"] = vtd.Description
88624	}
88625	objectMap["structure"] = vtd.Structure
88626	if vtd.LinkedServiceName != nil {
88627		objectMap["linkedServiceName"] = vtd.LinkedServiceName
88628	}
88629	if vtd.Parameters != nil {
88630		objectMap["parameters"] = vtd.Parameters
88631	}
88632	if vtd.Annotations != nil {
88633		objectMap["annotations"] = vtd.Annotations
88634	}
88635	if vtd.Type != "" {
88636		objectMap["type"] = vtd.Type
88637	}
88638	for k, v := range vtd.AdditionalProperties {
88639		objectMap[k] = v
88640	}
88641	return json.Marshal(objectMap)
88642}
88643
88644// AsResponsysObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88645func (vtd VerticaTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
88646	return nil, false
88647}
88648
88649// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88650func (vtd VerticaTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
88651	return nil, false
88652}
88653
88654// AsVerticaTableDataset is the BasicDataset implementation for VerticaTableDataset.
88655func (vtd VerticaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
88656	return &vtd, true
88657}
88658
88659// AsNetezzaTableDataset is the BasicDataset implementation for VerticaTableDataset.
88660func (vtd VerticaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
88661	return nil, false
88662}
88663
88664// AsZohoObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88665func (vtd VerticaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
88666	return nil, false
88667}
88668
88669// AsXeroObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88670func (vtd VerticaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
88671	return nil, false
88672}
88673
88674// AsSquareObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88675func (vtd VerticaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
88676	return nil, false
88677}
88678
88679// AsSparkObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88680func (vtd VerticaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
88681	return nil, false
88682}
88683
88684// AsShopifyObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88685func (vtd VerticaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
88686	return nil, false
88687}
88688
88689// AsServiceNowObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88690func (vtd VerticaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
88691	return nil, false
88692}
88693
88694// AsQuickBooksObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88695func (vtd VerticaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
88696	return nil, false
88697}
88698
88699// AsPrestoObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88700func (vtd VerticaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
88701	return nil, false
88702}
88703
88704// AsPhoenixObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88705func (vtd VerticaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
88706	return nil, false
88707}
88708
88709// AsPaypalObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88710func (vtd VerticaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
88711	return nil, false
88712}
88713
88714// AsMarketoObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88715func (vtd VerticaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
88716	return nil, false
88717}
88718
88719// AsMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset.
88720func (vtd VerticaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
88721	return nil, false
88722}
88723
88724// AsMagentoObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88725func (vtd VerticaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
88726	return nil, false
88727}
88728
88729// AsJiraObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88730func (vtd VerticaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
88731	return nil, false
88732}
88733
88734// AsImpalaObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88735func (vtd VerticaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
88736	return nil, false
88737}
88738
88739// AsHubspotObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88740func (vtd VerticaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
88741	return nil, false
88742}
88743
88744// AsHiveObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88745func (vtd VerticaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
88746	return nil, false
88747}
88748
88749// AsHBaseObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88750func (vtd VerticaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
88751	return nil, false
88752}
88753
88754// AsGreenplumTableDataset is the BasicDataset implementation for VerticaTableDataset.
88755func (vtd VerticaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
88756	return nil, false
88757}
88758
88759// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88760func (vtd VerticaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
88761	return nil, false
88762}
88763
88764// AsEloquaObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88765func (vtd VerticaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
88766	return nil, false
88767}
88768
88769// AsDrillTableDataset is the BasicDataset implementation for VerticaTableDataset.
88770func (vtd VerticaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
88771	return nil, false
88772}
88773
88774// AsCouchbaseTableDataset is the BasicDataset implementation for VerticaTableDataset.
88775func (vtd VerticaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
88776	return nil, false
88777}
88778
88779// AsConcurObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88780func (vtd VerticaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
88781	return nil, false
88782}
88783
88784// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset.
88785func (vtd VerticaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
88786	return nil, false
88787}
88788
88789// AsAmazonMWSObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88790func (vtd VerticaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
88791	return nil, false
88792}
88793
88794// AsHTTPDataset is the BasicDataset implementation for VerticaTableDataset.
88795func (vtd VerticaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
88796	return nil, false
88797}
88798
88799// AsAzureSearchIndexDataset is the BasicDataset implementation for VerticaTableDataset.
88800func (vtd VerticaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
88801	return nil, false
88802}
88803
88804// AsWebTableDataset is the BasicDataset implementation for VerticaTableDataset.
88805func (vtd VerticaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
88806	return nil, false
88807}
88808
88809// AsSQLServerTableDataset is the BasicDataset implementation for VerticaTableDataset.
88810func (vtd VerticaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
88811	return nil, false
88812}
88813
88814// AsSapEccResourceDataset is the BasicDataset implementation for VerticaTableDataset.
88815func (vtd VerticaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
88816	return nil, false
88817}
88818
88819// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for VerticaTableDataset.
88820func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
88821	return nil, false
88822}
88823
88824// AsSalesforceObjectDataset is the BasicDataset implementation for VerticaTableDataset.
88825func (vtd VerticaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
88826	return nil, false
88827}
88828
88829// AsRelationalTableDataset is the BasicDataset implementation for VerticaTableDataset.
88830func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
88831	return nil, false
88832}
88833
88834// AsAzureMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset.
88835func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
88836	return nil, false
88837}
88838
88839// AsOracleTableDataset is the BasicDataset implementation for VerticaTableDataset.
88840func (vtd VerticaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
88841	return nil, false
88842}
88843
88844// AsODataResourceDataset is the BasicDataset implementation for VerticaTableDataset.
88845func (vtd VerticaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
88846	return nil, false
88847}
88848
88849// AsMongoDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset.
88850func (vtd VerticaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
88851	return nil, false
88852}
88853
88854// AsFileShareDataset is the BasicDataset implementation for VerticaTableDataset.
88855func (vtd VerticaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
88856	return nil, false
88857}
88858
88859// AsAzureDataLakeStoreDataset is the BasicDataset implementation for VerticaTableDataset.
88860func (vtd VerticaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
88861	return nil, false
88862}
88863
88864// AsDynamicsEntityDataset is the BasicDataset implementation for VerticaTableDataset.
88865func (vtd VerticaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
88866	return nil, false
88867}
88868
88869// AsDocumentDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset.
88870func (vtd VerticaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
88871	return nil, false
88872}
88873
88874// AsCustomDataset is the BasicDataset implementation for VerticaTableDataset.
88875func (vtd VerticaTableDataset) AsCustomDataset() (*CustomDataset, bool) {
88876	return nil, false
88877}
88878
88879// AsCassandraTableDataset is the BasicDataset implementation for VerticaTableDataset.
88880func (vtd VerticaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
88881	return nil, false
88882}
88883
88884// AsAzureSQLDWTableDataset is the BasicDataset implementation for VerticaTableDataset.
88885func (vtd VerticaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
88886	return nil, false
88887}
88888
88889// AsAzureSQLTableDataset is the BasicDataset implementation for VerticaTableDataset.
88890func (vtd VerticaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
88891	return nil, false
88892}
88893
88894// AsAzureTableDataset is the BasicDataset implementation for VerticaTableDataset.
88895func (vtd VerticaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
88896	return nil, false
88897}
88898
88899// AsAzureBlobDataset is the BasicDataset implementation for VerticaTableDataset.
88900func (vtd VerticaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
88901	return nil, false
88902}
88903
88904// AsAmazonS3Dataset is the BasicDataset implementation for VerticaTableDataset.
88905func (vtd VerticaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
88906	return nil, false
88907}
88908
88909// AsDataset is the BasicDataset implementation for VerticaTableDataset.
88910func (vtd VerticaTableDataset) AsDataset() (*Dataset, bool) {
88911	return nil, false
88912}
88913
88914// AsBasicDataset is the BasicDataset implementation for VerticaTableDataset.
88915func (vtd VerticaTableDataset) AsBasicDataset() (BasicDataset, bool) {
88916	return &vtd, true
88917}
88918
88919// WaitActivity this activity suspends pipeline execution for the specified interval.
88920type WaitActivity struct {
88921	// WaitActivityTypeProperties - Wait activity properties.
88922	*WaitActivityTypeProperties `json:"typeProperties,omitempty"`
88923	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
88924	AdditionalProperties map[string]interface{} `json:""`
88925	// Name - Activity name.
88926	Name *string `json:"name,omitempty"`
88927	// Description - Activity description.
88928	Description *string `json:"description,omitempty"`
88929	// DependsOn - Activity depends on condition.
88930	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
88931	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
88932	Type TypeBasicActivity `json:"type,omitempty"`
88933}
88934
88935// MarshalJSON is the custom marshaler for WaitActivity.
88936func (wa WaitActivity) MarshalJSON() ([]byte, error) {
88937	wa.Type = TypeWait
88938	objectMap := make(map[string]interface{})
88939	if wa.WaitActivityTypeProperties != nil {
88940		objectMap["typeProperties"] = wa.WaitActivityTypeProperties
88941	}
88942	if wa.Name != nil {
88943		objectMap["name"] = wa.Name
88944	}
88945	if wa.Description != nil {
88946		objectMap["description"] = wa.Description
88947	}
88948	if wa.DependsOn != nil {
88949		objectMap["dependsOn"] = wa.DependsOn
88950	}
88951	if wa.Type != "" {
88952		objectMap["type"] = wa.Type
88953	}
88954	for k, v := range wa.AdditionalProperties {
88955		objectMap[k] = v
88956	}
88957	return json.Marshal(objectMap)
88958}
88959
88960// AsDatabricksNotebookActivity is the BasicActivity implementation for WaitActivity.
88961func (wa WaitActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
88962	return nil, false
88963}
88964
88965// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WaitActivity.
88966func (wa WaitActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
88967	return nil, false
88968}
88969
88970// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WaitActivity.
88971func (wa WaitActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
88972	return nil, false
88973}
88974
88975// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WaitActivity.
88976func (wa WaitActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
88977	return nil, false
88978}
88979
88980// AsGetMetadataActivity is the BasicActivity implementation for WaitActivity.
88981func (wa WaitActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
88982	return nil, false
88983}
88984
88985// AsWebActivity is the BasicActivity implementation for WaitActivity.
88986func (wa WaitActivity) AsWebActivity() (*WebActivity, bool) {
88987	return nil, false
88988}
88989
88990// AsLookupActivity is the BasicActivity implementation for WaitActivity.
88991func (wa WaitActivity) AsLookupActivity() (*LookupActivity, bool) {
88992	return nil, false
88993}
88994
88995// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WaitActivity.
88996func (wa WaitActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
88997	return nil, false
88998}
88999
89000// AsCustomActivity is the BasicActivity implementation for WaitActivity.
89001func (wa WaitActivity) AsCustomActivity() (*CustomActivity, bool) {
89002	return nil, false
89003}
89004
89005// AsExecuteSSISPackageActivity is the BasicActivity implementation for WaitActivity.
89006func (wa WaitActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
89007	return nil, false
89008}
89009
89010// AsHDInsightSparkActivity is the BasicActivity implementation for WaitActivity.
89011func (wa WaitActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
89012	return nil, false
89013}
89014
89015// AsHDInsightStreamingActivity is the BasicActivity implementation for WaitActivity.
89016func (wa WaitActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
89017	return nil, false
89018}
89019
89020// AsHDInsightMapReduceActivity is the BasicActivity implementation for WaitActivity.
89021func (wa WaitActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
89022	return nil, false
89023}
89024
89025// AsHDInsightPigActivity is the BasicActivity implementation for WaitActivity.
89026func (wa WaitActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
89027	return nil, false
89028}
89029
89030// AsHDInsightHiveActivity is the BasicActivity implementation for WaitActivity.
89031func (wa WaitActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
89032	return nil, false
89033}
89034
89035// AsCopyActivity is the BasicActivity implementation for WaitActivity.
89036func (wa WaitActivity) AsCopyActivity() (*CopyActivity, bool) {
89037	return nil, false
89038}
89039
89040// AsExecutionActivity is the BasicActivity implementation for WaitActivity.
89041func (wa WaitActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
89042	return nil, false
89043}
89044
89045// AsBasicExecutionActivity is the BasicActivity implementation for WaitActivity.
89046func (wa WaitActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
89047	return nil, false
89048}
89049
89050// AsFilterActivity is the BasicActivity implementation for WaitActivity.
89051func (wa WaitActivity) AsFilterActivity() (*FilterActivity, bool) {
89052	return nil, false
89053}
89054
89055// AsUntilActivity is the BasicActivity implementation for WaitActivity.
89056func (wa WaitActivity) AsUntilActivity() (*UntilActivity, bool) {
89057	return nil, false
89058}
89059
89060// AsWaitActivity is the BasicActivity implementation for WaitActivity.
89061func (wa WaitActivity) AsWaitActivity() (*WaitActivity, bool) {
89062	return &wa, true
89063}
89064
89065// AsForEachActivity is the BasicActivity implementation for WaitActivity.
89066func (wa WaitActivity) AsForEachActivity() (*ForEachActivity, bool) {
89067	return nil, false
89068}
89069
89070// AsIfConditionActivity is the BasicActivity implementation for WaitActivity.
89071func (wa WaitActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
89072	return nil, false
89073}
89074
89075// AsExecutePipelineActivity is the BasicActivity implementation for WaitActivity.
89076func (wa WaitActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
89077	return nil, false
89078}
89079
89080// AsControlActivity is the BasicActivity implementation for WaitActivity.
89081func (wa WaitActivity) AsControlActivity() (*ControlActivity, bool) {
89082	return nil, false
89083}
89084
89085// AsBasicControlActivity is the BasicActivity implementation for WaitActivity.
89086func (wa WaitActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
89087	return &wa, true
89088}
89089
89090// AsActivity is the BasicActivity implementation for WaitActivity.
89091func (wa WaitActivity) AsActivity() (*Activity, bool) {
89092	return nil, false
89093}
89094
89095// AsBasicActivity is the BasicActivity implementation for WaitActivity.
89096func (wa WaitActivity) AsBasicActivity() (BasicActivity, bool) {
89097	return &wa, true
89098}
89099
89100// UnmarshalJSON is the custom unmarshaler for WaitActivity struct.
89101func (wa *WaitActivity) UnmarshalJSON(body []byte) error {
89102	var m map[string]*json.RawMessage
89103	err := json.Unmarshal(body, &m)
89104	if err != nil {
89105		return err
89106	}
89107	for k, v := range m {
89108		switch k {
89109		case "typeProperties":
89110			if v != nil {
89111				var waitActivityTypeProperties WaitActivityTypeProperties
89112				err = json.Unmarshal(*v, &waitActivityTypeProperties)
89113				if err != nil {
89114					return err
89115				}
89116				wa.WaitActivityTypeProperties = &waitActivityTypeProperties
89117			}
89118		default:
89119			if v != nil {
89120				var additionalProperties interface{}
89121				err = json.Unmarshal(*v, &additionalProperties)
89122				if err != nil {
89123					return err
89124				}
89125				if wa.AdditionalProperties == nil {
89126					wa.AdditionalProperties = make(map[string]interface{})
89127				}
89128				wa.AdditionalProperties[k] = additionalProperties
89129			}
89130		case "name":
89131			if v != nil {
89132				var name string
89133				err = json.Unmarshal(*v, &name)
89134				if err != nil {
89135					return err
89136				}
89137				wa.Name = &name
89138			}
89139		case "description":
89140			if v != nil {
89141				var description string
89142				err = json.Unmarshal(*v, &description)
89143				if err != nil {
89144					return err
89145				}
89146				wa.Description = &description
89147			}
89148		case "dependsOn":
89149			if v != nil {
89150				var dependsOn []ActivityDependency
89151				err = json.Unmarshal(*v, &dependsOn)
89152				if err != nil {
89153					return err
89154				}
89155				wa.DependsOn = &dependsOn
89156			}
89157		case "type":
89158			if v != nil {
89159				var typeVar TypeBasicActivity
89160				err = json.Unmarshal(*v, &typeVar)
89161				if err != nil {
89162					return err
89163				}
89164				wa.Type = typeVar
89165			}
89166		}
89167	}
89168
89169	return nil
89170}
89171
89172// WaitActivityTypeProperties wait activity properties.
89173type WaitActivityTypeProperties struct {
89174	// WaitTimeInSeconds - Duration in seconds.
89175	WaitTimeInSeconds *int32 `json:"waitTimeInSeconds,omitempty"`
89176}
89177
89178// WebActivity web activity.
89179type WebActivity struct {
89180	// WebActivityTypeProperties - Web activity properties.
89181	*WebActivityTypeProperties `json:"typeProperties,omitempty"`
89182	// LinkedServiceName - Linked service reference.
89183	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
89184	// Policy - Activity policy.
89185	Policy *ActivityPolicy `json:"policy,omitempty"`
89186	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
89187	AdditionalProperties map[string]interface{} `json:""`
89188	// Name - Activity name.
89189	Name *string `json:"name,omitempty"`
89190	// Description - Activity description.
89191	Description *string `json:"description,omitempty"`
89192	// DependsOn - Activity depends on condition.
89193	DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"`
89194	// Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer'
89195	Type TypeBasicActivity `json:"type,omitempty"`
89196}
89197
89198// MarshalJSON is the custom marshaler for WebActivity.
89199func (wa WebActivity) MarshalJSON() ([]byte, error) {
89200	wa.Type = TypeWebActivity
89201	objectMap := make(map[string]interface{})
89202	if wa.WebActivityTypeProperties != nil {
89203		objectMap["typeProperties"] = wa.WebActivityTypeProperties
89204	}
89205	if wa.LinkedServiceName != nil {
89206		objectMap["linkedServiceName"] = wa.LinkedServiceName
89207	}
89208	if wa.Policy != nil {
89209		objectMap["policy"] = wa.Policy
89210	}
89211	if wa.Name != nil {
89212		objectMap["name"] = wa.Name
89213	}
89214	if wa.Description != nil {
89215		objectMap["description"] = wa.Description
89216	}
89217	if wa.DependsOn != nil {
89218		objectMap["dependsOn"] = wa.DependsOn
89219	}
89220	if wa.Type != "" {
89221		objectMap["type"] = wa.Type
89222	}
89223	for k, v := range wa.AdditionalProperties {
89224		objectMap[k] = v
89225	}
89226	return json.Marshal(objectMap)
89227}
89228
89229// AsDatabricksNotebookActivity is the BasicActivity implementation for WebActivity.
89230func (wa WebActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) {
89231	return nil, false
89232}
89233
89234// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebActivity.
89235func (wa WebActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) {
89236	return nil, false
89237}
89238
89239// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for WebActivity.
89240func (wa WebActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) {
89241	return nil, false
89242}
89243
89244// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for WebActivity.
89245func (wa WebActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) {
89246	return nil, false
89247}
89248
89249// AsGetMetadataActivity is the BasicActivity implementation for WebActivity.
89250func (wa WebActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) {
89251	return nil, false
89252}
89253
89254// AsWebActivity is the BasicActivity implementation for WebActivity.
89255func (wa WebActivity) AsWebActivity() (*WebActivity, bool) {
89256	return &wa, true
89257}
89258
89259// AsLookupActivity is the BasicActivity implementation for WebActivity.
89260func (wa WebActivity) AsLookupActivity() (*LookupActivity, bool) {
89261	return nil, false
89262}
89263
89264// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for WebActivity.
89265func (wa WebActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) {
89266	return nil, false
89267}
89268
89269// AsCustomActivity is the BasicActivity implementation for WebActivity.
89270func (wa WebActivity) AsCustomActivity() (*CustomActivity, bool) {
89271	return nil, false
89272}
89273
89274// AsExecuteSSISPackageActivity is the BasicActivity implementation for WebActivity.
89275func (wa WebActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) {
89276	return nil, false
89277}
89278
89279// AsHDInsightSparkActivity is the BasicActivity implementation for WebActivity.
89280func (wa WebActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) {
89281	return nil, false
89282}
89283
89284// AsHDInsightStreamingActivity is the BasicActivity implementation for WebActivity.
89285func (wa WebActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) {
89286	return nil, false
89287}
89288
89289// AsHDInsightMapReduceActivity is the BasicActivity implementation for WebActivity.
89290func (wa WebActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) {
89291	return nil, false
89292}
89293
89294// AsHDInsightPigActivity is the BasicActivity implementation for WebActivity.
89295func (wa WebActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) {
89296	return nil, false
89297}
89298
89299// AsHDInsightHiveActivity is the BasicActivity implementation for WebActivity.
89300func (wa WebActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) {
89301	return nil, false
89302}
89303
89304// AsCopyActivity is the BasicActivity implementation for WebActivity.
89305func (wa WebActivity) AsCopyActivity() (*CopyActivity, bool) {
89306	return nil, false
89307}
89308
89309// AsExecutionActivity is the BasicActivity implementation for WebActivity.
89310func (wa WebActivity) AsExecutionActivity() (*ExecutionActivity, bool) {
89311	return nil, false
89312}
89313
89314// AsBasicExecutionActivity is the BasicActivity implementation for WebActivity.
89315func (wa WebActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) {
89316	return &wa, true
89317}
89318
89319// AsFilterActivity is the BasicActivity implementation for WebActivity.
89320func (wa WebActivity) AsFilterActivity() (*FilterActivity, bool) {
89321	return nil, false
89322}
89323
89324// AsUntilActivity is the BasicActivity implementation for WebActivity.
89325func (wa WebActivity) AsUntilActivity() (*UntilActivity, bool) {
89326	return nil, false
89327}
89328
89329// AsWaitActivity is the BasicActivity implementation for WebActivity.
89330func (wa WebActivity) AsWaitActivity() (*WaitActivity, bool) {
89331	return nil, false
89332}
89333
89334// AsForEachActivity is the BasicActivity implementation for WebActivity.
89335func (wa WebActivity) AsForEachActivity() (*ForEachActivity, bool) {
89336	return nil, false
89337}
89338
89339// AsIfConditionActivity is the BasicActivity implementation for WebActivity.
89340func (wa WebActivity) AsIfConditionActivity() (*IfConditionActivity, bool) {
89341	return nil, false
89342}
89343
89344// AsExecutePipelineActivity is the BasicActivity implementation for WebActivity.
89345func (wa WebActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) {
89346	return nil, false
89347}
89348
89349// AsControlActivity is the BasicActivity implementation for WebActivity.
89350func (wa WebActivity) AsControlActivity() (*ControlActivity, bool) {
89351	return nil, false
89352}
89353
89354// AsBasicControlActivity is the BasicActivity implementation for WebActivity.
89355func (wa WebActivity) AsBasicControlActivity() (BasicControlActivity, bool) {
89356	return nil, false
89357}
89358
89359// AsActivity is the BasicActivity implementation for WebActivity.
89360func (wa WebActivity) AsActivity() (*Activity, bool) {
89361	return nil, false
89362}
89363
89364// AsBasicActivity is the BasicActivity implementation for WebActivity.
89365func (wa WebActivity) AsBasicActivity() (BasicActivity, bool) {
89366	return &wa, true
89367}
89368
89369// UnmarshalJSON is the custom unmarshaler for WebActivity struct.
89370func (wa *WebActivity) UnmarshalJSON(body []byte) error {
89371	var m map[string]*json.RawMessage
89372	err := json.Unmarshal(body, &m)
89373	if err != nil {
89374		return err
89375	}
89376	for k, v := range m {
89377		switch k {
89378		case "typeProperties":
89379			if v != nil {
89380				var webActivityTypeProperties WebActivityTypeProperties
89381				err = json.Unmarshal(*v, &webActivityTypeProperties)
89382				if err != nil {
89383					return err
89384				}
89385				wa.WebActivityTypeProperties = &webActivityTypeProperties
89386			}
89387		case "linkedServiceName":
89388			if v != nil {
89389				var linkedServiceName LinkedServiceReference
89390				err = json.Unmarshal(*v, &linkedServiceName)
89391				if err != nil {
89392					return err
89393				}
89394				wa.LinkedServiceName = &linkedServiceName
89395			}
89396		case "policy":
89397			if v != nil {
89398				var policy ActivityPolicy
89399				err = json.Unmarshal(*v, &policy)
89400				if err != nil {
89401					return err
89402				}
89403				wa.Policy = &policy
89404			}
89405		default:
89406			if v != nil {
89407				var additionalProperties interface{}
89408				err = json.Unmarshal(*v, &additionalProperties)
89409				if err != nil {
89410					return err
89411				}
89412				if wa.AdditionalProperties == nil {
89413					wa.AdditionalProperties = make(map[string]interface{})
89414				}
89415				wa.AdditionalProperties[k] = additionalProperties
89416			}
89417		case "name":
89418			if v != nil {
89419				var name string
89420				err = json.Unmarshal(*v, &name)
89421				if err != nil {
89422					return err
89423				}
89424				wa.Name = &name
89425			}
89426		case "description":
89427			if v != nil {
89428				var description string
89429				err = json.Unmarshal(*v, &description)
89430				if err != nil {
89431					return err
89432				}
89433				wa.Description = &description
89434			}
89435		case "dependsOn":
89436			if v != nil {
89437				var dependsOn []ActivityDependency
89438				err = json.Unmarshal(*v, &dependsOn)
89439				if err != nil {
89440					return err
89441				}
89442				wa.DependsOn = &dependsOn
89443			}
89444		case "type":
89445			if v != nil {
89446				var typeVar TypeBasicActivity
89447				err = json.Unmarshal(*v, &typeVar)
89448				if err != nil {
89449					return err
89450				}
89451				wa.Type = typeVar
89452			}
89453		}
89454	}
89455
89456	return nil
89457}
89458
89459// WebActivityAuthentication web activity authentication properties.
89460type WebActivityAuthentication struct {
89461	// Type - Web activity authentication (Basic/ClientCertificate/MSI)
89462	Type *string `json:"type,omitempty"`
89463	// Pfx - Base64-encoded contents of a PFX file.
89464	Pfx *SecureString `json:"pfx,omitempty"`
89465	// Username - Web activity authentication user name for basic authentication.
89466	Username *string `json:"username,omitempty"`
89467	// Password - Password for the PFX file or basic authentication.
89468	Password *SecureString `json:"password,omitempty"`
89469	// Resource - Resource for which Azure Auth token will be requested when using MSI Authentication.
89470	Resource *string `json:"resource,omitempty"`
89471}
89472
89473// WebActivityTypeProperties web activity type properties.
89474type WebActivityTypeProperties struct {
89475	// Method - Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE'
89476	Method WebActivityMethod `json:"method,omitempty"`
89477	// URL - Web activity target endpoint and path. Type: string (or Expression with resultType string).
89478	URL interface{} `json:"url,omitempty"`
89479	// 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).
89480	Headers interface{} `json:"headers,omitempty"`
89481	// 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).
89482	Body interface{} `json:"body,omitempty"`
89483	// Authentication - Authentication method used for calling the endpoint.
89484	Authentication *WebActivityAuthentication `json:"authentication,omitempty"`
89485	// Datasets - List of datasets passed to web endpoint.
89486	Datasets *[]DatasetReference `json:"datasets,omitempty"`
89487	// LinkedServices - List of linked services passed to web endpoint.
89488	LinkedServices *[]LinkedServiceReference `json:"linkedServices,omitempty"`
89489}
89490
89491// WebAnonymousAuthentication a WebLinkedService that uses anonymous authentication to communicate with an HTTP
89492// endpoint.
89493type WebAnonymousAuthentication struct {
89494	// URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).
89495	URL interface{} `json:"url,omitempty"`
89496	// AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous'
89497	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
89498}
89499
89500// MarshalJSON is the custom marshaler for WebAnonymousAuthentication.
89501func (waa WebAnonymousAuthentication) MarshalJSON() ([]byte, error) {
89502	waa.AuthenticationType = AuthenticationTypeAnonymous
89503	objectMap := make(map[string]interface{})
89504	objectMap["url"] = waa.URL
89505	if waa.AuthenticationType != "" {
89506		objectMap["authenticationType"] = waa.AuthenticationType
89507	}
89508	return json.Marshal(objectMap)
89509}
89510
89511// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication.
89512func (waa WebAnonymousAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) {
89513	return nil, false
89514}
89515
89516// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication.
89517func (waa WebAnonymousAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) {
89518	return nil, false
89519}
89520
89521// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication.
89522func (waa WebAnonymousAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) {
89523	return &waa, true
89524}
89525
89526// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication.
89527func (waa WebAnonymousAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) {
89528	return nil, false
89529}
89530
89531// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebAnonymousAuthentication.
89532func (waa WebAnonymousAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) {
89533	return &waa, true
89534}
89535
89536// WebBasicAuthentication a WebLinkedService that uses basic authentication to communicate with an HTTP endpoint.
89537type WebBasicAuthentication struct {
89538	// Username - User name for Basic authentication. Type: string (or Expression with resultType string).
89539	Username interface{} `json:"username,omitempty"`
89540	// Password - The password for Basic authentication.
89541	Password BasicSecretBase `json:"password,omitempty"`
89542	// URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).
89543	URL interface{} `json:"url,omitempty"`
89544	// AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous'
89545	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
89546}
89547
89548// MarshalJSON is the custom marshaler for WebBasicAuthentication.
89549func (wba WebBasicAuthentication) MarshalJSON() ([]byte, error) {
89550	wba.AuthenticationType = AuthenticationTypeBasic
89551	objectMap := make(map[string]interface{})
89552	objectMap["username"] = wba.Username
89553	objectMap["password"] = wba.Password
89554	objectMap["url"] = wba.URL
89555	if wba.AuthenticationType != "" {
89556		objectMap["authenticationType"] = wba.AuthenticationType
89557	}
89558	return json.Marshal(objectMap)
89559}
89560
89561// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication.
89562func (wba WebBasicAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) {
89563	return nil, false
89564}
89565
89566// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication.
89567func (wba WebBasicAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) {
89568	return &wba, true
89569}
89570
89571// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication.
89572func (wba WebBasicAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) {
89573	return nil, false
89574}
89575
89576// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication.
89577func (wba WebBasicAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) {
89578	return nil, false
89579}
89580
89581// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebBasicAuthentication.
89582func (wba WebBasicAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) {
89583	return &wba, true
89584}
89585
89586// UnmarshalJSON is the custom unmarshaler for WebBasicAuthentication struct.
89587func (wba *WebBasicAuthentication) UnmarshalJSON(body []byte) error {
89588	var m map[string]*json.RawMessage
89589	err := json.Unmarshal(body, &m)
89590	if err != nil {
89591		return err
89592	}
89593	for k, v := range m {
89594		switch k {
89595		case "username":
89596			if v != nil {
89597				var username interface{}
89598				err = json.Unmarshal(*v, &username)
89599				if err != nil {
89600					return err
89601				}
89602				wba.Username = username
89603			}
89604		case "password":
89605			if v != nil {
89606				password, err := unmarshalBasicSecretBase(*v)
89607				if err != nil {
89608					return err
89609				}
89610				wba.Password = password
89611			}
89612		case "url":
89613			if v != nil {
89614				var URL interface{}
89615				err = json.Unmarshal(*v, &URL)
89616				if err != nil {
89617					return err
89618				}
89619				wba.URL = URL
89620			}
89621		case "authenticationType":
89622			if v != nil {
89623				var authenticationType AuthenticationType
89624				err = json.Unmarshal(*v, &authenticationType)
89625				if err != nil {
89626					return err
89627				}
89628				wba.AuthenticationType = authenticationType
89629			}
89630		}
89631	}
89632
89633	return nil
89634}
89635
89636// WebClientCertificateAuthentication a WebLinkedService that uses client certificate based authentication to
89637// communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid
89638// credentials to the client.
89639type WebClientCertificateAuthentication struct {
89640	// Pfx - Base64-encoded contents of a PFX file.
89641	Pfx BasicSecretBase `json:"pfx,omitempty"`
89642	// Password - Password for the PFX file.
89643	Password BasicSecretBase `json:"password,omitempty"`
89644	// URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).
89645	URL interface{} `json:"url,omitempty"`
89646	// AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous'
89647	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
89648}
89649
89650// MarshalJSON is the custom marshaler for WebClientCertificateAuthentication.
89651func (wcca WebClientCertificateAuthentication) MarshalJSON() ([]byte, error) {
89652	wcca.AuthenticationType = AuthenticationTypeClientCertificate
89653	objectMap := make(map[string]interface{})
89654	objectMap["pfx"] = wcca.Pfx
89655	objectMap["password"] = wcca.Password
89656	objectMap["url"] = wcca.URL
89657	if wcca.AuthenticationType != "" {
89658		objectMap["authenticationType"] = wcca.AuthenticationType
89659	}
89660	return json.Marshal(objectMap)
89661}
89662
89663// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication.
89664func (wcca WebClientCertificateAuthentication) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) {
89665	return &wcca, true
89666}
89667
89668// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication.
89669func (wcca WebClientCertificateAuthentication) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) {
89670	return nil, false
89671}
89672
89673// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication.
89674func (wcca WebClientCertificateAuthentication) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) {
89675	return nil, false
89676}
89677
89678// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication.
89679func (wcca WebClientCertificateAuthentication) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) {
89680	return nil, false
89681}
89682
89683// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebClientCertificateAuthentication.
89684func (wcca WebClientCertificateAuthentication) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) {
89685	return &wcca, true
89686}
89687
89688// UnmarshalJSON is the custom unmarshaler for WebClientCertificateAuthentication struct.
89689func (wcca *WebClientCertificateAuthentication) UnmarshalJSON(body []byte) error {
89690	var m map[string]*json.RawMessage
89691	err := json.Unmarshal(body, &m)
89692	if err != nil {
89693		return err
89694	}
89695	for k, v := range m {
89696		switch k {
89697		case "pfx":
89698			if v != nil {
89699				pfx, err := unmarshalBasicSecretBase(*v)
89700				if err != nil {
89701					return err
89702				}
89703				wcca.Pfx = pfx
89704			}
89705		case "password":
89706			if v != nil {
89707				password, err := unmarshalBasicSecretBase(*v)
89708				if err != nil {
89709					return err
89710				}
89711				wcca.Password = password
89712			}
89713		case "url":
89714			if v != nil {
89715				var URL interface{}
89716				err = json.Unmarshal(*v, &URL)
89717				if err != nil {
89718					return err
89719				}
89720				wcca.URL = URL
89721			}
89722		case "authenticationType":
89723			if v != nil {
89724				var authenticationType AuthenticationType
89725				err = json.Unmarshal(*v, &authenticationType)
89726				if err != nil {
89727					return err
89728				}
89729				wcca.AuthenticationType = authenticationType
89730			}
89731		}
89732	}
89733
89734	return nil
89735}
89736
89737// WebLinkedService web linked service.
89738type WebLinkedService struct {
89739	// TypeProperties - Web linked service properties.
89740	TypeProperties BasicWebLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
89741	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
89742	AdditionalProperties map[string]interface{} `json:""`
89743	// ConnectVia - The integration runtime reference.
89744	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
89745	// Description - Linked service description.
89746	Description *string `json:"description,omitempty"`
89747	// Parameters - Parameters for linked service.
89748	Parameters map[string]*ParameterSpecification `json:"parameters"`
89749	// Annotations - List of tags that can be used for describing the Dataset.
89750	Annotations *[]interface{} `json:"annotations,omitempty"`
89751	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
89752	Type TypeBasicLinkedService `json:"type,omitempty"`
89753}
89754
89755// MarshalJSON is the custom marshaler for WebLinkedService.
89756func (wls WebLinkedService) MarshalJSON() ([]byte, error) {
89757	wls.Type = TypeWeb
89758	objectMap := make(map[string]interface{})
89759	objectMap["typeProperties"] = wls.TypeProperties
89760	if wls.ConnectVia != nil {
89761		objectMap["connectVia"] = wls.ConnectVia
89762	}
89763	if wls.Description != nil {
89764		objectMap["description"] = wls.Description
89765	}
89766	if wls.Parameters != nil {
89767		objectMap["parameters"] = wls.Parameters
89768	}
89769	if wls.Annotations != nil {
89770		objectMap["annotations"] = wls.Annotations
89771	}
89772	if wls.Type != "" {
89773		objectMap["type"] = wls.Type
89774	}
89775	for k, v := range wls.AdditionalProperties {
89776		objectMap[k] = v
89777	}
89778	return json.Marshal(objectMap)
89779}
89780
89781// AsResponsysLinkedService is the BasicLinkedService implementation for WebLinkedService.
89782func (wls WebLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
89783	return nil, false
89784}
89785
89786// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for WebLinkedService.
89787func (wls WebLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
89788	return nil, false
89789}
89790
89791// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for WebLinkedService.
89792func (wls WebLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
89793	return nil, false
89794}
89795
89796// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for WebLinkedService.
89797func (wls WebLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
89798	return nil, false
89799}
89800
89801// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for WebLinkedService.
89802func (wls WebLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
89803	return nil, false
89804}
89805
89806// AsNetezzaLinkedService is the BasicLinkedService implementation for WebLinkedService.
89807func (wls WebLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
89808	return nil, false
89809}
89810
89811// AsVerticaLinkedService is the BasicLinkedService implementation for WebLinkedService.
89812func (wls WebLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
89813	return nil, false
89814}
89815
89816// AsZohoLinkedService is the BasicLinkedService implementation for WebLinkedService.
89817func (wls WebLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
89818	return nil, false
89819}
89820
89821// AsXeroLinkedService is the BasicLinkedService implementation for WebLinkedService.
89822func (wls WebLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
89823	return nil, false
89824}
89825
89826// AsSquareLinkedService is the BasicLinkedService implementation for WebLinkedService.
89827func (wls WebLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
89828	return nil, false
89829}
89830
89831// AsSparkLinkedService is the BasicLinkedService implementation for WebLinkedService.
89832func (wls WebLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
89833	return nil, false
89834}
89835
89836// AsShopifyLinkedService is the BasicLinkedService implementation for WebLinkedService.
89837func (wls WebLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
89838	return nil, false
89839}
89840
89841// AsServiceNowLinkedService is the BasicLinkedService implementation for WebLinkedService.
89842func (wls WebLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
89843	return nil, false
89844}
89845
89846// AsQuickBooksLinkedService is the BasicLinkedService implementation for WebLinkedService.
89847func (wls WebLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
89848	return nil, false
89849}
89850
89851// AsPrestoLinkedService is the BasicLinkedService implementation for WebLinkedService.
89852func (wls WebLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
89853	return nil, false
89854}
89855
89856// AsPhoenixLinkedService is the BasicLinkedService implementation for WebLinkedService.
89857func (wls WebLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
89858	return nil, false
89859}
89860
89861// AsPaypalLinkedService is the BasicLinkedService implementation for WebLinkedService.
89862func (wls WebLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
89863	return nil, false
89864}
89865
89866// AsMarketoLinkedService is the BasicLinkedService implementation for WebLinkedService.
89867func (wls WebLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
89868	return nil, false
89869}
89870
89871// AsMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService.
89872func (wls WebLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
89873	return nil, false
89874}
89875
89876// AsMagentoLinkedService is the BasicLinkedService implementation for WebLinkedService.
89877func (wls WebLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
89878	return nil, false
89879}
89880
89881// AsJiraLinkedService is the BasicLinkedService implementation for WebLinkedService.
89882func (wls WebLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
89883	return nil, false
89884}
89885
89886// AsImpalaLinkedService is the BasicLinkedService implementation for WebLinkedService.
89887func (wls WebLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
89888	return nil, false
89889}
89890
89891// AsHubspotLinkedService is the BasicLinkedService implementation for WebLinkedService.
89892func (wls WebLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
89893	return nil, false
89894}
89895
89896// AsHiveLinkedService is the BasicLinkedService implementation for WebLinkedService.
89897func (wls WebLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
89898	return nil, false
89899}
89900
89901// AsHBaseLinkedService is the BasicLinkedService implementation for WebLinkedService.
89902func (wls WebLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
89903	return nil, false
89904}
89905
89906// AsGreenplumLinkedService is the BasicLinkedService implementation for WebLinkedService.
89907func (wls WebLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
89908	return nil, false
89909}
89910
89911// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for WebLinkedService.
89912func (wls WebLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
89913	return nil, false
89914}
89915
89916// AsEloquaLinkedService is the BasicLinkedService implementation for WebLinkedService.
89917func (wls WebLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
89918	return nil, false
89919}
89920
89921// AsDrillLinkedService is the BasicLinkedService implementation for WebLinkedService.
89922func (wls WebLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
89923	return nil, false
89924}
89925
89926// AsCouchbaseLinkedService is the BasicLinkedService implementation for WebLinkedService.
89927func (wls WebLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
89928	return nil, false
89929}
89930
89931// AsConcurLinkedService is the BasicLinkedService implementation for WebLinkedService.
89932func (wls WebLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
89933	return nil, false
89934}
89935
89936// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService.
89937func (wls WebLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
89938	return nil, false
89939}
89940
89941// AsAmazonMWSLinkedService is the BasicLinkedService implementation for WebLinkedService.
89942func (wls WebLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
89943	return nil, false
89944}
89945
89946// AsSapHanaLinkedService is the BasicLinkedService implementation for WebLinkedService.
89947func (wls WebLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
89948	return nil, false
89949}
89950
89951// AsSapBWLinkedService is the BasicLinkedService implementation for WebLinkedService.
89952func (wls WebLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
89953	return nil, false
89954}
89955
89956// AsSftpServerLinkedService is the BasicLinkedService implementation for WebLinkedService.
89957func (wls WebLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
89958	return nil, false
89959}
89960
89961// AsFtpServerLinkedService is the BasicLinkedService implementation for WebLinkedService.
89962func (wls WebLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
89963	return nil, false
89964}
89965
89966// AsHTTPLinkedService is the BasicLinkedService implementation for WebLinkedService.
89967func (wls WebLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
89968	return nil, false
89969}
89970
89971// AsAzureSearchLinkedService is the BasicLinkedService implementation for WebLinkedService.
89972func (wls WebLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
89973	return nil, false
89974}
89975
89976// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for WebLinkedService.
89977func (wls WebLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
89978	return nil, false
89979}
89980
89981// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for WebLinkedService.
89982func (wls WebLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
89983	return nil, false
89984}
89985
89986// AsAmazonS3LinkedService is the BasicLinkedService implementation for WebLinkedService.
89987func (wls WebLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
89988	return nil, false
89989}
89990
89991// AsSapEccLinkedService is the BasicLinkedService implementation for WebLinkedService.
89992func (wls WebLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
89993	return nil, false
89994}
89995
89996// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for WebLinkedService.
89997func (wls WebLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
89998	return nil, false
89999}
90000
90001// AsSalesforceLinkedService is the BasicLinkedService implementation for WebLinkedService.
90002func (wls WebLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
90003	return nil, false
90004}
90005
90006// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for WebLinkedService.
90007func (wls WebLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
90008	return nil, false
90009}
90010
90011// AsMongoDbLinkedService is the BasicLinkedService implementation for WebLinkedService.
90012func (wls WebLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
90013	return nil, false
90014}
90015
90016// AsCassandraLinkedService is the BasicLinkedService implementation for WebLinkedService.
90017func (wls WebLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
90018	return nil, false
90019}
90020
90021// AsWebLinkedService is the BasicLinkedService implementation for WebLinkedService.
90022func (wls WebLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
90023	return &wls, true
90024}
90025
90026// AsODataLinkedService is the BasicLinkedService implementation for WebLinkedService.
90027func (wls WebLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
90028	return nil, false
90029}
90030
90031// AsHdfsLinkedService is the BasicLinkedService implementation for WebLinkedService.
90032func (wls WebLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
90033	return nil, false
90034}
90035
90036// AsOdbcLinkedService is the BasicLinkedService implementation for WebLinkedService.
90037func (wls WebLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
90038	return nil, false
90039}
90040
90041// AsAzureMLLinkedService is the BasicLinkedService implementation for WebLinkedService.
90042func (wls WebLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
90043	return nil, false
90044}
90045
90046// AsTeradataLinkedService is the BasicLinkedService implementation for WebLinkedService.
90047func (wls WebLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
90048	return nil, false
90049}
90050
90051// AsDb2LinkedService is the BasicLinkedService implementation for WebLinkedService.
90052func (wls WebLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
90053	return nil, false
90054}
90055
90056// AsSybaseLinkedService is the BasicLinkedService implementation for WebLinkedService.
90057func (wls WebLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
90058	return nil, false
90059}
90060
90061// AsPostgreSQLLinkedService is the BasicLinkedService implementation for WebLinkedService.
90062func (wls WebLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
90063	return nil, false
90064}
90065
90066// AsMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService.
90067func (wls WebLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
90068	return nil, false
90069}
90070
90071// AsAzureMySQLLinkedService is the BasicLinkedService implementation for WebLinkedService.
90072func (wls WebLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
90073	return nil, false
90074}
90075
90076// AsOracleLinkedService is the BasicLinkedService implementation for WebLinkedService.
90077func (wls WebLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
90078	return nil, false
90079}
90080
90081// AsFileServerLinkedService is the BasicLinkedService implementation for WebLinkedService.
90082func (wls WebLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
90083	return nil, false
90084}
90085
90086// AsHDInsightLinkedService is the BasicLinkedService implementation for WebLinkedService.
90087func (wls WebLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
90088	return nil, false
90089}
90090
90091// AsDynamicsLinkedService is the BasicLinkedService implementation for WebLinkedService.
90092func (wls WebLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
90093	return nil, false
90094}
90095
90096// AsCosmosDbLinkedService is the BasicLinkedService implementation for WebLinkedService.
90097func (wls WebLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
90098	return nil, false
90099}
90100
90101// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for WebLinkedService.
90102func (wls WebLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
90103	return nil, false
90104}
90105
90106// AsAzureBatchLinkedService is the BasicLinkedService implementation for WebLinkedService.
90107func (wls WebLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
90108	return nil, false
90109}
90110
90111// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for WebLinkedService.
90112func (wls WebLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
90113	return nil, false
90114}
90115
90116// AsSQLServerLinkedService is the BasicLinkedService implementation for WebLinkedService.
90117func (wls WebLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
90118	return nil, false
90119}
90120
90121// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for WebLinkedService.
90122func (wls WebLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
90123	return nil, false
90124}
90125
90126// AsAzureStorageLinkedService is the BasicLinkedService implementation for WebLinkedService.
90127func (wls WebLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
90128	return nil, false
90129}
90130
90131// AsLinkedService is the BasicLinkedService implementation for WebLinkedService.
90132func (wls WebLinkedService) AsLinkedService() (*LinkedService, bool) {
90133	return nil, false
90134}
90135
90136// AsBasicLinkedService is the BasicLinkedService implementation for WebLinkedService.
90137func (wls WebLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
90138	return &wls, true
90139}
90140
90141// UnmarshalJSON is the custom unmarshaler for WebLinkedService struct.
90142func (wls *WebLinkedService) UnmarshalJSON(body []byte) error {
90143	var m map[string]*json.RawMessage
90144	err := json.Unmarshal(body, &m)
90145	if err != nil {
90146		return err
90147	}
90148	for k, v := range m {
90149		switch k {
90150		case "typeProperties":
90151			if v != nil {
90152				typeProperties, err := unmarshalBasicWebLinkedServiceTypeProperties(*v)
90153				if err != nil {
90154					return err
90155				}
90156				wls.TypeProperties = typeProperties
90157			}
90158		default:
90159			if v != nil {
90160				var additionalProperties interface{}
90161				err = json.Unmarshal(*v, &additionalProperties)
90162				if err != nil {
90163					return err
90164				}
90165				if wls.AdditionalProperties == nil {
90166					wls.AdditionalProperties = make(map[string]interface{})
90167				}
90168				wls.AdditionalProperties[k] = additionalProperties
90169			}
90170		case "connectVia":
90171			if v != nil {
90172				var connectVia IntegrationRuntimeReference
90173				err = json.Unmarshal(*v, &connectVia)
90174				if err != nil {
90175					return err
90176				}
90177				wls.ConnectVia = &connectVia
90178			}
90179		case "description":
90180			if v != nil {
90181				var description string
90182				err = json.Unmarshal(*v, &description)
90183				if err != nil {
90184					return err
90185				}
90186				wls.Description = &description
90187			}
90188		case "parameters":
90189			if v != nil {
90190				var parameters map[string]*ParameterSpecification
90191				err = json.Unmarshal(*v, &parameters)
90192				if err != nil {
90193					return err
90194				}
90195				wls.Parameters = parameters
90196			}
90197		case "annotations":
90198			if v != nil {
90199				var annotations []interface{}
90200				err = json.Unmarshal(*v, &annotations)
90201				if err != nil {
90202					return err
90203				}
90204				wls.Annotations = &annotations
90205			}
90206		case "type":
90207			if v != nil {
90208				var typeVar TypeBasicLinkedService
90209				err = json.Unmarshal(*v, &typeVar)
90210				if err != nil {
90211					return err
90212				}
90213				wls.Type = typeVar
90214			}
90215		}
90216	}
90217
90218	return nil
90219}
90220
90221// BasicWebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is
90222// polymorphic based on authenticationType, so not flattened in SDK models.
90223type BasicWebLinkedServiceTypeProperties interface {
90224	AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool)
90225	AsWebBasicAuthentication() (*WebBasicAuthentication, bool)
90226	AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool)
90227	AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool)
90228}
90229
90230// WebLinkedServiceTypeProperties base definition of WebLinkedServiceTypeProperties, this typeProperties is
90231// polymorphic based on authenticationType, so not flattened in SDK models.
90232type WebLinkedServiceTypeProperties struct {
90233	// URL - The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).
90234	URL interface{} `json:"url,omitempty"`
90235	// AuthenticationType - Possible values include: 'AuthenticationTypeWebLinkedServiceTypeProperties', 'AuthenticationTypeClientCertificate', 'AuthenticationTypeBasic', 'AuthenticationTypeAnonymous'
90236	AuthenticationType AuthenticationType `json:"authenticationType,omitempty"`
90237}
90238
90239func unmarshalBasicWebLinkedServiceTypeProperties(body []byte) (BasicWebLinkedServiceTypeProperties, error) {
90240	var m map[string]interface{}
90241	err := json.Unmarshal(body, &m)
90242	if err != nil {
90243		return nil, err
90244	}
90245
90246	switch m["authenticationType"] {
90247	case string(AuthenticationTypeClientCertificate):
90248		var wcca WebClientCertificateAuthentication
90249		err := json.Unmarshal(body, &wcca)
90250		return wcca, err
90251	case string(AuthenticationTypeBasic):
90252		var wba WebBasicAuthentication
90253		err := json.Unmarshal(body, &wba)
90254		return wba, err
90255	case string(AuthenticationTypeAnonymous):
90256		var waa WebAnonymousAuthentication
90257		err := json.Unmarshal(body, &waa)
90258		return waa, err
90259	default:
90260		var wlstp WebLinkedServiceTypeProperties
90261		err := json.Unmarshal(body, &wlstp)
90262		return wlstp, err
90263	}
90264}
90265func unmarshalBasicWebLinkedServiceTypePropertiesArray(body []byte) ([]BasicWebLinkedServiceTypeProperties, error) {
90266	var rawMessages []*json.RawMessage
90267	err := json.Unmarshal(body, &rawMessages)
90268	if err != nil {
90269		return nil, err
90270	}
90271
90272	wlstpArray := make([]BasicWebLinkedServiceTypeProperties, len(rawMessages))
90273
90274	for index, rawMessage := range rawMessages {
90275		wlstp, err := unmarshalBasicWebLinkedServiceTypeProperties(*rawMessage)
90276		if err != nil {
90277			return nil, err
90278		}
90279		wlstpArray[index] = wlstp
90280	}
90281	return wlstpArray, nil
90282}
90283
90284// MarshalJSON is the custom marshaler for WebLinkedServiceTypeProperties.
90285func (wlstp WebLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) {
90286	wlstp.AuthenticationType = AuthenticationTypeWebLinkedServiceTypeProperties
90287	objectMap := make(map[string]interface{})
90288	objectMap["url"] = wlstp.URL
90289	if wlstp.AuthenticationType != "" {
90290		objectMap["authenticationType"] = wlstp.AuthenticationType
90291	}
90292	return json.Marshal(objectMap)
90293}
90294
90295// AsWebClientCertificateAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties.
90296func (wlstp WebLinkedServiceTypeProperties) AsWebClientCertificateAuthentication() (*WebClientCertificateAuthentication, bool) {
90297	return nil, false
90298}
90299
90300// AsWebBasicAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties.
90301func (wlstp WebLinkedServiceTypeProperties) AsWebBasicAuthentication() (*WebBasicAuthentication, bool) {
90302	return nil, false
90303}
90304
90305// AsWebAnonymousAuthentication is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties.
90306func (wlstp WebLinkedServiceTypeProperties) AsWebAnonymousAuthentication() (*WebAnonymousAuthentication, bool) {
90307	return nil, false
90308}
90309
90310// AsWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties.
90311func (wlstp WebLinkedServiceTypeProperties) AsWebLinkedServiceTypeProperties() (*WebLinkedServiceTypeProperties, bool) {
90312	return &wlstp, true
90313}
90314
90315// AsBasicWebLinkedServiceTypeProperties is the BasicWebLinkedServiceTypeProperties implementation for WebLinkedServiceTypeProperties.
90316func (wlstp WebLinkedServiceTypeProperties) AsBasicWebLinkedServiceTypeProperties() (BasicWebLinkedServiceTypeProperties, bool) {
90317	return &wlstp, true
90318}
90319
90320// WebSource a copy activity source for web page table.
90321type WebSource struct {
90322	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
90323	AdditionalProperties map[string]interface{} `json:""`
90324	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
90325	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
90326	// 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])).
90327	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
90328	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
90329	Type TypeBasicCopySource `json:"type,omitempty"`
90330}
90331
90332// MarshalJSON is the custom marshaler for WebSource.
90333func (ws WebSource) MarshalJSON() ([]byte, error) {
90334	ws.Type = TypeWebSource
90335	objectMap := make(map[string]interface{})
90336	objectMap["sourceRetryCount"] = ws.SourceRetryCount
90337	objectMap["sourceRetryWait"] = ws.SourceRetryWait
90338	if ws.Type != "" {
90339		objectMap["type"] = ws.Type
90340	}
90341	for k, v := range ws.AdditionalProperties {
90342		objectMap[k] = v
90343	}
90344	return json.Marshal(objectMap)
90345}
90346
90347// AsAmazonRedshiftSource is the BasicCopySource implementation for WebSource.
90348func (ws WebSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
90349	return nil, false
90350}
90351
90352// AsResponsysSource is the BasicCopySource implementation for WebSource.
90353func (ws WebSource) AsResponsysSource() (*ResponsysSource, bool) {
90354	return nil, false
90355}
90356
90357// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for WebSource.
90358func (ws WebSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
90359	return nil, false
90360}
90361
90362// AsVerticaSource is the BasicCopySource implementation for WebSource.
90363func (ws WebSource) AsVerticaSource() (*VerticaSource, bool) {
90364	return nil, false
90365}
90366
90367// AsNetezzaSource is the BasicCopySource implementation for WebSource.
90368func (ws WebSource) AsNetezzaSource() (*NetezzaSource, bool) {
90369	return nil, false
90370}
90371
90372// AsZohoSource is the BasicCopySource implementation for WebSource.
90373func (ws WebSource) AsZohoSource() (*ZohoSource, bool) {
90374	return nil, false
90375}
90376
90377// AsXeroSource is the BasicCopySource implementation for WebSource.
90378func (ws WebSource) AsXeroSource() (*XeroSource, bool) {
90379	return nil, false
90380}
90381
90382// AsSquareSource is the BasicCopySource implementation for WebSource.
90383func (ws WebSource) AsSquareSource() (*SquareSource, bool) {
90384	return nil, false
90385}
90386
90387// AsSparkSource is the BasicCopySource implementation for WebSource.
90388func (ws WebSource) AsSparkSource() (*SparkSource, bool) {
90389	return nil, false
90390}
90391
90392// AsShopifySource is the BasicCopySource implementation for WebSource.
90393func (ws WebSource) AsShopifySource() (*ShopifySource, bool) {
90394	return nil, false
90395}
90396
90397// AsServiceNowSource is the BasicCopySource implementation for WebSource.
90398func (ws WebSource) AsServiceNowSource() (*ServiceNowSource, bool) {
90399	return nil, false
90400}
90401
90402// AsQuickBooksSource is the BasicCopySource implementation for WebSource.
90403func (ws WebSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
90404	return nil, false
90405}
90406
90407// AsPrestoSource is the BasicCopySource implementation for WebSource.
90408func (ws WebSource) AsPrestoSource() (*PrestoSource, bool) {
90409	return nil, false
90410}
90411
90412// AsPhoenixSource is the BasicCopySource implementation for WebSource.
90413func (ws WebSource) AsPhoenixSource() (*PhoenixSource, bool) {
90414	return nil, false
90415}
90416
90417// AsPaypalSource is the BasicCopySource implementation for WebSource.
90418func (ws WebSource) AsPaypalSource() (*PaypalSource, bool) {
90419	return nil, false
90420}
90421
90422// AsMarketoSource is the BasicCopySource implementation for WebSource.
90423func (ws WebSource) AsMarketoSource() (*MarketoSource, bool) {
90424	return nil, false
90425}
90426
90427// AsMariaDBSource is the BasicCopySource implementation for WebSource.
90428func (ws WebSource) AsMariaDBSource() (*MariaDBSource, bool) {
90429	return nil, false
90430}
90431
90432// AsMagentoSource is the BasicCopySource implementation for WebSource.
90433func (ws WebSource) AsMagentoSource() (*MagentoSource, bool) {
90434	return nil, false
90435}
90436
90437// AsJiraSource is the BasicCopySource implementation for WebSource.
90438func (ws WebSource) AsJiraSource() (*JiraSource, bool) {
90439	return nil, false
90440}
90441
90442// AsImpalaSource is the BasicCopySource implementation for WebSource.
90443func (ws WebSource) AsImpalaSource() (*ImpalaSource, bool) {
90444	return nil, false
90445}
90446
90447// AsHubspotSource is the BasicCopySource implementation for WebSource.
90448func (ws WebSource) AsHubspotSource() (*HubspotSource, bool) {
90449	return nil, false
90450}
90451
90452// AsHiveSource is the BasicCopySource implementation for WebSource.
90453func (ws WebSource) AsHiveSource() (*HiveSource, bool) {
90454	return nil, false
90455}
90456
90457// AsHBaseSource is the BasicCopySource implementation for WebSource.
90458func (ws WebSource) AsHBaseSource() (*HBaseSource, bool) {
90459	return nil, false
90460}
90461
90462// AsGreenplumSource is the BasicCopySource implementation for WebSource.
90463func (ws WebSource) AsGreenplumSource() (*GreenplumSource, bool) {
90464	return nil, false
90465}
90466
90467// AsGoogleBigQuerySource is the BasicCopySource implementation for WebSource.
90468func (ws WebSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
90469	return nil, false
90470}
90471
90472// AsEloquaSource is the BasicCopySource implementation for WebSource.
90473func (ws WebSource) AsEloquaSource() (*EloquaSource, bool) {
90474	return nil, false
90475}
90476
90477// AsDrillSource is the BasicCopySource implementation for WebSource.
90478func (ws WebSource) AsDrillSource() (*DrillSource, bool) {
90479	return nil, false
90480}
90481
90482// AsCouchbaseSource is the BasicCopySource implementation for WebSource.
90483func (ws WebSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
90484	return nil, false
90485}
90486
90487// AsConcurSource is the BasicCopySource implementation for WebSource.
90488func (ws WebSource) AsConcurSource() (*ConcurSource, bool) {
90489	return nil, false
90490}
90491
90492// AsAzurePostgreSQLSource is the BasicCopySource implementation for WebSource.
90493func (ws WebSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
90494	return nil, false
90495}
90496
90497// AsAmazonMWSSource is the BasicCopySource implementation for WebSource.
90498func (ws WebSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
90499	return nil, false
90500}
90501
90502// AsHTTPSource is the BasicCopySource implementation for WebSource.
90503func (ws WebSource) AsHTTPSource() (*HTTPSource, bool) {
90504	return nil, false
90505}
90506
90507// AsAzureDataLakeStoreSource is the BasicCopySource implementation for WebSource.
90508func (ws WebSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
90509	return nil, false
90510}
90511
90512// AsMongoDbSource is the BasicCopySource implementation for WebSource.
90513func (ws WebSource) AsMongoDbSource() (*MongoDbSource, bool) {
90514	return nil, false
90515}
90516
90517// AsCassandraSource is the BasicCopySource implementation for WebSource.
90518func (ws WebSource) AsCassandraSource() (*CassandraSource, bool) {
90519	return nil, false
90520}
90521
90522// AsWebSource is the BasicCopySource implementation for WebSource.
90523func (ws WebSource) AsWebSource() (*WebSource, bool) {
90524	return &ws, true
90525}
90526
90527// AsOracleSource is the BasicCopySource implementation for WebSource.
90528func (ws WebSource) AsOracleSource() (*OracleSource, bool) {
90529	return nil, false
90530}
90531
90532// AsAzureMySQLSource is the BasicCopySource implementation for WebSource.
90533func (ws WebSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
90534	return nil, false
90535}
90536
90537// AsHdfsSource is the BasicCopySource implementation for WebSource.
90538func (ws WebSource) AsHdfsSource() (*HdfsSource, bool) {
90539	return nil, false
90540}
90541
90542// AsFileSystemSource is the BasicCopySource implementation for WebSource.
90543func (ws WebSource) AsFileSystemSource() (*FileSystemSource, bool) {
90544	return nil, false
90545}
90546
90547// AsSQLDWSource is the BasicCopySource implementation for WebSource.
90548func (ws WebSource) AsSQLDWSource() (*SQLDWSource, bool) {
90549	return nil, false
90550}
90551
90552// AsSQLSource is the BasicCopySource implementation for WebSource.
90553func (ws WebSource) AsSQLSource() (*SQLSource, bool) {
90554	return nil, false
90555}
90556
90557// AsSapEccSource is the BasicCopySource implementation for WebSource.
90558func (ws WebSource) AsSapEccSource() (*SapEccSource, bool) {
90559	return nil, false
90560}
90561
90562// AsSapCloudForCustomerSource is the BasicCopySource implementation for WebSource.
90563func (ws WebSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
90564	return nil, false
90565}
90566
90567// AsSalesforceSource is the BasicCopySource implementation for WebSource.
90568func (ws WebSource) AsSalesforceSource() (*SalesforceSource, bool) {
90569	return nil, false
90570}
90571
90572// AsRelationalSource is the BasicCopySource implementation for WebSource.
90573func (ws WebSource) AsRelationalSource() (*RelationalSource, bool) {
90574	return nil, false
90575}
90576
90577// AsDynamicsSource is the BasicCopySource implementation for WebSource.
90578func (ws WebSource) AsDynamicsSource() (*DynamicsSource, bool) {
90579	return nil, false
90580}
90581
90582// AsDocumentDbCollectionSource is the BasicCopySource implementation for WebSource.
90583func (ws WebSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
90584	return nil, false
90585}
90586
90587// AsBlobSource is the BasicCopySource implementation for WebSource.
90588func (ws WebSource) AsBlobSource() (*BlobSource, bool) {
90589	return nil, false
90590}
90591
90592// AsAzureTableSource is the BasicCopySource implementation for WebSource.
90593func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) {
90594	return nil, false
90595}
90596
90597// AsCopySource is the BasicCopySource implementation for WebSource.
90598func (ws WebSource) AsCopySource() (*CopySource, bool) {
90599	return nil, false
90600}
90601
90602// AsBasicCopySource is the BasicCopySource implementation for WebSource.
90603func (ws WebSource) AsBasicCopySource() (BasicCopySource, bool) {
90604	return &ws, true
90605}
90606
90607// WebTableDataset the dataset points to a HTML table in the web page.
90608type WebTableDataset struct {
90609	// WebTableDatasetTypeProperties - Web table dataset properties.
90610	*WebTableDatasetTypeProperties `json:"typeProperties,omitempty"`
90611	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
90612	AdditionalProperties map[string]interface{} `json:""`
90613	// Description - Dataset description.
90614	Description *string `json:"description,omitempty"`
90615	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
90616	Structure interface{} `json:"structure,omitempty"`
90617	// LinkedServiceName - Linked service reference.
90618	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
90619	// Parameters - Parameters for dataset.
90620	Parameters map[string]*ParameterSpecification `json:"parameters"`
90621	// Annotations - List of tags that can be used for describing the Dataset.
90622	Annotations *[]interface{} `json:"annotations,omitempty"`
90623	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
90624	Type TypeBasicDataset `json:"type,omitempty"`
90625}
90626
90627// MarshalJSON is the custom marshaler for WebTableDataset.
90628func (wtd WebTableDataset) MarshalJSON() ([]byte, error) {
90629	wtd.Type = TypeWebTable
90630	objectMap := make(map[string]interface{})
90631	if wtd.WebTableDatasetTypeProperties != nil {
90632		objectMap["typeProperties"] = wtd.WebTableDatasetTypeProperties
90633	}
90634	if wtd.Description != nil {
90635		objectMap["description"] = wtd.Description
90636	}
90637	objectMap["structure"] = wtd.Structure
90638	if wtd.LinkedServiceName != nil {
90639		objectMap["linkedServiceName"] = wtd.LinkedServiceName
90640	}
90641	if wtd.Parameters != nil {
90642		objectMap["parameters"] = wtd.Parameters
90643	}
90644	if wtd.Annotations != nil {
90645		objectMap["annotations"] = wtd.Annotations
90646	}
90647	if wtd.Type != "" {
90648		objectMap["type"] = wtd.Type
90649	}
90650	for k, v := range wtd.AdditionalProperties {
90651		objectMap[k] = v
90652	}
90653	return json.Marshal(objectMap)
90654}
90655
90656// AsResponsysObjectDataset is the BasicDataset implementation for WebTableDataset.
90657func (wtd WebTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
90658	return nil, false
90659}
90660
90661// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for WebTableDataset.
90662func (wtd WebTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
90663	return nil, false
90664}
90665
90666// AsVerticaTableDataset is the BasicDataset implementation for WebTableDataset.
90667func (wtd WebTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
90668	return nil, false
90669}
90670
90671// AsNetezzaTableDataset is the BasicDataset implementation for WebTableDataset.
90672func (wtd WebTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
90673	return nil, false
90674}
90675
90676// AsZohoObjectDataset is the BasicDataset implementation for WebTableDataset.
90677func (wtd WebTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
90678	return nil, false
90679}
90680
90681// AsXeroObjectDataset is the BasicDataset implementation for WebTableDataset.
90682func (wtd WebTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
90683	return nil, false
90684}
90685
90686// AsSquareObjectDataset is the BasicDataset implementation for WebTableDataset.
90687func (wtd WebTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
90688	return nil, false
90689}
90690
90691// AsSparkObjectDataset is the BasicDataset implementation for WebTableDataset.
90692func (wtd WebTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
90693	return nil, false
90694}
90695
90696// AsShopifyObjectDataset is the BasicDataset implementation for WebTableDataset.
90697func (wtd WebTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
90698	return nil, false
90699}
90700
90701// AsServiceNowObjectDataset is the BasicDataset implementation for WebTableDataset.
90702func (wtd WebTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
90703	return nil, false
90704}
90705
90706// AsQuickBooksObjectDataset is the BasicDataset implementation for WebTableDataset.
90707func (wtd WebTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
90708	return nil, false
90709}
90710
90711// AsPrestoObjectDataset is the BasicDataset implementation for WebTableDataset.
90712func (wtd WebTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
90713	return nil, false
90714}
90715
90716// AsPhoenixObjectDataset is the BasicDataset implementation for WebTableDataset.
90717func (wtd WebTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
90718	return nil, false
90719}
90720
90721// AsPaypalObjectDataset is the BasicDataset implementation for WebTableDataset.
90722func (wtd WebTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
90723	return nil, false
90724}
90725
90726// AsMarketoObjectDataset is the BasicDataset implementation for WebTableDataset.
90727func (wtd WebTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
90728	return nil, false
90729}
90730
90731// AsMariaDBTableDataset is the BasicDataset implementation for WebTableDataset.
90732func (wtd WebTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
90733	return nil, false
90734}
90735
90736// AsMagentoObjectDataset is the BasicDataset implementation for WebTableDataset.
90737func (wtd WebTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
90738	return nil, false
90739}
90740
90741// AsJiraObjectDataset is the BasicDataset implementation for WebTableDataset.
90742func (wtd WebTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
90743	return nil, false
90744}
90745
90746// AsImpalaObjectDataset is the BasicDataset implementation for WebTableDataset.
90747func (wtd WebTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
90748	return nil, false
90749}
90750
90751// AsHubspotObjectDataset is the BasicDataset implementation for WebTableDataset.
90752func (wtd WebTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
90753	return nil, false
90754}
90755
90756// AsHiveObjectDataset is the BasicDataset implementation for WebTableDataset.
90757func (wtd WebTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
90758	return nil, false
90759}
90760
90761// AsHBaseObjectDataset is the BasicDataset implementation for WebTableDataset.
90762func (wtd WebTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
90763	return nil, false
90764}
90765
90766// AsGreenplumTableDataset is the BasicDataset implementation for WebTableDataset.
90767func (wtd WebTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
90768	return nil, false
90769}
90770
90771// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for WebTableDataset.
90772func (wtd WebTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
90773	return nil, false
90774}
90775
90776// AsEloquaObjectDataset is the BasicDataset implementation for WebTableDataset.
90777func (wtd WebTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
90778	return nil, false
90779}
90780
90781// AsDrillTableDataset is the BasicDataset implementation for WebTableDataset.
90782func (wtd WebTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
90783	return nil, false
90784}
90785
90786// AsCouchbaseTableDataset is the BasicDataset implementation for WebTableDataset.
90787func (wtd WebTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
90788	return nil, false
90789}
90790
90791// AsConcurObjectDataset is the BasicDataset implementation for WebTableDataset.
90792func (wtd WebTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
90793	return nil, false
90794}
90795
90796// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for WebTableDataset.
90797func (wtd WebTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
90798	return nil, false
90799}
90800
90801// AsAmazonMWSObjectDataset is the BasicDataset implementation for WebTableDataset.
90802func (wtd WebTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
90803	return nil, false
90804}
90805
90806// AsHTTPDataset is the BasicDataset implementation for WebTableDataset.
90807func (wtd WebTableDataset) AsHTTPDataset() (*HTTPDataset, bool) {
90808	return nil, false
90809}
90810
90811// AsAzureSearchIndexDataset is the BasicDataset implementation for WebTableDataset.
90812func (wtd WebTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
90813	return nil, false
90814}
90815
90816// AsWebTableDataset is the BasicDataset implementation for WebTableDataset.
90817func (wtd WebTableDataset) AsWebTableDataset() (*WebTableDataset, bool) {
90818	return &wtd, true
90819}
90820
90821// AsSQLServerTableDataset is the BasicDataset implementation for WebTableDataset.
90822func (wtd WebTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
90823	return nil, false
90824}
90825
90826// AsSapEccResourceDataset is the BasicDataset implementation for WebTableDataset.
90827func (wtd WebTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
90828	return nil, false
90829}
90830
90831// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for WebTableDataset.
90832func (wtd WebTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
90833	return nil, false
90834}
90835
90836// AsSalesforceObjectDataset is the BasicDataset implementation for WebTableDataset.
90837func (wtd WebTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
90838	return nil, false
90839}
90840
90841// AsRelationalTableDataset is the BasicDataset implementation for WebTableDataset.
90842func (wtd WebTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
90843	return nil, false
90844}
90845
90846// AsAzureMySQLTableDataset is the BasicDataset implementation for WebTableDataset.
90847func (wtd WebTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
90848	return nil, false
90849}
90850
90851// AsOracleTableDataset is the BasicDataset implementation for WebTableDataset.
90852func (wtd WebTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
90853	return nil, false
90854}
90855
90856// AsODataResourceDataset is the BasicDataset implementation for WebTableDataset.
90857func (wtd WebTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
90858	return nil, false
90859}
90860
90861// AsMongoDbCollectionDataset is the BasicDataset implementation for WebTableDataset.
90862func (wtd WebTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
90863	return nil, false
90864}
90865
90866// AsFileShareDataset is the BasicDataset implementation for WebTableDataset.
90867func (wtd WebTableDataset) AsFileShareDataset() (*FileShareDataset, bool) {
90868	return nil, false
90869}
90870
90871// AsAzureDataLakeStoreDataset is the BasicDataset implementation for WebTableDataset.
90872func (wtd WebTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
90873	return nil, false
90874}
90875
90876// AsDynamicsEntityDataset is the BasicDataset implementation for WebTableDataset.
90877func (wtd WebTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
90878	return nil, false
90879}
90880
90881// AsDocumentDbCollectionDataset is the BasicDataset implementation for WebTableDataset.
90882func (wtd WebTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
90883	return nil, false
90884}
90885
90886// AsCustomDataset is the BasicDataset implementation for WebTableDataset.
90887func (wtd WebTableDataset) AsCustomDataset() (*CustomDataset, bool) {
90888	return nil, false
90889}
90890
90891// AsCassandraTableDataset is the BasicDataset implementation for WebTableDataset.
90892func (wtd WebTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
90893	return nil, false
90894}
90895
90896// AsAzureSQLDWTableDataset is the BasicDataset implementation for WebTableDataset.
90897func (wtd WebTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
90898	return nil, false
90899}
90900
90901// AsAzureSQLTableDataset is the BasicDataset implementation for WebTableDataset.
90902func (wtd WebTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
90903	return nil, false
90904}
90905
90906// AsAzureTableDataset is the BasicDataset implementation for WebTableDataset.
90907func (wtd WebTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
90908	return nil, false
90909}
90910
90911// AsAzureBlobDataset is the BasicDataset implementation for WebTableDataset.
90912func (wtd WebTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
90913	return nil, false
90914}
90915
90916// AsAmazonS3Dataset is the BasicDataset implementation for WebTableDataset.
90917func (wtd WebTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
90918	return nil, false
90919}
90920
90921// AsDataset is the BasicDataset implementation for WebTableDataset.
90922func (wtd WebTableDataset) AsDataset() (*Dataset, bool) {
90923	return nil, false
90924}
90925
90926// AsBasicDataset is the BasicDataset implementation for WebTableDataset.
90927func (wtd WebTableDataset) AsBasicDataset() (BasicDataset, bool) {
90928	return &wtd, true
90929}
90930
90931// UnmarshalJSON is the custom unmarshaler for WebTableDataset struct.
90932func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error {
90933	var m map[string]*json.RawMessage
90934	err := json.Unmarshal(body, &m)
90935	if err != nil {
90936		return err
90937	}
90938	for k, v := range m {
90939		switch k {
90940		case "typeProperties":
90941			if v != nil {
90942				var webTableDatasetTypeProperties WebTableDatasetTypeProperties
90943				err = json.Unmarshal(*v, &webTableDatasetTypeProperties)
90944				if err != nil {
90945					return err
90946				}
90947				wtd.WebTableDatasetTypeProperties = &webTableDatasetTypeProperties
90948			}
90949		default:
90950			if v != nil {
90951				var additionalProperties interface{}
90952				err = json.Unmarshal(*v, &additionalProperties)
90953				if err != nil {
90954					return err
90955				}
90956				if wtd.AdditionalProperties == nil {
90957					wtd.AdditionalProperties = make(map[string]interface{})
90958				}
90959				wtd.AdditionalProperties[k] = additionalProperties
90960			}
90961		case "description":
90962			if v != nil {
90963				var description string
90964				err = json.Unmarshal(*v, &description)
90965				if err != nil {
90966					return err
90967				}
90968				wtd.Description = &description
90969			}
90970		case "structure":
90971			if v != nil {
90972				var structure interface{}
90973				err = json.Unmarshal(*v, &structure)
90974				if err != nil {
90975					return err
90976				}
90977				wtd.Structure = structure
90978			}
90979		case "linkedServiceName":
90980			if v != nil {
90981				var linkedServiceName LinkedServiceReference
90982				err = json.Unmarshal(*v, &linkedServiceName)
90983				if err != nil {
90984					return err
90985				}
90986				wtd.LinkedServiceName = &linkedServiceName
90987			}
90988		case "parameters":
90989			if v != nil {
90990				var parameters map[string]*ParameterSpecification
90991				err = json.Unmarshal(*v, &parameters)
90992				if err != nil {
90993					return err
90994				}
90995				wtd.Parameters = parameters
90996			}
90997		case "annotations":
90998			if v != nil {
90999				var annotations []interface{}
91000				err = json.Unmarshal(*v, &annotations)
91001				if err != nil {
91002					return err
91003				}
91004				wtd.Annotations = &annotations
91005			}
91006		case "type":
91007			if v != nil {
91008				var typeVar TypeBasicDataset
91009				err = json.Unmarshal(*v, &typeVar)
91010				if err != nil {
91011					return err
91012				}
91013				wtd.Type = typeVar
91014			}
91015		}
91016	}
91017
91018	return nil
91019}
91020
91021// WebTableDatasetTypeProperties web table dataset properties.
91022type WebTableDatasetTypeProperties struct {
91023	// Index - The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0.
91024	Index interface{} `json:"index,omitempty"`
91025	// Path - The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string).
91026	Path interface{} `json:"path,omitempty"`
91027}
91028
91029// XeroLinkedService xero Serivce linked service.
91030type XeroLinkedService struct {
91031	// XeroLinkedServiceTypeProperties - Xero Serivce linked service properties.
91032	*XeroLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
91033	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
91034	AdditionalProperties map[string]interface{} `json:""`
91035	// ConnectVia - The integration runtime reference.
91036	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
91037	// Description - Linked service description.
91038	Description *string `json:"description,omitempty"`
91039	// Parameters - Parameters for linked service.
91040	Parameters map[string]*ParameterSpecification `json:"parameters"`
91041	// Annotations - List of tags that can be used for describing the Dataset.
91042	Annotations *[]interface{} `json:"annotations,omitempty"`
91043	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
91044	Type TypeBasicLinkedService `json:"type,omitempty"`
91045}
91046
91047// MarshalJSON is the custom marshaler for XeroLinkedService.
91048func (xls XeroLinkedService) MarshalJSON() ([]byte, error) {
91049	xls.Type = TypeXero
91050	objectMap := make(map[string]interface{})
91051	if xls.XeroLinkedServiceTypeProperties != nil {
91052		objectMap["typeProperties"] = xls.XeroLinkedServiceTypeProperties
91053	}
91054	if xls.ConnectVia != nil {
91055		objectMap["connectVia"] = xls.ConnectVia
91056	}
91057	if xls.Description != nil {
91058		objectMap["description"] = xls.Description
91059	}
91060	if xls.Parameters != nil {
91061		objectMap["parameters"] = xls.Parameters
91062	}
91063	if xls.Annotations != nil {
91064		objectMap["annotations"] = xls.Annotations
91065	}
91066	if xls.Type != "" {
91067		objectMap["type"] = xls.Type
91068	}
91069	for k, v := range xls.AdditionalProperties {
91070		objectMap[k] = v
91071	}
91072	return json.Marshal(objectMap)
91073}
91074
91075// AsResponsysLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91076func (xls XeroLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
91077	return nil, false
91078}
91079
91080// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91081func (xls XeroLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
91082	return nil, false
91083}
91084
91085// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91086func (xls XeroLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
91087	return nil, false
91088}
91089
91090// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91091func (xls XeroLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
91092	return nil, false
91093}
91094
91095// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91096func (xls XeroLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
91097	return nil, false
91098}
91099
91100// AsNetezzaLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91101func (xls XeroLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
91102	return nil, false
91103}
91104
91105// AsVerticaLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91106func (xls XeroLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
91107	return nil, false
91108}
91109
91110// AsZohoLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91111func (xls XeroLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
91112	return nil, false
91113}
91114
91115// AsXeroLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91116func (xls XeroLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
91117	return &xls, true
91118}
91119
91120// AsSquareLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91121func (xls XeroLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
91122	return nil, false
91123}
91124
91125// AsSparkLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91126func (xls XeroLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
91127	return nil, false
91128}
91129
91130// AsShopifyLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91131func (xls XeroLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
91132	return nil, false
91133}
91134
91135// AsServiceNowLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91136func (xls XeroLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
91137	return nil, false
91138}
91139
91140// AsQuickBooksLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91141func (xls XeroLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
91142	return nil, false
91143}
91144
91145// AsPrestoLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91146func (xls XeroLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
91147	return nil, false
91148}
91149
91150// AsPhoenixLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91151func (xls XeroLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
91152	return nil, false
91153}
91154
91155// AsPaypalLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91156func (xls XeroLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
91157	return nil, false
91158}
91159
91160// AsMarketoLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91161func (xls XeroLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
91162	return nil, false
91163}
91164
91165// AsMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91166func (xls XeroLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
91167	return nil, false
91168}
91169
91170// AsMagentoLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91171func (xls XeroLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
91172	return nil, false
91173}
91174
91175// AsJiraLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91176func (xls XeroLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
91177	return nil, false
91178}
91179
91180// AsImpalaLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91181func (xls XeroLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
91182	return nil, false
91183}
91184
91185// AsHubspotLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91186func (xls XeroLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
91187	return nil, false
91188}
91189
91190// AsHiveLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91191func (xls XeroLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
91192	return nil, false
91193}
91194
91195// AsHBaseLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91196func (xls XeroLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
91197	return nil, false
91198}
91199
91200// AsGreenplumLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91201func (xls XeroLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
91202	return nil, false
91203}
91204
91205// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91206func (xls XeroLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
91207	return nil, false
91208}
91209
91210// AsEloquaLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91211func (xls XeroLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
91212	return nil, false
91213}
91214
91215// AsDrillLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91216func (xls XeroLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
91217	return nil, false
91218}
91219
91220// AsCouchbaseLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91221func (xls XeroLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
91222	return nil, false
91223}
91224
91225// AsConcurLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91226func (xls XeroLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
91227	return nil, false
91228}
91229
91230// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91231func (xls XeroLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
91232	return nil, false
91233}
91234
91235// AsAmazonMWSLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91236func (xls XeroLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
91237	return nil, false
91238}
91239
91240// AsSapHanaLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91241func (xls XeroLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
91242	return nil, false
91243}
91244
91245// AsSapBWLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91246func (xls XeroLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
91247	return nil, false
91248}
91249
91250// AsSftpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91251func (xls XeroLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
91252	return nil, false
91253}
91254
91255// AsFtpServerLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91256func (xls XeroLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
91257	return nil, false
91258}
91259
91260// AsHTTPLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91261func (xls XeroLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
91262	return nil, false
91263}
91264
91265// AsAzureSearchLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91266func (xls XeroLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
91267	return nil, false
91268}
91269
91270// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91271func (xls XeroLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
91272	return nil, false
91273}
91274
91275// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91276func (xls XeroLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
91277	return nil, false
91278}
91279
91280// AsAmazonS3LinkedService is the BasicLinkedService implementation for XeroLinkedService.
91281func (xls XeroLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
91282	return nil, false
91283}
91284
91285// AsSapEccLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91286func (xls XeroLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
91287	return nil, false
91288}
91289
91290// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91291func (xls XeroLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
91292	return nil, false
91293}
91294
91295// AsSalesforceLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91296func (xls XeroLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
91297	return nil, false
91298}
91299
91300// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91301func (xls XeroLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
91302	return nil, false
91303}
91304
91305// AsMongoDbLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91306func (xls XeroLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
91307	return nil, false
91308}
91309
91310// AsCassandraLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91311func (xls XeroLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
91312	return nil, false
91313}
91314
91315// AsWebLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91316func (xls XeroLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
91317	return nil, false
91318}
91319
91320// AsODataLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91321func (xls XeroLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
91322	return nil, false
91323}
91324
91325// AsHdfsLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91326func (xls XeroLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
91327	return nil, false
91328}
91329
91330// AsOdbcLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91331func (xls XeroLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
91332	return nil, false
91333}
91334
91335// AsAzureMLLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91336func (xls XeroLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
91337	return nil, false
91338}
91339
91340// AsTeradataLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91341func (xls XeroLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
91342	return nil, false
91343}
91344
91345// AsDb2LinkedService is the BasicLinkedService implementation for XeroLinkedService.
91346func (xls XeroLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
91347	return nil, false
91348}
91349
91350// AsSybaseLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91351func (xls XeroLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
91352	return nil, false
91353}
91354
91355// AsPostgreSQLLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91356func (xls XeroLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
91357	return nil, false
91358}
91359
91360// AsMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91361func (xls XeroLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
91362	return nil, false
91363}
91364
91365// AsAzureMySQLLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91366func (xls XeroLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
91367	return nil, false
91368}
91369
91370// AsOracleLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91371func (xls XeroLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
91372	return nil, false
91373}
91374
91375// AsFileServerLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91376func (xls XeroLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
91377	return nil, false
91378}
91379
91380// AsHDInsightLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91381func (xls XeroLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
91382	return nil, false
91383}
91384
91385// AsDynamicsLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91386func (xls XeroLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
91387	return nil, false
91388}
91389
91390// AsCosmosDbLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91391func (xls XeroLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
91392	return nil, false
91393}
91394
91395// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91396func (xls XeroLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
91397	return nil, false
91398}
91399
91400// AsAzureBatchLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91401func (xls XeroLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
91402	return nil, false
91403}
91404
91405// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91406func (xls XeroLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
91407	return nil, false
91408}
91409
91410// AsSQLServerLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91411func (xls XeroLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
91412	return nil, false
91413}
91414
91415// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91416func (xls XeroLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
91417	return nil, false
91418}
91419
91420// AsAzureStorageLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91421func (xls XeroLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
91422	return nil, false
91423}
91424
91425// AsLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91426func (xls XeroLinkedService) AsLinkedService() (*LinkedService, bool) {
91427	return nil, false
91428}
91429
91430// AsBasicLinkedService is the BasicLinkedService implementation for XeroLinkedService.
91431func (xls XeroLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
91432	return &xls, true
91433}
91434
91435// UnmarshalJSON is the custom unmarshaler for XeroLinkedService struct.
91436func (xls *XeroLinkedService) UnmarshalJSON(body []byte) error {
91437	var m map[string]*json.RawMessage
91438	err := json.Unmarshal(body, &m)
91439	if err != nil {
91440		return err
91441	}
91442	for k, v := range m {
91443		switch k {
91444		case "typeProperties":
91445			if v != nil {
91446				var xeroLinkedServiceTypeProperties XeroLinkedServiceTypeProperties
91447				err = json.Unmarshal(*v, &xeroLinkedServiceTypeProperties)
91448				if err != nil {
91449					return err
91450				}
91451				xls.XeroLinkedServiceTypeProperties = &xeroLinkedServiceTypeProperties
91452			}
91453		default:
91454			if v != nil {
91455				var additionalProperties interface{}
91456				err = json.Unmarshal(*v, &additionalProperties)
91457				if err != nil {
91458					return err
91459				}
91460				if xls.AdditionalProperties == nil {
91461					xls.AdditionalProperties = make(map[string]interface{})
91462				}
91463				xls.AdditionalProperties[k] = additionalProperties
91464			}
91465		case "connectVia":
91466			if v != nil {
91467				var connectVia IntegrationRuntimeReference
91468				err = json.Unmarshal(*v, &connectVia)
91469				if err != nil {
91470					return err
91471				}
91472				xls.ConnectVia = &connectVia
91473			}
91474		case "description":
91475			if v != nil {
91476				var description string
91477				err = json.Unmarshal(*v, &description)
91478				if err != nil {
91479					return err
91480				}
91481				xls.Description = &description
91482			}
91483		case "parameters":
91484			if v != nil {
91485				var parameters map[string]*ParameterSpecification
91486				err = json.Unmarshal(*v, &parameters)
91487				if err != nil {
91488					return err
91489				}
91490				xls.Parameters = parameters
91491			}
91492		case "annotations":
91493			if v != nil {
91494				var annotations []interface{}
91495				err = json.Unmarshal(*v, &annotations)
91496				if err != nil {
91497					return err
91498				}
91499				xls.Annotations = &annotations
91500			}
91501		case "type":
91502			if v != nil {
91503				var typeVar TypeBasicLinkedService
91504				err = json.Unmarshal(*v, &typeVar)
91505				if err != nil {
91506					return err
91507				}
91508				xls.Type = typeVar
91509			}
91510		}
91511	}
91512
91513	return nil
91514}
91515
91516// XeroLinkedServiceTypeProperties xero Serivce linked service properties.
91517type XeroLinkedServiceTypeProperties struct {
91518	// Host - The endpoint of the Xero server. (i.e. api.xero.com)
91519	Host interface{} `json:"host,omitempty"`
91520	// ConsumerKey - The consumer key associated with the Xero application.
91521	ConsumerKey BasicSecretBase `json:"consumerKey,omitempty"`
91522	// 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(
91523	// ).
91524	PrivateKey BasicSecretBase `json:"privateKey,omitempty"`
91525	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
91526	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
91527	// 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.
91528	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
91529	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
91530	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
91531	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
91532	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
91533}
91534
91535// UnmarshalJSON is the custom unmarshaler for XeroLinkedServiceTypeProperties struct.
91536func (xlstp *XeroLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
91537	var m map[string]*json.RawMessage
91538	err := json.Unmarshal(body, &m)
91539	if err != nil {
91540		return err
91541	}
91542	for k, v := range m {
91543		switch k {
91544		case "host":
91545			if v != nil {
91546				var host interface{}
91547				err = json.Unmarshal(*v, &host)
91548				if err != nil {
91549					return err
91550				}
91551				xlstp.Host = host
91552			}
91553		case "consumerKey":
91554			if v != nil {
91555				consumerKey, err := unmarshalBasicSecretBase(*v)
91556				if err != nil {
91557					return err
91558				}
91559				xlstp.ConsumerKey = consumerKey
91560			}
91561		case "privateKey":
91562			if v != nil {
91563				privateKey, err := unmarshalBasicSecretBase(*v)
91564				if err != nil {
91565					return err
91566				}
91567				xlstp.PrivateKey = privateKey
91568			}
91569		case "useEncryptedEndpoints":
91570			if v != nil {
91571				var useEncryptedEndpoints interface{}
91572				err = json.Unmarshal(*v, &useEncryptedEndpoints)
91573				if err != nil {
91574					return err
91575				}
91576				xlstp.UseEncryptedEndpoints = useEncryptedEndpoints
91577			}
91578		case "useHostVerification":
91579			if v != nil {
91580				var useHostVerification interface{}
91581				err = json.Unmarshal(*v, &useHostVerification)
91582				if err != nil {
91583					return err
91584				}
91585				xlstp.UseHostVerification = useHostVerification
91586			}
91587		case "usePeerVerification":
91588			if v != nil {
91589				var usePeerVerification interface{}
91590				err = json.Unmarshal(*v, &usePeerVerification)
91591				if err != nil {
91592					return err
91593				}
91594				xlstp.UsePeerVerification = usePeerVerification
91595			}
91596		case "encryptedCredential":
91597			if v != nil {
91598				var encryptedCredential interface{}
91599				err = json.Unmarshal(*v, &encryptedCredential)
91600				if err != nil {
91601					return err
91602				}
91603				xlstp.EncryptedCredential = encryptedCredential
91604			}
91605		}
91606	}
91607
91608	return nil
91609}
91610
91611// XeroObjectDataset xero Serivce dataset.
91612type XeroObjectDataset struct {
91613	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
91614	AdditionalProperties map[string]interface{} `json:""`
91615	// Description - Dataset description.
91616	Description *string `json:"description,omitempty"`
91617	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
91618	Structure interface{} `json:"structure,omitempty"`
91619	// LinkedServiceName - Linked service reference.
91620	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
91621	// Parameters - Parameters for dataset.
91622	Parameters map[string]*ParameterSpecification `json:"parameters"`
91623	// Annotations - List of tags that can be used for describing the Dataset.
91624	Annotations *[]interface{} `json:"annotations,omitempty"`
91625	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
91626	Type TypeBasicDataset `json:"type,omitempty"`
91627}
91628
91629// MarshalJSON is the custom marshaler for XeroObjectDataset.
91630func (xod XeroObjectDataset) MarshalJSON() ([]byte, error) {
91631	xod.Type = TypeXeroObject
91632	objectMap := make(map[string]interface{})
91633	if xod.Description != nil {
91634		objectMap["description"] = xod.Description
91635	}
91636	objectMap["structure"] = xod.Structure
91637	if xod.LinkedServiceName != nil {
91638		objectMap["linkedServiceName"] = xod.LinkedServiceName
91639	}
91640	if xod.Parameters != nil {
91641		objectMap["parameters"] = xod.Parameters
91642	}
91643	if xod.Annotations != nil {
91644		objectMap["annotations"] = xod.Annotations
91645	}
91646	if xod.Type != "" {
91647		objectMap["type"] = xod.Type
91648	}
91649	for k, v := range xod.AdditionalProperties {
91650		objectMap[k] = v
91651	}
91652	return json.Marshal(objectMap)
91653}
91654
91655// AsResponsysObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91656func (xod XeroObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
91657	return nil, false
91658}
91659
91660// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91661func (xod XeroObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
91662	return nil, false
91663}
91664
91665// AsVerticaTableDataset is the BasicDataset implementation for XeroObjectDataset.
91666func (xod XeroObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
91667	return nil, false
91668}
91669
91670// AsNetezzaTableDataset is the BasicDataset implementation for XeroObjectDataset.
91671func (xod XeroObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
91672	return nil, false
91673}
91674
91675// AsZohoObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91676func (xod XeroObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
91677	return nil, false
91678}
91679
91680// AsXeroObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91681func (xod XeroObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
91682	return &xod, true
91683}
91684
91685// AsSquareObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91686func (xod XeroObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
91687	return nil, false
91688}
91689
91690// AsSparkObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91691func (xod XeroObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
91692	return nil, false
91693}
91694
91695// AsShopifyObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91696func (xod XeroObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
91697	return nil, false
91698}
91699
91700// AsServiceNowObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91701func (xod XeroObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
91702	return nil, false
91703}
91704
91705// AsQuickBooksObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91706func (xod XeroObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
91707	return nil, false
91708}
91709
91710// AsPrestoObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91711func (xod XeroObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
91712	return nil, false
91713}
91714
91715// AsPhoenixObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91716func (xod XeroObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
91717	return nil, false
91718}
91719
91720// AsPaypalObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91721func (xod XeroObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
91722	return nil, false
91723}
91724
91725// AsMarketoObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91726func (xod XeroObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
91727	return nil, false
91728}
91729
91730// AsMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset.
91731func (xod XeroObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
91732	return nil, false
91733}
91734
91735// AsMagentoObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91736func (xod XeroObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
91737	return nil, false
91738}
91739
91740// AsJiraObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91741func (xod XeroObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
91742	return nil, false
91743}
91744
91745// AsImpalaObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91746func (xod XeroObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
91747	return nil, false
91748}
91749
91750// AsHubspotObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91751func (xod XeroObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
91752	return nil, false
91753}
91754
91755// AsHiveObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91756func (xod XeroObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
91757	return nil, false
91758}
91759
91760// AsHBaseObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91761func (xod XeroObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
91762	return nil, false
91763}
91764
91765// AsGreenplumTableDataset is the BasicDataset implementation for XeroObjectDataset.
91766func (xod XeroObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
91767	return nil, false
91768}
91769
91770// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91771func (xod XeroObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
91772	return nil, false
91773}
91774
91775// AsEloquaObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91776func (xod XeroObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
91777	return nil, false
91778}
91779
91780// AsDrillTableDataset is the BasicDataset implementation for XeroObjectDataset.
91781func (xod XeroObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
91782	return nil, false
91783}
91784
91785// AsCouchbaseTableDataset is the BasicDataset implementation for XeroObjectDataset.
91786func (xod XeroObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
91787	return nil, false
91788}
91789
91790// AsConcurObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91791func (xod XeroObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
91792	return nil, false
91793}
91794
91795// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for XeroObjectDataset.
91796func (xod XeroObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
91797	return nil, false
91798}
91799
91800// AsAmazonMWSObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91801func (xod XeroObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
91802	return nil, false
91803}
91804
91805// AsHTTPDataset is the BasicDataset implementation for XeroObjectDataset.
91806func (xod XeroObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
91807	return nil, false
91808}
91809
91810// AsAzureSearchIndexDataset is the BasicDataset implementation for XeroObjectDataset.
91811func (xod XeroObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
91812	return nil, false
91813}
91814
91815// AsWebTableDataset is the BasicDataset implementation for XeroObjectDataset.
91816func (xod XeroObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
91817	return nil, false
91818}
91819
91820// AsSQLServerTableDataset is the BasicDataset implementation for XeroObjectDataset.
91821func (xod XeroObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
91822	return nil, false
91823}
91824
91825// AsSapEccResourceDataset is the BasicDataset implementation for XeroObjectDataset.
91826func (xod XeroObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
91827	return nil, false
91828}
91829
91830// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for XeroObjectDataset.
91831func (xod XeroObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
91832	return nil, false
91833}
91834
91835// AsSalesforceObjectDataset is the BasicDataset implementation for XeroObjectDataset.
91836func (xod XeroObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
91837	return nil, false
91838}
91839
91840// AsRelationalTableDataset is the BasicDataset implementation for XeroObjectDataset.
91841func (xod XeroObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
91842	return nil, false
91843}
91844
91845// AsAzureMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset.
91846func (xod XeroObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
91847	return nil, false
91848}
91849
91850// AsOracleTableDataset is the BasicDataset implementation for XeroObjectDataset.
91851func (xod XeroObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
91852	return nil, false
91853}
91854
91855// AsODataResourceDataset is the BasicDataset implementation for XeroObjectDataset.
91856func (xod XeroObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
91857	return nil, false
91858}
91859
91860// AsMongoDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset.
91861func (xod XeroObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
91862	return nil, false
91863}
91864
91865// AsFileShareDataset is the BasicDataset implementation for XeroObjectDataset.
91866func (xod XeroObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
91867	return nil, false
91868}
91869
91870// AsAzureDataLakeStoreDataset is the BasicDataset implementation for XeroObjectDataset.
91871func (xod XeroObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
91872	return nil, false
91873}
91874
91875// AsDynamicsEntityDataset is the BasicDataset implementation for XeroObjectDataset.
91876func (xod XeroObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
91877	return nil, false
91878}
91879
91880// AsDocumentDbCollectionDataset is the BasicDataset implementation for XeroObjectDataset.
91881func (xod XeroObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
91882	return nil, false
91883}
91884
91885// AsCustomDataset is the BasicDataset implementation for XeroObjectDataset.
91886func (xod XeroObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
91887	return nil, false
91888}
91889
91890// AsCassandraTableDataset is the BasicDataset implementation for XeroObjectDataset.
91891func (xod XeroObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
91892	return nil, false
91893}
91894
91895// AsAzureSQLDWTableDataset is the BasicDataset implementation for XeroObjectDataset.
91896func (xod XeroObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
91897	return nil, false
91898}
91899
91900// AsAzureSQLTableDataset is the BasicDataset implementation for XeroObjectDataset.
91901func (xod XeroObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
91902	return nil, false
91903}
91904
91905// AsAzureTableDataset is the BasicDataset implementation for XeroObjectDataset.
91906func (xod XeroObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
91907	return nil, false
91908}
91909
91910// AsAzureBlobDataset is the BasicDataset implementation for XeroObjectDataset.
91911func (xod XeroObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
91912	return nil, false
91913}
91914
91915// AsAmazonS3Dataset is the BasicDataset implementation for XeroObjectDataset.
91916func (xod XeroObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
91917	return nil, false
91918}
91919
91920// AsDataset is the BasicDataset implementation for XeroObjectDataset.
91921func (xod XeroObjectDataset) AsDataset() (*Dataset, bool) {
91922	return nil, false
91923}
91924
91925// AsBasicDataset is the BasicDataset implementation for XeroObjectDataset.
91926func (xod XeroObjectDataset) AsBasicDataset() (BasicDataset, bool) {
91927	return &xod, true
91928}
91929
91930// XeroSource a copy activity Xero Serivce source.
91931type XeroSource struct {
91932	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
91933	Query interface{} `json:"query,omitempty"`
91934	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
91935	AdditionalProperties map[string]interface{} `json:""`
91936	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
91937	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
91938	// 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])).
91939	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
91940	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
91941	Type TypeBasicCopySource `json:"type,omitempty"`
91942}
91943
91944// MarshalJSON is the custom marshaler for XeroSource.
91945func (xs XeroSource) MarshalJSON() ([]byte, error) {
91946	xs.Type = TypeXeroSource
91947	objectMap := make(map[string]interface{})
91948	objectMap["query"] = xs.Query
91949	objectMap["sourceRetryCount"] = xs.SourceRetryCount
91950	objectMap["sourceRetryWait"] = xs.SourceRetryWait
91951	if xs.Type != "" {
91952		objectMap["type"] = xs.Type
91953	}
91954	for k, v := range xs.AdditionalProperties {
91955		objectMap[k] = v
91956	}
91957	return json.Marshal(objectMap)
91958}
91959
91960// AsAmazonRedshiftSource is the BasicCopySource implementation for XeroSource.
91961func (xs XeroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
91962	return nil, false
91963}
91964
91965// AsResponsysSource is the BasicCopySource implementation for XeroSource.
91966func (xs XeroSource) AsResponsysSource() (*ResponsysSource, bool) {
91967	return nil, false
91968}
91969
91970// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for XeroSource.
91971func (xs XeroSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
91972	return nil, false
91973}
91974
91975// AsVerticaSource is the BasicCopySource implementation for XeroSource.
91976func (xs XeroSource) AsVerticaSource() (*VerticaSource, bool) {
91977	return nil, false
91978}
91979
91980// AsNetezzaSource is the BasicCopySource implementation for XeroSource.
91981func (xs XeroSource) AsNetezzaSource() (*NetezzaSource, bool) {
91982	return nil, false
91983}
91984
91985// AsZohoSource is the BasicCopySource implementation for XeroSource.
91986func (xs XeroSource) AsZohoSource() (*ZohoSource, bool) {
91987	return nil, false
91988}
91989
91990// AsXeroSource is the BasicCopySource implementation for XeroSource.
91991func (xs XeroSource) AsXeroSource() (*XeroSource, bool) {
91992	return &xs, true
91993}
91994
91995// AsSquareSource is the BasicCopySource implementation for XeroSource.
91996func (xs XeroSource) AsSquareSource() (*SquareSource, bool) {
91997	return nil, false
91998}
91999
92000// AsSparkSource is the BasicCopySource implementation for XeroSource.
92001func (xs XeroSource) AsSparkSource() (*SparkSource, bool) {
92002	return nil, false
92003}
92004
92005// AsShopifySource is the BasicCopySource implementation for XeroSource.
92006func (xs XeroSource) AsShopifySource() (*ShopifySource, bool) {
92007	return nil, false
92008}
92009
92010// AsServiceNowSource is the BasicCopySource implementation for XeroSource.
92011func (xs XeroSource) AsServiceNowSource() (*ServiceNowSource, bool) {
92012	return nil, false
92013}
92014
92015// AsQuickBooksSource is the BasicCopySource implementation for XeroSource.
92016func (xs XeroSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
92017	return nil, false
92018}
92019
92020// AsPrestoSource is the BasicCopySource implementation for XeroSource.
92021func (xs XeroSource) AsPrestoSource() (*PrestoSource, bool) {
92022	return nil, false
92023}
92024
92025// AsPhoenixSource is the BasicCopySource implementation for XeroSource.
92026func (xs XeroSource) AsPhoenixSource() (*PhoenixSource, bool) {
92027	return nil, false
92028}
92029
92030// AsPaypalSource is the BasicCopySource implementation for XeroSource.
92031func (xs XeroSource) AsPaypalSource() (*PaypalSource, bool) {
92032	return nil, false
92033}
92034
92035// AsMarketoSource is the BasicCopySource implementation for XeroSource.
92036func (xs XeroSource) AsMarketoSource() (*MarketoSource, bool) {
92037	return nil, false
92038}
92039
92040// AsMariaDBSource is the BasicCopySource implementation for XeroSource.
92041func (xs XeroSource) AsMariaDBSource() (*MariaDBSource, bool) {
92042	return nil, false
92043}
92044
92045// AsMagentoSource is the BasicCopySource implementation for XeroSource.
92046func (xs XeroSource) AsMagentoSource() (*MagentoSource, bool) {
92047	return nil, false
92048}
92049
92050// AsJiraSource is the BasicCopySource implementation for XeroSource.
92051func (xs XeroSource) AsJiraSource() (*JiraSource, bool) {
92052	return nil, false
92053}
92054
92055// AsImpalaSource is the BasicCopySource implementation for XeroSource.
92056func (xs XeroSource) AsImpalaSource() (*ImpalaSource, bool) {
92057	return nil, false
92058}
92059
92060// AsHubspotSource is the BasicCopySource implementation for XeroSource.
92061func (xs XeroSource) AsHubspotSource() (*HubspotSource, bool) {
92062	return nil, false
92063}
92064
92065// AsHiveSource is the BasicCopySource implementation for XeroSource.
92066func (xs XeroSource) AsHiveSource() (*HiveSource, bool) {
92067	return nil, false
92068}
92069
92070// AsHBaseSource is the BasicCopySource implementation for XeroSource.
92071func (xs XeroSource) AsHBaseSource() (*HBaseSource, bool) {
92072	return nil, false
92073}
92074
92075// AsGreenplumSource is the BasicCopySource implementation for XeroSource.
92076func (xs XeroSource) AsGreenplumSource() (*GreenplumSource, bool) {
92077	return nil, false
92078}
92079
92080// AsGoogleBigQuerySource is the BasicCopySource implementation for XeroSource.
92081func (xs XeroSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
92082	return nil, false
92083}
92084
92085// AsEloquaSource is the BasicCopySource implementation for XeroSource.
92086func (xs XeroSource) AsEloquaSource() (*EloquaSource, bool) {
92087	return nil, false
92088}
92089
92090// AsDrillSource is the BasicCopySource implementation for XeroSource.
92091func (xs XeroSource) AsDrillSource() (*DrillSource, bool) {
92092	return nil, false
92093}
92094
92095// AsCouchbaseSource is the BasicCopySource implementation for XeroSource.
92096func (xs XeroSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
92097	return nil, false
92098}
92099
92100// AsConcurSource is the BasicCopySource implementation for XeroSource.
92101func (xs XeroSource) AsConcurSource() (*ConcurSource, bool) {
92102	return nil, false
92103}
92104
92105// AsAzurePostgreSQLSource is the BasicCopySource implementation for XeroSource.
92106func (xs XeroSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
92107	return nil, false
92108}
92109
92110// AsAmazonMWSSource is the BasicCopySource implementation for XeroSource.
92111func (xs XeroSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
92112	return nil, false
92113}
92114
92115// AsHTTPSource is the BasicCopySource implementation for XeroSource.
92116func (xs XeroSource) AsHTTPSource() (*HTTPSource, bool) {
92117	return nil, false
92118}
92119
92120// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XeroSource.
92121func (xs XeroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
92122	return nil, false
92123}
92124
92125// AsMongoDbSource is the BasicCopySource implementation for XeroSource.
92126func (xs XeroSource) AsMongoDbSource() (*MongoDbSource, bool) {
92127	return nil, false
92128}
92129
92130// AsCassandraSource is the BasicCopySource implementation for XeroSource.
92131func (xs XeroSource) AsCassandraSource() (*CassandraSource, bool) {
92132	return nil, false
92133}
92134
92135// AsWebSource is the BasicCopySource implementation for XeroSource.
92136func (xs XeroSource) AsWebSource() (*WebSource, bool) {
92137	return nil, false
92138}
92139
92140// AsOracleSource is the BasicCopySource implementation for XeroSource.
92141func (xs XeroSource) AsOracleSource() (*OracleSource, bool) {
92142	return nil, false
92143}
92144
92145// AsAzureMySQLSource is the BasicCopySource implementation for XeroSource.
92146func (xs XeroSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
92147	return nil, false
92148}
92149
92150// AsHdfsSource is the BasicCopySource implementation for XeroSource.
92151func (xs XeroSource) AsHdfsSource() (*HdfsSource, bool) {
92152	return nil, false
92153}
92154
92155// AsFileSystemSource is the BasicCopySource implementation for XeroSource.
92156func (xs XeroSource) AsFileSystemSource() (*FileSystemSource, bool) {
92157	return nil, false
92158}
92159
92160// AsSQLDWSource is the BasicCopySource implementation for XeroSource.
92161func (xs XeroSource) AsSQLDWSource() (*SQLDWSource, bool) {
92162	return nil, false
92163}
92164
92165// AsSQLSource is the BasicCopySource implementation for XeroSource.
92166func (xs XeroSource) AsSQLSource() (*SQLSource, bool) {
92167	return nil, false
92168}
92169
92170// AsSapEccSource is the BasicCopySource implementation for XeroSource.
92171func (xs XeroSource) AsSapEccSource() (*SapEccSource, bool) {
92172	return nil, false
92173}
92174
92175// AsSapCloudForCustomerSource is the BasicCopySource implementation for XeroSource.
92176func (xs XeroSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
92177	return nil, false
92178}
92179
92180// AsSalesforceSource is the BasicCopySource implementation for XeroSource.
92181func (xs XeroSource) AsSalesforceSource() (*SalesforceSource, bool) {
92182	return nil, false
92183}
92184
92185// AsRelationalSource is the BasicCopySource implementation for XeroSource.
92186func (xs XeroSource) AsRelationalSource() (*RelationalSource, bool) {
92187	return nil, false
92188}
92189
92190// AsDynamicsSource is the BasicCopySource implementation for XeroSource.
92191func (xs XeroSource) AsDynamicsSource() (*DynamicsSource, bool) {
92192	return nil, false
92193}
92194
92195// AsDocumentDbCollectionSource is the BasicCopySource implementation for XeroSource.
92196func (xs XeroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
92197	return nil, false
92198}
92199
92200// AsBlobSource is the BasicCopySource implementation for XeroSource.
92201func (xs XeroSource) AsBlobSource() (*BlobSource, bool) {
92202	return nil, false
92203}
92204
92205// AsAzureTableSource is the BasicCopySource implementation for XeroSource.
92206func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) {
92207	return nil, false
92208}
92209
92210// AsCopySource is the BasicCopySource implementation for XeroSource.
92211func (xs XeroSource) AsCopySource() (*CopySource, bool) {
92212	return nil, false
92213}
92214
92215// AsBasicCopySource is the BasicCopySource implementation for XeroSource.
92216func (xs XeroSource) AsBasicCopySource() (BasicCopySource, bool) {
92217	return &xs, true
92218}
92219
92220// ZohoLinkedService zoho server linked service.
92221type ZohoLinkedService struct {
92222	// ZohoLinkedServiceTypeProperties - Zoho server linked service properties.
92223	*ZohoLinkedServiceTypeProperties `json:"typeProperties,omitempty"`
92224	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
92225	AdditionalProperties map[string]interface{} `json:""`
92226	// ConnectVia - The integration runtime reference.
92227	ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"`
92228	// Description - Linked service description.
92229	Description *string `json:"description,omitempty"`
92230	// Parameters - Parameters for linked service.
92231	Parameters map[string]*ParameterSpecification `json:"parameters"`
92232	// Annotations - List of tags that can be used for describing the Dataset.
92233	Annotations *[]interface{} `json:"annotations,omitempty"`
92234	// Type - Possible values include: 'TypeLinkedService', 'TypeResponsys', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeSalesforceMarketingCloud', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage'
92235	Type TypeBasicLinkedService `json:"type,omitempty"`
92236}
92237
92238// MarshalJSON is the custom marshaler for ZohoLinkedService.
92239func (zls ZohoLinkedService) MarshalJSON() ([]byte, error) {
92240	zls.Type = TypeZoho
92241	objectMap := make(map[string]interface{})
92242	if zls.ZohoLinkedServiceTypeProperties != nil {
92243		objectMap["typeProperties"] = zls.ZohoLinkedServiceTypeProperties
92244	}
92245	if zls.ConnectVia != nil {
92246		objectMap["connectVia"] = zls.ConnectVia
92247	}
92248	if zls.Description != nil {
92249		objectMap["description"] = zls.Description
92250	}
92251	if zls.Parameters != nil {
92252		objectMap["parameters"] = zls.Parameters
92253	}
92254	if zls.Annotations != nil {
92255		objectMap["annotations"] = zls.Annotations
92256	}
92257	if zls.Type != "" {
92258		objectMap["type"] = zls.Type
92259	}
92260	for k, v := range zls.AdditionalProperties {
92261		objectMap[k] = v
92262	}
92263	return json.Marshal(objectMap)
92264}
92265
92266// AsResponsysLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92267func (zls ZohoLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) {
92268	return nil, false
92269}
92270
92271// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92272func (zls ZohoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) {
92273	return nil, false
92274}
92275
92276// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92277func (zls ZohoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) {
92278	return nil, false
92279}
92280
92281// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92282func (zls ZohoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) {
92283	return nil, false
92284}
92285
92286// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92287func (zls ZohoLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) {
92288	return nil, false
92289}
92290
92291// AsNetezzaLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92292func (zls ZohoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) {
92293	return nil, false
92294}
92295
92296// AsVerticaLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92297func (zls ZohoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) {
92298	return nil, false
92299}
92300
92301// AsZohoLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92302func (zls ZohoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) {
92303	return &zls, true
92304}
92305
92306// AsXeroLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92307func (zls ZohoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) {
92308	return nil, false
92309}
92310
92311// AsSquareLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92312func (zls ZohoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) {
92313	return nil, false
92314}
92315
92316// AsSparkLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92317func (zls ZohoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) {
92318	return nil, false
92319}
92320
92321// AsShopifyLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92322func (zls ZohoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) {
92323	return nil, false
92324}
92325
92326// AsServiceNowLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92327func (zls ZohoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) {
92328	return nil, false
92329}
92330
92331// AsQuickBooksLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92332func (zls ZohoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) {
92333	return nil, false
92334}
92335
92336// AsPrestoLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92337func (zls ZohoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) {
92338	return nil, false
92339}
92340
92341// AsPhoenixLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92342func (zls ZohoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) {
92343	return nil, false
92344}
92345
92346// AsPaypalLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92347func (zls ZohoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) {
92348	return nil, false
92349}
92350
92351// AsMarketoLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92352func (zls ZohoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) {
92353	return nil, false
92354}
92355
92356// AsMariaDBLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92357func (zls ZohoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) {
92358	return nil, false
92359}
92360
92361// AsMagentoLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92362func (zls ZohoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) {
92363	return nil, false
92364}
92365
92366// AsJiraLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92367func (zls ZohoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) {
92368	return nil, false
92369}
92370
92371// AsImpalaLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92372func (zls ZohoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) {
92373	return nil, false
92374}
92375
92376// AsHubspotLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92377func (zls ZohoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) {
92378	return nil, false
92379}
92380
92381// AsHiveLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92382func (zls ZohoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) {
92383	return nil, false
92384}
92385
92386// AsHBaseLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92387func (zls ZohoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) {
92388	return nil, false
92389}
92390
92391// AsGreenplumLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92392func (zls ZohoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) {
92393	return nil, false
92394}
92395
92396// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92397func (zls ZohoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) {
92398	return nil, false
92399}
92400
92401// AsEloquaLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92402func (zls ZohoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) {
92403	return nil, false
92404}
92405
92406// AsDrillLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92407func (zls ZohoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) {
92408	return nil, false
92409}
92410
92411// AsCouchbaseLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92412func (zls ZohoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) {
92413	return nil, false
92414}
92415
92416// AsConcurLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92417func (zls ZohoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) {
92418	return nil, false
92419}
92420
92421// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92422func (zls ZohoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) {
92423	return nil, false
92424}
92425
92426// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92427func (zls ZohoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) {
92428	return nil, false
92429}
92430
92431// AsSapHanaLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92432func (zls ZohoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) {
92433	return nil, false
92434}
92435
92436// AsSapBWLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92437func (zls ZohoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) {
92438	return nil, false
92439}
92440
92441// AsSftpServerLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92442func (zls ZohoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) {
92443	return nil, false
92444}
92445
92446// AsFtpServerLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92447func (zls ZohoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) {
92448	return nil, false
92449}
92450
92451// AsHTTPLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92452func (zls ZohoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) {
92453	return nil, false
92454}
92455
92456// AsAzureSearchLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92457func (zls ZohoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) {
92458	return nil, false
92459}
92460
92461// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92462func (zls ZohoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) {
92463	return nil, false
92464}
92465
92466// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92467func (zls ZohoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) {
92468	return nil, false
92469}
92470
92471// AsAmazonS3LinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92472func (zls ZohoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) {
92473	return nil, false
92474}
92475
92476// AsSapEccLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92477func (zls ZohoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) {
92478	return nil, false
92479}
92480
92481// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92482func (zls ZohoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) {
92483	return nil, false
92484}
92485
92486// AsSalesforceLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92487func (zls ZohoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) {
92488	return nil, false
92489}
92490
92491// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92492func (zls ZohoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) {
92493	return nil, false
92494}
92495
92496// AsMongoDbLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92497func (zls ZohoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) {
92498	return nil, false
92499}
92500
92501// AsCassandraLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92502func (zls ZohoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) {
92503	return nil, false
92504}
92505
92506// AsWebLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92507func (zls ZohoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) {
92508	return nil, false
92509}
92510
92511// AsODataLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92512func (zls ZohoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) {
92513	return nil, false
92514}
92515
92516// AsHdfsLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92517func (zls ZohoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) {
92518	return nil, false
92519}
92520
92521// AsOdbcLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92522func (zls ZohoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) {
92523	return nil, false
92524}
92525
92526// AsAzureMLLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92527func (zls ZohoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) {
92528	return nil, false
92529}
92530
92531// AsTeradataLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92532func (zls ZohoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) {
92533	return nil, false
92534}
92535
92536// AsDb2LinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92537func (zls ZohoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) {
92538	return nil, false
92539}
92540
92541// AsSybaseLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92542func (zls ZohoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) {
92543	return nil, false
92544}
92545
92546// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92547func (zls ZohoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) {
92548	return nil, false
92549}
92550
92551// AsMySQLLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92552func (zls ZohoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) {
92553	return nil, false
92554}
92555
92556// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92557func (zls ZohoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) {
92558	return nil, false
92559}
92560
92561// AsOracleLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92562func (zls ZohoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) {
92563	return nil, false
92564}
92565
92566// AsFileServerLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92567func (zls ZohoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) {
92568	return nil, false
92569}
92570
92571// AsHDInsightLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92572func (zls ZohoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) {
92573	return nil, false
92574}
92575
92576// AsDynamicsLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92577func (zls ZohoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) {
92578	return nil, false
92579}
92580
92581// AsCosmosDbLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92582func (zls ZohoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) {
92583	return nil, false
92584}
92585
92586// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92587func (zls ZohoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) {
92588	return nil, false
92589}
92590
92591// AsAzureBatchLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92592func (zls ZohoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) {
92593	return nil, false
92594}
92595
92596// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92597func (zls ZohoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) {
92598	return nil, false
92599}
92600
92601// AsSQLServerLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92602func (zls ZohoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) {
92603	return nil, false
92604}
92605
92606// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92607func (zls ZohoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) {
92608	return nil, false
92609}
92610
92611// AsAzureStorageLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92612func (zls ZohoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) {
92613	return nil, false
92614}
92615
92616// AsLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92617func (zls ZohoLinkedService) AsLinkedService() (*LinkedService, bool) {
92618	return nil, false
92619}
92620
92621// AsBasicLinkedService is the BasicLinkedService implementation for ZohoLinkedService.
92622func (zls ZohoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) {
92623	return &zls, true
92624}
92625
92626// UnmarshalJSON is the custom unmarshaler for ZohoLinkedService struct.
92627func (zls *ZohoLinkedService) UnmarshalJSON(body []byte) error {
92628	var m map[string]*json.RawMessage
92629	err := json.Unmarshal(body, &m)
92630	if err != nil {
92631		return err
92632	}
92633	for k, v := range m {
92634		switch k {
92635		case "typeProperties":
92636			if v != nil {
92637				var zohoLinkedServiceTypeProperties ZohoLinkedServiceTypeProperties
92638				err = json.Unmarshal(*v, &zohoLinkedServiceTypeProperties)
92639				if err != nil {
92640					return err
92641				}
92642				zls.ZohoLinkedServiceTypeProperties = &zohoLinkedServiceTypeProperties
92643			}
92644		default:
92645			if v != nil {
92646				var additionalProperties interface{}
92647				err = json.Unmarshal(*v, &additionalProperties)
92648				if err != nil {
92649					return err
92650				}
92651				if zls.AdditionalProperties == nil {
92652					zls.AdditionalProperties = make(map[string]interface{})
92653				}
92654				zls.AdditionalProperties[k] = additionalProperties
92655			}
92656		case "connectVia":
92657			if v != nil {
92658				var connectVia IntegrationRuntimeReference
92659				err = json.Unmarshal(*v, &connectVia)
92660				if err != nil {
92661					return err
92662				}
92663				zls.ConnectVia = &connectVia
92664			}
92665		case "description":
92666			if v != nil {
92667				var description string
92668				err = json.Unmarshal(*v, &description)
92669				if err != nil {
92670					return err
92671				}
92672				zls.Description = &description
92673			}
92674		case "parameters":
92675			if v != nil {
92676				var parameters map[string]*ParameterSpecification
92677				err = json.Unmarshal(*v, &parameters)
92678				if err != nil {
92679					return err
92680				}
92681				zls.Parameters = parameters
92682			}
92683		case "annotations":
92684			if v != nil {
92685				var annotations []interface{}
92686				err = json.Unmarshal(*v, &annotations)
92687				if err != nil {
92688					return err
92689				}
92690				zls.Annotations = &annotations
92691			}
92692		case "type":
92693			if v != nil {
92694				var typeVar TypeBasicLinkedService
92695				err = json.Unmarshal(*v, &typeVar)
92696				if err != nil {
92697					return err
92698				}
92699				zls.Type = typeVar
92700			}
92701		}
92702	}
92703
92704	return nil
92705}
92706
92707// ZohoLinkedServiceTypeProperties zoho server linked service properties.
92708type ZohoLinkedServiceTypeProperties struct {
92709	// Endpoint - The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private)
92710	Endpoint interface{} `json:"endpoint,omitempty"`
92711	// AccessToken - The access token for Zoho authentication.
92712	AccessToken BasicSecretBase `json:"accessToken,omitempty"`
92713	// UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.
92714	UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"`
92715	// 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.
92716	UseHostVerification interface{} `json:"useHostVerification,omitempty"`
92717	// UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.
92718	UsePeerVerification interface{} `json:"usePeerVerification,omitempty"`
92719	// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
92720	EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
92721}
92722
92723// UnmarshalJSON is the custom unmarshaler for ZohoLinkedServiceTypeProperties struct.
92724func (zlstp *ZohoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
92725	var m map[string]*json.RawMessage
92726	err := json.Unmarshal(body, &m)
92727	if err != nil {
92728		return err
92729	}
92730	for k, v := range m {
92731		switch k {
92732		case "endpoint":
92733			if v != nil {
92734				var endpoint interface{}
92735				err = json.Unmarshal(*v, &endpoint)
92736				if err != nil {
92737					return err
92738				}
92739				zlstp.Endpoint = endpoint
92740			}
92741		case "accessToken":
92742			if v != nil {
92743				accessToken, err := unmarshalBasicSecretBase(*v)
92744				if err != nil {
92745					return err
92746				}
92747				zlstp.AccessToken = accessToken
92748			}
92749		case "useEncryptedEndpoints":
92750			if v != nil {
92751				var useEncryptedEndpoints interface{}
92752				err = json.Unmarshal(*v, &useEncryptedEndpoints)
92753				if err != nil {
92754					return err
92755				}
92756				zlstp.UseEncryptedEndpoints = useEncryptedEndpoints
92757			}
92758		case "useHostVerification":
92759			if v != nil {
92760				var useHostVerification interface{}
92761				err = json.Unmarshal(*v, &useHostVerification)
92762				if err != nil {
92763					return err
92764				}
92765				zlstp.UseHostVerification = useHostVerification
92766			}
92767		case "usePeerVerification":
92768			if v != nil {
92769				var usePeerVerification interface{}
92770				err = json.Unmarshal(*v, &usePeerVerification)
92771				if err != nil {
92772					return err
92773				}
92774				zlstp.UsePeerVerification = usePeerVerification
92775			}
92776		case "encryptedCredential":
92777			if v != nil {
92778				var encryptedCredential interface{}
92779				err = json.Unmarshal(*v, &encryptedCredential)
92780				if err != nil {
92781					return err
92782				}
92783				zlstp.EncryptedCredential = encryptedCredential
92784			}
92785		}
92786	}
92787
92788	return nil
92789}
92790
92791// ZohoObjectDataset zoho server dataset.
92792type ZohoObjectDataset struct {
92793	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
92794	AdditionalProperties map[string]interface{} `json:""`
92795	// Description - Dataset description.
92796	Description *string `json:"description,omitempty"`
92797	// Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
92798	Structure interface{} `json:"structure,omitempty"`
92799	// LinkedServiceName - Linked service reference.
92800	LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"`
92801	// Parameters - Parameters for dataset.
92802	Parameters map[string]*ParameterSpecification `json:"parameters"`
92803	// Annotations - List of tags that can be used for describing the Dataset.
92804	Annotations *[]interface{} `json:"annotations,omitempty"`
92805	// Type - Possible values include: 'TypeDataset', 'TypeResponsysObject', 'TypeSalesforceMarketingCloudObject', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object'
92806	Type TypeBasicDataset `json:"type,omitempty"`
92807}
92808
92809// MarshalJSON is the custom marshaler for ZohoObjectDataset.
92810func (zod ZohoObjectDataset) MarshalJSON() ([]byte, error) {
92811	zod.Type = TypeZohoObject
92812	objectMap := make(map[string]interface{})
92813	if zod.Description != nil {
92814		objectMap["description"] = zod.Description
92815	}
92816	objectMap["structure"] = zod.Structure
92817	if zod.LinkedServiceName != nil {
92818		objectMap["linkedServiceName"] = zod.LinkedServiceName
92819	}
92820	if zod.Parameters != nil {
92821		objectMap["parameters"] = zod.Parameters
92822	}
92823	if zod.Annotations != nil {
92824		objectMap["annotations"] = zod.Annotations
92825	}
92826	if zod.Type != "" {
92827		objectMap["type"] = zod.Type
92828	}
92829	for k, v := range zod.AdditionalProperties {
92830		objectMap[k] = v
92831	}
92832	return json.Marshal(objectMap)
92833}
92834
92835// AsResponsysObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92836func (zod ZohoObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) {
92837	return nil, false
92838}
92839
92840// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92841func (zod ZohoObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) {
92842	return nil, false
92843}
92844
92845// AsVerticaTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92846func (zod ZohoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) {
92847	return nil, false
92848}
92849
92850// AsNetezzaTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92851func (zod ZohoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) {
92852	return nil, false
92853}
92854
92855// AsZohoObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92856func (zod ZohoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) {
92857	return &zod, true
92858}
92859
92860// AsXeroObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92861func (zod ZohoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) {
92862	return nil, false
92863}
92864
92865// AsSquareObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92866func (zod ZohoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) {
92867	return nil, false
92868}
92869
92870// AsSparkObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92871func (zod ZohoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) {
92872	return nil, false
92873}
92874
92875// AsShopifyObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92876func (zod ZohoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) {
92877	return nil, false
92878}
92879
92880// AsServiceNowObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92881func (zod ZohoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) {
92882	return nil, false
92883}
92884
92885// AsQuickBooksObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92886func (zod ZohoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) {
92887	return nil, false
92888}
92889
92890// AsPrestoObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92891func (zod ZohoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) {
92892	return nil, false
92893}
92894
92895// AsPhoenixObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92896func (zod ZohoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) {
92897	return nil, false
92898}
92899
92900// AsPaypalObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92901func (zod ZohoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) {
92902	return nil, false
92903}
92904
92905// AsMarketoObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92906func (zod ZohoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) {
92907	return nil, false
92908}
92909
92910// AsMariaDBTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92911func (zod ZohoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) {
92912	return nil, false
92913}
92914
92915// AsMagentoObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92916func (zod ZohoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) {
92917	return nil, false
92918}
92919
92920// AsJiraObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92921func (zod ZohoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) {
92922	return nil, false
92923}
92924
92925// AsImpalaObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92926func (zod ZohoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) {
92927	return nil, false
92928}
92929
92930// AsHubspotObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92931func (zod ZohoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) {
92932	return nil, false
92933}
92934
92935// AsHiveObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92936func (zod ZohoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) {
92937	return nil, false
92938}
92939
92940// AsHBaseObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92941func (zod ZohoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) {
92942	return nil, false
92943}
92944
92945// AsGreenplumTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92946func (zod ZohoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) {
92947	return nil, false
92948}
92949
92950// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92951func (zod ZohoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) {
92952	return nil, false
92953}
92954
92955// AsEloquaObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92956func (zod ZohoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) {
92957	return nil, false
92958}
92959
92960// AsDrillTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92961func (zod ZohoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) {
92962	return nil, false
92963}
92964
92965// AsCouchbaseTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92966func (zod ZohoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) {
92967	return nil, false
92968}
92969
92970// AsConcurObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92971func (zod ZohoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) {
92972	return nil, false
92973}
92974
92975// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92976func (zod ZohoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) {
92977	return nil, false
92978}
92979
92980// AsAmazonMWSObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
92981func (zod ZohoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) {
92982	return nil, false
92983}
92984
92985// AsHTTPDataset is the BasicDataset implementation for ZohoObjectDataset.
92986func (zod ZohoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) {
92987	return nil, false
92988}
92989
92990// AsAzureSearchIndexDataset is the BasicDataset implementation for ZohoObjectDataset.
92991func (zod ZohoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) {
92992	return nil, false
92993}
92994
92995// AsWebTableDataset is the BasicDataset implementation for ZohoObjectDataset.
92996func (zod ZohoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) {
92997	return nil, false
92998}
92999
93000// AsSQLServerTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93001func (zod ZohoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) {
93002	return nil, false
93003}
93004
93005// AsSapEccResourceDataset is the BasicDataset implementation for ZohoObjectDataset.
93006func (zod ZohoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) {
93007	return nil, false
93008}
93009
93010// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ZohoObjectDataset.
93011func (zod ZohoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) {
93012	return nil, false
93013}
93014
93015// AsSalesforceObjectDataset is the BasicDataset implementation for ZohoObjectDataset.
93016func (zod ZohoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) {
93017	return nil, false
93018}
93019
93020// AsRelationalTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93021func (zod ZohoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) {
93022	return nil, false
93023}
93024
93025// AsAzureMySQLTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93026func (zod ZohoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) {
93027	return nil, false
93028}
93029
93030// AsOracleTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93031func (zod ZohoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) {
93032	return nil, false
93033}
93034
93035// AsODataResourceDataset is the BasicDataset implementation for ZohoObjectDataset.
93036func (zod ZohoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) {
93037	return nil, false
93038}
93039
93040// AsMongoDbCollectionDataset is the BasicDataset implementation for ZohoObjectDataset.
93041func (zod ZohoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) {
93042	return nil, false
93043}
93044
93045// AsFileShareDataset is the BasicDataset implementation for ZohoObjectDataset.
93046func (zod ZohoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) {
93047	return nil, false
93048}
93049
93050// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ZohoObjectDataset.
93051func (zod ZohoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) {
93052	return nil, false
93053}
93054
93055// AsDynamicsEntityDataset is the BasicDataset implementation for ZohoObjectDataset.
93056func (zod ZohoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) {
93057	return nil, false
93058}
93059
93060// AsDocumentDbCollectionDataset is the BasicDataset implementation for ZohoObjectDataset.
93061func (zod ZohoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) {
93062	return nil, false
93063}
93064
93065// AsCustomDataset is the BasicDataset implementation for ZohoObjectDataset.
93066func (zod ZohoObjectDataset) AsCustomDataset() (*CustomDataset, bool) {
93067	return nil, false
93068}
93069
93070// AsCassandraTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93071func (zod ZohoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) {
93072	return nil, false
93073}
93074
93075// AsAzureSQLDWTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93076func (zod ZohoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) {
93077	return nil, false
93078}
93079
93080// AsAzureSQLTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93081func (zod ZohoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) {
93082	return nil, false
93083}
93084
93085// AsAzureTableDataset is the BasicDataset implementation for ZohoObjectDataset.
93086func (zod ZohoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) {
93087	return nil, false
93088}
93089
93090// AsAzureBlobDataset is the BasicDataset implementation for ZohoObjectDataset.
93091func (zod ZohoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) {
93092	return nil, false
93093}
93094
93095// AsAmazonS3Dataset is the BasicDataset implementation for ZohoObjectDataset.
93096func (zod ZohoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) {
93097	return nil, false
93098}
93099
93100// AsDataset is the BasicDataset implementation for ZohoObjectDataset.
93101func (zod ZohoObjectDataset) AsDataset() (*Dataset, bool) {
93102	return nil, false
93103}
93104
93105// AsBasicDataset is the BasicDataset implementation for ZohoObjectDataset.
93106func (zod ZohoObjectDataset) AsBasicDataset() (BasicDataset, bool) {
93107	return &zod, true
93108}
93109
93110// ZohoSource a copy activity Zoho server source.
93111type ZohoSource struct {
93112	// Query - A query to retrieve data from source. Type: string (or Expression with resultType string).
93113	Query interface{} `json:"query,omitempty"`
93114	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
93115	AdditionalProperties map[string]interface{} `json:""`
93116	// SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer).
93117	SourceRetryCount interface{} `json:"sourceRetryCount,omitempty"`
93118	// 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])).
93119	SourceRetryWait interface{} `json:"sourceRetryWait,omitempty"`
93120	// Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource'
93121	Type TypeBasicCopySource `json:"type,omitempty"`
93122}
93123
93124// MarshalJSON is the custom marshaler for ZohoSource.
93125func (zs ZohoSource) MarshalJSON() ([]byte, error) {
93126	zs.Type = TypeZohoSource
93127	objectMap := make(map[string]interface{})
93128	objectMap["query"] = zs.Query
93129	objectMap["sourceRetryCount"] = zs.SourceRetryCount
93130	objectMap["sourceRetryWait"] = zs.SourceRetryWait
93131	if zs.Type != "" {
93132		objectMap["type"] = zs.Type
93133	}
93134	for k, v := range zs.AdditionalProperties {
93135		objectMap[k] = v
93136	}
93137	return json.Marshal(objectMap)
93138}
93139
93140// AsAmazonRedshiftSource is the BasicCopySource implementation for ZohoSource.
93141func (zs ZohoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) {
93142	return nil, false
93143}
93144
93145// AsResponsysSource is the BasicCopySource implementation for ZohoSource.
93146func (zs ZohoSource) AsResponsysSource() (*ResponsysSource, bool) {
93147	return nil, false
93148}
93149
93150// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ZohoSource.
93151func (zs ZohoSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) {
93152	return nil, false
93153}
93154
93155// AsVerticaSource is the BasicCopySource implementation for ZohoSource.
93156func (zs ZohoSource) AsVerticaSource() (*VerticaSource, bool) {
93157	return nil, false
93158}
93159
93160// AsNetezzaSource is the BasicCopySource implementation for ZohoSource.
93161func (zs ZohoSource) AsNetezzaSource() (*NetezzaSource, bool) {
93162	return nil, false
93163}
93164
93165// AsZohoSource is the BasicCopySource implementation for ZohoSource.
93166func (zs ZohoSource) AsZohoSource() (*ZohoSource, bool) {
93167	return &zs, true
93168}
93169
93170// AsXeroSource is the BasicCopySource implementation for ZohoSource.
93171func (zs ZohoSource) AsXeroSource() (*XeroSource, bool) {
93172	return nil, false
93173}
93174
93175// AsSquareSource is the BasicCopySource implementation for ZohoSource.
93176func (zs ZohoSource) AsSquareSource() (*SquareSource, bool) {
93177	return nil, false
93178}
93179
93180// AsSparkSource is the BasicCopySource implementation for ZohoSource.
93181func (zs ZohoSource) AsSparkSource() (*SparkSource, bool) {
93182	return nil, false
93183}
93184
93185// AsShopifySource is the BasicCopySource implementation for ZohoSource.
93186func (zs ZohoSource) AsShopifySource() (*ShopifySource, bool) {
93187	return nil, false
93188}
93189
93190// AsServiceNowSource is the BasicCopySource implementation for ZohoSource.
93191func (zs ZohoSource) AsServiceNowSource() (*ServiceNowSource, bool) {
93192	return nil, false
93193}
93194
93195// AsQuickBooksSource is the BasicCopySource implementation for ZohoSource.
93196func (zs ZohoSource) AsQuickBooksSource() (*QuickBooksSource, bool) {
93197	return nil, false
93198}
93199
93200// AsPrestoSource is the BasicCopySource implementation for ZohoSource.
93201func (zs ZohoSource) AsPrestoSource() (*PrestoSource, bool) {
93202	return nil, false
93203}
93204
93205// AsPhoenixSource is the BasicCopySource implementation for ZohoSource.
93206func (zs ZohoSource) AsPhoenixSource() (*PhoenixSource, bool) {
93207	return nil, false
93208}
93209
93210// AsPaypalSource is the BasicCopySource implementation for ZohoSource.
93211func (zs ZohoSource) AsPaypalSource() (*PaypalSource, bool) {
93212	return nil, false
93213}
93214
93215// AsMarketoSource is the BasicCopySource implementation for ZohoSource.
93216func (zs ZohoSource) AsMarketoSource() (*MarketoSource, bool) {
93217	return nil, false
93218}
93219
93220// AsMariaDBSource is the BasicCopySource implementation for ZohoSource.
93221func (zs ZohoSource) AsMariaDBSource() (*MariaDBSource, bool) {
93222	return nil, false
93223}
93224
93225// AsMagentoSource is the BasicCopySource implementation for ZohoSource.
93226func (zs ZohoSource) AsMagentoSource() (*MagentoSource, bool) {
93227	return nil, false
93228}
93229
93230// AsJiraSource is the BasicCopySource implementation for ZohoSource.
93231func (zs ZohoSource) AsJiraSource() (*JiraSource, bool) {
93232	return nil, false
93233}
93234
93235// AsImpalaSource is the BasicCopySource implementation for ZohoSource.
93236func (zs ZohoSource) AsImpalaSource() (*ImpalaSource, bool) {
93237	return nil, false
93238}
93239
93240// AsHubspotSource is the BasicCopySource implementation for ZohoSource.
93241func (zs ZohoSource) AsHubspotSource() (*HubspotSource, bool) {
93242	return nil, false
93243}
93244
93245// AsHiveSource is the BasicCopySource implementation for ZohoSource.
93246func (zs ZohoSource) AsHiveSource() (*HiveSource, bool) {
93247	return nil, false
93248}
93249
93250// AsHBaseSource is the BasicCopySource implementation for ZohoSource.
93251func (zs ZohoSource) AsHBaseSource() (*HBaseSource, bool) {
93252	return nil, false
93253}
93254
93255// AsGreenplumSource is the BasicCopySource implementation for ZohoSource.
93256func (zs ZohoSource) AsGreenplumSource() (*GreenplumSource, bool) {
93257	return nil, false
93258}
93259
93260// AsGoogleBigQuerySource is the BasicCopySource implementation for ZohoSource.
93261func (zs ZohoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) {
93262	return nil, false
93263}
93264
93265// AsEloquaSource is the BasicCopySource implementation for ZohoSource.
93266func (zs ZohoSource) AsEloquaSource() (*EloquaSource, bool) {
93267	return nil, false
93268}
93269
93270// AsDrillSource is the BasicCopySource implementation for ZohoSource.
93271func (zs ZohoSource) AsDrillSource() (*DrillSource, bool) {
93272	return nil, false
93273}
93274
93275// AsCouchbaseSource is the BasicCopySource implementation for ZohoSource.
93276func (zs ZohoSource) AsCouchbaseSource() (*CouchbaseSource, bool) {
93277	return nil, false
93278}
93279
93280// AsConcurSource is the BasicCopySource implementation for ZohoSource.
93281func (zs ZohoSource) AsConcurSource() (*ConcurSource, bool) {
93282	return nil, false
93283}
93284
93285// AsAzurePostgreSQLSource is the BasicCopySource implementation for ZohoSource.
93286func (zs ZohoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) {
93287	return nil, false
93288}
93289
93290// AsAmazonMWSSource is the BasicCopySource implementation for ZohoSource.
93291func (zs ZohoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) {
93292	return nil, false
93293}
93294
93295// AsHTTPSource is the BasicCopySource implementation for ZohoSource.
93296func (zs ZohoSource) AsHTTPSource() (*HTTPSource, bool) {
93297	return nil, false
93298}
93299
93300// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ZohoSource.
93301func (zs ZohoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) {
93302	return nil, false
93303}
93304
93305// AsMongoDbSource is the BasicCopySource implementation for ZohoSource.
93306func (zs ZohoSource) AsMongoDbSource() (*MongoDbSource, bool) {
93307	return nil, false
93308}
93309
93310// AsCassandraSource is the BasicCopySource implementation for ZohoSource.
93311func (zs ZohoSource) AsCassandraSource() (*CassandraSource, bool) {
93312	return nil, false
93313}
93314
93315// AsWebSource is the BasicCopySource implementation for ZohoSource.
93316func (zs ZohoSource) AsWebSource() (*WebSource, bool) {
93317	return nil, false
93318}
93319
93320// AsOracleSource is the BasicCopySource implementation for ZohoSource.
93321func (zs ZohoSource) AsOracleSource() (*OracleSource, bool) {
93322	return nil, false
93323}
93324
93325// AsAzureMySQLSource is the BasicCopySource implementation for ZohoSource.
93326func (zs ZohoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) {
93327	return nil, false
93328}
93329
93330// AsHdfsSource is the BasicCopySource implementation for ZohoSource.
93331func (zs ZohoSource) AsHdfsSource() (*HdfsSource, bool) {
93332	return nil, false
93333}
93334
93335// AsFileSystemSource is the BasicCopySource implementation for ZohoSource.
93336func (zs ZohoSource) AsFileSystemSource() (*FileSystemSource, bool) {
93337	return nil, false
93338}
93339
93340// AsSQLDWSource is the BasicCopySource implementation for ZohoSource.
93341func (zs ZohoSource) AsSQLDWSource() (*SQLDWSource, bool) {
93342	return nil, false
93343}
93344
93345// AsSQLSource is the BasicCopySource implementation for ZohoSource.
93346func (zs ZohoSource) AsSQLSource() (*SQLSource, bool) {
93347	return nil, false
93348}
93349
93350// AsSapEccSource is the BasicCopySource implementation for ZohoSource.
93351func (zs ZohoSource) AsSapEccSource() (*SapEccSource, bool) {
93352	return nil, false
93353}
93354
93355// AsSapCloudForCustomerSource is the BasicCopySource implementation for ZohoSource.
93356func (zs ZohoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) {
93357	return nil, false
93358}
93359
93360// AsSalesforceSource is the BasicCopySource implementation for ZohoSource.
93361func (zs ZohoSource) AsSalesforceSource() (*SalesforceSource, bool) {
93362	return nil, false
93363}
93364
93365// AsRelationalSource is the BasicCopySource implementation for ZohoSource.
93366func (zs ZohoSource) AsRelationalSource() (*RelationalSource, bool) {
93367	return nil, false
93368}
93369
93370// AsDynamicsSource is the BasicCopySource implementation for ZohoSource.
93371func (zs ZohoSource) AsDynamicsSource() (*DynamicsSource, bool) {
93372	return nil, false
93373}
93374
93375// AsDocumentDbCollectionSource is the BasicCopySource implementation for ZohoSource.
93376func (zs ZohoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) {
93377	return nil, false
93378}
93379
93380// AsBlobSource is the BasicCopySource implementation for ZohoSource.
93381func (zs ZohoSource) AsBlobSource() (*BlobSource, bool) {
93382	return nil, false
93383}
93384
93385// AsAzureTableSource is the BasicCopySource implementation for ZohoSource.
93386func (zs ZohoSource) AsAzureTableSource() (*AzureTableSource, bool) {
93387	return nil, false
93388}
93389
93390// AsCopySource is the BasicCopySource implementation for ZohoSource.
93391func (zs ZohoSource) AsCopySource() (*CopySource, bool) {
93392	return nil, false
93393}
93394
93395// AsBasicCopySource is the BasicCopySource implementation for ZohoSource.
93396func (zs ZohoSource) AsBasicCopySource() (BasicCopySource, bool) {
93397	return &zs, true
93398}
93399