1package logic
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/date"
24	"github.com/Azure/go-autorest/autorest/to"
25	"net/http"
26)
27
28// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
29// AgreementType enumerates the values for agreement type.
30type AgreementType string
31
32const (
33	// AS2 ...
34	AS2 AgreementType = "AS2"
35	// Edifact ...
36	Edifact AgreementType = "Edifact"
37	// NotSpecified ...
38	NotSpecified AgreementType = "NotSpecified"
39	// X12 ...
40	X12 AgreementType = "X12"
41)
42
43// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
44// PossibleAgreementTypeValues returns an array of possible values for the AgreementType const type.
45func PossibleAgreementTypeValues() []AgreementType {
46	return []AgreementType{AS2, Edifact, NotSpecified, X12}
47}
48
49// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
50// EdifactCharacterSet enumerates the values for edifact character set.
51type EdifactCharacterSet string
52
53const (
54	// EdifactCharacterSetKECA ...
55	EdifactCharacterSetKECA EdifactCharacterSet = "KECA"
56	// EdifactCharacterSetNotSpecified ...
57	EdifactCharacterSetNotSpecified EdifactCharacterSet = "NotSpecified"
58	// EdifactCharacterSetUNOA ...
59	EdifactCharacterSetUNOA EdifactCharacterSet = "UNOA"
60	// EdifactCharacterSetUNOB ...
61	EdifactCharacterSetUNOB EdifactCharacterSet = "UNOB"
62	// EdifactCharacterSetUNOC ...
63	EdifactCharacterSetUNOC EdifactCharacterSet = "UNOC"
64	// EdifactCharacterSetUNOD ...
65	EdifactCharacterSetUNOD EdifactCharacterSet = "UNOD"
66	// EdifactCharacterSetUNOE ...
67	EdifactCharacterSetUNOE EdifactCharacterSet = "UNOE"
68	// EdifactCharacterSetUNOF ...
69	EdifactCharacterSetUNOF EdifactCharacterSet = "UNOF"
70	// EdifactCharacterSetUNOG ...
71	EdifactCharacterSetUNOG EdifactCharacterSet = "UNOG"
72	// EdifactCharacterSetUNOH ...
73	EdifactCharacterSetUNOH EdifactCharacterSet = "UNOH"
74	// EdifactCharacterSetUNOI ...
75	EdifactCharacterSetUNOI EdifactCharacterSet = "UNOI"
76	// EdifactCharacterSetUNOJ ...
77	EdifactCharacterSetUNOJ EdifactCharacterSet = "UNOJ"
78	// EdifactCharacterSetUNOK ...
79	EdifactCharacterSetUNOK EdifactCharacterSet = "UNOK"
80	// EdifactCharacterSetUNOX ...
81	EdifactCharacterSetUNOX EdifactCharacterSet = "UNOX"
82	// EdifactCharacterSetUNOY ...
83	EdifactCharacterSetUNOY EdifactCharacterSet = "UNOY"
84)
85
86// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
87// PossibleEdifactCharacterSetValues returns an array of possible values for the EdifactCharacterSet const type.
88func PossibleEdifactCharacterSetValues() []EdifactCharacterSet {
89	return []EdifactCharacterSet{EdifactCharacterSetKECA, EdifactCharacterSetNotSpecified, EdifactCharacterSetUNOA, EdifactCharacterSetUNOB, EdifactCharacterSetUNOC, EdifactCharacterSetUNOD, EdifactCharacterSetUNOE, EdifactCharacterSetUNOF, EdifactCharacterSetUNOG, EdifactCharacterSetUNOH, EdifactCharacterSetUNOI, EdifactCharacterSetUNOJ, EdifactCharacterSetUNOK, EdifactCharacterSetUNOX, EdifactCharacterSetUNOY}
90}
91
92// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
93// EdifactDecimalIndicator enumerates the values for edifact decimal indicator.
94type EdifactDecimalIndicator string
95
96const (
97	// EdifactDecimalIndicatorComma ...
98	EdifactDecimalIndicatorComma EdifactDecimalIndicator = "Comma"
99	// EdifactDecimalIndicatorDecimal ...
100	EdifactDecimalIndicatorDecimal EdifactDecimalIndicator = "Decimal"
101	// EdifactDecimalIndicatorNotSpecified ...
102	EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = "NotSpecified"
103)
104
105// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
106// PossibleEdifactDecimalIndicatorValues returns an array of possible values for the EdifactDecimalIndicator const type.
107func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator {
108	return []EdifactDecimalIndicator{EdifactDecimalIndicatorComma, EdifactDecimalIndicatorDecimal, EdifactDecimalIndicatorNotSpecified}
109}
110
111// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
112// EncryptionAlgorithm enumerates the values for encryption algorithm.
113type EncryptionAlgorithm string
114
115const (
116	// EncryptionAlgorithmAES128 ...
117	EncryptionAlgorithmAES128 EncryptionAlgorithm = "AES128"
118	// EncryptionAlgorithmAES192 ...
119	EncryptionAlgorithmAES192 EncryptionAlgorithm = "AES192"
120	// EncryptionAlgorithmAES256 ...
121	EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
122	// EncryptionAlgorithmDES3 ...
123	EncryptionAlgorithmDES3 EncryptionAlgorithm = "DES3"
124	// EncryptionAlgorithmNone ...
125	EncryptionAlgorithmNone EncryptionAlgorithm = "None"
126	// EncryptionAlgorithmNotSpecified ...
127	EncryptionAlgorithmNotSpecified EncryptionAlgorithm = "NotSpecified"
128	// EncryptionAlgorithmRC2 ...
129	EncryptionAlgorithmRC2 EncryptionAlgorithm = "RC2"
130)
131
132// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
133// PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.
134func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
135	return []EncryptionAlgorithm{EncryptionAlgorithmAES128, EncryptionAlgorithmAES192, EncryptionAlgorithmAES256, EncryptionAlgorithmDES3, EncryptionAlgorithmNone, EncryptionAlgorithmNotSpecified, EncryptionAlgorithmRC2}
136}
137
138// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
139// HashingAlgorithm enumerates the values for hashing algorithm.
140type HashingAlgorithm string
141
142const (
143	// HashingAlgorithmNone ...
144	HashingAlgorithmNone HashingAlgorithm = "None"
145	// HashingAlgorithmNotSpecified ...
146	HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified"
147	// HashingAlgorithmSHA2256 ...
148	HashingAlgorithmSHA2256 HashingAlgorithm = "SHA2256"
149	// HashingAlgorithmSHA2384 ...
150	HashingAlgorithmSHA2384 HashingAlgorithm = "SHA2384"
151	// HashingAlgorithmSHA2512 ...
152	HashingAlgorithmSHA2512 HashingAlgorithm = "SHA2512"
153)
154
155// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
156// PossibleHashingAlgorithmValues returns an array of possible values for the HashingAlgorithm const type.
157func PossibleHashingAlgorithmValues() []HashingAlgorithm {
158	return []HashingAlgorithm{HashingAlgorithmNone, HashingAlgorithmNotSpecified, HashingAlgorithmSHA2256, HashingAlgorithmSHA2384, HashingAlgorithmSHA2512}
159}
160
161// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
162// MapType enumerates the values for map type.
163type MapType string
164
165const (
166	// MapTypeNotSpecified ...
167	MapTypeNotSpecified MapType = "NotSpecified"
168	// MapTypeXslt ...
169	MapTypeXslt MapType = "Xslt"
170)
171
172// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
173// PossibleMapTypeValues returns an array of possible values for the MapType const type.
174func PossibleMapTypeValues() []MapType {
175	return []MapType{MapTypeNotSpecified, MapTypeXslt}
176}
177
178// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
179// MessageFilterType enumerates the values for message filter type.
180type MessageFilterType string
181
182const (
183	// MessageFilterTypeExclude ...
184	MessageFilterTypeExclude MessageFilterType = "Exclude"
185	// MessageFilterTypeInclude ...
186	MessageFilterTypeInclude MessageFilterType = "Include"
187	// MessageFilterTypeNotSpecified ...
188	MessageFilterTypeNotSpecified MessageFilterType = "NotSpecified"
189)
190
191// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
192// PossibleMessageFilterTypeValues returns an array of possible values for the MessageFilterType const type.
193func PossibleMessageFilterTypeValues() []MessageFilterType {
194	return []MessageFilterType{MessageFilterTypeExclude, MessageFilterTypeInclude, MessageFilterTypeNotSpecified}
195}
196
197// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
198// PartnerType enumerates the values for partner type.
199type PartnerType string
200
201const (
202	// PartnerTypeB2B ...
203	PartnerTypeB2B PartnerType = "B2B"
204	// PartnerTypeNotSpecified ...
205	PartnerTypeNotSpecified PartnerType = "NotSpecified"
206)
207
208// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
209// PossiblePartnerTypeValues returns an array of possible values for the PartnerType const type.
210func PossiblePartnerTypeValues() []PartnerType {
211	return []PartnerType{PartnerTypeB2B, PartnerTypeNotSpecified}
212}
213
214// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
215// SchemaType enumerates the values for schema type.
216type SchemaType string
217
218const (
219	// SchemaTypeNotSpecified ...
220	SchemaTypeNotSpecified SchemaType = "NotSpecified"
221	// SchemaTypeXML ...
222	SchemaTypeXML SchemaType = "Xml"
223)
224
225// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
226// PossibleSchemaTypeValues returns an array of possible values for the SchemaType const type.
227func PossibleSchemaTypeValues() []SchemaType {
228	return []SchemaType{SchemaTypeNotSpecified, SchemaTypeXML}
229}
230
231// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
232// SegmentTerminatorSuffix enumerates the values for segment terminator suffix.
233type SegmentTerminatorSuffix string
234
235const (
236	// SegmentTerminatorSuffixCR ...
237	SegmentTerminatorSuffixCR SegmentTerminatorSuffix = "CR"
238	// SegmentTerminatorSuffixCRLF ...
239	SegmentTerminatorSuffixCRLF SegmentTerminatorSuffix = "CRLF"
240	// SegmentTerminatorSuffixLF ...
241	SegmentTerminatorSuffixLF SegmentTerminatorSuffix = "LF"
242	// SegmentTerminatorSuffixNone ...
243	SegmentTerminatorSuffixNone SegmentTerminatorSuffix = "None"
244	// SegmentTerminatorSuffixNotSpecified ...
245	SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = "NotSpecified"
246)
247
248// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
249// PossibleSegmentTerminatorSuffixValues returns an array of possible values for the SegmentTerminatorSuffix const type.
250func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix {
251	return []SegmentTerminatorSuffix{SegmentTerminatorSuffixCR, SegmentTerminatorSuffixCRLF, SegmentTerminatorSuffixLF, SegmentTerminatorSuffixNone, SegmentTerminatorSuffixNotSpecified}
252}
253
254// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
255// SkuName enumerates the values for sku name.
256type SkuName string
257
258const (
259	// SkuNameBasic ...
260	SkuNameBasic SkuName = "Basic"
261	// SkuNameFree ...
262	SkuNameFree SkuName = "Free"
263	// SkuNameNotSpecified ...
264	SkuNameNotSpecified SkuName = "NotSpecified"
265	// SkuNamePremium ...
266	SkuNamePremium SkuName = "Premium"
267	// SkuNameShared ...
268	SkuNameShared SkuName = "Shared"
269	// SkuNameStandard ...
270	SkuNameStandard SkuName = "Standard"
271)
272
273// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
274// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
275func PossibleSkuNameValues() []SkuName {
276	return []SkuName{SkuNameBasic, SkuNameFree, SkuNameNotSpecified, SkuNamePremium, SkuNameShared, SkuNameStandard}
277}
278
279// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
280// TrailingSeparatorPolicy enumerates the values for trailing separator policy.
281type TrailingSeparatorPolicy string
282
283const (
284	// TrailingSeparatorPolicyMandatory ...
285	TrailingSeparatorPolicyMandatory TrailingSeparatorPolicy = "Mandatory"
286	// TrailingSeparatorPolicyNotAllowed ...
287	TrailingSeparatorPolicyNotAllowed TrailingSeparatorPolicy = "NotAllowed"
288	// TrailingSeparatorPolicyNotSpecified ...
289	TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = "NotSpecified"
290	// TrailingSeparatorPolicyOptional ...
291	TrailingSeparatorPolicyOptional TrailingSeparatorPolicy = "Optional"
292)
293
294// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
295// PossibleTrailingSeparatorPolicyValues returns an array of possible values for the TrailingSeparatorPolicy const type.
296func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy {
297	return []TrailingSeparatorPolicy{TrailingSeparatorPolicyMandatory, TrailingSeparatorPolicyNotAllowed, TrailingSeparatorPolicyNotSpecified, TrailingSeparatorPolicyOptional}
298}
299
300// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
301// UsageIndicator enumerates the values for usage indicator.
302type UsageIndicator string
303
304const (
305	// UsageIndicatorInformation ...
306	UsageIndicatorInformation UsageIndicator = "Information"
307	// UsageIndicatorNotSpecified ...
308	UsageIndicatorNotSpecified UsageIndicator = "NotSpecified"
309	// UsageIndicatorProduction ...
310	UsageIndicatorProduction UsageIndicator = "Production"
311	// UsageIndicatorTest ...
312	UsageIndicatorTest UsageIndicator = "Test"
313)
314
315// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
316// PossibleUsageIndicatorValues returns an array of possible values for the UsageIndicator const type.
317func PossibleUsageIndicatorValues() []UsageIndicator {
318	return []UsageIndicator{UsageIndicatorInformation, UsageIndicatorNotSpecified, UsageIndicatorProduction, UsageIndicatorTest}
319}
320
321// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
322// X12CharacterSet enumerates the values for x12 character set.
323type X12CharacterSet string
324
325const (
326	// X12CharacterSetBasic ...
327	X12CharacterSetBasic X12CharacterSet = "Basic"
328	// X12CharacterSetExtended ...
329	X12CharacterSetExtended X12CharacterSet = "Extended"
330	// X12CharacterSetNotSpecified ...
331	X12CharacterSetNotSpecified X12CharacterSet = "NotSpecified"
332	// X12CharacterSetUTF8 ...
333	X12CharacterSetUTF8 X12CharacterSet = "UTF8"
334)
335
336// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
337// PossibleX12CharacterSetValues returns an array of possible values for the X12CharacterSet const type.
338func PossibleX12CharacterSetValues() []X12CharacterSet {
339	return []X12CharacterSet{X12CharacterSetBasic, X12CharacterSetExtended, X12CharacterSetNotSpecified, X12CharacterSetUTF8}
340}
341
342// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
343// X12DateFormat enumerates the values for x12 date format.
344type X12DateFormat string
345
346const (
347	// X12DateFormatCCYYMMDD ...
348	X12DateFormatCCYYMMDD X12DateFormat = "CCYYMMDD"
349	// X12DateFormatNotSpecified ...
350	X12DateFormatNotSpecified X12DateFormat = "NotSpecified"
351	// X12DateFormatYYMMDD ...
352	X12DateFormatYYMMDD X12DateFormat = "YYMMDD"
353)
354
355// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
356// PossibleX12DateFormatValues returns an array of possible values for the X12DateFormat const type.
357func PossibleX12DateFormatValues() []X12DateFormat {
358	return []X12DateFormat{X12DateFormatCCYYMMDD, X12DateFormatNotSpecified, X12DateFormatYYMMDD}
359}
360
361// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
362// X12TimeFormat enumerates the values for x12 time format.
363type X12TimeFormat string
364
365const (
366	// X12TimeFormatHHMM ...
367	X12TimeFormatHHMM X12TimeFormat = "HHMM"
368	// X12TimeFormatHHMMSS ...
369	X12TimeFormatHHMMSS X12TimeFormat = "HHMMSS"
370	// X12TimeFormatHHMMSSd ...
371	X12TimeFormatHHMMSSd X12TimeFormat = "HHMMSSd"
372	// X12TimeFormatHHMMSSdd ...
373	X12TimeFormatHHMMSSdd X12TimeFormat = "HHMMSSdd"
374	// X12TimeFormatNotSpecified ...
375	X12TimeFormatNotSpecified X12TimeFormat = "NotSpecified"
376)
377
378// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
379// PossibleX12TimeFormatValues returns an array of possible values for the X12TimeFormat const type.
380func PossibleX12TimeFormatValues() []X12TimeFormat {
381	return []X12TimeFormat{X12TimeFormatHHMM, X12TimeFormatHHMMSS, X12TimeFormatHHMMSSd, X12TimeFormatHHMMSSdd, X12TimeFormatNotSpecified}
382}
383
384// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
385// AgreementContent ...
386type AgreementContent struct {
387	// AS2 - The AS2 agreement content.
388	AS2 *AS2AgreementContent `json:"AS2,omitempty"`
389	// X12 - The X12 agreement content.
390	X12 *X12AgreementContent `json:"X12,omitempty"`
391	// Edifact - The EDIFACT agreement content.
392	Edifact *EdifactAgreementContent `json:"Edifact,omitempty"`
393}
394
395// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
396// AS2AcknowledgementConnectionSettings ...
397type AS2AcknowledgementConnectionSettings struct {
398	// IgnoreCertificateNameMismatch - The value indicating whether to ignore mismatch in certificate name.
399	IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"`
400	// SupportHTTPStatusCodeContinue - The value indicating whether to support HTTP status code 'CONTINUE'.
401	SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"`
402	// KeepHTTPConnectionAlive - The value indicating whether to keep the connection alive.
403	KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"`
404	// UnfoldHTTPHeaders - The value indicating whether to unfold the HTTP headers.
405	UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"`
406}
407
408// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
409// AS2AgreementContent ...
410type AS2AgreementContent struct {
411	// ReceiveAgreement - The AS2 one-way receive agreement.
412	ReceiveAgreement *AS2OneWayAgreement `json:"receiveAgreement,omitempty"`
413	// SendAgreement - The AS2 one-way send agreement.
414	SendAgreement *AS2OneWayAgreement `json:"sendAgreement,omitempty"`
415}
416
417// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
418// AS2EnvelopeSettings ...
419type AS2EnvelopeSettings struct {
420	// MessageContentType - The message content type.
421	MessageContentType *string `json:"messageContentType,omitempty"`
422	// TransmitFileNameInMimeHeader - The value indicating whether to transmit file name in mime header.
423	TransmitFileNameInMimeHeader *bool `json:"transmitFileNameInMimeHeader,omitempty"`
424	// FileNameTemplate - The template for file name.
425	FileNameTemplate *string `json:"fileNameTemplate,omitempty"`
426	// SuspendMessageOnFileNameGenerationError - The value indicating whether to suspend message on file name generation error.
427	SuspendMessageOnFileNameGenerationError *bool `json:"SuspendMessageOnFileNameGenerationError,omitempty"`
428	// AutogenerateFileName - The value indicating whether to auto generate file name.
429	AutogenerateFileName *bool `json:"AutogenerateFileName,omitempty"`
430}
431
432// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
433// AS2ErrorSettings ...
434type AS2ErrorSettings struct {
435	// SuspendDuplicateMessage - The value indicating whether to suspend duplicate message.
436	SuspendDuplicateMessage *bool `json:"SuspendDuplicateMessage,omitempty"`
437	// ResendIfMdnNotReceived - The value indicating whether to resend message If MDN is not received.
438	ResendIfMdnNotReceived *bool `json:"ResendIfMdnNotReceived,omitempty"`
439}
440
441// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
442// AS2MdnSettings ...
443type AS2MdnSettings struct {
444	// NeedMdn - The value indicating whether to send or request a MDN.
445	NeedMdn *bool `json:"needMdn,omitempty"`
446	// SignMdn - The value indicating whether the MDN needs to be signed or not.
447	SignMdn *bool `json:"signMdn,omitempty"`
448	// SendMdnAsynchronously - The value indicating whether to send the asynchronous MDN.
449	SendMdnAsynchronously *bool `json:"sendMdnAsynchronously,omitempty"`
450	// ReceiptDeliveryURL - The receipt delivery URL.
451	ReceiptDeliveryURL *string `json:"receiptDeliveryUrl,omitempty"`
452	// DispositionNotificationTo - The disposition notification to header value.
453	DispositionNotificationTo *string `json:"dispositionNotificationTo,omitempty"`
454	// SignOutboundMdnIfOptional - The value indicating whether to sign the outbound MDN if optional.
455	SignOutboundMdnIfOptional *bool `json:"signOutboundMdnIfOptional,omitempty"`
456	// MdnText - The MDN text.
457	MdnText *string `json:"mdnText,omitempty"`
458	// SendInboundMdnToMessageBox - The value indicating whether to send inbound MDN to message box.
459	SendInboundMdnToMessageBox *bool `json:"sendInboundMdnToMessageBox,omitempty"`
460	// MicHashingAlgorithm - The signing or hashing algorithm. Possible values include: 'HashingAlgorithmNotSpecified', 'HashingAlgorithmNone', 'HashingAlgorithmSHA2256', 'HashingAlgorithmSHA2384', 'HashingAlgorithmSHA2512'
461	MicHashingAlgorithm HashingAlgorithm `json:"micHashingAlgorithm,omitempty"`
462}
463
464// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
465// AS2MessageConnectionSettings ...
466type AS2MessageConnectionSettings struct {
467	// IgnoreCertificateNameMismatch - The value indicating whether to ignore mismatch in certificate name.
468	IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"`
469	// SupportHTTPStatusCodeContinue - The value indicating whether to support HTTP status code 'CONTINUE'.
470	SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"`
471	// KeepHTTPConnectionAlive - The value indicating whether to keep the connection alive.
472	KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"`
473	// UnfoldHTTPHeaders - The value indicating whether to unfold the HTTP headers.
474	UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"`
475}
476
477// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
478// AS2OneWayAgreement ...
479type AS2OneWayAgreement struct {
480	// SenderBusinessIdentity - The sender business identity
481	SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"`
482	// ReceiverBusinessIdentity - The receiver business identity
483	ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"`
484	// ProtocolSettings - The AS2 protocol settings.
485	ProtocolSettings *AS2ProtocolSettings `json:"protocolSettings,omitempty"`
486}
487
488// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
489// AS2ProtocolSettings ...
490type AS2ProtocolSettings struct {
491	// MessageConnectionSettings - The message connection settings.
492	MessageConnectionSettings *AS2MessageConnectionSettings `json:"messageConnectionSettings,omitempty"`
493	// AcknowledgementConnectionSettings - The acknowledgement connection settings.
494	AcknowledgementConnectionSettings *AS2AcknowledgementConnectionSettings `json:"acknowledgementConnectionSettings,omitempty"`
495	// MdnSettings - The MDN settings.
496	MdnSettings *AS2MdnSettings `json:"mdnSettings,omitempty"`
497	// SecuritySettings - The security settings.
498	SecuritySettings *AS2SecuritySettings `json:"securitySettings,omitempty"`
499	// ValidationSettings - The validation settings.
500	ValidationSettings *AS2ValidationSettings `json:"validationSettings,omitempty"`
501	// EnvelopeSettings - The envelope settings.
502	EnvelopeSettings *AS2EnvelopeSettings `json:"envelopeSettings,omitempty"`
503	// ErrorSettings - The error settings.
504	ErrorSettings *AS2ErrorSettings `json:"errorSettings,omitempty"`
505}
506
507// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
508// AS2SecuritySettings ...
509type AS2SecuritySettings struct {
510	// OverrideGroupSigningCertificate - The value indicating whether to send or request a MDN.
511	OverrideGroupSigningCertificate *bool `json:"overrideGroupSigningCertificate,omitempty"`
512	// SigningCertificateName - The name of the signing certificate.
513	SigningCertificateName *string `json:"signingCertificateName,omitempty"`
514	// EncryptionCertificateName - The name of the encryption certificate.
515	EncryptionCertificateName *string `json:"encryptionCertificateName,omitempty"`
516	// EnableNrrForInboundEncodedMessages - The value indicating whether to enable NRR for inbound encoded messages.
517	EnableNrrForInboundEncodedMessages *bool `json:"enableNrrForInboundEncodedMessages,omitempty"`
518	// EnableNrrForInboundDecodedMessages - The value indicating whether to enable NRR for inbound decoded messages.
519	EnableNrrForInboundDecodedMessages *bool `json:"enableNrrForInboundDecodedMessages,omitempty"`
520	// EnableNrrForOutboundMdn - The value indicating whether to enable NRR for outbound MDN.
521	EnableNrrForOutboundMdn *bool `json:"enableNrrForOutboundMdn,omitempty"`
522	// EnableNrrForOutboundEncodedMessages - The value indicating whether to enable NRR for outbound encoded messages.
523	EnableNrrForOutboundEncodedMessages *bool `json:"enableNrrForOutboundEncodedMessages,omitempty"`
524	// EnableNrrForOutboundDecodedMessages - The value indicating whether to enable NRR for outbound decoded messages.
525	EnableNrrForOutboundDecodedMessages *bool `json:"enableNrrForOutboundDecodedMessages,omitempty"`
526	// EnableNrrForInboundMdn - The value indicating whether to enable NRR for inbound MDN.
527	EnableNrrForInboundMdn *bool `json:"enableNrrForInboundMdn,omitempty"`
528}
529
530// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
531// AS2ValidationSettings ...
532type AS2ValidationSettings struct {
533	// OverrideMessageProperties - The value indicating whether to override incoming message properties with those in agreement.
534	OverrideMessageProperties *bool `json:"overrideMessageProperties,omitempty"`
535	// EncryptMessage - The value indicating whether the message has to be encrypted.
536	EncryptMessage *bool `json:"encryptMessage,omitempty"`
537	// SignMessage - The value indicating whether the message has to be signed.
538	SignMessage *bool `json:"signMessage,omitempty"`
539	// CompressMessage - The value indicating whether the message has to be compressed.
540	CompressMessage *bool `json:"compressMessage,omitempty"`
541	// CheckDuplicateMessage - The value indicating whether to check for duplicate message.
542	CheckDuplicateMessage *bool `json:"checkDuplicateMessage,omitempty"`
543	// InterchangeDuplicatesValidityDays - The number of days to look back for duplicate interchange.
544	InterchangeDuplicatesValidityDays *int32 `json:"interchangeDuplicatesValidityDays,omitempty"`
545	// CheckCertificateRevocationListOnSend - The value indicating whether to check for certificate revocation list on send.
546	CheckCertificateRevocationListOnSend *bool `json:"checkCertificateRevocationListOnSend,omitempty"`
547	// CheckCertificateRevocationListOnReceive - The value indicating whether to check for certificate revocation list on receive.
548	CheckCertificateRevocationListOnReceive *bool `json:"checkCertificateRevocationListOnReceive,omitempty"`
549	// EncryptionAlgorithm - The encryption algorithm. Possible values include: 'EncryptionAlgorithmNotSpecified', 'EncryptionAlgorithmNone', 'EncryptionAlgorithmDES3', 'EncryptionAlgorithmRC2', 'EncryptionAlgorithmAES128', 'EncryptionAlgorithmAES192', 'EncryptionAlgorithmAES256'
550	EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
551}
552
553// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
554// B2BPartnerContent ...
555type B2BPartnerContent struct {
556	// BusinessIdentities - The list of partner business identities.
557	BusinessIdentities *[]BusinessIdentity `json:"businessIdentities,omitempty"`
558}
559
560// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
561// BusinessIdentity ...
562type BusinessIdentity struct {
563	// Qualifier - The business identity qualifier.
564	Qualifier *string `json:"Qualifier,omitempty"`
565	// Value - The business identity value.
566	Value *string `json:"Value,omitempty"`
567}
568
569// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
570// CallbackURL ...
571type CallbackURL struct {
572	autorest.Response `json:"-"`
573	// Value - The URL value.
574	Value *string `json:"value,omitempty"`
575}
576
577// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
578// EdifactAcknowledgementSettings ...
579type EdifactAcknowledgementSettings struct {
580	// NeedTechnicalAcknowledgement - The value indicating whether technical acknowledgement is needed.
581	NeedTechnicalAcknowledgement *bool `json:"needTechnicalAcknowledgement,omitempty"`
582	// BatchTechnicalAcknowledgements - The value indicating whether to batch the technical acknowledgements.
583	BatchTechnicalAcknowledgements *bool `json:"batchTechnicalAcknowledgements,omitempty"`
584	// NeedFunctionalAcknowledgement - The value indicating whether functional acknowledgement is needed.
585	NeedFunctionalAcknowledgement *bool `json:"needFunctionalAcknowledgement,omitempty"`
586	// BatchFunctionalAcknowledgements - The value indicating whether to batch functional acknowledgements.
587	BatchFunctionalAcknowledgements *bool `json:"batchFunctionalAcknowledgements,omitempty"`
588	// NeedLoopForValidMessages - The value indicating whether a loop is needed for valid messages.
589	NeedLoopForValidMessages *bool `json:"needLoopForValidMessages,omitempty"`
590	// SendSynchronousAcknowledgement - The value indicating whether to send synchronous acknowledgement.
591	SendSynchronousAcknowledgement *bool `json:"sendSynchronousAcknowledgement,omitempty"`
592	// AcknowledgementControlNumberPrefix - The acknowledgement control number prefix.
593	AcknowledgementControlNumberPrefix *string `json:"acknowledgementControlNumberPrefix,omitempty"`
594	// AcknowledgementControlNumberSuffix - The acknowledgement control number suffix.
595	AcknowledgementControlNumberSuffix *string `json:"acknowledgementControlNumberSuffix,omitempty"`
596	// AcknowledgementControlNumberLowerBound - The acknowledgement control number lower bound.
597	AcknowledgementControlNumberLowerBound *int32 `json:"acknowledgementControlNumberLowerBound,omitempty"`
598	// AcknowledgementControlNumberUpperBound - The acknowledgement control number upper bound.
599	AcknowledgementControlNumberUpperBound *int32 `json:"acknowledgementControlNumberUpperBound,omitempty"`
600	// RolloverAcknowledgementControlNumber - The value indicating whether to rollover acknowledgement control number.
601	RolloverAcknowledgementControlNumber *bool `json:"rolloverAcknowledgementControlNumber,omitempty"`
602}
603
604// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
605// EdifactAgreementContent ...
606type EdifactAgreementContent struct {
607	// ReceiveAgreement - The EDIFACT one-way receive agreement.
608	ReceiveAgreement *EdifactOneWayAgreement `json:"receiveAgreement,omitempty"`
609	// SendAgreement - The EDIFACT one-way send agreement.
610	SendAgreement *EdifactOneWayAgreement `json:"sendAgreement,omitempty"`
611}
612
613// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
614// EdifactDelimiterOverride ...
615type EdifactDelimiterOverride struct {
616	// MessageID - The message id.
617	MessageID *string `json:"messageId,omitempty"`
618	// MessageVersion - The message version.
619	MessageVersion *string `json:"messageVersion,omitempty"`
620	// MessageRelease - The message releaseversion.
621	MessageRelease *string `json:"messageRelease,omitempty"`
622	// DataElementSeparator - The data element separator.
623	DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
624	// ComponentSeparator - The component separator.
625	ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
626	// SegmentTerminator - The segment terminator.
627	SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
628	// RepetitionSeparator - The repetition separator.
629	RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"`
630	// SegmentTerminatorSuffix - The segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
631	SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
632	// DecimalPointIndicator - The decimal point indicator. Possible values include: 'EdifactDecimalIndicatorNotSpecified', 'EdifactDecimalIndicatorComma', 'EdifactDecimalIndicatorDecimal'
633	DecimalPointIndicator EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"`
634	// ReleaseIndicator - The release indicator.
635	ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"`
636	// MessageAssociationAssignedCode - The message association assigned code.
637	MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"`
638	// TargetNamespace - The target namespace on which this delimiter settings has to be applied.
639	TargetNamespace *string `json:"targetNamespace,omitempty"`
640}
641
642// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
643// EdifactEnvelopeOverride ...
644type EdifactEnvelopeOverride struct {
645	// MessageID - The message id on which this envelope settings has to be applied.
646	MessageID *string `json:"messageId,omitempty"`
647	// MessageVersion - The message version on which this envelope settings has to be applied.
648	MessageVersion *string `json:"messageVersion,omitempty"`
649	// MessageRelease - The message release version on which this envelope settings has to be applied.
650	MessageRelease *string `json:"messageRelease,omitempty"`
651	// MessageAssociationAssignedCode - The message association assigned code.
652	MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"`
653	// TargetNamespace - The target namespace on which this envelope settings has to be applied.
654	TargetNamespace *string `json:"targetNamespace,omitempty"`
655	// FunctionalGroupID - The functional group id.
656	FunctionalGroupID *string `json:"functionalGroupId,omitempty"`
657	// SenderApplicationQualifier - The sender application qualifier.
658	SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"`
659	// SenderApplicationID - The sender application id.
660	SenderApplicationID *string `json:"senderApplicationId,omitempty"`
661	// ReceiverApplicationQualifier - The receiver application qualifier.
662	ReceiverApplicationQualifier *string `json:"receiverApplicationQualifier,omitempty"`
663	// ReceiverApplicationID - The receiver application id.
664	ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"`
665	// ControllingAgencyCode - The controlling agency code.
666	ControllingAgencyCode *string `json:"controllingAgencyCode,omitempty"`
667	// GroupHeaderMessageVersion - The group header message version.
668	GroupHeaderMessageVersion *string `json:"groupHeaderMessageVersion,omitempty"`
669	// GroupHeaderMessageRelease - The group header message release.
670	GroupHeaderMessageRelease *string `json:"groupHeaderMessageRelease,omitempty"`
671	// AssociationAssignedCode - The association assigned code.
672	AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"`
673	// ApplicationPassword - The application password.
674	ApplicationPassword *string `json:"applicationPassword,omitempty"`
675}
676
677// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
678// EdifactEnvelopeSettings ...
679type EdifactEnvelopeSettings struct {
680	// GroupAssociationAssignedCode - The group association assigned code.
681	GroupAssociationAssignedCode *string `json:"groupAssociationAssignedCode,omitempty"`
682	// CommunicationAgreementID - The communication agreement id.
683	CommunicationAgreementID *string `json:"communicationAgreementId,omitempty"`
684	// ApplyDelimiterStringAdvice - The value indicating whether to apply delimiter string advice.
685	ApplyDelimiterStringAdvice *bool `json:"applyDelimiterStringAdvice,omitempty"`
686	// CreateGroupingSegments - The value indicating whether to create grouping segments.
687	CreateGroupingSegments *bool `json:"createGroupingSegments,omitempty"`
688	// EnableDefaultGroupHeaders - The value indicating whether to enable default group headers.
689	EnableDefaultGroupHeaders *bool `json:"enableDefaultGroupHeaders,omitempty"`
690	// RecipientReferencePasswordValue - The recipient reference password value.
691	RecipientReferencePasswordValue *string `json:"recipientReferencePasswordValue,omitempty"`
692	// RecipientReferencePasswordQualifier - The recipient reference password qualifier.
693	RecipientReferencePasswordQualifier *string `json:"recipientReferencePasswordQualifier,omitempty"`
694	// ApplicationReferenceID - The application reference id.
695	ApplicationReferenceID *string `json:"applicationReferenceId,omitempty"`
696	// ProcessingPriorityCode - The processing priority code.
697	ProcessingPriorityCode *string `json:"processingPriorityCode,omitempty"`
698	// InterchangeControlNumberLowerBound - The interchange control number lower bound.
699	InterchangeControlNumberLowerBound *int64 `json:"interchangeControlNumberLowerBound,omitempty"`
700	// InterchangeControlNumberUpperBound - The interchange control number upper bound.
701	InterchangeControlNumberUpperBound *int64 `json:"interchangeControlNumberUpperBound,omitempty"`
702	// RolloverInterchangeControlNumber - The value indicating whether to rollover interchange control number.
703	RolloverInterchangeControlNumber *bool `json:"rolloverInterchangeControlNumber,omitempty"`
704	// InterchangeControlNumberPrefix - The interchange control number prefix.
705	InterchangeControlNumberPrefix *string `json:"interchangeControlNumberPrefix,omitempty"`
706	// InterchangeControlNumberSuffix - The interchange control number suffix.
707	InterchangeControlNumberSuffix *string `json:"interchangeControlNumberSuffix,omitempty"`
708	// SenderReverseRoutingAddress - The sender reverse routing address.
709	SenderReverseRoutingAddress *string `json:"senderReverseRoutingAddress,omitempty"`
710	// ReceiverReverseRoutingAddress - The receiver reverse routing address.
711	ReceiverReverseRoutingAddress *string `json:"receiverReverseRoutingAddress,omitempty"`
712	// FunctionalGroupID - The functional group id.
713	FunctionalGroupID *string `json:"functionalGroupId,omitempty"`
714	// GroupControllingAgencyCode - The group controlling agency code.
715	GroupControllingAgencyCode *string `json:"groupControllingAgencyCode,omitempty"`
716	// GroupMessageVersion - The group message version.
717	GroupMessageVersion *string `json:"groupMessageVersion,omitempty"`
718	// GroupMessageRelease - The group message release.
719	GroupMessageRelease *string `json:"groupMessageRelease,omitempty"`
720	// GroupControlNumberLowerBound - The group control number lower bound.
721	GroupControlNumberLowerBound *int64 `json:"groupControlNumberLowerBound,omitempty"`
722	// GroupControlNumberUpperBound - The group control number upper bound.
723	GroupControlNumberUpperBound *int64 `json:"groupControlNumberUpperBound,omitempty"`
724	// RolloverGroupControlNumber - The value indicating whether to rollover group control number.
725	RolloverGroupControlNumber *bool `json:"rolloverGroupControlNumber,omitempty"`
726	// GroupControlNumberPrefix - The group control number prefix.
727	GroupControlNumberPrefix *string `json:"groupControlNumberPrefix,omitempty"`
728	// GroupControlNumberSuffix - The group control number suffix.
729	GroupControlNumberSuffix *string `json:"groupControlNumberSuffix,omitempty"`
730	// GroupApplicationReceiverQualifier - The group application receiver qualifier.
731	GroupApplicationReceiverQualifier *string `json:"groupApplicationReceiverQualifier,omitempty"`
732	// GroupApplicationReceiverID - The group application receiver id.
733	GroupApplicationReceiverID *string `json:"groupApplicationReceiverId,omitempty"`
734	// GroupApplicationSenderQualifier - The group application sender qualifier.
735	GroupApplicationSenderQualifier *string `json:"groupApplicationSenderQualifier,omitempty"`
736	// GroupApplicationSenderID - The group application sender id.
737	GroupApplicationSenderID *string `json:"groupApplicationSenderId,omitempty"`
738	// GroupApplicationPassword - The group application password.
739	GroupApplicationPassword *string `json:"groupApplicationPassword,omitempty"`
740	// OverwriteExistingTransactionSetControlNumber - The value indicating whether to overwrite existing transaction set control number.
741	OverwriteExistingTransactionSetControlNumber *bool `json:"overwriteExistingTransactionSetControlNumber,omitempty"`
742	// TransactionSetControlNumberPrefix - The transaction set control number prefix.
743	TransactionSetControlNumberPrefix *string `json:"transactionSetControlNumberPrefix,omitempty"`
744	// TransactionSetControlNumberSuffix - The transaction set control number suffix.
745	TransactionSetControlNumberSuffix *string `json:"transactionSetControlNumberSuffix,omitempty"`
746	// TransactionSetControlNumberLowerBound - The transaction set control number lower bound.
747	TransactionSetControlNumberLowerBound *int64 `json:"transactionSetControlNumberLowerBound,omitempty"`
748	// TransactionSetControlNumberUpperBound - The transaction set control number upper bound.
749	TransactionSetControlNumberUpperBound *int64 `json:"transactionSetControlNumberUpperBound,omitempty"`
750	// RolloverTransactionSetControlNumber - The value indicating whether to rollover transaction set control number.
751	RolloverTransactionSetControlNumber *bool `json:"rolloverTransactionSetControlNumber,omitempty"`
752	// IsTestInterchange - The value indicating whether the message is a test interchange.
753	IsTestInterchange *bool `json:"isTestInterchange,omitempty"`
754	// SenderInternalIdentification - The sender internal identification.
755	SenderInternalIdentification *string `json:"senderInternalIdentification,omitempty"`
756	// SenderInternalSubIdentification - The sender internal sub identification.
757	SenderInternalSubIdentification *string `json:"senderInternalSubIdentification,omitempty"`
758	// ReceiverInternalIdentification - The receiver internal identification.
759	ReceiverInternalIdentification *string `json:"receiverInternalIdentification,omitempty"`
760	// ReceiverInternalSubIdentification - The receiver internal sub identification.
761	ReceiverInternalSubIdentification *string `json:"receiverInternalSubIdentification,omitempty"`
762}
763
764// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
765// EdifactFramingSettings ...
766type EdifactFramingSettings struct {
767	// ServiceCodeListDirectoryVersion - The service code list directory version.
768	ServiceCodeListDirectoryVersion *string `json:"serviceCodeListDirectoryVersion,omitempty"`
769	// CharacterEncoding - The character encoding.
770	CharacterEncoding *string `json:"characterEncoding,omitempty"`
771	// ProtocolVersion - The protocol version.
772	ProtocolVersion *int32 `json:"protocolVersion,omitempty"`
773	// DataElementSeparator - The data element separator.
774	DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
775	// ComponentSeparator - The component separator.
776	ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
777	// SegmentTerminator - The segment terminator.
778	SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
779	// ReleaseIndicator - The release indicator.
780	ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"`
781	// RepetitionSeparator - The repetition separator.
782	RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"`
783	// CharacterSet - The EDIFACT frame setting characterSet. Possible values include: 'EdifactCharacterSetNotSpecified', 'EdifactCharacterSetUNOB', 'EdifactCharacterSetUNOA', 'EdifactCharacterSetUNOC', 'EdifactCharacterSetUNOD', 'EdifactCharacterSetUNOE', 'EdifactCharacterSetUNOF', 'EdifactCharacterSetUNOG', 'EdifactCharacterSetUNOH', 'EdifactCharacterSetUNOI', 'EdifactCharacterSetUNOJ', 'EdifactCharacterSetUNOK', 'EdifactCharacterSetUNOX', 'EdifactCharacterSetUNOY', 'EdifactCharacterSetKECA'
784	CharacterSet EdifactCharacterSet `json:"characterSet,omitempty"`
785	// DecimalPointIndicator - The EDIFACT frame setting decimal indicator. Possible values include: 'EdifactDecimalIndicatorNotSpecified', 'EdifactDecimalIndicatorComma', 'EdifactDecimalIndicatorDecimal'
786	DecimalPointIndicator EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"`
787	// SegmentTerminatorSuffix - The EDIFACT frame setting segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
788	SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
789}
790
791// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
792// EdifactMessageFilter ...
793type EdifactMessageFilter struct {
794	// MessageFilterType - The message filter type. Possible values include: 'MessageFilterTypeNotSpecified', 'MessageFilterTypeInclude', 'MessageFilterTypeExclude'
795	MessageFilterType MessageFilterType `json:"messageFilterType,omitempty"`
796}
797
798// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
799// EdifactMessageIdentifier ...
800type EdifactMessageIdentifier struct {
801	// MessageID - The message id on which this envelope settings has to be applied.
802	MessageID *string `json:"messageId,omitempty"`
803}
804
805// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
806// EdifactOneWayAgreement ...
807type EdifactOneWayAgreement struct {
808	// SenderBusinessIdentity - The sender business identity
809	SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"`
810	// ReceiverBusinessIdentity - The receiver business identity
811	ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"`
812	// ProtocolSettings - The EDIFACT protocol settings.
813	ProtocolSettings *EdifactProtocolSettings `json:"protocolSettings,omitempty"`
814}
815
816// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
817// EdifactProcessingSettings ...
818type EdifactProcessingSettings struct {
819	// MaskSecurityInfo - The value indicating whether to mask security information.
820	MaskSecurityInfo *bool `json:"maskSecurityInfo,omitempty"`
821	// PreserveInterchange - The value indicating whether to preserve interchange.
822	PreserveInterchange *bool `json:"preserveInterchange,omitempty"`
823	// SuspendInterchangeOnError - The value indicating whether to suspend interchange on error.
824	SuspendInterchangeOnError *bool `json:"suspendInterchangeOnError,omitempty"`
825	// CreateEmptyXMLTagsForTrailingSeparators - The value indicating whether to create empty xml tags for trailing separators.
826	CreateEmptyXMLTagsForTrailingSeparators *bool `json:"createEmptyXmlTagsForTrailingSeparators,omitempty"`
827	// UseDotAsDecimalSeparator - The value indicating whether to use dot as decimal separator.
828	UseDotAsDecimalSeparator *bool `json:"useDotAsDecimalSeparator,omitempty"`
829}
830
831// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
832// EdifactProtocolSettings ...
833type EdifactProtocolSettings struct {
834	// ValidationSettings - The EDIFACT validation settings.
835	ValidationSettings *EdifactValidationSettings `json:"validationSettings,omitempty"`
836	// FramingSettings - The EDIFACT framing settings.
837	FramingSettings *EdifactFramingSettings `json:"framingSettings,omitempty"`
838	// EnvelopeSettings - The EDIFACT envelope settings.
839	EnvelopeSettings *EdifactEnvelopeSettings `json:"envelopeSettings,omitempty"`
840	// AcknowledgementSettings - The EDIFACT acknowledgement settings.
841	AcknowledgementSettings *EdifactAcknowledgementSettings `json:"acknowledgementSettings,omitempty"`
842	// MessageFilter - The EDIFACT message filter.
843	MessageFilter *EdifactMessageFilter `json:"messageFilter,omitempty"`
844	// ProcessingSettings - The EDIFACT processing Settings.
845	ProcessingSettings *EdifactProcessingSettings `json:"processingSettings,omitempty"`
846	// EnvelopeOverrides - The EDIFACT envelope override settings.
847	EnvelopeOverrides *[]EdifactEnvelopeOverride `json:"envelopeOverrides,omitempty"`
848	// MessageFilterList - The EDIFACT message filter list.
849	MessageFilterList *[]EdifactMessageIdentifier `json:"messageFilterList,omitempty"`
850	// SchemaReferences - The EDIFACT schema references.
851	SchemaReferences *[]EdifactSchemaReference `json:"schemaReferences,omitempty"`
852	// ValidationOverrides - The EDIFACT validation override settings.
853	ValidationOverrides *[]EdifactValidationOverride `json:"validationOverrides,omitempty"`
854	// EdifactDelimiterOverrides - The EDIFACT delimiter override settings.
855	EdifactDelimiterOverrides *[]EdifactDelimiterOverride `json:"edifactDelimiterOverrides,omitempty"`
856}
857
858// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
859// EdifactSchemaReference ...
860type EdifactSchemaReference struct {
861	// MessageID - The message id.
862	MessageID *string `json:"messageId,omitempty"`
863	// MessageVersion - The message version.
864	MessageVersion *string `json:"messageVersion,omitempty"`
865	// MessageRelease - The message release version.
866	MessageRelease *string `json:"messageRelease,omitempty"`
867	// SenderApplicationID - The sender application id.
868	SenderApplicationID *string `json:"senderApplicationId,omitempty"`
869	// SenderApplicationQualifier - The sender application qualifier.
870	SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"`
871	// AssociationAssignedCode - The association assigned code.
872	AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"`
873	// SchemaName - The schema name.
874	SchemaName *string `json:"schemaName,omitempty"`
875}
876
877// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
878// EdifactValidationOverride ...
879type EdifactValidationOverride struct {
880	// MessageID - The message id on which the validation settings has to be applied.
881	MessageID *string `json:"messageId,omitempty"`
882	// EnforceCharacterSet - The value indicating whether to validate character Set.
883	EnforceCharacterSet *bool `json:"enforceCharacterSet,omitempty"`
884	// ValidateEDITypes - The value indicating whether to validate EDI types.
885	ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
886	// ValidateXSDTypes - The value indicating whether to validate XSD types.
887	ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
888	// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
889	AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
890	// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
891	TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
892	// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
893	TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
894}
895
896// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
897// EdifactValidationSettings ...
898type EdifactValidationSettings struct {
899	// ValidateCharacterSet - The value indicating whether to validate character set in the message.
900	ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"`
901	// CheckDuplicateInterchangeControlNumber - The value indicating whether to check for duplicate interchange control number.
902	CheckDuplicateInterchangeControlNumber *bool `json:"checkDuplicateInterchangeControlNumber,omitempty"`
903	// InterchangeControlNumberValidityDays - The validity period of interchange control number.
904	InterchangeControlNumberValidityDays *int32 `json:"interchangeControlNumberValidityDays,omitempty"`
905	// CheckDuplicateGroupControlNumber - The value indicating whether to check for duplicate group control number.
906	CheckDuplicateGroupControlNumber *bool `json:"checkDuplicateGroupControlNumber,omitempty"`
907	// CheckDuplicateTransactionSetControlNumber - The value indicating whether to check for duplicate transaction set control number.
908	CheckDuplicateTransactionSetControlNumber *bool `json:"checkDuplicateTransactionSetControlNumber,omitempty"`
909	// ValidateEDITypes - The value indicating whether to Whether to validate EDI types.
910	ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
911	// ValidateXSDTypes - The value indicating whether to Whether to validate XSD types.
912	ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
913	// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
914	AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
915	// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
916	TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
917	// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
918	TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
919}
920
921// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
922// IntegrationAccount ...
923type IntegrationAccount struct {
924	autorest.Response `json:"-"`
925	// Properties - The integration account properties.
926	Properties interface{} `json:"properties,omitempty"`
927	// Sku - The sku.
928	Sku *IntegrationAccountSku `json:"sku,omitempty"`
929	// ID - The resource id.
930	ID *string `json:"id,omitempty"`
931	// Name - The resource name.
932	Name *string `json:"name,omitempty"`
933	// Type - The resource type.
934	Type *string `json:"type,omitempty"`
935	// Location - The resource location.
936	Location *string `json:"location,omitempty"`
937	// Tags - The resource tags.
938	Tags map[string]*string `json:"tags"`
939}
940
941// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
942// MarshalJSON is the custom marshaler for IntegrationAccount.
943func (ia IntegrationAccount) MarshalJSON() ([]byte, error) {
944	objectMap := make(map[string]interface{})
945	objectMap["properties"] = ia.Properties
946	if ia.Sku != nil {
947		objectMap["sku"] = ia.Sku
948	}
949	if ia.ID != nil {
950		objectMap["id"] = ia.ID
951	}
952	if ia.Name != nil {
953		objectMap["name"] = ia.Name
954	}
955	if ia.Type != nil {
956		objectMap["type"] = ia.Type
957	}
958	if ia.Location != nil {
959		objectMap["location"] = ia.Location
960	}
961	if ia.Tags != nil {
962		objectMap["tags"] = ia.Tags
963	}
964	return json.Marshal(objectMap)
965}
966
967// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
968// IntegrationAccountAgreement ...
969type IntegrationAccountAgreement struct {
970	autorest.Response `json:"-"`
971	// IntegrationAccountAgreementProperties - The integration account agreement properties.
972	*IntegrationAccountAgreementProperties `json:"properties,omitempty"`
973	// ID - The resource id.
974	ID *string `json:"id,omitempty"`
975	// Name - The resource name.
976	Name *string `json:"name,omitempty"`
977	// Type - The resource type.
978	Type *string `json:"type,omitempty"`
979	// Location - The resource location.
980	Location *string `json:"location,omitempty"`
981	// Tags - The resource tags.
982	Tags map[string]*string `json:"tags"`
983}
984
985// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
986// MarshalJSON is the custom marshaler for IntegrationAccountAgreement.
987func (iaa IntegrationAccountAgreement) MarshalJSON() ([]byte, error) {
988	objectMap := make(map[string]interface{})
989	if iaa.IntegrationAccountAgreementProperties != nil {
990		objectMap["properties"] = iaa.IntegrationAccountAgreementProperties
991	}
992	if iaa.ID != nil {
993		objectMap["id"] = iaa.ID
994	}
995	if iaa.Name != nil {
996		objectMap["name"] = iaa.Name
997	}
998	if iaa.Type != nil {
999		objectMap["type"] = iaa.Type
1000	}
1001	if iaa.Location != nil {
1002		objectMap["location"] = iaa.Location
1003	}
1004	if iaa.Tags != nil {
1005		objectMap["tags"] = iaa.Tags
1006	}
1007	return json.Marshal(objectMap)
1008}
1009
1010// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1011// UnmarshalJSON is the custom unmarshaler for IntegrationAccountAgreement struct.
1012func (iaa *IntegrationAccountAgreement) UnmarshalJSON(body []byte) error {
1013	var m map[string]*json.RawMessage
1014	err := json.Unmarshal(body, &m)
1015	if err != nil {
1016		return err
1017	}
1018	for k, v := range m {
1019		switch k {
1020		case "properties":
1021			if v != nil {
1022				var integrationAccountAgreementProperties IntegrationAccountAgreementProperties
1023				err = json.Unmarshal(*v, &integrationAccountAgreementProperties)
1024				if err != nil {
1025					return err
1026				}
1027				iaa.IntegrationAccountAgreementProperties = &integrationAccountAgreementProperties
1028			}
1029		case "id":
1030			if v != nil {
1031				var ID string
1032				err = json.Unmarshal(*v, &ID)
1033				if err != nil {
1034					return err
1035				}
1036				iaa.ID = &ID
1037			}
1038		case "name":
1039			if v != nil {
1040				var name string
1041				err = json.Unmarshal(*v, &name)
1042				if err != nil {
1043					return err
1044				}
1045				iaa.Name = &name
1046			}
1047		case "type":
1048			if v != nil {
1049				var typeVar string
1050				err = json.Unmarshal(*v, &typeVar)
1051				if err != nil {
1052					return err
1053				}
1054				iaa.Type = &typeVar
1055			}
1056		case "location":
1057			if v != nil {
1058				var location string
1059				err = json.Unmarshal(*v, &location)
1060				if err != nil {
1061					return err
1062				}
1063				iaa.Location = &location
1064			}
1065		case "tags":
1066			if v != nil {
1067				var tags map[string]*string
1068				err = json.Unmarshal(*v, &tags)
1069				if err != nil {
1070					return err
1071				}
1072				iaa.Tags = tags
1073			}
1074		}
1075	}
1076
1077	return nil
1078}
1079
1080// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1081// IntegrationAccountAgreementFilter ...
1082type IntegrationAccountAgreementFilter struct {
1083	// AgreementType - The agreement type of integration account agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact'
1084	AgreementType AgreementType `json:"agreementType,omitempty"`
1085}
1086
1087// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1088// IntegrationAccountAgreementListResult ...
1089type IntegrationAccountAgreementListResult struct {
1090	autorest.Response `json:"-"`
1091	// Value - The list of integration account agreements.
1092	Value *[]IntegrationAccountAgreement `json:"value,omitempty"`
1093	// NextLink - The URL to get the next set of results.
1094	NextLink *string `json:"nextLink,omitempty"`
1095}
1096
1097// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1098// IntegrationAccountAgreementListResultIterator provides access to a complete listing of
1099// IntegrationAccountAgreement values.
1100type IntegrationAccountAgreementListResultIterator struct {
1101	i    int
1102	page IntegrationAccountAgreementListResultPage
1103}
1104
1105// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1106// Next advances to the next value.  If there was an error making
1107// the request the iterator does not advance and the error is returned.
1108func (iter *IntegrationAccountAgreementListResultIterator) Next() error {
1109	iter.i++
1110	if iter.i < len(iter.page.Values()) {
1111		return nil
1112	}
1113	err := iter.page.Next()
1114	if err != nil {
1115		iter.i--
1116		return err
1117	}
1118	iter.i = 0
1119	return nil
1120}
1121
1122// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1123// NotDone returns true if the enumeration should be started or is not yet complete.
1124func (iter IntegrationAccountAgreementListResultIterator) NotDone() bool {
1125	return iter.page.NotDone() && iter.i < len(iter.page.Values())
1126}
1127
1128// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1129// Response returns the raw server response from the last page request.
1130func (iter IntegrationAccountAgreementListResultIterator) Response() IntegrationAccountAgreementListResult {
1131	return iter.page.Response()
1132}
1133
1134// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1135// Value returns the current value or a zero-initialized value if the
1136// iterator has advanced beyond the end of the collection.
1137func (iter IntegrationAccountAgreementListResultIterator) Value() IntegrationAccountAgreement {
1138	if !iter.page.NotDone() {
1139		return IntegrationAccountAgreement{}
1140	}
1141	return iter.page.Values()[iter.i]
1142}
1143
1144// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1145// IsEmpty returns true if the ListResult contains no values.
1146func (iaalr IntegrationAccountAgreementListResult) IsEmpty() bool {
1147	return iaalr.Value == nil || len(*iaalr.Value) == 0
1148}
1149
1150// integrationAccountAgreementListResultPreparer prepares a request to retrieve the next set of results.
1151// It returns nil if no more results exist.
1152func (iaalr IntegrationAccountAgreementListResult) integrationAccountAgreementListResultPreparer() (*http.Request, error) {
1153	if iaalr.NextLink == nil || len(to.String(iaalr.NextLink)) < 1 {
1154		return nil, nil
1155	}
1156	return autorest.Prepare(&http.Request{},
1157		autorest.AsJSON(),
1158		autorest.AsGet(),
1159		autorest.WithBaseURL(to.String(iaalr.NextLink)))
1160}
1161
1162// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1163// IntegrationAccountAgreementListResultPage contains a page of IntegrationAccountAgreement values.
1164type IntegrationAccountAgreementListResultPage struct {
1165	fn    func(IntegrationAccountAgreementListResult) (IntegrationAccountAgreementListResult, error)
1166	iaalr IntegrationAccountAgreementListResult
1167}
1168
1169// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1170// Next advances to the next page of values.  If there was an error making
1171// the request the page does not advance and the error is returned.
1172func (page *IntegrationAccountAgreementListResultPage) Next() error {
1173	next, err := page.fn(page.iaalr)
1174	if err != nil {
1175		return err
1176	}
1177	page.iaalr = next
1178	return nil
1179}
1180
1181// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1182// NotDone returns true if the page enumeration should be started or is not yet complete.
1183func (page IntegrationAccountAgreementListResultPage) NotDone() bool {
1184	return !page.iaalr.IsEmpty()
1185}
1186
1187// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1188// Response returns the raw server response from the last page request.
1189func (page IntegrationAccountAgreementListResultPage) Response() IntegrationAccountAgreementListResult {
1190	return page.iaalr
1191}
1192
1193// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1194// Values returns the slice of values for the current page or nil if there are no values.
1195func (page IntegrationAccountAgreementListResultPage) Values() []IntegrationAccountAgreement {
1196	if page.iaalr.IsEmpty() {
1197		return nil
1198	}
1199	return *page.iaalr.Value
1200}
1201
1202// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1203// IntegrationAccountAgreementProperties ...
1204type IntegrationAccountAgreementProperties struct {
1205	// CreatedTime - The created time.
1206	CreatedTime *date.Time `json:"createdTime,omitempty"`
1207	// ChangedTime - The changed time.
1208	ChangedTime *date.Time `json:"changedTime,omitempty"`
1209	// Metadata - The metadata.
1210	Metadata interface{} `json:"metadata,omitempty"`
1211	// AgreementType - The agreement type. Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact'
1212	AgreementType AgreementType `json:"agreementType,omitempty"`
1213	// HostPartner - The host partner.
1214	HostPartner *string `json:"hostPartner,omitempty"`
1215	// GuestPartner - The guest partner.
1216	GuestPartner *string `json:"guestPartner,omitempty"`
1217	// HostIdentity - The host identity.
1218	HostIdentity *BusinessIdentity `json:"hostIdentity,omitempty"`
1219	// GuestIdentity - The guest identity.
1220	GuestIdentity *BusinessIdentity `json:"guestIdentity,omitempty"`
1221	// Content - The agreement content.
1222	Content *AgreementContent `json:"content,omitempty"`
1223}
1224
1225// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1226// IntegrationAccountCertificate ...
1227type IntegrationAccountCertificate struct {
1228	autorest.Response `json:"-"`
1229	// IntegrationAccountCertificateProperties - The integration account certificate properties.
1230	*IntegrationAccountCertificateProperties `json:"properties,omitempty"`
1231	// ID - The resource id.
1232	ID *string `json:"id,omitempty"`
1233	// Name - The resource name.
1234	Name *string `json:"name,omitempty"`
1235	// Type - The resource type.
1236	Type *string `json:"type,omitempty"`
1237	// Location - The resource location.
1238	Location *string `json:"location,omitempty"`
1239	// Tags - The resource tags.
1240	Tags map[string]*string `json:"tags"`
1241}
1242
1243// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1244// MarshalJSON is the custom marshaler for IntegrationAccountCertificate.
1245func (iac IntegrationAccountCertificate) MarshalJSON() ([]byte, error) {
1246	objectMap := make(map[string]interface{})
1247	if iac.IntegrationAccountCertificateProperties != nil {
1248		objectMap["properties"] = iac.IntegrationAccountCertificateProperties
1249	}
1250	if iac.ID != nil {
1251		objectMap["id"] = iac.ID
1252	}
1253	if iac.Name != nil {
1254		objectMap["name"] = iac.Name
1255	}
1256	if iac.Type != nil {
1257		objectMap["type"] = iac.Type
1258	}
1259	if iac.Location != nil {
1260		objectMap["location"] = iac.Location
1261	}
1262	if iac.Tags != nil {
1263		objectMap["tags"] = iac.Tags
1264	}
1265	return json.Marshal(objectMap)
1266}
1267
1268// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1269// UnmarshalJSON is the custom unmarshaler for IntegrationAccountCertificate struct.
1270func (iac *IntegrationAccountCertificate) UnmarshalJSON(body []byte) error {
1271	var m map[string]*json.RawMessage
1272	err := json.Unmarshal(body, &m)
1273	if err != nil {
1274		return err
1275	}
1276	for k, v := range m {
1277		switch k {
1278		case "properties":
1279			if v != nil {
1280				var integrationAccountCertificateProperties IntegrationAccountCertificateProperties
1281				err = json.Unmarshal(*v, &integrationAccountCertificateProperties)
1282				if err != nil {
1283					return err
1284				}
1285				iac.IntegrationAccountCertificateProperties = &integrationAccountCertificateProperties
1286			}
1287		case "id":
1288			if v != nil {
1289				var ID string
1290				err = json.Unmarshal(*v, &ID)
1291				if err != nil {
1292					return err
1293				}
1294				iac.ID = &ID
1295			}
1296		case "name":
1297			if v != nil {
1298				var name string
1299				err = json.Unmarshal(*v, &name)
1300				if err != nil {
1301					return err
1302				}
1303				iac.Name = &name
1304			}
1305		case "type":
1306			if v != nil {
1307				var typeVar string
1308				err = json.Unmarshal(*v, &typeVar)
1309				if err != nil {
1310					return err
1311				}
1312				iac.Type = &typeVar
1313			}
1314		case "location":
1315			if v != nil {
1316				var location string
1317				err = json.Unmarshal(*v, &location)
1318				if err != nil {
1319					return err
1320				}
1321				iac.Location = &location
1322			}
1323		case "tags":
1324			if v != nil {
1325				var tags map[string]*string
1326				err = json.Unmarshal(*v, &tags)
1327				if err != nil {
1328					return err
1329				}
1330				iac.Tags = tags
1331			}
1332		}
1333	}
1334
1335	return nil
1336}
1337
1338// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1339// IntegrationAccountCertificateListResult ...
1340type IntegrationAccountCertificateListResult struct {
1341	autorest.Response `json:"-"`
1342	// Value - The list of integration account certificates.
1343	Value *[]IntegrationAccountCertificate `json:"value,omitempty"`
1344	// NextLink - The URL to get the next set of results.
1345	NextLink *string `json:"nextLink,omitempty"`
1346}
1347
1348// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1349// IntegrationAccountCertificateListResultIterator provides access to a complete listing of
1350// IntegrationAccountCertificate values.
1351type IntegrationAccountCertificateListResultIterator struct {
1352	i    int
1353	page IntegrationAccountCertificateListResultPage
1354}
1355
1356// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1357// Next advances to the next value.  If there was an error making
1358// the request the iterator does not advance and the error is returned.
1359func (iter *IntegrationAccountCertificateListResultIterator) Next() error {
1360	iter.i++
1361	if iter.i < len(iter.page.Values()) {
1362		return nil
1363	}
1364	err := iter.page.Next()
1365	if err != nil {
1366		iter.i--
1367		return err
1368	}
1369	iter.i = 0
1370	return nil
1371}
1372
1373// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1374// NotDone returns true if the enumeration should be started or is not yet complete.
1375func (iter IntegrationAccountCertificateListResultIterator) NotDone() bool {
1376	return iter.page.NotDone() && iter.i < len(iter.page.Values())
1377}
1378
1379// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1380// Response returns the raw server response from the last page request.
1381func (iter IntegrationAccountCertificateListResultIterator) Response() IntegrationAccountCertificateListResult {
1382	return iter.page.Response()
1383}
1384
1385// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1386// Value returns the current value or a zero-initialized value if the
1387// iterator has advanced beyond the end of the collection.
1388func (iter IntegrationAccountCertificateListResultIterator) Value() IntegrationAccountCertificate {
1389	if !iter.page.NotDone() {
1390		return IntegrationAccountCertificate{}
1391	}
1392	return iter.page.Values()[iter.i]
1393}
1394
1395// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1396// IsEmpty returns true if the ListResult contains no values.
1397func (iaclr IntegrationAccountCertificateListResult) IsEmpty() bool {
1398	return iaclr.Value == nil || len(*iaclr.Value) == 0
1399}
1400
1401// integrationAccountCertificateListResultPreparer prepares a request to retrieve the next set of results.
1402// It returns nil if no more results exist.
1403func (iaclr IntegrationAccountCertificateListResult) integrationAccountCertificateListResultPreparer() (*http.Request, error) {
1404	if iaclr.NextLink == nil || len(to.String(iaclr.NextLink)) < 1 {
1405		return nil, nil
1406	}
1407	return autorest.Prepare(&http.Request{},
1408		autorest.AsJSON(),
1409		autorest.AsGet(),
1410		autorest.WithBaseURL(to.String(iaclr.NextLink)))
1411}
1412
1413// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1414// IntegrationAccountCertificateListResultPage contains a page of IntegrationAccountCertificate values.
1415type IntegrationAccountCertificateListResultPage struct {
1416	fn    func(IntegrationAccountCertificateListResult) (IntegrationAccountCertificateListResult, error)
1417	iaclr IntegrationAccountCertificateListResult
1418}
1419
1420// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1421// Next advances to the next page of values.  If there was an error making
1422// the request the page does not advance and the error is returned.
1423func (page *IntegrationAccountCertificateListResultPage) Next() error {
1424	next, err := page.fn(page.iaclr)
1425	if err != nil {
1426		return err
1427	}
1428	page.iaclr = next
1429	return nil
1430}
1431
1432// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1433// NotDone returns true if the page enumeration should be started or is not yet complete.
1434func (page IntegrationAccountCertificateListResultPage) NotDone() bool {
1435	return !page.iaclr.IsEmpty()
1436}
1437
1438// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1439// Response returns the raw server response from the last page request.
1440func (page IntegrationAccountCertificateListResultPage) Response() IntegrationAccountCertificateListResult {
1441	return page.iaclr
1442}
1443
1444// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1445// Values returns the slice of values for the current page or nil if there are no values.
1446func (page IntegrationAccountCertificateListResultPage) Values() []IntegrationAccountCertificate {
1447	if page.iaclr.IsEmpty() {
1448		return nil
1449	}
1450	return *page.iaclr.Value
1451}
1452
1453// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1454// IntegrationAccountCertificateProperties ...
1455type IntegrationAccountCertificateProperties struct {
1456	// CreatedTime - The created time.
1457	CreatedTime *date.Time `json:"createdTime,omitempty"`
1458	// ChangedTime - The changed time.
1459	ChangedTime *date.Time `json:"changedTime,omitempty"`
1460	// Metadata - The metadata.
1461	Metadata interface{} `json:"metadata,omitempty"`
1462	// Key - The key details in the key vault.
1463	Key *KeyVaultKeyReference `json:"key,omitempty"`
1464	// PublicCertificate - The public certificate.
1465	PublicCertificate *string `json:"publicCertificate,omitempty"`
1466}
1467
1468// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1469// IntegrationAccountContentHash ...
1470type IntegrationAccountContentHash struct {
1471	// Algorithm - The conetnt hash algorithm.
1472	Algorithm *string `json:"algorithm,omitempty"`
1473	// Value - The content hash value.
1474	Value *string `json:"value,omitempty"`
1475}
1476
1477// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1478// IntegrationAccountContentLink ...
1479type IntegrationAccountContentLink struct {
1480	// URI - The content link URI.
1481	URI *string `json:"uri,omitempty"`
1482	// ContentVersion - The content version.
1483	ContentVersion *string `json:"contentVersion,omitempty"`
1484	// ContentSize - The content size.
1485	ContentSize *int64 `json:"contentSize,omitempty"`
1486	// ContentHash - The content hash.
1487	ContentHash *IntegrationAccountContentHash `json:"contentHash,omitempty"`
1488	// Metadata - The metadata.
1489	Metadata interface{} `json:"metadata,omitempty"`
1490}
1491
1492// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1493// IntegrationAccountListResult ...
1494type IntegrationAccountListResult struct {
1495	autorest.Response `json:"-"`
1496	// Value - The list of integration accounts.
1497	Value *[]IntegrationAccount `json:"value,omitempty"`
1498	// NextLink - The URL to get the next set of results.
1499	NextLink *string `json:"nextLink,omitempty"`
1500}
1501
1502// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1503// IntegrationAccountListResultIterator provides access to a complete listing of IntegrationAccount values.
1504type IntegrationAccountListResultIterator struct {
1505	i    int
1506	page IntegrationAccountListResultPage
1507}
1508
1509// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1510// Next advances to the next value.  If there was an error making
1511// the request the iterator does not advance and the error is returned.
1512func (iter *IntegrationAccountListResultIterator) Next() error {
1513	iter.i++
1514	if iter.i < len(iter.page.Values()) {
1515		return nil
1516	}
1517	err := iter.page.Next()
1518	if err != nil {
1519		iter.i--
1520		return err
1521	}
1522	iter.i = 0
1523	return nil
1524}
1525
1526// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1527// NotDone returns true if the enumeration should be started or is not yet complete.
1528func (iter IntegrationAccountListResultIterator) NotDone() bool {
1529	return iter.page.NotDone() && iter.i < len(iter.page.Values())
1530}
1531
1532// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1533// Response returns the raw server response from the last page request.
1534func (iter IntegrationAccountListResultIterator) Response() IntegrationAccountListResult {
1535	return iter.page.Response()
1536}
1537
1538// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1539// Value returns the current value or a zero-initialized value if the
1540// iterator has advanced beyond the end of the collection.
1541func (iter IntegrationAccountListResultIterator) Value() IntegrationAccount {
1542	if !iter.page.NotDone() {
1543		return IntegrationAccount{}
1544	}
1545	return iter.page.Values()[iter.i]
1546}
1547
1548// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1549// IsEmpty returns true if the ListResult contains no values.
1550func (ialr IntegrationAccountListResult) IsEmpty() bool {
1551	return ialr.Value == nil || len(*ialr.Value) == 0
1552}
1553
1554// integrationAccountListResultPreparer prepares a request to retrieve the next set of results.
1555// It returns nil if no more results exist.
1556func (ialr IntegrationAccountListResult) integrationAccountListResultPreparer() (*http.Request, error) {
1557	if ialr.NextLink == nil || len(to.String(ialr.NextLink)) < 1 {
1558		return nil, nil
1559	}
1560	return autorest.Prepare(&http.Request{},
1561		autorest.AsJSON(),
1562		autorest.AsGet(),
1563		autorest.WithBaseURL(to.String(ialr.NextLink)))
1564}
1565
1566// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1567// IntegrationAccountListResultPage contains a page of IntegrationAccount values.
1568type IntegrationAccountListResultPage struct {
1569	fn   func(IntegrationAccountListResult) (IntegrationAccountListResult, error)
1570	ialr IntegrationAccountListResult
1571}
1572
1573// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1574// Next advances to the next page of values.  If there was an error making
1575// the request the page does not advance and the error is returned.
1576func (page *IntegrationAccountListResultPage) Next() error {
1577	next, err := page.fn(page.ialr)
1578	if err != nil {
1579		return err
1580	}
1581	page.ialr = next
1582	return nil
1583}
1584
1585// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1586// NotDone returns true if the page enumeration should be started or is not yet complete.
1587func (page IntegrationAccountListResultPage) NotDone() bool {
1588	return !page.ialr.IsEmpty()
1589}
1590
1591// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1592// Response returns the raw server response from the last page request.
1593func (page IntegrationAccountListResultPage) Response() IntegrationAccountListResult {
1594	return page.ialr
1595}
1596
1597// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1598// Values returns the slice of values for the current page or nil if there are no values.
1599func (page IntegrationAccountListResultPage) Values() []IntegrationAccount {
1600	if page.ialr.IsEmpty() {
1601		return nil
1602	}
1603	return *page.ialr.Value
1604}
1605
1606// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1607// IntegrationAccountMap ...
1608type IntegrationAccountMap struct {
1609	autorest.Response `json:"-"`
1610	// IntegrationAccountMapProperties - The integration account map properties.
1611	*IntegrationAccountMapProperties `json:"properties,omitempty"`
1612	// ID - The resource id.
1613	ID *string `json:"id,omitempty"`
1614	// Name - The resource name.
1615	Name *string `json:"name,omitempty"`
1616	// Type - The resource type.
1617	Type *string `json:"type,omitempty"`
1618	// Location - The resource location.
1619	Location *string `json:"location,omitempty"`
1620	// Tags - The resource tags.
1621	Tags map[string]*string `json:"tags"`
1622}
1623
1624// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1625// MarshalJSON is the custom marshaler for IntegrationAccountMap.
1626func (iam IntegrationAccountMap) MarshalJSON() ([]byte, error) {
1627	objectMap := make(map[string]interface{})
1628	if iam.IntegrationAccountMapProperties != nil {
1629		objectMap["properties"] = iam.IntegrationAccountMapProperties
1630	}
1631	if iam.ID != nil {
1632		objectMap["id"] = iam.ID
1633	}
1634	if iam.Name != nil {
1635		objectMap["name"] = iam.Name
1636	}
1637	if iam.Type != nil {
1638		objectMap["type"] = iam.Type
1639	}
1640	if iam.Location != nil {
1641		objectMap["location"] = iam.Location
1642	}
1643	if iam.Tags != nil {
1644		objectMap["tags"] = iam.Tags
1645	}
1646	return json.Marshal(objectMap)
1647}
1648
1649// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1650// UnmarshalJSON is the custom unmarshaler for IntegrationAccountMap struct.
1651func (iam *IntegrationAccountMap) UnmarshalJSON(body []byte) error {
1652	var m map[string]*json.RawMessage
1653	err := json.Unmarshal(body, &m)
1654	if err != nil {
1655		return err
1656	}
1657	for k, v := range m {
1658		switch k {
1659		case "properties":
1660			if v != nil {
1661				var integrationAccountMapProperties IntegrationAccountMapProperties
1662				err = json.Unmarshal(*v, &integrationAccountMapProperties)
1663				if err != nil {
1664					return err
1665				}
1666				iam.IntegrationAccountMapProperties = &integrationAccountMapProperties
1667			}
1668		case "id":
1669			if v != nil {
1670				var ID string
1671				err = json.Unmarshal(*v, &ID)
1672				if err != nil {
1673					return err
1674				}
1675				iam.ID = &ID
1676			}
1677		case "name":
1678			if v != nil {
1679				var name string
1680				err = json.Unmarshal(*v, &name)
1681				if err != nil {
1682					return err
1683				}
1684				iam.Name = &name
1685			}
1686		case "type":
1687			if v != nil {
1688				var typeVar string
1689				err = json.Unmarshal(*v, &typeVar)
1690				if err != nil {
1691					return err
1692				}
1693				iam.Type = &typeVar
1694			}
1695		case "location":
1696			if v != nil {
1697				var location string
1698				err = json.Unmarshal(*v, &location)
1699				if err != nil {
1700					return err
1701				}
1702				iam.Location = &location
1703			}
1704		case "tags":
1705			if v != nil {
1706				var tags map[string]*string
1707				err = json.Unmarshal(*v, &tags)
1708				if err != nil {
1709					return err
1710				}
1711				iam.Tags = tags
1712			}
1713		}
1714	}
1715
1716	return nil
1717}
1718
1719// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1720// IntegrationAccountMapFilter ...
1721type IntegrationAccountMapFilter struct {
1722	// SchemaType - The map type of integration account map. Possible values include: 'MapTypeNotSpecified', 'MapTypeXslt'
1723	SchemaType MapType `json:"schemaType,omitempty"`
1724}
1725
1726// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1727// IntegrationAccountMapListResult ...
1728type IntegrationAccountMapListResult struct {
1729	autorest.Response `json:"-"`
1730	// Value - The list of integration account maps.
1731	Value *[]IntegrationAccountMap `json:"value,omitempty"`
1732	// NextLink - The URL to get the next set of results.
1733	NextLink *string `json:"nextLink,omitempty"`
1734}
1735
1736// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1737// IntegrationAccountMapListResultIterator provides access to a complete listing of IntegrationAccountMap values.
1738type IntegrationAccountMapListResultIterator struct {
1739	i    int
1740	page IntegrationAccountMapListResultPage
1741}
1742
1743// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1744// Next advances to the next value.  If there was an error making
1745// the request the iterator does not advance and the error is returned.
1746func (iter *IntegrationAccountMapListResultIterator) Next() error {
1747	iter.i++
1748	if iter.i < len(iter.page.Values()) {
1749		return nil
1750	}
1751	err := iter.page.Next()
1752	if err != nil {
1753		iter.i--
1754		return err
1755	}
1756	iter.i = 0
1757	return nil
1758}
1759
1760// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1761// NotDone returns true if the enumeration should be started or is not yet complete.
1762func (iter IntegrationAccountMapListResultIterator) NotDone() bool {
1763	return iter.page.NotDone() && iter.i < len(iter.page.Values())
1764}
1765
1766// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1767// Response returns the raw server response from the last page request.
1768func (iter IntegrationAccountMapListResultIterator) Response() IntegrationAccountMapListResult {
1769	return iter.page.Response()
1770}
1771
1772// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1773// Value returns the current value or a zero-initialized value if the
1774// iterator has advanced beyond the end of the collection.
1775func (iter IntegrationAccountMapListResultIterator) Value() IntegrationAccountMap {
1776	if !iter.page.NotDone() {
1777		return IntegrationAccountMap{}
1778	}
1779	return iter.page.Values()[iter.i]
1780}
1781
1782// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1783// IsEmpty returns true if the ListResult contains no values.
1784func (iamlr IntegrationAccountMapListResult) IsEmpty() bool {
1785	return iamlr.Value == nil || len(*iamlr.Value) == 0
1786}
1787
1788// integrationAccountMapListResultPreparer prepares a request to retrieve the next set of results.
1789// It returns nil if no more results exist.
1790func (iamlr IntegrationAccountMapListResult) integrationAccountMapListResultPreparer() (*http.Request, error) {
1791	if iamlr.NextLink == nil || len(to.String(iamlr.NextLink)) < 1 {
1792		return nil, nil
1793	}
1794	return autorest.Prepare(&http.Request{},
1795		autorest.AsJSON(),
1796		autorest.AsGet(),
1797		autorest.WithBaseURL(to.String(iamlr.NextLink)))
1798}
1799
1800// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1801// IntegrationAccountMapListResultPage contains a page of IntegrationAccountMap values.
1802type IntegrationAccountMapListResultPage struct {
1803	fn    func(IntegrationAccountMapListResult) (IntegrationAccountMapListResult, error)
1804	iamlr IntegrationAccountMapListResult
1805}
1806
1807// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1808// Next advances to the next page of values.  If there was an error making
1809// the request the page does not advance and the error is returned.
1810func (page *IntegrationAccountMapListResultPage) Next() error {
1811	next, err := page.fn(page.iamlr)
1812	if err != nil {
1813		return err
1814	}
1815	page.iamlr = next
1816	return nil
1817}
1818
1819// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1820// NotDone returns true if the page enumeration should be started or is not yet complete.
1821func (page IntegrationAccountMapListResultPage) NotDone() bool {
1822	return !page.iamlr.IsEmpty()
1823}
1824
1825// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1826// Response returns the raw server response from the last page request.
1827func (page IntegrationAccountMapListResultPage) Response() IntegrationAccountMapListResult {
1828	return page.iamlr
1829}
1830
1831// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1832// Values returns the slice of values for the current page or nil if there are no values.
1833func (page IntegrationAccountMapListResultPage) Values() []IntegrationAccountMap {
1834	if page.iamlr.IsEmpty() {
1835		return nil
1836	}
1837	return *page.iamlr.Value
1838}
1839
1840// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1841// IntegrationAccountMapProperties ...
1842type IntegrationAccountMapProperties struct {
1843	// MapType - The map type. Possible values include: 'MapTypeNotSpecified', 'MapTypeXslt'
1844	MapType MapType `json:"mapType,omitempty"`
1845	// CreatedTime - The created time.
1846	CreatedTime *date.Time `json:"createdTime,omitempty"`
1847	// ChangedTime - The changed time.
1848	ChangedTime *date.Time `json:"changedTime,omitempty"`
1849	// Content - The content.
1850	Content interface{} `json:"content,omitempty"`
1851	// ContentType - The content type.
1852	ContentType *string `json:"contentType,omitempty"`
1853	// ContentLink - The content link.
1854	ContentLink *IntegrationAccountContentLink `json:"contentLink,omitempty"`
1855	// Metadata - The metadata.
1856	Metadata interface{} `json:"metadata,omitempty"`
1857}
1858
1859// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1860// IntegrationAccountPartner ...
1861type IntegrationAccountPartner struct {
1862	autorest.Response `json:"-"`
1863	// IntegrationAccountPartnerProperties - The integration account partner properties.
1864	*IntegrationAccountPartnerProperties `json:"properties,omitempty"`
1865	// ID - The resource id.
1866	ID *string `json:"id,omitempty"`
1867	// Name - The resource name.
1868	Name *string `json:"name,omitempty"`
1869	// Type - The resource type.
1870	Type *string `json:"type,omitempty"`
1871	// Location - The resource location.
1872	Location *string `json:"location,omitempty"`
1873	// Tags - The resource tags.
1874	Tags map[string]*string `json:"tags"`
1875}
1876
1877// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1878// MarshalJSON is the custom marshaler for IntegrationAccountPartner.
1879func (iap IntegrationAccountPartner) MarshalJSON() ([]byte, error) {
1880	objectMap := make(map[string]interface{})
1881	if iap.IntegrationAccountPartnerProperties != nil {
1882		objectMap["properties"] = iap.IntegrationAccountPartnerProperties
1883	}
1884	if iap.ID != nil {
1885		objectMap["id"] = iap.ID
1886	}
1887	if iap.Name != nil {
1888		objectMap["name"] = iap.Name
1889	}
1890	if iap.Type != nil {
1891		objectMap["type"] = iap.Type
1892	}
1893	if iap.Location != nil {
1894		objectMap["location"] = iap.Location
1895	}
1896	if iap.Tags != nil {
1897		objectMap["tags"] = iap.Tags
1898	}
1899	return json.Marshal(objectMap)
1900}
1901
1902// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1903// UnmarshalJSON is the custom unmarshaler for IntegrationAccountPartner struct.
1904func (iap *IntegrationAccountPartner) UnmarshalJSON(body []byte) error {
1905	var m map[string]*json.RawMessage
1906	err := json.Unmarshal(body, &m)
1907	if err != nil {
1908		return err
1909	}
1910	for k, v := range m {
1911		switch k {
1912		case "properties":
1913			if v != nil {
1914				var integrationAccountPartnerProperties IntegrationAccountPartnerProperties
1915				err = json.Unmarshal(*v, &integrationAccountPartnerProperties)
1916				if err != nil {
1917					return err
1918				}
1919				iap.IntegrationAccountPartnerProperties = &integrationAccountPartnerProperties
1920			}
1921		case "id":
1922			if v != nil {
1923				var ID string
1924				err = json.Unmarshal(*v, &ID)
1925				if err != nil {
1926					return err
1927				}
1928				iap.ID = &ID
1929			}
1930		case "name":
1931			if v != nil {
1932				var name string
1933				err = json.Unmarshal(*v, &name)
1934				if err != nil {
1935					return err
1936				}
1937				iap.Name = &name
1938			}
1939		case "type":
1940			if v != nil {
1941				var typeVar string
1942				err = json.Unmarshal(*v, &typeVar)
1943				if err != nil {
1944					return err
1945				}
1946				iap.Type = &typeVar
1947			}
1948		case "location":
1949			if v != nil {
1950				var location string
1951				err = json.Unmarshal(*v, &location)
1952				if err != nil {
1953					return err
1954				}
1955				iap.Location = &location
1956			}
1957		case "tags":
1958			if v != nil {
1959				var tags map[string]*string
1960				err = json.Unmarshal(*v, &tags)
1961				if err != nil {
1962					return err
1963				}
1964				iap.Tags = tags
1965			}
1966		}
1967	}
1968
1969	return nil
1970}
1971
1972// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1973// IntegrationAccountPartnerFilter ...
1974type IntegrationAccountPartnerFilter struct {
1975	// PartnerType - The partner type of integration account partner. Possible values include: 'PartnerTypeNotSpecified', 'PartnerTypeB2B'
1976	PartnerType PartnerType `json:"partnerType,omitempty"`
1977}
1978
1979// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1980// IntegrationAccountPartnerListResult ...
1981type IntegrationAccountPartnerListResult struct {
1982	autorest.Response `json:"-"`
1983	// Value - The list of integration account partners.
1984	Value *[]IntegrationAccountPartner `json:"value,omitempty"`
1985	// NextLink - The URL to get the next set of results.
1986	NextLink *string `json:"nextLink,omitempty"`
1987}
1988
1989// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1990// IntegrationAccountPartnerListResultIterator provides access to a complete listing of IntegrationAccountPartner
1991// values.
1992type IntegrationAccountPartnerListResultIterator struct {
1993	i    int
1994	page IntegrationAccountPartnerListResultPage
1995}
1996
1997// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
1998// Next advances to the next value.  If there was an error making
1999// the request the iterator does not advance and the error is returned.
2000func (iter *IntegrationAccountPartnerListResultIterator) Next() error {
2001	iter.i++
2002	if iter.i < len(iter.page.Values()) {
2003		return nil
2004	}
2005	err := iter.page.Next()
2006	if err != nil {
2007		iter.i--
2008		return err
2009	}
2010	iter.i = 0
2011	return nil
2012}
2013
2014// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2015// NotDone returns true if the enumeration should be started or is not yet complete.
2016func (iter IntegrationAccountPartnerListResultIterator) NotDone() bool {
2017	return iter.page.NotDone() && iter.i < len(iter.page.Values())
2018}
2019
2020// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2021// Response returns the raw server response from the last page request.
2022func (iter IntegrationAccountPartnerListResultIterator) Response() IntegrationAccountPartnerListResult {
2023	return iter.page.Response()
2024}
2025
2026// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2027// Value returns the current value or a zero-initialized value if the
2028// iterator has advanced beyond the end of the collection.
2029func (iter IntegrationAccountPartnerListResultIterator) Value() IntegrationAccountPartner {
2030	if !iter.page.NotDone() {
2031		return IntegrationAccountPartner{}
2032	}
2033	return iter.page.Values()[iter.i]
2034}
2035
2036// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2037// IsEmpty returns true if the ListResult contains no values.
2038func (iaplr IntegrationAccountPartnerListResult) IsEmpty() bool {
2039	return iaplr.Value == nil || len(*iaplr.Value) == 0
2040}
2041
2042// integrationAccountPartnerListResultPreparer prepares a request to retrieve the next set of results.
2043// It returns nil if no more results exist.
2044func (iaplr IntegrationAccountPartnerListResult) integrationAccountPartnerListResultPreparer() (*http.Request, error) {
2045	if iaplr.NextLink == nil || len(to.String(iaplr.NextLink)) < 1 {
2046		return nil, nil
2047	}
2048	return autorest.Prepare(&http.Request{},
2049		autorest.AsJSON(),
2050		autorest.AsGet(),
2051		autorest.WithBaseURL(to.String(iaplr.NextLink)))
2052}
2053
2054// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2055// IntegrationAccountPartnerListResultPage contains a page of IntegrationAccountPartner values.
2056type IntegrationAccountPartnerListResultPage struct {
2057	fn    func(IntegrationAccountPartnerListResult) (IntegrationAccountPartnerListResult, error)
2058	iaplr IntegrationAccountPartnerListResult
2059}
2060
2061// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2062// Next advances to the next page of values.  If there was an error making
2063// the request the page does not advance and the error is returned.
2064func (page *IntegrationAccountPartnerListResultPage) Next() error {
2065	next, err := page.fn(page.iaplr)
2066	if err != nil {
2067		return err
2068	}
2069	page.iaplr = next
2070	return nil
2071}
2072
2073// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2074// NotDone returns true if the page enumeration should be started or is not yet complete.
2075func (page IntegrationAccountPartnerListResultPage) NotDone() bool {
2076	return !page.iaplr.IsEmpty()
2077}
2078
2079// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2080// Response returns the raw server response from the last page request.
2081func (page IntegrationAccountPartnerListResultPage) Response() IntegrationAccountPartnerListResult {
2082	return page.iaplr
2083}
2084
2085// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2086// Values returns the slice of values for the current page or nil if there are no values.
2087func (page IntegrationAccountPartnerListResultPage) Values() []IntegrationAccountPartner {
2088	if page.iaplr.IsEmpty() {
2089		return nil
2090	}
2091	return *page.iaplr.Value
2092}
2093
2094// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2095// IntegrationAccountPartnerProperties ...
2096type IntegrationAccountPartnerProperties struct {
2097	// PartnerType - The partner type. Possible values include: 'PartnerTypeNotSpecified', 'PartnerTypeB2B'
2098	PartnerType PartnerType `json:"partnerType,omitempty"`
2099	// CreatedTime - The created time.
2100	CreatedTime *date.Time `json:"createdTime,omitempty"`
2101	// ChangedTime - The changed time.
2102	ChangedTime *date.Time `json:"changedTime,omitempty"`
2103	// Metadata - The metadata.
2104	Metadata interface{} `json:"metadata,omitempty"`
2105	// Content - The partner content.
2106	Content *PartnerContent `json:"content,omitempty"`
2107}
2108
2109// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2110// IntegrationAccountResource ...
2111type IntegrationAccountResource struct {
2112	// ID - The resource id.
2113	ID *string `json:"id,omitempty"`
2114	// Name - The resource name.
2115	Name *string `json:"name,omitempty"`
2116	// Type - The resource type.
2117	Type *string `json:"type,omitempty"`
2118	// Location - The resource location.
2119	Location *string `json:"location,omitempty"`
2120	// Tags - The resource tags.
2121	Tags map[string]*string `json:"tags"`
2122}
2123
2124// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2125// MarshalJSON is the custom marshaler for IntegrationAccountResource.
2126func (iar IntegrationAccountResource) MarshalJSON() ([]byte, error) {
2127	objectMap := make(map[string]interface{})
2128	if iar.ID != nil {
2129		objectMap["id"] = iar.ID
2130	}
2131	if iar.Name != nil {
2132		objectMap["name"] = iar.Name
2133	}
2134	if iar.Type != nil {
2135		objectMap["type"] = iar.Type
2136	}
2137	if iar.Location != nil {
2138		objectMap["location"] = iar.Location
2139	}
2140	if iar.Tags != nil {
2141		objectMap["tags"] = iar.Tags
2142	}
2143	return json.Marshal(objectMap)
2144}
2145
2146// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2147// IntegrationAccountSchema ...
2148type IntegrationAccountSchema struct {
2149	autorest.Response `json:"-"`
2150	// IntegrationAccountSchemaProperties - The integration account schema properties.
2151	*IntegrationAccountSchemaProperties `json:"properties,omitempty"`
2152	// ID - The resource id.
2153	ID *string `json:"id,omitempty"`
2154	// Name - The resource name.
2155	Name *string `json:"name,omitempty"`
2156	// Type - The resource type.
2157	Type *string `json:"type,omitempty"`
2158	// Location - The resource location.
2159	Location *string `json:"location,omitempty"`
2160	// Tags - The resource tags.
2161	Tags map[string]*string `json:"tags"`
2162}
2163
2164// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2165// MarshalJSON is the custom marshaler for IntegrationAccountSchema.
2166func (ias IntegrationAccountSchema) MarshalJSON() ([]byte, error) {
2167	objectMap := make(map[string]interface{})
2168	if ias.IntegrationAccountSchemaProperties != nil {
2169		objectMap["properties"] = ias.IntegrationAccountSchemaProperties
2170	}
2171	if ias.ID != nil {
2172		objectMap["id"] = ias.ID
2173	}
2174	if ias.Name != nil {
2175		objectMap["name"] = ias.Name
2176	}
2177	if ias.Type != nil {
2178		objectMap["type"] = ias.Type
2179	}
2180	if ias.Location != nil {
2181		objectMap["location"] = ias.Location
2182	}
2183	if ias.Tags != nil {
2184		objectMap["tags"] = ias.Tags
2185	}
2186	return json.Marshal(objectMap)
2187}
2188
2189// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2190// UnmarshalJSON is the custom unmarshaler for IntegrationAccountSchema struct.
2191func (ias *IntegrationAccountSchema) UnmarshalJSON(body []byte) error {
2192	var m map[string]*json.RawMessage
2193	err := json.Unmarshal(body, &m)
2194	if err != nil {
2195		return err
2196	}
2197	for k, v := range m {
2198		switch k {
2199		case "properties":
2200			if v != nil {
2201				var integrationAccountSchemaProperties IntegrationAccountSchemaProperties
2202				err = json.Unmarshal(*v, &integrationAccountSchemaProperties)
2203				if err != nil {
2204					return err
2205				}
2206				ias.IntegrationAccountSchemaProperties = &integrationAccountSchemaProperties
2207			}
2208		case "id":
2209			if v != nil {
2210				var ID string
2211				err = json.Unmarshal(*v, &ID)
2212				if err != nil {
2213					return err
2214				}
2215				ias.ID = &ID
2216			}
2217		case "name":
2218			if v != nil {
2219				var name string
2220				err = json.Unmarshal(*v, &name)
2221				if err != nil {
2222					return err
2223				}
2224				ias.Name = &name
2225			}
2226		case "type":
2227			if v != nil {
2228				var typeVar string
2229				err = json.Unmarshal(*v, &typeVar)
2230				if err != nil {
2231					return err
2232				}
2233				ias.Type = &typeVar
2234			}
2235		case "location":
2236			if v != nil {
2237				var location string
2238				err = json.Unmarshal(*v, &location)
2239				if err != nil {
2240					return err
2241				}
2242				ias.Location = &location
2243			}
2244		case "tags":
2245			if v != nil {
2246				var tags map[string]*string
2247				err = json.Unmarshal(*v, &tags)
2248				if err != nil {
2249					return err
2250				}
2251				ias.Tags = tags
2252			}
2253		}
2254	}
2255
2256	return nil
2257}
2258
2259// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2260// IntegrationAccountSchemaFilter ...
2261type IntegrationAccountSchemaFilter struct {
2262	// SchemaType - The schema type of integration account schema. Possible values include: 'SchemaTypeNotSpecified', 'SchemaTypeXML'
2263	SchemaType SchemaType `json:"schemaType,omitempty"`
2264}
2265
2266// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2267// IntegrationAccountSchemaListResult ...
2268type IntegrationAccountSchemaListResult struct {
2269	autorest.Response `json:"-"`
2270	// Value - The list of integration account schemas.
2271	Value *[]IntegrationAccountSchema `json:"value,omitempty"`
2272	// NextLink - The URL to get the next set of results.
2273	NextLink *string `json:"nextLink,omitempty"`
2274}
2275
2276// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2277// IntegrationAccountSchemaListResultIterator provides access to a complete listing of IntegrationAccountSchema
2278// values.
2279type IntegrationAccountSchemaListResultIterator struct {
2280	i    int
2281	page IntegrationAccountSchemaListResultPage
2282}
2283
2284// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2285// Next advances to the next value.  If there was an error making
2286// the request the iterator does not advance and the error is returned.
2287func (iter *IntegrationAccountSchemaListResultIterator) Next() error {
2288	iter.i++
2289	if iter.i < len(iter.page.Values()) {
2290		return nil
2291	}
2292	err := iter.page.Next()
2293	if err != nil {
2294		iter.i--
2295		return err
2296	}
2297	iter.i = 0
2298	return nil
2299}
2300
2301// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2302// NotDone returns true if the enumeration should be started or is not yet complete.
2303func (iter IntegrationAccountSchemaListResultIterator) NotDone() bool {
2304	return iter.page.NotDone() && iter.i < len(iter.page.Values())
2305}
2306
2307// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2308// Response returns the raw server response from the last page request.
2309func (iter IntegrationAccountSchemaListResultIterator) Response() IntegrationAccountSchemaListResult {
2310	return iter.page.Response()
2311}
2312
2313// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2314// Value returns the current value or a zero-initialized value if the
2315// iterator has advanced beyond the end of the collection.
2316func (iter IntegrationAccountSchemaListResultIterator) Value() IntegrationAccountSchema {
2317	if !iter.page.NotDone() {
2318		return IntegrationAccountSchema{}
2319	}
2320	return iter.page.Values()[iter.i]
2321}
2322
2323// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2324// IsEmpty returns true if the ListResult contains no values.
2325func (iaslr IntegrationAccountSchemaListResult) IsEmpty() bool {
2326	return iaslr.Value == nil || len(*iaslr.Value) == 0
2327}
2328
2329// integrationAccountSchemaListResultPreparer prepares a request to retrieve the next set of results.
2330// It returns nil if no more results exist.
2331func (iaslr IntegrationAccountSchemaListResult) integrationAccountSchemaListResultPreparer() (*http.Request, error) {
2332	if iaslr.NextLink == nil || len(to.String(iaslr.NextLink)) < 1 {
2333		return nil, nil
2334	}
2335	return autorest.Prepare(&http.Request{},
2336		autorest.AsJSON(),
2337		autorest.AsGet(),
2338		autorest.WithBaseURL(to.String(iaslr.NextLink)))
2339}
2340
2341// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2342// IntegrationAccountSchemaListResultPage contains a page of IntegrationAccountSchema values.
2343type IntegrationAccountSchemaListResultPage struct {
2344	fn    func(IntegrationAccountSchemaListResult) (IntegrationAccountSchemaListResult, error)
2345	iaslr IntegrationAccountSchemaListResult
2346}
2347
2348// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2349// Next advances to the next page of values.  If there was an error making
2350// the request the page does not advance and the error is returned.
2351func (page *IntegrationAccountSchemaListResultPage) Next() error {
2352	next, err := page.fn(page.iaslr)
2353	if err != nil {
2354		return err
2355	}
2356	page.iaslr = next
2357	return nil
2358}
2359
2360// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2361// NotDone returns true if the page enumeration should be started or is not yet complete.
2362func (page IntegrationAccountSchemaListResultPage) NotDone() bool {
2363	return !page.iaslr.IsEmpty()
2364}
2365
2366// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2367// Response returns the raw server response from the last page request.
2368func (page IntegrationAccountSchemaListResultPage) Response() IntegrationAccountSchemaListResult {
2369	return page.iaslr
2370}
2371
2372// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2373// Values returns the slice of values for the current page or nil if there are no values.
2374func (page IntegrationAccountSchemaListResultPage) Values() []IntegrationAccountSchema {
2375	if page.iaslr.IsEmpty() {
2376		return nil
2377	}
2378	return *page.iaslr.Value
2379}
2380
2381// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2382// IntegrationAccountSchemaProperties ...
2383type IntegrationAccountSchemaProperties struct {
2384	// SchemaType - The schema type. Possible values include: 'SchemaTypeNotSpecified', 'SchemaTypeXML'
2385	SchemaType SchemaType `json:"schemaType,omitempty"`
2386	// TargetNamespace - The target namespace.
2387	TargetNamespace *string `json:"targetNamespace,omitempty"`
2388	// CreatedTime - The created time.
2389	CreatedTime *date.Time `json:"createdTime,omitempty"`
2390	// ChangedTime - The changed time.
2391	ChangedTime *date.Time `json:"changedTime,omitempty"`
2392	// Content - The content.
2393	Content interface{} `json:"content,omitempty"`
2394	// ContentType - The content type.
2395	ContentType *string `json:"contentType,omitempty"`
2396	// ContentLink - The content link.
2397	ContentLink *IntegrationAccountContentLink `json:"contentLink,omitempty"`
2398	// Metadata - The metadata.
2399	Metadata interface{} `json:"metadata,omitempty"`
2400}
2401
2402// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2403// IntegrationAccountSku ...
2404type IntegrationAccountSku struct {
2405	// Name - The sku name. Possible values include: 'SkuNameNotSpecified', 'SkuNameFree', 'SkuNameShared', 'SkuNameBasic', 'SkuNameStandard', 'SkuNamePremium'
2406	Name SkuName `json:"name,omitempty"`
2407}
2408
2409// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2410// KeyVaultKeyReference ...
2411type KeyVaultKeyReference struct {
2412	// KeyVault - The key vault reference.
2413	KeyVault *KeyVaultKeyReferenceKeyVault `json:"keyVault,omitempty"`
2414	// KeyName - The private key name in key vault.
2415	KeyName *string `json:"keyName,omitempty"`
2416	// KeyVersion - The private key version in key vault.
2417	KeyVersion *string `json:"keyVersion,omitempty"`
2418}
2419
2420// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2421// KeyVaultKeyReferenceKeyVault the key vault reference.
2422type KeyVaultKeyReferenceKeyVault struct {
2423	// ID - The resource id.
2424	ID *string `json:"id,omitempty"`
2425	// Name - The resource name.
2426	Name *string `json:"name,omitempty"`
2427	// Type - The resource type.
2428	Type *string `json:"type,omitempty"`
2429}
2430
2431// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2432// ListCallbackURLParameters ...
2433type ListCallbackURLParameters struct {
2434	// NotAfter - The expiry time.
2435	NotAfter *date.Time `json:"NotAfter,omitempty"`
2436}
2437
2438// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2439// PartnerContent ...
2440type PartnerContent struct {
2441	// B2b - The B2B partner content.
2442	B2b *B2BPartnerContent `json:"b2b,omitempty"`
2443}
2444
2445// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2446// X12AcknowledgementSettings ...
2447type X12AcknowledgementSettings struct {
2448	// NeedTechnicalAcknowledgement - The value indicating whether technical acknowledgement is needed.
2449	NeedTechnicalAcknowledgement *bool `json:"needTechnicalAcknowledgement,omitempty"`
2450	// BatchTechnicalAcknowledgements - The value indicating whether to batch the technical acknowledgements.
2451	BatchTechnicalAcknowledgements *bool `json:"batchTechnicalAcknowledgements,omitempty"`
2452	// NeedFunctionalAcknowledgement - The value indicating whether functional acknowledgement is needed.
2453	NeedFunctionalAcknowledgement *bool `json:"needFunctionalAcknowledgement,omitempty"`
2454	// FunctionalAcknowledgementVersion - The functional acknowledgement version.
2455	FunctionalAcknowledgementVersion *string `json:"functionalAcknowledgementVersion,omitempty"`
2456	// BatchFunctionalAcknowledgements - The value indicating whether to batch functional acknowledgements.
2457	BatchFunctionalAcknowledgements *bool `json:"batchFunctionalAcknowledgements,omitempty"`
2458	// NeedImplementationAcknowledgement - The value indicating whether implementation acknowledgement is needed.
2459	NeedImplementationAcknowledgement *bool `json:"needImplementationAcknowledgement,omitempty"`
2460	// ImplementationAcknowledgementVersion - The implementation acknowledgement version.
2461	ImplementationAcknowledgementVersion *string `json:"implementationAcknowledgementVersion,omitempty"`
2462	// BatchImplementationAcknowledgements - The value indicating whether to batch implementation acknowledgements.
2463	BatchImplementationAcknowledgements *bool `json:"batchImplementationAcknowledgements,omitempty"`
2464	// NeedLoopForValidMessages - The value indicating whether a loop is needed for valid messages.
2465	NeedLoopForValidMessages *bool `json:"needLoopForValidMessages,omitempty"`
2466	// SendSynchronousAcknowledgement - The value indicating whether to send synchronous acknowledgement.
2467	SendSynchronousAcknowledgement *bool `json:"sendSynchronousAcknowledgement,omitempty"`
2468	// AcknowledgementControlNumberPrefix - The acknowledgement control number prefix.
2469	AcknowledgementControlNumberPrefix *string `json:"acknowledgementControlNumberPrefix,omitempty"`
2470	// AcknowledgementControlNumberSuffix - The acknowledgement control number suffix.
2471	AcknowledgementControlNumberSuffix *string `json:"acknowledgementControlNumberSuffix,omitempty"`
2472	// AcknowledgementControlNumberLowerBound - The acknowledgement control number lower bound.
2473	AcknowledgementControlNumberLowerBound *int32 `json:"acknowledgementControlNumberLowerBound,omitempty"`
2474	// AcknowledgementControlNumberUpperBound - The acknowledgement control number upper bound.
2475	AcknowledgementControlNumberUpperBound *int32 `json:"acknowledgementControlNumberUpperBound,omitempty"`
2476	// RolloverAcknowledgementControlNumber - The value indicating whether to rollover acknowledgement control number.
2477	RolloverAcknowledgementControlNumber *bool `json:"rolloverAcknowledgementControlNumber,omitempty"`
2478}
2479
2480// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2481// X12AgreementContent ...
2482type X12AgreementContent struct {
2483	// ReceiveAgreement - The X12 one-way receive agreement.
2484	ReceiveAgreement *X12OneWayAgreement `json:"receiveAgreement,omitempty"`
2485	// SendAgreement - The X12 one-way send agreement.
2486	SendAgreement *X12OneWayAgreement `json:"sendAgreement,omitempty"`
2487}
2488
2489// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2490// X12DelimiterOverrides ...
2491type X12DelimiterOverrides struct {
2492	// ProtocolVersion - The protocol version.
2493	ProtocolVersion *string `json:"protocolVersion,omitempty"`
2494	// MessageID - The message id.
2495	MessageID *string `json:"messageId,omitempty"`
2496	// DataElementSeparator - The data element separator.
2497	DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
2498	// ComponentSeparator - The component separator.
2499	ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
2500	// SegmentTerminator - The segment terminator.
2501	SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
2502	// SegmentTerminatorSuffix - The segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
2503	SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
2504	// ReplaceCharacter - The replacement character.
2505	ReplaceCharacter *int32 `json:"replaceCharacter,omitempty"`
2506	// ReplaceSeparatorsInPayload - The value indicating whether to replace separators in payload.
2507	ReplaceSeparatorsInPayload *bool `json:"replaceSeparatorsInPayload,omitempty"`
2508	// TargetNamespace - The target namespace on which this delimiter settings has to be applied.
2509	TargetNamespace *string `json:"targetNamespace,omitempty"`
2510}
2511
2512// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2513// X12EnvelopeOverride ...
2514type X12EnvelopeOverride struct {
2515	// TargetNamespace - The target namespace on which this envelope settings has to be applied.
2516	TargetNamespace *string `json:"targetNamespace,omitempty"`
2517	// ProtocolVersion - The protocol version on which this envelope settings has to be applied.
2518	ProtocolVersion *string `json:"protocolVersion,omitempty"`
2519	// MessageID - The message id on which this envelope settings has to be applied.
2520	MessageID *string `json:"messageId,omitempty"`
2521	// ResponsibleAgencyCode - The responsible agency code.
2522	ResponsibleAgencyCode *int32 `json:"responsibleAgencyCode,omitempty"`
2523	// HeaderVersion - The header version.
2524	HeaderVersion *string `json:"headerVersion,omitempty"`
2525	// SenderApplicationID - The sender application id.
2526	SenderApplicationID *string `json:"senderApplicationId,omitempty"`
2527	// ReceiverApplicationID - The receiver application id.
2528	ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"`
2529	// FunctionalIdentifierCode - The functional identifier code.
2530	FunctionalIdentifierCode *string `json:"functionalIdentifierCode,omitempty"`
2531	// DateFormat - The date format. Possible values include: 'X12DateFormatNotSpecified', 'X12DateFormatCCYYMMDD', 'X12DateFormatYYMMDD'
2532	DateFormat X12DateFormat `json:"dateFormat,omitempty"`
2533	// TimeFormat - The time format. Possible values include: 'X12TimeFormatNotSpecified', 'X12TimeFormatHHMM', 'X12TimeFormatHHMMSS', 'X12TimeFormatHHMMSSdd', 'X12TimeFormatHHMMSSd'
2534	TimeFormat X12TimeFormat `json:"timeFormat,omitempty"`
2535}
2536
2537// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2538// X12EnvelopeSettings ...
2539type X12EnvelopeSettings struct {
2540	// ControlStandardsID - The controls standards id.
2541	ControlStandardsID *int32 `json:"controlStandardsId,omitempty"`
2542	// UseControlStandardsIDAsRepetitionCharacter - The value indicating whether to use control standards id as repetition character.
2543	UseControlStandardsIDAsRepetitionCharacter *bool `json:"useControlStandardsIdAsRepetitionCharacter,omitempty"`
2544	// SenderApplicationID - The sender application id.
2545	SenderApplicationID *string `json:"senderApplicationId,omitempty"`
2546	// ReceiverApplicationID - The receiver application id.
2547	ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"`
2548	// ControlVersionNumber - The control version number.
2549	ControlVersionNumber *string `json:"controlVersionNumber,omitempty"`
2550	// InterchangeControlNumberLowerBound - The interchange  control number lower bound.
2551	InterchangeControlNumberLowerBound *int32 `json:"interchangeControlNumberLowerBound,omitempty"`
2552	// InterchangeControlNumberUpperBound - The interchange  control number upper bound.
2553	InterchangeControlNumberUpperBound *int32 `json:"interchangeControlNumberUpperBound,omitempty"`
2554	// RolloverInterchangeControlNumber - The value indicating whether to rollover interchange control number.
2555	RolloverInterchangeControlNumber *bool `json:"rolloverInterchangeControlNumber,omitempty"`
2556	// EnableDefaultGroupHeaders - The value indicating whether to enable default group headers.
2557	EnableDefaultGroupHeaders *bool `json:"enableDefaultGroupHeaders,omitempty"`
2558	// FunctionalGroupID - The functional group id.
2559	FunctionalGroupID *string `json:"functionalGroupId,omitempty"`
2560	// GroupControlNumberLowerBound - The group control number lower bound.
2561	GroupControlNumberLowerBound *int32 `json:"groupControlNumberLowerBound,omitempty"`
2562	// GroupControlNumberUpperBound - The group control number upper bound.
2563	GroupControlNumberUpperBound *int32 `json:"groupControlNumberUpperBound,omitempty"`
2564	// RolloverGroupControlNumber - The value indicating whether to rollover group control number.
2565	RolloverGroupControlNumber *bool `json:"rolloverGroupControlNumber,omitempty"`
2566	// GroupHeaderAgencyCode - The group header agency code.
2567	GroupHeaderAgencyCode *string `json:"groupHeaderAgencyCode,omitempty"`
2568	// GroupHeaderVersion - The group header version.
2569	GroupHeaderVersion *string `json:"groupHeaderVersion,omitempty"`
2570	// TransactionSetControlNumberLowerBound - The transaction set control number lower bound.
2571	TransactionSetControlNumberLowerBound *int32 `json:"transactionSetControlNumberLowerBound,omitempty"`
2572	// TransactionSetControlNumberUpperBound - The transaction set control number upper bound.
2573	TransactionSetControlNumberUpperBound *int32 `json:"transactionSetControlNumberUpperBound,omitempty"`
2574	// RolloverTransactionSetControlNumber - The value indicating whether to rollover transaction set control number.
2575	RolloverTransactionSetControlNumber *bool `json:"rolloverTransactionSetControlNumber,omitempty"`
2576	// TransactionSetControlNumberPrefix - The transaction set control number prefix.
2577	TransactionSetControlNumberPrefix *string `json:"transactionSetControlNumberPrefix,omitempty"`
2578	// TransactionSetControlNumberSuffix - The transaction set control number suffix.
2579	TransactionSetControlNumberSuffix *string `json:"transactionSetControlNumberSuffix,omitempty"`
2580	// OverwriteExistingTransactionSetControlNumber - The value indicating whether to overwrite existing transaction set control number.
2581	OverwriteExistingTransactionSetControlNumber *bool `json:"overwriteExistingTransactionSetControlNumber,omitempty"`
2582	// GroupHeaderDateFormat - The group header date format. Possible values include: 'X12DateFormatNotSpecified', 'X12DateFormatCCYYMMDD', 'X12DateFormatYYMMDD'
2583	GroupHeaderDateFormat X12DateFormat `json:"groupHeaderDateFormat,omitempty"`
2584	// GroupHeaderTimeFormat - The group header time format. Possible values include: 'X12TimeFormatNotSpecified', 'X12TimeFormatHHMM', 'X12TimeFormatHHMMSS', 'X12TimeFormatHHMMSSdd', 'X12TimeFormatHHMMSSd'
2585	GroupHeaderTimeFormat X12TimeFormat `json:"groupHeaderTimeFormat,omitempty"`
2586	// UsageIndicator - The usage indicator. Possible values include: 'UsageIndicatorNotSpecified', 'UsageIndicatorTest', 'UsageIndicatorInformation', 'UsageIndicatorProduction'
2587	UsageIndicator UsageIndicator `json:"usageIndicator,omitempty"`
2588}
2589
2590// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2591// X12FramingSettings ...
2592type X12FramingSettings struct {
2593	// DataElementSeparator - The data element separator.
2594	DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
2595	// ComponentSeparator - The component separator.
2596	ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
2597	// ReplaceSeparatorsInPayload - The value indicating whether to replace separators in payload.
2598	ReplaceSeparatorsInPayload *bool `json:"replaceSeparatorsInPayload,omitempty"`
2599	// ReplaceCharacter - The replacement character.
2600	ReplaceCharacter *int32 `json:"replaceCharacter,omitempty"`
2601	// SegmentTerminator - The segment terminator.
2602	SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
2603	// CharacterSet - The X12 character set. Possible values include: 'X12CharacterSetNotSpecified', 'X12CharacterSetBasic', 'X12CharacterSetExtended', 'X12CharacterSetUTF8'
2604	CharacterSet X12CharacterSet `json:"characterSet,omitempty"`
2605	// SegmentTerminatorSuffix - The segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
2606	SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
2607}
2608
2609// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2610// X12MessageFilter ...
2611type X12MessageFilter struct {
2612	// MessageFilterType - The message filter type. Possible values include: 'MessageFilterTypeNotSpecified', 'MessageFilterTypeInclude', 'MessageFilterTypeExclude'
2613	MessageFilterType MessageFilterType `json:"messageFilterType,omitempty"`
2614}
2615
2616// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2617// X12MessageIdentifier ...
2618type X12MessageIdentifier struct {
2619	// MessageID - The message id.
2620	MessageID *string `json:"messageId,omitempty"`
2621}
2622
2623// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2624// X12OneWayAgreement ...
2625type X12OneWayAgreement struct {
2626	// SenderBusinessIdentity - The sender business identity
2627	SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"`
2628	// ReceiverBusinessIdentity - The receiver business identity
2629	ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"`
2630	// ProtocolSettings - The X12 protocol settings.
2631	ProtocolSettings *X12ProtocolSettings `json:"protocolSettings,omitempty"`
2632}
2633
2634// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2635// X12ProcessingSettings ...
2636type X12ProcessingSettings struct {
2637	// MaskSecurityInfo - The value indicating whether to mask security information.
2638	MaskSecurityInfo *bool `json:"maskSecurityInfo,omitempty"`
2639	// ConvertImpliedDecimal - The value indicating whether to convert numerical type to implied decimal.
2640	ConvertImpliedDecimal *bool `json:"convertImpliedDecimal,omitempty"`
2641	// PreserveInterchange - The value indicating whether to preserve interchange.
2642	PreserveInterchange *bool `json:"preserveInterchange,omitempty"`
2643	// SuspendInterchangeOnError - The value indicating whether to suspend interchange on error.
2644	SuspendInterchangeOnError *bool `json:"suspendInterchangeOnError,omitempty"`
2645	// CreateEmptyXMLTagsForTrailingSeparators - The value indicating whether to create empty xml tags for trailing separators.
2646	CreateEmptyXMLTagsForTrailingSeparators *bool `json:"createEmptyXmlTagsForTrailingSeparators,omitempty"`
2647	// UseDotAsDecimalSeparator - The value indicating whether to use dot as decimal separator.
2648	UseDotAsDecimalSeparator *bool `json:"useDotAsDecimalSeparator,omitempty"`
2649}
2650
2651// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2652// X12ProtocolSettings ...
2653type X12ProtocolSettings struct {
2654	// ValidationSettings - The X12 validation settings.
2655	ValidationSettings *X12ValidationSettings `json:"validationSettings,omitempty"`
2656	// FramingSettings - The X12 framing settings.
2657	FramingSettings *X12FramingSettings `json:"framingSettings,omitempty"`
2658	// EnvelopeSettings - The X12 envelope settings.
2659	EnvelopeSettings *X12EnvelopeSettings `json:"envelopeSettings,omitempty"`
2660	// AcknowledgementSettings - The X12 acknowledgment settings.
2661	AcknowledgementSettings *X12AcknowledgementSettings `json:"acknowledgementSettings,omitempty"`
2662	// MessageFilter - The X12 message filter.
2663	MessageFilter *X12MessageFilter `json:"messageFilter,omitempty"`
2664	// SecuritySettings - The X12 security settings.
2665	SecuritySettings *X12SecuritySettings `json:"securitySettings,omitempty"`
2666	// ProcessingSettings - The X12 processing settings.
2667	ProcessingSettings *X12ProcessingSettings `json:"processingSettings,omitempty"`
2668	// EnvelopeOverrides - The X12 envelope override settings.
2669	EnvelopeOverrides *[]X12EnvelopeOverride `json:"envelopeOverrides,omitempty"`
2670	// ValidationOverrides - The X12 validation override settings.
2671	ValidationOverrides *[]X12ValidationOverride `json:"validationOverrides,omitempty"`
2672	// MessageFilterList - The X12 message filter list.
2673	MessageFilterList *[]X12MessageIdentifier `json:"messageFilterList,omitempty"`
2674	// SchemaReferences - The X12 schema references.
2675	SchemaReferences *[]X12SchemaReference `json:"schemaReferences,omitempty"`
2676	// X12DelimiterOverrides - The X12 delimiter override settings.
2677	X12DelimiterOverrides *[]X12DelimiterOverrides `json:"x12DelimiterOverrides,omitempty"`
2678}
2679
2680// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2681// X12SchemaReference ...
2682type X12SchemaReference struct {
2683	// MessageID - The message id.
2684	MessageID *string `json:"messageId,omitempty"`
2685	// SenderApplicationID - The sender application id.
2686	SenderApplicationID *string `json:"senderApplicationId,omitempty"`
2687	// SchemaVersion - The schema version.
2688	SchemaVersion *string `json:"schemaVersion,omitempty"`
2689	// SchemaName - The schema name.
2690	SchemaName *string `json:"schemaName,omitempty"`
2691}
2692
2693// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2694// X12SecuritySettings ...
2695type X12SecuritySettings struct {
2696	// AuthorizationQualifier - The authorization qualifier.
2697	AuthorizationQualifier *string `json:"authorizationQualifier,omitempty"`
2698	// AuthorizationValue - The authorization value.
2699	AuthorizationValue *string `json:"authorizationValue,omitempty"`
2700	// SecurityQualifier - The security qualifier.
2701	SecurityQualifier *string `json:"securityQualifier,omitempty"`
2702	// PasswordValue - The password value.
2703	PasswordValue *string `json:"passwordValue,omitempty"`
2704}
2705
2706// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2707// X12ValidationOverride ...
2708type X12ValidationOverride struct {
2709	// MessageID - The message id on which the validation settings has to be applied.
2710	MessageID *string `json:"messageId,omitempty"`
2711	// ValidateEDITypes - The value indicating whether to validate EDI types.
2712	ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
2713	// ValidateXSDTypes - The value indicating whether to validate XSD types.
2714	ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
2715	// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
2716	AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
2717	// ValidateCharacterSet - The value indicating whether to validate character Set.
2718	ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"`
2719	// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
2720	TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
2721	// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
2722	TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
2723}
2724
2725// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2015-08-01-preview/logic instead.
2726// X12ValidationSettings ...
2727type X12ValidationSettings struct {
2728	// ValidateCharacterSet - The value indicating whether to validate character set in the message.
2729	ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"`
2730	// CheckDuplicateInterchangeControlNumber - The value indicating whether to check for duplicate interchange control number.
2731	CheckDuplicateInterchangeControlNumber *bool `json:"checkDuplicateInterchangeControlNumber,omitempty"`
2732	// InterchangeControlNumberValidityDays - The validity period of interchange control number.
2733	InterchangeControlNumberValidityDays *int32 `json:"interchangeControlNumberValidityDays,omitempty"`
2734	// CheckDuplicateGroupControlNumber - The value indicating whether to check for duplicate group control number.
2735	CheckDuplicateGroupControlNumber *bool `json:"checkDuplicateGroupControlNumber,omitempty"`
2736	// CheckDuplicateTransactionSetControlNumber - The value indicating whether to check for duplicate transaction set control number.
2737	CheckDuplicateTransactionSetControlNumber *bool `json:"checkDuplicateTransactionSetControlNumber,omitempty"`
2738	// ValidateEDITypes - The value indicating whether to Whether to validate EDI types.
2739	ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
2740	// ValidateXSDTypes - The value indicating whether to Whether to validate XSD types.
2741	ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
2742	// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
2743	AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
2744	// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
2745	TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
2746	// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
2747	TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
2748}
2749