-
Notifications
You must be signed in to change notification settings - Fork 815
/
models.go
6126 lines (5588 loc) · 250 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 (
"context"
"encoding/json"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
// The package's fully qualified name.
const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/logic/mgmt/2018-07-01-preview/logic"
// 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}
}
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
const (
// Friday ...
Friday DayOfWeek = "Friday"
// Monday ...
Monday DayOfWeek = "Monday"
// Saturday ...
Saturday DayOfWeek = "Saturday"
// Sunday ...
Sunday DayOfWeek = "Sunday"
// Thursday ...
Thursday DayOfWeek = "Thursday"
// Tuesday ...
Tuesday DayOfWeek = "Tuesday"
// Wednesday ...
Wednesday DayOfWeek = "Wednesday"
)
// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
func PossibleDayOfWeekValues() []DayOfWeek {
return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
}
// DaysOfWeek enumerates the values for days of week.
type DaysOfWeek string
const (
// DaysOfWeekFriday ...
DaysOfWeekFriday DaysOfWeek = "Friday"
// DaysOfWeekMonday ...
DaysOfWeekMonday DaysOfWeek = "Monday"
// DaysOfWeekSaturday ...
DaysOfWeekSaturday DaysOfWeek = "Saturday"
// DaysOfWeekSunday ...
DaysOfWeekSunday DaysOfWeek = "Sunday"
// DaysOfWeekThursday ...
DaysOfWeekThursday DaysOfWeek = "Thursday"
// DaysOfWeekTuesday ...
DaysOfWeekTuesday DaysOfWeek = "Tuesday"
// DaysOfWeekWednesday ...
DaysOfWeekWednesday DaysOfWeek = "Wednesday"
)
// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type.
func PossibleDaysOfWeekValues() []DaysOfWeek {
return []DaysOfWeek{DaysOfWeekFriday, DaysOfWeekMonday, DaysOfWeekSaturday, DaysOfWeekSunday, DaysOfWeekThursday, DaysOfWeekTuesday, DaysOfWeekWednesday}
}
// 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}
}
// EventLevel enumerates the values for event level.
type EventLevel string
const (
// Critical ...
Critical EventLevel = "Critical"
// Error ...
Error EventLevel = "Error"
// Informational ...
Informational EventLevel = "Informational"
// LogAlways ...
LogAlways EventLevel = "LogAlways"
// Verbose ...
Verbose EventLevel = "Verbose"
// Warning ...
Warning EventLevel = "Warning"
)
// PossibleEventLevelValues returns an array of possible values for the EventLevel const type.
func PossibleEventLevelValues() []EventLevel {
return []EventLevel{Critical, Error, Informational, LogAlways, Verbose, Warning}
}
// HashingAlgorithm enumerates the values for hashing algorithm.
type HashingAlgorithm string
const (
// HashingAlgorithmMD5 ...
HashingAlgorithmMD5 HashingAlgorithm = "MD5"
// HashingAlgorithmNone ...
HashingAlgorithmNone HashingAlgorithm = "None"
// HashingAlgorithmNotSpecified ...
HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified"
// HashingAlgorithmSHA1 ...
HashingAlgorithmSHA1 HashingAlgorithm = "SHA1"
// 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{HashingAlgorithmMD5, HashingAlgorithmNone, HashingAlgorithmNotSpecified, HashingAlgorithmSHA1, HashingAlgorithmSHA2256, HashingAlgorithmSHA2384, HashingAlgorithmSHA2512}
}
// IntegrationAccountSkuName enumerates the values for integration account sku name.
type IntegrationAccountSkuName string
const (
// IntegrationAccountSkuNameBasic ...
IntegrationAccountSkuNameBasic IntegrationAccountSkuName = "Basic"
// IntegrationAccountSkuNameFree ...
IntegrationAccountSkuNameFree IntegrationAccountSkuName = "Free"
// IntegrationAccountSkuNameNotSpecified ...
IntegrationAccountSkuNameNotSpecified IntegrationAccountSkuName = "NotSpecified"
// IntegrationAccountSkuNameStandard ...
IntegrationAccountSkuNameStandard IntegrationAccountSkuName = "Standard"
)
// PossibleIntegrationAccountSkuNameValues returns an array of possible values for the IntegrationAccountSkuName const type.
func PossibleIntegrationAccountSkuNameValues() []IntegrationAccountSkuName {
return []IntegrationAccountSkuName{IntegrationAccountSkuNameBasic, IntegrationAccountSkuNameFree, IntegrationAccountSkuNameNotSpecified, IntegrationAccountSkuNameStandard}
}
// KeyType enumerates the values for key type.
type KeyType string
const (
// KeyTypeNotSpecified ...
KeyTypeNotSpecified KeyType = "NotSpecified"
// KeyTypePrimary ...
KeyTypePrimary KeyType = "Primary"
// KeyTypeSecondary ...
KeyTypeSecondary KeyType = "Secondary"
)
// PossibleKeyTypeValues returns an array of possible values for the KeyType const type.
func PossibleKeyTypeValues() []KeyType {
return []KeyType{KeyTypeNotSpecified, KeyTypePrimary, KeyTypeSecondary}
}
// MapType enumerates the values for map type.
type MapType string
const (
// MapTypeLiquid ...
MapTypeLiquid MapType = "Liquid"
// MapTypeNotSpecified ...
MapTypeNotSpecified MapType = "NotSpecified"
// MapTypeXslt ...
MapTypeXslt MapType = "Xslt"
// MapTypeXslt20 ...
MapTypeXslt20 MapType = "Xslt20"
// MapTypeXslt30 ...
MapTypeXslt30 MapType = "Xslt30"
)
// PossibleMapTypeValues returns an array of possible values for the MapType const type.
func PossibleMapTypeValues() []MapType {
return []MapType{MapTypeLiquid, MapTypeNotSpecified, MapTypeXslt, MapTypeXslt20, MapTypeXslt30}
}
// 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}
}
// ParameterType enumerates the values for parameter type.
type ParameterType string
const (
// ParameterTypeArray ...
ParameterTypeArray ParameterType = "Array"
// ParameterTypeBool ...
ParameterTypeBool ParameterType = "Bool"
// ParameterTypeFloat ...
ParameterTypeFloat ParameterType = "Float"
// ParameterTypeInt ...
ParameterTypeInt ParameterType = "Int"
// ParameterTypeNotSpecified ...
ParameterTypeNotSpecified ParameterType = "NotSpecified"
// ParameterTypeObject ...
ParameterTypeObject ParameterType = "Object"
// ParameterTypeSecureObject ...
ParameterTypeSecureObject ParameterType = "SecureObject"
// ParameterTypeSecureString ...
ParameterTypeSecureString ParameterType = "SecureString"
// ParameterTypeString ...
ParameterTypeString ParameterType = "String"
)
// PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.
func PossibleParameterTypeValues() []ParameterType {
return []ParameterType{ParameterTypeArray, ParameterTypeBool, ParameterTypeFloat, ParameterTypeInt, ParameterTypeNotSpecified, ParameterTypeObject, ParameterTypeSecureObject, ParameterTypeSecureString, ParameterTypeString}
}
// 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}
}
// RecurrenceFrequency enumerates the values for recurrence frequency.
type RecurrenceFrequency string
const (
// RecurrenceFrequencyDay ...
RecurrenceFrequencyDay RecurrenceFrequency = "Day"
// RecurrenceFrequencyHour ...
RecurrenceFrequencyHour RecurrenceFrequency = "Hour"
// RecurrenceFrequencyMinute ...
RecurrenceFrequencyMinute RecurrenceFrequency = "Minute"
// RecurrenceFrequencyMonth ...
RecurrenceFrequencyMonth RecurrenceFrequency = "Month"
// RecurrenceFrequencyNotSpecified ...
RecurrenceFrequencyNotSpecified RecurrenceFrequency = "NotSpecified"
// RecurrenceFrequencySecond ...
RecurrenceFrequencySecond RecurrenceFrequency = "Second"
// RecurrenceFrequencyWeek ...
RecurrenceFrequencyWeek RecurrenceFrequency = "Week"
// RecurrenceFrequencyYear ...
RecurrenceFrequencyYear RecurrenceFrequency = "Year"
)
// PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type.
func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency {
return []RecurrenceFrequency{RecurrenceFrequencyDay, RecurrenceFrequencyHour, RecurrenceFrequencyMinute, RecurrenceFrequencyMonth, RecurrenceFrequencyNotSpecified, RecurrenceFrequencySecond, RecurrenceFrequencyWeek, RecurrenceFrequencyYear}
}
// 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}
}
// SigningAlgorithm enumerates the values for signing algorithm.
type SigningAlgorithm string
const (
// SigningAlgorithmDefault ...
SigningAlgorithmDefault SigningAlgorithm = "Default"
// SigningAlgorithmNotSpecified ...
SigningAlgorithmNotSpecified SigningAlgorithm = "NotSpecified"
// SigningAlgorithmSHA1 ...
SigningAlgorithmSHA1 SigningAlgorithm = "SHA1"
// SigningAlgorithmSHA2256 ...
SigningAlgorithmSHA2256 SigningAlgorithm = "SHA2256"
// SigningAlgorithmSHA2384 ...
SigningAlgorithmSHA2384 SigningAlgorithm = "SHA2384"
// SigningAlgorithmSHA2512 ...
SigningAlgorithmSHA2512 SigningAlgorithm = "SHA2512"
)
// PossibleSigningAlgorithmValues returns an array of possible values for the SigningAlgorithm const type.
func PossibleSigningAlgorithmValues() []SigningAlgorithm {
return []SigningAlgorithm{SigningAlgorithmDefault, SigningAlgorithmNotSpecified, SigningAlgorithmSHA1, SigningAlgorithmSHA2256, SigningAlgorithmSHA2384, SigningAlgorithmSHA2512}
}
// 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}
}
// TrackEventsOperationOptions enumerates the values for track events operation options.
type TrackEventsOperationOptions string
const (
// DisableSourceInfoEnrich ...
DisableSourceInfoEnrich TrackEventsOperationOptions = "DisableSourceInfoEnrich"
// None ...
None TrackEventsOperationOptions = "None"
)
// PossibleTrackEventsOperationOptionsValues returns an array of possible values for the TrackEventsOperationOptions const type.
func PossibleTrackEventsOperationOptionsValues() []TrackEventsOperationOptions {
return []TrackEventsOperationOptions{DisableSourceInfoEnrich, None}
}
// TrackingRecordType enumerates the values for tracking record type.
type TrackingRecordType string
const (
// TrackingRecordTypeAS2MDN ...
TrackingRecordTypeAS2MDN TrackingRecordType = "AS2MDN"
// TrackingRecordTypeAS2Message ...
TrackingRecordTypeAS2Message TrackingRecordType = "AS2Message"
// TrackingRecordTypeCustom ...
TrackingRecordTypeCustom TrackingRecordType = "Custom"
// TrackingRecordTypeEdifactFunctionalGroup ...
TrackingRecordTypeEdifactFunctionalGroup TrackingRecordType = "EdifactFunctionalGroup"
// TrackingRecordTypeEdifactFunctionalGroupAcknowledgment ...
TrackingRecordTypeEdifactFunctionalGroupAcknowledgment TrackingRecordType = "EdifactFunctionalGroupAcknowledgment"
// TrackingRecordTypeEdifactInterchange ...
TrackingRecordTypeEdifactInterchange TrackingRecordType = "EdifactInterchange"
// TrackingRecordTypeEdifactInterchangeAcknowledgment ...
TrackingRecordTypeEdifactInterchangeAcknowledgment TrackingRecordType = "EdifactInterchangeAcknowledgment"
// TrackingRecordTypeEdifactTransactionSet ...
TrackingRecordTypeEdifactTransactionSet TrackingRecordType = "EdifactTransactionSet"
// TrackingRecordTypeEdifactTransactionSetAcknowledgment ...
TrackingRecordTypeEdifactTransactionSetAcknowledgment TrackingRecordType = "EdifactTransactionSetAcknowledgment"
// TrackingRecordTypeNotSpecified ...
TrackingRecordTypeNotSpecified TrackingRecordType = "NotSpecified"
// TrackingRecordTypeX12FunctionalGroup ...
TrackingRecordTypeX12FunctionalGroup TrackingRecordType = "X12FunctionalGroup"
// TrackingRecordTypeX12FunctionalGroupAcknowledgment ...
TrackingRecordTypeX12FunctionalGroupAcknowledgment TrackingRecordType = "X12FunctionalGroupAcknowledgment"
// TrackingRecordTypeX12Interchange ...
TrackingRecordTypeX12Interchange TrackingRecordType = "X12Interchange"
// TrackingRecordTypeX12InterchangeAcknowledgment ...
TrackingRecordTypeX12InterchangeAcknowledgment TrackingRecordType = "X12InterchangeAcknowledgment"
// TrackingRecordTypeX12TransactionSet ...
TrackingRecordTypeX12TransactionSet TrackingRecordType = "X12TransactionSet"
// TrackingRecordTypeX12TransactionSetAcknowledgment ...
TrackingRecordTypeX12TransactionSetAcknowledgment TrackingRecordType = "X12TransactionSetAcknowledgment"
)
// PossibleTrackingRecordTypeValues returns an array of possible values for the TrackingRecordType const type.
func PossibleTrackingRecordTypeValues() []TrackingRecordType {
return []TrackingRecordType{TrackingRecordTypeAS2MDN, TrackingRecordTypeAS2Message, TrackingRecordTypeCustom, TrackingRecordTypeEdifactFunctionalGroup, TrackingRecordTypeEdifactFunctionalGroupAcknowledgment, TrackingRecordTypeEdifactInterchange, TrackingRecordTypeEdifactInterchangeAcknowledgment, TrackingRecordTypeEdifactTransactionSet, TrackingRecordTypeEdifactTransactionSetAcknowledgment, TrackingRecordTypeNotSpecified, TrackingRecordTypeX12FunctionalGroup, TrackingRecordTypeX12FunctionalGroupAcknowledgment, TrackingRecordTypeX12Interchange, TrackingRecordTypeX12InterchangeAcknowledgment, TrackingRecordTypeX12TransactionSet, TrackingRecordTypeX12TransactionSetAcknowledgment}
}
// 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}
}
// WorkflowProvisioningState enumerates the values for workflow provisioning state.
type WorkflowProvisioningState string
const (
// WorkflowProvisioningStateAccepted ...
WorkflowProvisioningStateAccepted WorkflowProvisioningState = "Accepted"
// WorkflowProvisioningStateCanceled ...
WorkflowProvisioningStateCanceled WorkflowProvisioningState = "Canceled"
// WorkflowProvisioningStateCompleted ...
WorkflowProvisioningStateCompleted WorkflowProvisioningState = "Completed"
// WorkflowProvisioningStateCreated ...
WorkflowProvisioningStateCreated WorkflowProvisioningState = "Created"
// WorkflowProvisioningStateCreating ...
WorkflowProvisioningStateCreating WorkflowProvisioningState = "Creating"
// WorkflowProvisioningStateDeleted ...
WorkflowProvisioningStateDeleted WorkflowProvisioningState = "Deleted"
// WorkflowProvisioningStateDeleting ...
WorkflowProvisioningStateDeleting WorkflowProvisioningState = "Deleting"
// WorkflowProvisioningStateFailed ...
WorkflowProvisioningStateFailed WorkflowProvisioningState = "Failed"
// WorkflowProvisioningStateMoving ...
WorkflowProvisioningStateMoving WorkflowProvisioningState = "Moving"
// WorkflowProvisioningStateNotSpecified ...
WorkflowProvisioningStateNotSpecified WorkflowProvisioningState = "NotSpecified"
// WorkflowProvisioningStateReady ...
WorkflowProvisioningStateReady WorkflowProvisioningState = "Ready"
// WorkflowProvisioningStateRegistered ...
WorkflowProvisioningStateRegistered WorkflowProvisioningState = "Registered"
// WorkflowProvisioningStateRegistering ...
WorkflowProvisioningStateRegistering WorkflowProvisioningState = "Registering"
// WorkflowProvisioningStateRunning ...
WorkflowProvisioningStateRunning WorkflowProvisioningState = "Running"
// WorkflowProvisioningStateSucceeded ...
WorkflowProvisioningStateSucceeded WorkflowProvisioningState = "Succeeded"
// WorkflowProvisioningStateUnregistered ...
WorkflowProvisioningStateUnregistered WorkflowProvisioningState = "Unregistered"
// WorkflowProvisioningStateUnregistering ...
WorkflowProvisioningStateUnregistering WorkflowProvisioningState = "Unregistering"
// WorkflowProvisioningStateUpdating ...
WorkflowProvisioningStateUpdating WorkflowProvisioningState = "Updating"
)
// PossibleWorkflowProvisioningStateValues returns an array of possible values for the WorkflowProvisioningState const type.
func PossibleWorkflowProvisioningStateValues() []WorkflowProvisioningState {
return []WorkflowProvisioningState{WorkflowProvisioningStateAccepted, WorkflowProvisioningStateCanceled, WorkflowProvisioningStateCompleted, WorkflowProvisioningStateCreated, WorkflowProvisioningStateCreating, WorkflowProvisioningStateDeleted, WorkflowProvisioningStateDeleting, WorkflowProvisioningStateFailed, WorkflowProvisioningStateMoving, WorkflowProvisioningStateNotSpecified, WorkflowProvisioningStateReady, WorkflowProvisioningStateRegistered, WorkflowProvisioningStateRegistering, WorkflowProvisioningStateRunning, WorkflowProvisioningStateSucceeded, WorkflowProvisioningStateUnregistered, WorkflowProvisioningStateUnregistering, WorkflowProvisioningStateUpdating}
}
// WorkflowState enumerates the values for workflow state.
type WorkflowState string
const (
// WorkflowStateCompleted ...
WorkflowStateCompleted WorkflowState = "Completed"
// WorkflowStateDeleted ...
WorkflowStateDeleted WorkflowState = "Deleted"
// WorkflowStateDisabled ...
WorkflowStateDisabled WorkflowState = "Disabled"
// WorkflowStateEnabled ...
WorkflowStateEnabled WorkflowState = "Enabled"
// WorkflowStateNotSpecified ...
WorkflowStateNotSpecified WorkflowState = "NotSpecified"
// WorkflowStateSuspended ...
WorkflowStateSuspended WorkflowState = "Suspended"
)
// PossibleWorkflowStateValues returns an array of possible values for the WorkflowState const type.
func PossibleWorkflowStateValues() []WorkflowState {
return []WorkflowState{WorkflowStateCompleted, WorkflowStateDeleted, WorkflowStateDisabled, WorkflowStateEnabled, WorkflowStateNotSpecified, WorkflowStateSuspended}
}
// WorkflowStatus enumerates the values for workflow status.
type WorkflowStatus string
const (
// WorkflowStatusAborted ...
WorkflowStatusAborted WorkflowStatus = "Aborted"
// WorkflowStatusCancelled ...
WorkflowStatusCancelled WorkflowStatus = "Cancelled"
// WorkflowStatusFailed ...
WorkflowStatusFailed WorkflowStatus = "Failed"
// WorkflowStatusFaulted ...
WorkflowStatusFaulted WorkflowStatus = "Faulted"
// WorkflowStatusIgnored ...
WorkflowStatusIgnored WorkflowStatus = "Ignored"
// WorkflowStatusNotSpecified ...
WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
// WorkflowStatusPaused ...
WorkflowStatusPaused WorkflowStatus = "Paused"
// WorkflowStatusRunning ...
WorkflowStatusRunning WorkflowStatus = "Running"
// WorkflowStatusSkipped ...
WorkflowStatusSkipped WorkflowStatus = "Skipped"
// WorkflowStatusSucceeded ...
WorkflowStatusSucceeded WorkflowStatus = "Succeeded"
// WorkflowStatusSuspended ...
WorkflowStatusSuspended WorkflowStatus = "Suspended"
// WorkflowStatusTimedOut ...
WorkflowStatusTimedOut WorkflowStatus = "TimedOut"
// WorkflowStatusWaiting ...
WorkflowStatusWaiting WorkflowStatus = "Waiting"
)
// PossibleWorkflowStatusValues returns an array of possible values for the WorkflowStatus const type.
func PossibleWorkflowStatusValues() []WorkflowStatus {
return []WorkflowStatus{WorkflowStatusAborted, WorkflowStatusCancelled, WorkflowStatusFailed, WorkflowStatusFaulted, WorkflowStatusIgnored, WorkflowStatusNotSpecified, WorkflowStatusPaused, WorkflowStatusRunning, WorkflowStatusSkipped, WorkflowStatusSucceeded, WorkflowStatusSuspended, WorkflowStatusTimedOut, WorkflowStatusWaiting}
}
// WorkflowTriggerProvisioningState enumerates the values for workflow trigger provisioning state.
type WorkflowTriggerProvisioningState string
const (
// WorkflowTriggerProvisioningStateAccepted ...
WorkflowTriggerProvisioningStateAccepted WorkflowTriggerProvisioningState = "Accepted"
// WorkflowTriggerProvisioningStateCanceled ...
WorkflowTriggerProvisioningStateCanceled WorkflowTriggerProvisioningState = "Canceled"
// WorkflowTriggerProvisioningStateCompleted ...
WorkflowTriggerProvisioningStateCompleted WorkflowTriggerProvisioningState = "Completed"
// WorkflowTriggerProvisioningStateCreated ...
WorkflowTriggerProvisioningStateCreated WorkflowTriggerProvisioningState = "Created"
// WorkflowTriggerProvisioningStateCreating ...
WorkflowTriggerProvisioningStateCreating WorkflowTriggerProvisioningState = "Creating"
// WorkflowTriggerProvisioningStateDeleted ...
WorkflowTriggerProvisioningStateDeleted WorkflowTriggerProvisioningState = "Deleted"
// WorkflowTriggerProvisioningStateDeleting ...
WorkflowTriggerProvisioningStateDeleting WorkflowTriggerProvisioningState = "Deleting"
// WorkflowTriggerProvisioningStateFailed ...
WorkflowTriggerProvisioningStateFailed WorkflowTriggerProvisioningState = "Failed"
// WorkflowTriggerProvisioningStateMoving ...
WorkflowTriggerProvisioningStateMoving WorkflowTriggerProvisioningState = "Moving"
// WorkflowTriggerProvisioningStateNotSpecified ...
WorkflowTriggerProvisioningStateNotSpecified WorkflowTriggerProvisioningState = "NotSpecified"
// WorkflowTriggerProvisioningStateReady ...
WorkflowTriggerProvisioningStateReady WorkflowTriggerProvisioningState = "Ready"
// WorkflowTriggerProvisioningStateRegistered ...
WorkflowTriggerProvisioningStateRegistered WorkflowTriggerProvisioningState = "Registered"
// WorkflowTriggerProvisioningStateRegistering ...
WorkflowTriggerProvisioningStateRegistering WorkflowTriggerProvisioningState = "Registering"
// WorkflowTriggerProvisioningStateRunning ...
WorkflowTriggerProvisioningStateRunning WorkflowTriggerProvisioningState = "Running"
// WorkflowTriggerProvisioningStateSucceeded ...
WorkflowTriggerProvisioningStateSucceeded WorkflowTriggerProvisioningState = "Succeeded"
// WorkflowTriggerProvisioningStateUnregistered ...
WorkflowTriggerProvisioningStateUnregistered WorkflowTriggerProvisioningState = "Unregistered"
// WorkflowTriggerProvisioningStateUnregistering ...
WorkflowTriggerProvisioningStateUnregistering WorkflowTriggerProvisioningState = "Unregistering"
// WorkflowTriggerProvisioningStateUpdating ...
WorkflowTriggerProvisioningStateUpdating WorkflowTriggerProvisioningState = "Updating"
)
// PossibleWorkflowTriggerProvisioningStateValues returns an array of possible values for the WorkflowTriggerProvisioningState const type.
func PossibleWorkflowTriggerProvisioningStateValues() []WorkflowTriggerProvisioningState {
return []WorkflowTriggerProvisioningState{WorkflowTriggerProvisioningStateAccepted, WorkflowTriggerProvisioningStateCanceled, WorkflowTriggerProvisioningStateCompleted, WorkflowTriggerProvisioningStateCreated, WorkflowTriggerProvisioningStateCreating, WorkflowTriggerProvisioningStateDeleted, WorkflowTriggerProvisioningStateDeleting, WorkflowTriggerProvisioningStateFailed, WorkflowTriggerProvisioningStateMoving, WorkflowTriggerProvisioningStateNotSpecified, WorkflowTriggerProvisioningStateReady, WorkflowTriggerProvisioningStateRegistered, WorkflowTriggerProvisioningStateRegistering, WorkflowTriggerProvisioningStateRunning, WorkflowTriggerProvisioningStateSucceeded, WorkflowTriggerProvisioningStateUnregistered, WorkflowTriggerProvisioningStateUnregistering, WorkflowTriggerProvisioningStateUpdating}
}
// 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 the integration account agreement content.
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"`
}
// ArtifactContentPropertiesDefinition the artifact content properties definition.
type ArtifactContentPropertiesDefinition struct {
Content interface{} `json:"content,omitempty"`
// ContentType - The content type.
ContentType *string `json:"contentType,omitempty"`
// ContentLink - The content link.
ContentLink *ContentLink `json:"contentLink,omitempty"`
// CreatedTime - The artifact creation time.
CreatedTime *date.Time `json:"createdTime,omitempty"`
// ChangedTime - The artifact changed time.
ChangedTime *date.Time `json:"changedTime,omitempty"`
Metadata interface{} `json:"metadata,omitempty"`
}
// ArtifactProperties the artifact properties definition.
type ArtifactProperties struct {
// CreatedTime - The artifact creation time.
CreatedTime *date.Time `json:"createdTime,omitempty"`
// ChangedTime - The artifact changed time.
ChangedTime *date.Time `json:"changedTime,omitempty"`
Metadata interface{} `json:"metadata,omitempty"`
}
// AS2AcknowledgementConnectionSettings the AS2 agreement acknowledgement connection settings.
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 the integration account AS2 agreement content.
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 the AS2 agreement envelope settings.
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 the AS2 agreement error settings.
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 the AS2 agreement mdn settings.
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', 'HashingAlgorithmMD5', 'HashingAlgorithmSHA1', 'HashingAlgorithmSHA2256', 'HashingAlgorithmSHA2384', 'HashingAlgorithmSHA2512'
MicHashingAlgorithm HashingAlgorithm `json:"micHashingAlgorithm,omitempty"`
}
// AS2MessageConnectionSettings the AS2 agreement message connection settings.
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 the integration account AS2 one-way agreement.
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 the AS2 agreement protocol settings.
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 the AS2 agreement security settings.
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"`
// Sha2AlgorithmFormat - The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize.
Sha2AlgorithmFormat *string `json:"sha2AlgorithmFormat,omitempty"`
}
// AS2ValidationSettings the AS2 agreement validation settings.
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"`
// SigningAlgorithm - The signing algorithm. Possible values include: 'SigningAlgorithmNotSpecified', 'SigningAlgorithmDefault', 'SigningAlgorithmSHA1', 'SigningAlgorithmSHA2256', 'SigningAlgorithmSHA2384', 'SigningAlgorithmSHA2512'
SigningAlgorithm SigningAlgorithm `json:"signingAlgorithm,omitempty"`
}
// AssemblyCollection a collection of assembly definitions.
type AssemblyCollection struct {
autorest.Response `json:"-"`
Value *[]AssemblyDefinition `json:"value,omitempty"`
}
// AssemblyDefinition the assembly definition.
type AssemblyDefinition struct {
autorest.Response `json:"-"`
// Properties - The assembly properties.
Properties *AssemblyProperties `json:"properties,omitempty"`
// ID - READ-ONLY; The resource id.
ID *string `json:"id,omitempty"`
// Name - READ-ONLY; Gets the resource name.
Name *string `json:"name,omitempty"`
// Type - READ-ONLY; Gets 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 AssemblyDefinition.
func (ad AssemblyDefinition) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if ad.Properties != nil {
objectMap["properties"] = ad.Properties
}
if ad.Location != nil {
objectMap["location"] = ad.Location
}
if ad.Tags != nil {
objectMap["tags"] = ad.Tags
}
return json.Marshal(objectMap)
}
// AssemblyProperties the assembly properties definition.
type AssemblyProperties struct {
// AssemblyName - The assembly name.
AssemblyName *string `json:"assemblyName,omitempty"`
// AssemblyVersion - The assembly version.
AssemblyVersion *string `json:"assemblyVersion,omitempty"`
// AssemblyCulture - The assembly culture.
AssemblyCulture *string `json:"assemblyCulture,omitempty"`
// AssemblyPublicKeyToken - The assembly public key token.
AssemblyPublicKeyToken *string `json:"assemblyPublicKeyToken,omitempty"`
Content interface{} `json:"content,omitempty"`