forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.go
2566 lines (2355 loc) · 109 KB
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package logic
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"encoding/json"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"net/http"
)
// AgreementType enumerates the values for agreement type.
type AgreementType string
const (
// AS2 ...
AS2 AgreementType = "AS2"
// Edifact ...
Edifact AgreementType = "Edifact"
// NotSpecified ...
NotSpecified AgreementType = "NotSpecified"
// X12 ...
X12 AgreementType = "X12"
)
// PossibleAgreementTypeValues returns an array of possible values for the AgreementType const type.
func PossibleAgreementTypeValues() []AgreementType {
return []AgreementType{AS2, Edifact, NotSpecified, X12}
}
// EdifactCharacterSet enumerates the values for edifact character set.
type EdifactCharacterSet string
const (
// EdifactCharacterSetKECA ...
EdifactCharacterSetKECA EdifactCharacterSet = "KECA"
// EdifactCharacterSetNotSpecified ...
EdifactCharacterSetNotSpecified EdifactCharacterSet = "NotSpecified"
// EdifactCharacterSetUNOA ...
EdifactCharacterSetUNOA EdifactCharacterSet = "UNOA"
// EdifactCharacterSetUNOB ...
EdifactCharacterSetUNOB EdifactCharacterSet = "UNOB"
// EdifactCharacterSetUNOC ...
EdifactCharacterSetUNOC EdifactCharacterSet = "UNOC"
// EdifactCharacterSetUNOD ...
EdifactCharacterSetUNOD EdifactCharacterSet = "UNOD"
// EdifactCharacterSetUNOE ...
EdifactCharacterSetUNOE EdifactCharacterSet = "UNOE"
// EdifactCharacterSetUNOF ...
EdifactCharacterSetUNOF EdifactCharacterSet = "UNOF"
// EdifactCharacterSetUNOG ...
EdifactCharacterSetUNOG EdifactCharacterSet = "UNOG"
// EdifactCharacterSetUNOH ...
EdifactCharacterSetUNOH EdifactCharacterSet = "UNOH"
// EdifactCharacterSetUNOI ...
EdifactCharacterSetUNOI EdifactCharacterSet = "UNOI"
// EdifactCharacterSetUNOJ ...
EdifactCharacterSetUNOJ EdifactCharacterSet = "UNOJ"
// EdifactCharacterSetUNOK ...
EdifactCharacterSetUNOK EdifactCharacterSet = "UNOK"
// EdifactCharacterSetUNOX ...
EdifactCharacterSetUNOX EdifactCharacterSet = "UNOX"
// EdifactCharacterSetUNOY ...
EdifactCharacterSetUNOY EdifactCharacterSet = "UNOY"
)
// PossibleEdifactCharacterSetValues returns an array of possible values for the EdifactCharacterSet const type.
func PossibleEdifactCharacterSetValues() []EdifactCharacterSet {
return []EdifactCharacterSet{EdifactCharacterSetKECA, EdifactCharacterSetNotSpecified, EdifactCharacterSetUNOA, EdifactCharacterSetUNOB, EdifactCharacterSetUNOC, EdifactCharacterSetUNOD, EdifactCharacterSetUNOE, EdifactCharacterSetUNOF, EdifactCharacterSetUNOG, EdifactCharacterSetUNOH, EdifactCharacterSetUNOI, EdifactCharacterSetUNOJ, EdifactCharacterSetUNOK, EdifactCharacterSetUNOX, EdifactCharacterSetUNOY}
}
// EdifactDecimalIndicator enumerates the values for edifact decimal indicator.
type EdifactDecimalIndicator string
const (
// EdifactDecimalIndicatorComma ...
EdifactDecimalIndicatorComma EdifactDecimalIndicator = "Comma"
// EdifactDecimalIndicatorDecimal ...
EdifactDecimalIndicatorDecimal EdifactDecimalIndicator = "Decimal"
// EdifactDecimalIndicatorNotSpecified ...
EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = "NotSpecified"
)
// PossibleEdifactDecimalIndicatorValues returns an array of possible values for the EdifactDecimalIndicator const type.
func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator {
return []EdifactDecimalIndicator{EdifactDecimalIndicatorComma, EdifactDecimalIndicatorDecimal, EdifactDecimalIndicatorNotSpecified}
}
// EncryptionAlgorithm enumerates the values for encryption algorithm.
type EncryptionAlgorithm string
const (
// EncryptionAlgorithmAES128 ...
EncryptionAlgorithmAES128 EncryptionAlgorithm = "AES128"
// EncryptionAlgorithmAES192 ...
EncryptionAlgorithmAES192 EncryptionAlgorithm = "AES192"
// EncryptionAlgorithmAES256 ...
EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
// EncryptionAlgorithmDES3 ...
EncryptionAlgorithmDES3 EncryptionAlgorithm = "DES3"
// EncryptionAlgorithmNone ...
EncryptionAlgorithmNone EncryptionAlgorithm = "None"
// EncryptionAlgorithmNotSpecified ...
EncryptionAlgorithmNotSpecified EncryptionAlgorithm = "NotSpecified"
// EncryptionAlgorithmRC2 ...
EncryptionAlgorithmRC2 EncryptionAlgorithm = "RC2"
)
// PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.
func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
return []EncryptionAlgorithm{EncryptionAlgorithmAES128, EncryptionAlgorithmAES192, EncryptionAlgorithmAES256, EncryptionAlgorithmDES3, EncryptionAlgorithmNone, EncryptionAlgorithmNotSpecified, EncryptionAlgorithmRC2}
}
// HashingAlgorithm enumerates the values for hashing algorithm.
type HashingAlgorithm string
const (
// HashingAlgorithmNone ...
HashingAlgorithmNone HashingAlgorithm = "None"
// HashingAlgorithmNotSpecified ...
HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified"
// HashingAlgorithmSHA2256 ...
HashingAlgorithmSHA2256 HashingAlgorithm = "SHA2256"
// HashingAlgorithmSHA2384 ...
HashingAlgorithmSHA2384 HashingAlgorithm = "SHA2384"
// HashingAlgorithmSHA2512 ...
HashingAlgorithmSHA2512 HashingAlgorithm = "SHA2512"
)
// PossibleHashingAlgorithmValues returns an array of possible values for the HashingAlgorithm const type.
func PossibleHashingAlgorithmValues() []HashingAlgorithm {
return []HashingAlgorithm{HashingAlgorithmNone, HashingAlgorithmNotSpecified, HashingAlgorithmSHA2256, HashingAlgorithmSHA2384, HashingAlgorithmSHA2512}
}
// MapType enumerates the values for map type.
type MapType string
const (
// MapTypeNotSpecified ...
MapTypeNotSpecified MapType = "NotSpecified"
// MapTypeXslt ...
MapTypeXslt MapType = "Xslt"
)
// PossibleMapTypeValues returns an array of possible values for the MapType const type.
func PossibleMapTypeValues() []MapType {
return []MapType{MapTypeNotSpecified, MapTypeXslt}
}
// MessageFilterType enumerates the values for message filter type.
type MessageFilterType string
const (
// MessageFilterTypeExclude ...
MessageFilterTypeExclude MessageFilterType = "Exclude"
// MessageFilterTypeInclude ...
MessageFilterTypeInclude MessageFilterType = "Include"
// MessageFilterTypeNotSpecified ...
MessageFilterTypeNotSpecified MessageFilterType = "NotSpecified"
)
// PossibleMessageFilterTypeValues returns an array of possible values for the MessageFilterType const type.
func PossibleMessageFilterTypeValues() []MessageFilterType {
return []MessageFilterType{MessageFilterTypeExclude, MessageFilterTypeInclude, MessageFilterTypeNotSpecified}
}
// PartnerType enumerates the values for partner type.
type PartnerType string
const (
// PartnerTypeB2B ...
PartnerTypeB2B PartnerType = "B2B"
// PartnerTypeNotSpecified ...
PartnerTypeNotSpecified PartnerType = "NotSpecified"
)
// PossiblePartnerTypeValues returns an array of possible values for the PartnerType const type.
func PossiblePartnerTypeValues() []PartnerType {
return []PartnerType{PartnerTypeB2B, PartnerTypeNotSpecified}
}
// SchemaType enumerates the values for schema type.
type SchemaType string
const (
// SchemaTypeNotSpecified ...
SchemaTypeNotSpecified SchemaType = "NotSpecified"
// SchemaTypeXML ...
SchemaTypeXML SchemaType = "Xml"
)
// PossibleSchemaTypeValues returns an array of possible values for the SchemaType const type.
func PossibleSchemaTypeValues() []SchemaType {
return []SchemaType{SchemaTypeNotSpecified, SchemaTypeXML}
}
// SegmentTerminatorSuffix enumerates the values for segment terminator suffix.
type SegmentTerminatorSuffix string
const (
// SegmentTerminatorSuffixCR ...
SegmentTerminatorSuffixCR SegmentTerminatorSuffix = "CR"
// SegmentTerminatorSuffixCRLF ...
SegmentTerminatorSuffixCRLF SegmentTerminatorSuffix = "CRLF"
// SegmentTerminatorSuffixLF ...
SegmentTerminatorSuffixLF SegmentTerminatorSuffix = "LF"
// SegmentTerminatorSuffixNone ...
SegmentTerminatorSuffixNone SegmentTerminatorSuffix = "None"
// SegmentTerminatorSuffixNotSpecified ...
SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = "NotSpecified"
)
// PossibleSegmentTerminatorSuffixValues returns an array of possible values for the SegmentTerminatorSuffix const type.
func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix {
return []SegmentTerminatorSuffix{SegmentTerminatorSuffixCR, SegmentTerminatorSuffixCRLF, SegmentTerminatorSuffixLF, SegmentTerminatorSuffixNone, SegmentTerminatorSuffixNotSpecified}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// SkuNameBasic ...
SkuNameBasic SkuName = "Basic"
// SkuNameFree ...
SkuNameFree SkuName = "Free"
// SkuNameNotSpecified ...
SkuNameNotSpecified SkuName = "NotSpecified"
// SkuNamePremium ...
SkuNamePremium SkuName = "Premium"
// SkuNameShared ...
SkuNameShared SkuName = "Shared"
// SkuNameStandard ...
SkuNameStandard SkuName = "Standard"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{SkuNameBasic, SkuNameFree, SkuNameNotSpecified, SkuNamePremium, SkuNameShared, SkuNameStandard}
}
// TrailingSeparatorPolicy enumerates the values for trailing separator policy.
type TrailingSeparatorPolicy string
const (
// TrailingSeparatorPolicyMandatory ...
TrailingSeparatorPolicyMandatory TrailingSeparatorPolicy = "Mandatory"
// TrailingSeparatorPolicyNotAllowed ...
TrailingSeparatorPolicyNotAllowed TrailingSeparatorPolicy = "NotAllowed"
// TrailingSeparatorPolicyNotSpecified ...
TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = "NotSpecified"
// TrailingSeparatorPolicyOptional ...
TrailingSeparatorPolicyOptional TrailingSeparatorPolicy = "Optional"
)
// PossibleTrailingSeparatorPolicyValues returns an array of possible values for the TrailingSeparatorPolicy const type.
func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy {
return []TrailingSeparatorPolicy{TrailingSeparatorPolicyMandatory, TrailingSeparatorPolicyNotAllowed, TrailingSeparatorPolicyNotSpecified, TrailingSeparatorPolicyOptional}
}
// UsageIndicator enumerates the values for usage indicator.
type UsageIndicator string
const (
// UsageIndicatorInformation ...
UsageIndicatorInformation UsageIndicator = "Information"
// UsageIndicatorNotSpecified ...
UsageIndicatorNotSpecified UsageIndicator = "NotSpecified"
// UsageIndicatorProduction ...
UsageIndicatorProduction UsageIndicator = "Production"
// UsageIndicatorTest ...
UsageIndicatorTest UsageIndicator = "Test"
)
// PossibleUsageIndicatorValues returns an array of possible values for the UsageIndicator const type.
func PossibleUsageIndicatorValues() []UsageIndicator {
return []UsageIndicator{UsageIndicatorInformation, UsageIndicatorNotSpecified, UsageIndicatorProduction, UsageIndicatorTest}
}
// X12CharacterSet enumerates the values for x12 character set.
type X12CharacterSet string
const (
// X12CharacterSetBasic ...
X12CharacterSetBasic X12CharacterSet = "Basic"
// X12CharacterSetExtended ...
X12CharacterSetExtended X12CharacterSet = "Extended"
// X12CharacterSetNotSpecified ...
X12CharacterSetNotSpecified X12CharacterSet = "NotSpecified"
// X12CharacterSetUTF8 ...
X12CharacterSetUTF8 X12CharacterSet = "UTF8"
)
// PossibleX12CharacterSetValues returns an array of possible values for the X12CharacterSet const type.
func PossibleX12CharacterSetValues() []X12CharacterSet {
return []X12CharacterSet{X12CharacterSetBasic, X12CharacterSetExtended, X12CharacterSetNotSpecified, X12CharacterSetUTF8}
}
// X12DateFormat enumerates the values for x12 date format.
type X12DateFormat string
const (
// X12DateFormatCCYYMMDD ...
X12DateFormatCCYYMMDD X12DateFormat = "CCYYMMDD"
// X12DateFormatNotSpecified ...
X12DateFormatNotSpecified X12DateFormat = "NotSpecified"
// X12DateFormatYYMMDD ...
X12DateFormatYYMMDD X12DateFormat = "YYMMDD"
)
// PossibleX12DateFormatValues returns an array of possible values for the X12DateFormat const type.
func PossibleX12DateFormatValues() []X12DateFormat {
return []X12DateFormat{X12DateFormatCCYYMMDD, X12DateFormatNotSpecified, X12DateFormatYYMMDD}
}
// X12TimeFormat enumerates the values for x12 time format.
type X12TimeFormat string
const (
// X12TimeFormatHHMM ...
X12TimeFormatHHMM X12TimeFormat = "HHMM"
// X12TimeFormatHHMMSS ...
X12TimeFormatHHMMSS X12TimeFormat = "HHMMSS"
// X12TimeFormatHHMMSSd ...
X12TimeFormatHHMMSSd X12TimeFormat = "HHMMSSd"
// X12TimeFormatHHMMSSdd ...
X12TimeFormatHHMMSSdd X12TimeFormat = "HHMMSSdd"
// X12TimeFormatNotSpecified ...
X12TimeFormatNotSpecified X12TimeFormat = "NotSpecified"
)
// PossibleX12TimeFormatValues returns an array of possible values for the X12TimeFormat const type.
func PossibleX12TimeFormatValues() []X12TimeFormat {
return []X12TimeFormat{X12TimeFormatHHMM, X12TimeFormatHHMMSS, X12TimeFormatHHMMSSd, X12TimeFormatHHMMSSdd, X12TimeFormatNotSpecified}
}
// AgreementContent ...
type AgreementContent struct {
// AS2 - The AS2 agreement content.
AS2 *AS2AgreementContent `json:"AS2,omitempty"`
// X12 - The X12 agreement content.
X12 *X12AgreementContent `json:"X12,omitempty"`
// Edifact - The EDIFACT agreement content.
Edifact *EdifactAgreementContent `json:"Edifact,omitempty"`
}
// AS2AcknowledgementConnectionSettings ...
type AS2AcknowledgementConnectionSettings struct {
// IgnoreCertificateNameMismatch - The value indicating whether to ignore mismatch in certificate name.
IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"`
// SupportHTTPStatusCodeContinue - The value indicating whether to support HTTP status code 'CONTINUE'.
SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"`
// KeepHTTPConnectionAlive - The value indicating whether to keep the connection alive.
KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"`
// UnfoldHTTPHeaders - The value indicating whether to unfold the HTTP headers.
UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"`
}
// AS2AgreementContent ...
type AS2AgreementContent struct {
// ReceiveAgreement - The AS2 one-way receive agreement.
ReceiveAgreement *AS2OneWayAgreement `json:"receiveAgreement,omitempty"`
// SendAgreement - The AS2 one-way send agreement.
SendAgreement *AS2OneWayAgreement `json:"sendAgreement,omitempty"`
}
// AS2EnvelopeSettings ...
type AS2EnvelopeSettings struct {
// MessageContentType - The message content type.
MessageContentType *string `json:"messageContentType,omitempty"`
// TransmitFileNameInMimeHeader - The value indicating whether to transmit file name in mime header.
TransmitFileNameInMimeHeader *bool `json:"transmitFileNameInMimeHeader,omitempty"`
// FileNameTemplate - The template for file name.
FileNameTemplate *string `json:"fileNameTemplate,omitempty"`
// SuspendMessageOnFileNameGenerationError - The value indicating whether to suspend message on file name generation error.
SuspendMessageOnFileNameGenerationError *bool `json:"SuspendMessageOnFileNameGenerationError,omitempty"`
// AutogenerateFileName - The value indicating whether to auto generate file name.
AutogenerateFileName *bool `json:"AutogenerateFileName,omitempty"`
}
// AS2ErrorSettings ...
type AS2ErrorSettings struct {
// SuspendDuplicateMessage - The value indicating whether to suspend duplicate message.
SuspendDuplicateMessage *bool `json:"SuspendDuplicateMessage,omitempty"`
// ResendIfMdnNotReceived - The value indicating whether to resend message If MDN is not received.
ResendIfMdnNotReceived *bool `json:"ResendIfMdnNotReceived,omitempty"`
}
// AS2MdnSettings ...
type AS2MdnSettings struct {
// NeedMdn - The value indicating whether to send or request a MDN.
NeedMdn *bool `json:"needMdn,omitempty"`
// SignMdn - The value indicating whether the MDN needs to be signed or not.
SignMdn *bool `json:"signMdn,omitempty"`
// SendMdnAsynchronously - The value indicating whether to send the asynchronous MDN.
SendMdnAsynchronously *bool `json:"sendMdnAsynchronously,omitempty"`
// ReceiptDeliveryURL - The receipt delivery URL.
ReceiptDeliveryURL *string `json:"receiptDeliveryUrl,omitempty"`
// DispositionNotificationTo - The disposition notification to header value.
DispositionNotificationTo *string `json:"dispositionNotificationTo,omitempty"`
// SignOutboundMdnIfOptional - The value indicating whether to sign the outbound MDN if optional.
SignOutboundMdnIfOptional *bool `json:"signOutboundMdnIfOptional,omitempty"`
// MdnText - The MDN text.
MdnText *string `json:"mdnText,omitempty"`
// SendInboundMdnToMessageBox - The value indicating whether to send inbound MDN to message box.
SendInboundMdnToMessageBox *bool `json:"sendInboundMdnToMessageBox,omitempty"`
// MicHashingAlgorithm - The signing or hashing algorithm. Possible values include: 'HashingAlgorithmNotSpecified', 'HashingAlgorithmNone', 'HashingAlgorithmSHA2256', 'HashingAlgorithmSHA2384', 'HashingAlgorithmSHA2512'
MicHashingAlgorithm HashingAlgorithm `json:"micHashingAlgorithm,omitempty"`
}
// AS2MessageConnectionSettings ...
type AS2MessageConnectionSettings struct {
// IgnoreCertificateNameMismatch - The value indicating whether to ignore mismatch in certificate name.
IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"`
// SupportHTTPStatusCodeContinue - The value indicating whether to support HTTP status code 'CONTINUE'.
SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"`
// KeepHTTPConnectionAlive - The value indicating whether to keep the connection alive.
KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"`
// UnfoldHTTPHeaders - The value indicating whether to unfold the HTTP headers.
UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"`
}
// AS2OneWayAgreement ...
type AS2OneWayAgreement struct {
// SenderBusinessIdentity - The sender business identity
SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"`
// ReceiverBusinessIdentity - The receiver business identity
ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"`
// ProtocolSettings - The AS2 protocol settings.
ProtocolSettings *AS2ProtocolSettings `json:"protocolSettings,omitempty"`
}
// AS2ProtocolSettings ...
type AS2ProtocolSettings struct {
// MessageConnectionSettings - The message connection settings.
MessageConnectionSettings *AS2MessageConnectionSettings `json:"messageConnectionSettings,omitempty"`
// AcknowledgementConnectionSettings - The acknowledgement connection settings.
AcknowledgementConnectionSettings *AS2AcknowledgementConnectionSettings `json:"acknowledgementConnectionSettings,omitempty"`
// MdnSettings - The MDN settings.
MdnSettings *AS2MdnSettings `json:"mdnSettings,omitempty"`
// SecuritySettings - The security settings.
SecuritySettings *AS2SecuritySettings `json:"securitySettings,omitempty"`
// ValidationSettings - The validation settings.
ValidationSettings *AS2ValidationSettings `json:"validationSettings,omitempty"`
// EnvelopeSettings - The envelope settings.
EnvelopeSettings *AS2EnvelopeSettings `json:"envelopeSettings,omitempty"`
// ErrorSettings - The error settings.
ErrorSettings *AS2ErrorSettings `json:"errorSettings,omitempty"`
}
// AS2SecuritySettings ...
type AS2SecuritySettings struct {
// OverrideGroupSigningCertificate - The value indicating whether to send or request a MDN.
OverrideGroupSigningCertificate *bool `json:"overrideGroupSigningCertificate,omitempty"`
// SigningCertificateName - The name of the signing certificate.
SigningCertificateName *string `json:"signingCertificateName,omitempty"`
// EncryptionCertificateName - The name of the encryption certificate.
EncryptionCertificateName *string `json:"encryptionCertificateName,omitempty"`
// EnableNrrForInboundEncodedMessages - The value indicating whether to enable NRR for inbound encoded messages.
EnableNrrForInboundEncodedMessages *bool `json:"enableNrrForInboundEncodedMessages,omitempty"`
// EnableNrrForInboundDecodedMessages - The value indicating whether to enable NRR for inbound decoded messages.
EnableNrrForInboundDecodedMessages *bool `json:"enableNrrForInboundDecodedMessages,omitempty"`
// EnableNrrForOutboundMdn - The value indicating whether to enable NRR for outbound MDN.
EnableNrrForOutboundMdn *bool `json:"enableNrrForOutboundMdn,omitempty"`
// EnableNrrForOutboundEncodedMessages - The value indicating whether to enable NRR for outbound encoded messages.
EnableNrrForOutboundEncodedMessages *bool `json:"enableNrrForOutboundEncodedMessages,omitempty"`
// EnableNrrForOutboundDecodedMessages - The value indicating whether to enable NRR for outbound decoded messages.
EnableNrrForOutboundDecodedMessages *bool `json:"enableNrrForOutboundDecodedMessages,omitempty"`
// EnableNrrForInboundMdn - The value indicating whether to enable NRR for inbound MDN.
EnableNrrForInboundMdn *bool `json:"enableNrrForInboundMdn,omitempty"`
}
// AS2ValidationSettings ...
type AS2ValidationSettings struct {
// OverrideMessageProperties - The value indicating whether to override incoming message properties with those in agreement.
OverrideMessageProperties *bool `json:"overrideMessageProperties,omitempty"`
// EncryptMessage - The value indicating whether the message has to be encrypted.
EncryptMessage *bool `json:"encryptMessage,omitempty"`
// SignMessage - The value indicating whether the message has to be signed.
SignMessage *bool `json:"signMessage,omitempty"`
// CompressMessage - The value indicating whether the message has to be compressed.
CompressMessage *bool `json:"compressMessage,omitempty"`
// CheckDuplicateMessage - The value indicating whether to check for duplicate message.
CheckDuplicateMessage *bool `json:"checkDuplicateMessage,omitempty"`
// InterchangeDuplicatesValidityDays - The number of days to look back for duplicate interchange.
InterchangeDuplicatesValidityDays *int32 `json:"interchangeDuplicatesValidityDays,omitempty"`
// CheckCertificateRevocationListOnSend - The value indicating whether to check for certificate revocation list on send.
CheckCertificateRevocationListOnSend *bool `json:"checkCertificateRevocationListOnSend,omitempty"`
// CheckCertificateRevocationListOnReceive - The value indicating whether to check for certificate revocation list on receive.
CheckCertificateRevocationListOnReceive *bool `json:"checkCertificateRevocationListOnReceive,omitempty"`
// EncryptionAlgorithm - The encryption algorithm. Possible values include: 'EncryptionAlgorithmNotSpecified', 'EncryptionAlgorithmNone', 'EncryptionAlgorithmDES3', 'EncryptionAlgorithmRC2', 'EncryptionAlgorithmAES128', 'EncryptionAlgorithmAES192', 'EncryptionAlgorithmAES256'
EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}
// B2BPartnerContent ...
type B2BPartnerContent struct {
// BusinessIdentities - The list of partner business identities.
BusinessIdentities *[]BusinessIdentity `json:"businessIdentities,omitempty"`
}
// BusinessIdentity ...
type BusinessIdentity struct {
// Qualifier - The business identity qualifier.
Qualifier *string `json:"Qualifier,omitempty"`
// Value - The business identity value.
Value *string `json:"Value,omitempty"`
}
// CallbackURL ...
type CallbackURL struct {
autorest.Response `json:"-"`
// Value - The URL value.
Value *string `json:"value,omitempty"`
}
// EdifactAcknowledgementSettings ...
type EdifactAcknowledgementSettings struct {
// NeedTechnicalAcknowledgement - The value indicating whether technical acknowledgement is needed.
NeedTechnicalAcknowledgement *bool `json:"needTechnicalAcknowledgement,omitempty"`
// BatchTechnicalAcknowledgements - The value indicating whether to batch the technical acknowledgements.
BatchTechnicalAcknowledgements *bool `json:"batchTechnicalAcknowledgements,omitempty"`
// NeedFunctionalAcknowledgement - The value indicating whether functional acknowledgement is needed.
NeedFunctionalAcknowledgement *bool `json:"needFunctionalAcknowledgement,omitempty"`
// BatchFunctionalAcknowledgements - The value indicating whether to batch functional acknowledgements.
BatchFunctionalAcknowledgements *bool `json:"batchFunctionalAcknowledgements,omitempty"`
// NeedLoopForValidMessages - The value indicating whether a loop is needed for valid messages.
NeedLoopForValidMessages *bool `json:"needLoopForValidMessages,omitempty"`
// SendSynchronousAcknowledgement - The value indicating whether to send synchronous acknowledgement.
SendSynchronousAcknowledgement *bool `json:"sendSynchronousAcknowledgement,omitempty"`
// AcknowledgementControlNumberPrefix - The acknowledgement control number prefix.
AcknowledgementControlNumberPrefix *string `json:"acknowledgementControlNumberPrefix,omitempty"`
// AcknowledgementControlNumberSuffix - The acknowledgement control number suffix.
AcknowledgementControlNumberSuffix *string `json:"acknowledgementControlNumberSuffix,omitempty"`
// AcknowledgementControlNumberLowerBound - The acknowledgement control number lower bound.
AcknowledgementControlNumberLowerBound *int32 `json:"acknowledgementControlNumberLowerBound,omitempty"`
// AcknowledgementControlNumberUpperBound - The acknowledgement control number upper bound.
AcknowledgementControlNumberUpperBound *int32 `json:"acknowledgementControlNumberUpperBound,omitempty"`
// RolloverAcknowledgementControlNumber - The value indicating whether to rollover acknowledgement control number.
RolloverAcknowledgementControlNumber *bool `json:"rolloverAcknowledgementControlNumber,omitempty"`
}
// EdifactAgreementContent ...
type EdifactAgreementContent struct {
// ReceiveAgreement - The EDIFACT one-way receive agreement.
ReceiveAgreement *EdifactOneWayAgreement `json:"receiveAgreement,omitempty"`
// SendAgreement - The EDIFACT one-way send agreement.
SendAgreement *EdifactOneWayAgreement `json:"sendAgreement,omitempty"`
}
// EdifactDelimiterOverride ...
type EdifactDelimiterOverride struct {
// MessageID - The message id.
MessageID *string `json:"messageId,omitempty"`
// MessageVersion - The message version.
MessageVersion *string `json:"messageVersion,omitempty"`
// MessageRelease - The message releaseversion.
MessageRelease *string `json:"messageRelease,omitempty"`
// DataElementSeparator - The data element separator.
DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
// ComponentSeparator - The component separator.
ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
// SegmentTerminator - The segment terminator.
SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
// RepetitionSeparator - The repetition separator.
RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"`
// SegmentTerminatorSuffix - The segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
// DecimalPointIndicator - The decimal point indicator. Possible values include: 'EdifactDecimalIndicatorNotSpecified', 'EdifactDecimalIndicatorComma', 'EdifactDecimalIndicatorDecimal'
DecimalPointIndicator EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"`
// ReleaseIndicator - The release indicator.
ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"`
// MessageAssociationAssignedCode - The message association assigned code.
MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"`
// TargetNamespace - The target namespace on which this delimiter settings has to be applied.
TargetNamespace *string `json:"targetNamespace,omitempty"`
}
// EdifactEnvelopeOverride ...
type EdifactEnvelopeOverride struct {
// MessageID - The message id on which this envelope settings has to be applied.
MessageID *string `json:"messageId,omitempty"`
// MessageVersion - The message version on which this envelope settings has to be applied.
MessageVersion *string `json:"messageVersion,omitempty"`
// MessageRelease - The message release version on which this envelope settings has to be applied.
MessageRelease *string `json:"messageRelease,omitempty"`
// MessageAssociationAssignedCode - The message association assigned code.
MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"`
// TargetNamespace - The target namespace on which this envelope settings has to be applied.
TargetNamespace *string `json:"targetNamespace,omitempty"`
// FunctionalGroupID - The functional group id.
FunctionalGroupID *string `json:"functionalGroupId,omitempty"`
// SenderApplicationQualifier - The sender application qualifier.
SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"`
// SenderApplicationID - The sender application id.
SenderApplicationID *string `json:"senderApplicationId,omitempty"`
// ReceiverApplicationQualifier - The receiver application qualifier.
ReceiverApplicationQualifier *string `json:"receiverApplicationQualifier,omitempty"`
// ReceiverApplicationID - The receiver application id.
ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"`
// ControllingAgencyCode - The controlling agency code.
ControllingAgencyCode *string `json:"controllingAgencyCode,omitempty"`
// GroupHeaderMessageVersion - The group header message version.
GroupHeaderMessageVersion *string `json:"groupHeaderMessageVersion,omitempty"`
// GroupHeaderMessageRelease - The group header message release.
GroupHeaderMessageRelease *string `json:"groupHeaderMessageRelease,omitempty"`
// AssociationAssignedCode - The association assigned code.
AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"`
// ApplicationPassword - The application password.
ApplicationPassword *string `json:"applicationPassword,omitempty"`
}
// EdifactEnvelopeSettings ...
type EdifactEnvelopeSettings struct {
// GroupAssociationAssignedCode - The group association assigned code.
GroupAssociationAssignedCode *string `json:"groupAssociationAssignedCode,omitempty"`
// CommunicationAgreementID - The communication agreement id.
CommunicationAgreementID *string `json:"communicationAgreementId,omitempty"`
// ApplyDelimiterStringAdvice - The value indicating whether to apply delimiter string advice.
ApplyDelimiterStringAdvice *bool `json:"applyDelimiterStringAdvice,omitempty"`
// CreateGroupingSegments - The value indicating whether to create grouping segments.
CreateGroupingSegments *bool `json:"createGroupingSegments,omitempty"`
// EnableDefaultGroupHeaders - The value indicating whether to enable default group headers.
EnableDefaultGroupHeaders *bool `json:"enableDefaultGroupHeaders,omitempty"`
// RecipientReferencePasswordValue - The recipient reference password value.
RecipientReferencePasswordValue *string `json:"recipientReferencePasswordValue,omitempty"`
// RecipientReferencePasswordQualifier - The recipient reference password qualifier.
RecipientReferencePasswordQualifier *string `json:"recipientReferencePasswordQualifier,omitempty"`
// ApplicationReferenceID - The application reference id.
ApplicationReferenceID *string `json:"applicationReferenceId,omitempty"`
// ProcessingPriorityCode - The processing priority code.
ProcessingPriorityCode *string `json:"processingPriorityCode,omitempty"`
// InterchangeControlNumberLowerBound - The interchange control number lower bound.
InterchangeControlNumberLowerBound *int64 `json:"interchangeControlNumberLowerBound,omitempty"`
// InterchangeControlNumberUpperBound - The interchange control number upper bound.
InterchangeControlNumberUpperBound *int64 `json:"interchangeControlNumberUpperBound,omitempty"`
// RolloverInterchangeControlNumber - The value indicating whether to rollover interchange control number.
RolloverInterchangeControlNumber *bool `json:"rolloverInterchangeControlNumber,omitempty"`
// InterchangeControlNumberPrefix - The interchange control number prefix.
InterchangeControlNumberPrefix *string `json:"interchangeControlNumberPrefix,omitempty"`
// InterchangeControlNumberSuffix - The interchange control number suffix.
InterchangeControlNumberSuffix *string `json:"interchangeControlNumberSuffix,omitempty"`
// SenderReverseRoutingAddress - The sender reverse routing address.
SenderReverseRoutingAddress *string `json:"senderReverseRoutingAddress,omitempty"`
// ReceiverReverseRoutingAddress - The receiver reverse routing address.
ReceiverReverseRoutingAddress *string `json:"receiverReverseRoutingAddress,omitempty"`
// FunctionalGroupID - The functional group id.
FunctionalGroupID *string `json:"functionalGroupId,omitempty"`
// GroupControllingAgencyCode - The group controlling agency code.
GroupControllingAgencyCode *string `json:"groupControllingAgencyCode,omitempty"`
// GroupMessageVersion - The group message version.
GroupMessageVersion *string `json:"groupMessageVersion,omitempty"`
// GroupMessageRelease - The group message release.
GroupMessageRelease *string `json:"groupMessageRelease,omitempty"`
// GroupControlNumberLowerBound - The group control number lower bound.
GroupControlNumberLowerBound *int64 `json:"groupControlNumberLowerBound,omitempty"`
// GroupControlNumberUpperBound - The group control number upper bound.
GroupControlNumberUpperBound *int64 `json:"groupControlNumberUpperBound,omitempty"`
// RolloverGroupControlNumber - The value indicating whether to rollover group control number.
RolloverGroupControlNumber *bool `json:"rolloverGroupControlNumber,omitempty"`
// GroupControlNumberPrefix - The group control number prefix.
GroupControlNumberPrefix *string `json:"groupControlNumberPrefix,omitempty"`
// GroupControlNumberSuffix - The group control number suffix.
GroupControlNumberSuffix *string `json:"groupControlNumberSuffix,omitempty"`
// GroupApplicationReceiverQualifier - The group application receiver qualifier.
GroupApplicationReceiverQualifier *string `json:"groupApplicationReceiverQualifier,omitempty"`
// GroupApplicationReceiverID - The group application receiver id.
GroupApplicationReceiverID *string `json:"groupApplicationReceiverId,omitempty"`
// GroupApplicationSenderQualifier - The group application sender qualifier.
GroupApplicationSenderQualifier *string `json:"groupApplicationSenderQualifier,omitempty"`
// GroupApplicationSenderID - The group application sender id.
GroupApplicationSenderID *string `json:"groupApplicationSenderId,omitempty"`
// GroupApplicationPassword - The group application password.
GroupApplicationPassword *string `json:"groupApplicationPassword,omitempty"`
// OverwriteExistingTransactionSetControlNumber - The value indicating whether to overwrite existing transaction set control number.
OverwriteExistingTransactionSetControlNumber *bool `json:"overwriteExistingTransactionSetControlNumber,omitempty"`
// TransactionSetControlNumberPrefix - The transaction set control number prefix.
TransactionSetControlNumberPrefix *string `json:"transactionSetControlNumberPrefix,omitempty"`
// TransactionSetControlNumberSuffix - The transaction set control number suffix.
TransactionSetControlNumberSuffix *string `json:"transactionSetControlNumberSuffix,omitempty"`
// TransactionSetControlNumberLowerBound - The transaction set control number lower bound.
TransactionSetControlNumberLowerBound *int64 `json:"transactionSetControlNumberLowerBound,omitempty"`
// TransactionSetControlNumberUpperBound - The transaction set control number upper bound.
TransactionSetControlNumberUpperBound *int64 `json:"transactionSetControlNumberUpperBound,omitempty"`
// RolloverTransactionSetControlNumber - The value indicating whether to rollover transaction set control number.
RolloverTransactionSetControlNumber *bool `json:"rolloverTransactionSetControlNumber,omitempty"`
// IsTestInterchange - The value indicating whether the message is a test interchange.
IsTestInterchange *bool `json:"isTestInterchange,omitempty"`
// SenderInternalIdentification - The sender internal identification.
SenderInternalIdentification *string `json:"senderInternalIdentification,omitempty"`
// SenderInternalSubIdentification - The sender internal sub identification.
SenderInternalSubIdentification *string `json:"senderInternalSubIdentification,omitempty"`
// ReceiverInternalIdentification - The receiver internal identification.
ReceiverInternalIdentification *string `json:"receiverInternalIdentification,omitempty"`
// ReceiverInternalSubIdentification - The receiver internal sub identification.
ReceiverInternalSubIdentification *string `json:"receiverInternalSubIdentification,omitempty"`
}
// EdifactFramingSettings ...
type EdifactFramingSettings struct {
// ServiceCodeListDirectoryVersion - The service code list directory version.
ServiceCodeListDirectoryVersion *string `json:"serviceCodeListDirectoryVersion,omitempty"`
// CharacterEncoding - The character encoding.
CharacterEncoding *string `json:"characterEncoding,omitempty"`
// ProtocolVersion - The protocol version.
ProtocolVersion *int32 `json:"protocolVersion,omitempty"`
// DataElementSeparator - The data element separator.
DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"`
// ComponentSeparator - The component separator.
ComponentSeparator *int32 `json:"componentSeparator,omitempty"`
// SegmentTerminator - The segment terminator.
SegmentTerminator *int32 `json:"segmentTerminator,omitempty"`
// ReleaseIndicator - The release indicator.
ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"`
// RepetitionSeparator - The repetition separator.
RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"`
// CharacterSet - The EDIFACT frame setting characterSet. Possible values include: 'EdifactCharacterSetNotSpecified', 'EdifactCharacterSetUNOB', 'EdifactCharacterSetUNOA', 'EdifactCharacterSetUNOC', 'EdifactCharacterSetUNOD', 'EdifactCharacterSetUNOE', 'EdifactCharacterSetUNOF', 'EdifactCharacterSetUNOG', 'EdifactCharacterSetUNOH', 'EdifactCharacterSetUNOI', 'EdifactCharacterSetUNOJ', 'EdifactCharacterSetUNOK', 'EdifactCharacterSetUNOX', 'EdifactCharacterSetUNOY', 'EdifactCharacterSetKECA'
CharacterSet EdifactCharacterSet `json:"characterSet,omitempty"`
// DecimalPointIndicator - The EDIFACT frame setting decimal indicator. Possible values include: 'EdifactDecimalIndicatorNotSpecified', 'EdifactDecimalIndicatorComma', 'EdifactDecimalIndicatorDecimal'
DecimalPointIndicator EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"`
// SegmentTerminatorSuffix - The EDIFACT frame setting segment terminator suffix. Possible values include: 'SegmentTerminatorSuffixNotSpecified', 'SegmentTerminatorSuffixNone', 'SegmentTerminatorSuffixCR', 'SegmentTerminatorSuffixLF', 'SegmentTerminatorSuffixCRLF'
SegmentTerminatorSuffix SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"`
}
// EdifactMessageFilter ...
type EdifactMessageFilter struct {
// MessageFilterType - The message filter type. Possible values include: 'MessageFilterTypeNotSpecified', 'MessageFilterTypeInclude', 'MessageFilterTypeExclude'
MessageFilterType MessageFilterType `json:"messageFilterType,omitempty"`
}
// EdifactMessageIdentifier ...
type EdifactMessageIdentifier struct {
// MessageID - The message id on which this envelope settings has to be applied.
MessageID *string `json:"messageId,omitempty"`
}
// EdifactOneWayAgreement ...
type EdifactOneWayAgreement struct {
// SenderBusinessIdentity - The sender business identity
SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"`
// ReceiverBusinessIdentity - The receiver business identity
ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"`
// ProtocolSettings - The EDIFACT protocol settings.
ProtocolSettings *EdifactProtocolSettings `json:"protocolSettings,omitempty"`
}
// EdifactProcessingSettings ...
type EdifactProcessingSettings struct {
// MaskSecurityInfo - The value indicating whether to mask security information.
MaskSecurityInfo *bool `json:"maskSecurityInfo,omitempty"`
// PreserveInterchange - The value indicating whether to preserve interchange.
PreserveInterchange *bool `json:"preserveInterchange,omitempty"`
// SuspendInterchangeOnError - The value indicating whether to suspend interchange on error.
SuspendInterchangeOnError *bool `json:"suspendInterchangeOnError,omitempty"`
// CreateEmptyXMLTagsForTrailingSeparators - The value indicating whether to create empty xml tags for trailing separators.
CreateEmptyXMLTagsForTrailingSeparators *bool `json:"createEmptyXmlTagsForTrailingSeparators,omitempty"`
// UseDotAsDecimalSeparator - The value indicating whether to use dot as decimal separator.
UseDotAsDecimalSeparator *bool `json:"useDotAsDecimalSeparator,omitempty"`
}
// EdifactProtocolSettings ...
type EdifactProtocolSettings struct {
// ValidationSettings - The EDIFACT validation settings.
ValidationSettings *EdifactValidationSettings `json:"validationSettings,omitempty"`
// FramingSettings - The EDIFACT framing settings.
FramingSettings *EdifactFramingSettings `json:"framingSettings,omitempty"`
// EnvelopeSettings - The EDIFACT envelope settings.
EnvelopeSettings *EdifactEnvelopeSettings `json:"envelopeSettings,omitempty"`
// AcknowledgementSettings - The EDIFACT acknowledgement settings.
AcknowledgementSettings *EdifactAcknowledgementSettings `json:"acknowledgementSettings,omitempty"`
// MessageFilter - The EDIFACT message filter.
MessageFilter *EdifactMessageFilter `json:"messageFilter,omitempty"`
// ProcessingSettings - The EDIFACT processing Settings.
ProcessingSettings *EdifactProcessingSettings `json:"processingSettings,omitempty"`
// EnvelopeOverrides - The EDIFACT envelope override settings.
EnvelopeOverrides *[]EdifactEnvelopeOverride `json:"envelopeOverrides,omitempty"`
// MessageFilterList - The EDIFACT message filter list.
MessageFilterList *[]EdifactMessageIdentifier `json:"messageFilterList,omitempty"`
// SchemaReferences - The EDIFACT schema references.
SchemaReferences *[]EdifactSchemaReference `json:"schemaReferences,omitempty"`
// ValidationOverrides - The EDIFACT validation override settings.
ValidationOverrides *[]EdifactValidationOverride `json:"validationOverrides,omitempty"`
// EdifactDelimiterOverrides - The EDIFACT delimiter override settings.
EdifactDelimiterOverrides *[]EdifactDelimiterOverride `json:"edifactDelimiterOverrides,omitempty"`
}
// EdifactSchemaReference ...
type EdifactSchemaReference struct {
// MessageID - The message id.
MessageID *string `json:"messageId,omitempty"`
// MessageVersion - The message version.
MessageVersion *string `json:"messageVersion,omitempty"`
// MessageRelease - The message release version.
MessageRelease *string `json:"messageRelease,omitempty"`
// SenderApplicationID - The sender application id.
SenderApplicationID *string `json:"senderApplicationId,omitempty"`
// SenderApplicationQualifier - The sender application qualifier.
SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"`
// AssociationAssignedCode - The association assigned code.
AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"`
// SchemaName - The schema name.
SchemaName *string `json:"schemaName,omitempty"`
}
// EdifactValidationOverride ...
type EdifactValidationOverride struct {
// MessageID - The message id on which the validation settings has to be applied.
MessageID *string `json:"messageId,omitempty"`
// EnforceCharacterSet - The value indicating whether to validate character Set.
EnforceCharacterSet *bool `json:"enforceCharacterSet,omitempty"`
// ValidateEDITypes - The value indicating whether to validate EDI types.
ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
// ValidateXSDTypes - The value indicating whether to validate XSD types.
ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
}
// EdifactValidationSettings ...
type EdifactValidationSettings struct {
// ValidateCharacterSet - The value indicating whether to validate character set in the message.
ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"`
// CheckDuplicateInterchangeControlNumber - The value indicating whether to check for duplicate interchange control number.
CheckDuplicateInterchangeControlNumber *bool `json:"checkDuplicateInterchangeControlNumber,omitempty"`
// InterchangeControlNumberValidityDays - The validity period of interchange control number.
InterchangeControlNumberValidityDays *int32 `json:"interchangeControlNumberValidityDays,omitempty"`
// CheckDuplicateGroupControlNumber - The value indicating whether to check for duplicate group control number.
CheckDuplicateGroupControlNumber *bool `json:"checkDuplicateGroupControlNumber,omitempty"`
// CheckDuplicateTransactionSetControlNumber - The value indicating whether to check for duplicate transaction set control number.
CheckDuplicateTransactionSetControlNumber *bool `json:"checkDuplicateTransactionSetControlNumber,omitempty"`
// ValidateEDITypes - The value indicating whether to Whether to validate EDI types.
ValidateEDITypes *bool `json:"validateEDITypes,omitempty"`
// ValidateXSDTypes - The value indicating whether to Whether to validate XSD types.
ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"`
// AllowLeadingAndTrailingSpacesAndZeroes - The value indicating whether to allow leading and trailing spaces and zeroes.
AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"`
// TrimLeadingAndTrailingSpacesAndZeroes - The value indicating whether to trim leading and trailing spaces and zeroes.
TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"`
// TrailingSeparatorPolicy - The trailing separator policy. Possible values include: 'TrailingSeparatorPolicyNotSpecified', 'TrailingSeparatorPolicyNotAllowed', 'TrailingSeparatorPolicyOptional', 'TrailingSeparatorPolicyMandatory'
TrailingSeparatorPolicy TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"`
}
// IntegrationAccount ...
type IntegrationAccount struct {
autorest.Response `json:"-"`
// Properties - The integration account properties.
Properties interface{} `json:"properties,omitempty"`
// Sku - The sku.
Sku *IntegrationAccountSku `json:"sku,omitempty"`
// ID - The resource id.
ID *string `json:"id,omitempty"`
// Name - The resource name.
Name *string `json:"name,omitempty"`
// Type - The resource type.
Type *string `json:"type,omitempty"`
// Location - The resource location.
Location *string `json:"location,omitempty"`
// Tags - The resource tags.
Tags map[string]*string `json:"tags"`
}
// MarshalJSON is the custom marshaler for IntegrationAccount.
func (ia IntegrationAccount) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
objectMap["properties"] = ia.Properties
if ia.Sku != nil {
objectMap["sku"] = ia.Sku
}
if ia.ID != nil {
objectMap["id"] = ia.ID
}
if ia.Name != nil {
objectMap["name"] = ia.Name
}
if ia.Type != nil {
objectMap["type"] = ia.Type
}
if ia.Location != nil {
objectMap["location"] = ia.Location
}
if ia.Tags != nil {
objectMap["tags"] = ia.Tags
}
return json.Marshal(objectMap)
}
// IntegrationAccountAgreement ...
type IntegrationAccountAgreement struct {
autorest.Response `json:"-"`
// IntegrationAccountAgreementProperties - The integration account agreement properties.
*IntegrationAccountAgreementProperties `json:"properties,omitempty"`
// ID - The resource id.
ID *string `json:"id,omitempty"`
// Name - The resource name.
Name *string `json:"name,omitempty"`
// Type - The resource type.
Type *string `json:"type,omitempty"`
// Location - The resource location.
Location *string `json:"location,omitempty"`
// Tags - The resource tags.
Tags map[string]*string `json:"tags"`
}
// MarshalJSON is the custom marshaler for IntegrationAccountAgreement.
func (iaa IntegrationAccountAgreement) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if iaa.IntegrationAccountAgreementProperties != nil {
objectMap["properties"] = iaa.IntegrationAccountAgreementProperties
}
if iaa.ID != nil {
objectMap["id"] = iaa.ID
}
if iaa.Name != nil {
objectMap["name"] = iaa.Name
}
if iaa.Type != nil {
objectMap["type"] = iaa.Type
}
if iaa.Location != nil {
objectMap["location"] = iaa.Location
}
if iaa.Tags != nil {
objectMap["tags"] = iaa.Tags
}
return json.Marshal(objectMap)
}
// UnmarshalJSON is the custom unmarshaler for IntegrationAccountAgreement struct.
func (iaa *IntegrationAccountAgreement) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "properties":
if v != nil {
var integrationAccountAgreementProperties IntegrationAccountAgreementProperties
err = json.Unmarshal(*v, &integrationAccountAgreementProperties)
if err != nil {
return err
}
iaa.IntegrationAccountAgreementProperties = &integrationAccountAgreementProperties
}
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
return err
}
iaa.ID = &ID
}
case "name":
if v != nil {
var name string
err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
iaa.Name = &name
}
case "type":
if v != nil {
var typeVar string
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
iaa.Type = &typeVar
}
case "location":
if v != nil {
var location string
err = json.Unmarshal(*v, &location)
if err != nil {
return err
}
iaa.Location = &location
}
case "tags":