forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
5852 lines (5371 loc) · 229 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 Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// 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"
// 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"`
// 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"`
}
// AzureResourceErrorInfo the azure resource error info.
type AzureResourceErrorInfo struct {
// Message - The error message.
Message *string `json:"message,omitempty"`
// Details - The error details.
Details *[]AzureResourceErrorInfo `json:"details,omitempty"`
// Code - The error code.
Code *string `json:"code,omitempty"`
}
// B2BPartnerContent the B2B partner content.
type B2BPartnerContent struct {
// BusinessIdentities - The list of partner business identities.
BusinessIdentities *[]BusinessIdentity `json:"businessIdentities,omitempty"`
}
// BatchConfiguration the batch configuration resource definition.
type BatchConfiguration struct {
autorest.Response `json:"-"`
// Properties - The batch configuration properties.
Properties *BatchConfigurationProperties `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 BatchConfiguration.
func (bc BatchConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if bc.Properties != nil {
objectMap["properties"] = bc.Properties
}
if bc.Location != nil {
objectMap["location"] = bc.Location
}
if bc.Tags != nil {
objectMap["tags"] = bc.Tags
}
return json.Marshal(objectMap)
}
// BatchConfigurationCollection a collection of batch configurations.
type BatchConfigurationCollection struct {
autorest.Response `json:"-"`
Value *[]BatchConfiguration `json:"value,omitempty"`
}
// BatchConfigurationProperties the batch configuration properties definition.
type BatchConfigurationProperties struct {
// BatchGroupName - The name of the batch group.
BatchGroupName *string `json:"batchGroupName,omitempty"`
// ReleaseCriteria - The batch release criteria.
ReleaseCriteria *BatchReleaseCriteria `json:"releaseCriteria,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"`
}
// BatchReleaseCriteria the batch release criteria.
type BatchReleaseCriteria struct {
// MessageCount - The message count.
MessageCount *int32 `json:"messageCount,omitempty"`
// BatchSize - The batch size in bytes.
BatchSize *int32 `json:"batchSize,omitempty"`
// Recurrence - The recurrence.
Recurrence *WorkflowTriggerRecurrence `json:"recurrence,omitempty"`
}
// BusinessIdentity the integration account partner's business identity.
type BusinessIdentity struct {
// Qualifier - The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
Qualifier *string `json:"qualifier,omitempty"`
// Value - The user defined business identity value.
Value *string `json:"value,omitempty"`
}
// CallbackURL the callback url.
type CallbackURL struct {
autorest.Response `json:"-"`
// Value - The URL value.
Value *string `json:"value,omitempty"`
}
// ContentHash the content hash.
type ContentHash struct {
// Algorithm - The algorithm of the content hash.
Algorithm *string `json:"algorithm,omitempty"`
// Value - The value of the content hash.
Value *string `json:"value,omitempty"`
}
// ContentLink the content link.
type ContentLink struct {
// URI - The content link URI.
URI *string `json:"uri,omitempty"`
// ContentVersion - The content version.
ContentVersion *string `json:"contentVersion,omitempty"`
// ContentSize - The content size.
ContentSize *int64 `json:"contentSize,omitempty"`
// ContentHash - The content hash.
ContentHash *ContentHash `json:"contentHash,omitempty"`
// Metadata - The metadata.
Metadata interface{} `json:"metadata,omitempty"`
}
// Correlation the correlation property.
type Correlation struct {
// ClientTrackingID - The client tracking id.
ClientTrackingID *string `json:"clientTrackingId,omitempty"`
}
// EdifactAcknowledgementSettings the Edifact agreement acknowledgement settings.
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 the Edifact agreement content.
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 the Edifact delimiter override settings.
type EdifactDelimiterOverride struct {
// MessageID - The message id.
MessageID *string `json:"messageId,omitempty"`
// MessageVersion - The message version.
MessageVersion *string `json:"messageVersion,omitempty"`
// MessageRelease - The message release.
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 the Edifact envelope override settings.
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 the Edifact agreement envelope settings.
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 the Edifact agreement framing settings.
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 the Edifact message filter for odata query.
type EdifactMessageFilter struct {
// MessageFilterType - The message filter type. Possible values include: 'MessageFilterTypeNotSpecified', 'MessageFilterTypeInclude', 'MessageFilterTypeExclude'
MessageFilterType MessageFilterType `json:"messageFilterType,omitempty"`
}
// EdifactMessageIdentifier the Edifact message identifier.
type EdifactMessageIdentifier struct {
// MessageID - The message id on which this envelope settings has to be applied.
MessageID *string `json:"messageId,omitempty"`
}
// EdifactOneWayAgreement the Edifact one way agreement.
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 the Edifact agreement protocol settings.
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 the Edifact agreement protocol settings.
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 the Edifact schema reference.
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 the Edifact validation override settings.
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 the Edifact agreement validation settings.
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"`
}
// ErrorInfo the error info.
type ErrorInfo struct {
// Code - The error code.
Code *string `json:"code,omitempty"`
}
// ErrorProperties error properties indicate why the Logic service was not able to process the incoming
// request. The reason is provided in the error message.
type ErrorProperties struct {
// Code - Error code.
Code *string `json:"code,omitempty"`
// Message - Error message indicating why the operation failed.
Message *string `json:"message,omitempty"`
}
// ErrorResponse error response indicates Logic service is not able to process the incoming request. The
// error property contains the error details.
type ErrorResponse struct {
// Error - The error properties.
Error *ErrorProperties `json:"error,omitempty"`
}
// Expression ...
type Expression struct {
Text *string `json:"text,omitempty"`
Value interface{} `json:"value,omitempty"`
Subexpressions *[]Expression `json:"subexpressions,omitempty"`
Error *AzureResourceErrorInfo `json:"error,omitempty"`
}
// ExpressionRoot ...
type ExpressionRoot struct {
// Path - The path.
Path *string `json:"path,omitempty"`
Text *string `json:"text,omitempty"`
Value interface{} `json:"value,omitempty"`
Subexpressions *[]Expression `json:"subexpressions,omitempty"`
Error *AzureResourceErrorInfo `json:"error,omitempty"`
}
// ExpressionTraces ...
type ExpressionTraces struct {
autorest.Response `json:"-"`
Inputs *[]ExpressionRoot `json:"inputs,omitempty"`
}
// GenerateUpgradedDefinitionParameters the parameters to generate upgraded definition.
type GenerateUpgradedDefinitionParameters struct {
// TargetSchemaVersion - The target schema version.
TargetSchemaVersion *string `json:"targetSchemaVersion,omitempty"`
}
// GetCallbackURLParameters the callback url parameters.
type GetCallbackURLParameters struct {
// NotAfter - The expiry time.
NotAfter *date.Time `json:"notAfter,omitempty"`
// KeyType - The key type. Possible values include: 'KeyTypeNotSpecified', 'KeyTypePrimary', 'KeyTypeSecondary'
KeyType KeyType `json:"keyType,omitempty"`
}
// IntegrationAccount the integration account.
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 - 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 IntegrationAccount.
func (ia IntegrationAccount) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if ia.Properties != nil {
objectMap["properties"] = ia.Properties
}
if ia.Sku != nil {
objectMap["sku"] = ia.Sku
}
if ia.Location != nil {
objectMap["location"] = ia.Location
}
if ia.Tags != nil {
objectMap["tags"] = ia.Tags
}
return json.Marshal(objectMap)
}
// IntegrationAccountAgreement the integration account agreement.
type IntegrationAccountAgreement struct {
autorest.Response `json:"-"`
// IntegrationAccountAgreementProperties - The integration account agreement properties.
*IntegrationAccountAgreementProperties `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 IntegrationAccountAgreement.
func (iaa IntegrationAccountAgreement) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if iaa.IntegrationAccountAgreementProperties != nil {
objectMap["properties"] = iaa.IntegrationAccountAgreementProperties
}
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":
if v != nil {
var tags map[string]*string
err = json.Unmarshal(*v, &tags)
if err != nil {
return err
}
iaa.Tags = tags
}
}
}
return nil
}
// IntegrationAccountAgreementFilter the integration account agreement filter for odata query.
type IntegrationAccountAgreementFilter struct {
// AgreementType - The agreement type of integration account agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact'
AgreementType AgreementType `json:"agreementType,omitempty"`
}
// IntegrationAccountAgreementListResult the list of integration account agreements.
type IntegrationAccountAgreementListResult struct {
autorest.Response `json:"-"`
// Value - The list of integration account agreements.
Value *[]IntegrationAccountAgreement `json:"value,omitempty"`
// NextLink - The URL to get the next set of results.
NextLink *string `json:"nextLink,omitempty"`
}
// IntegrationAccountAgreementListResultIterator provides access to a complete listing of
// IntegrationAccountAgreement values.
type IntegrationAccountAgreementListResultIterator struct {
i int
page IntegrationAccountAgreementListResultPage
}
// NextWithContext advances to the next value. If there was an error making
// the request the iterator does not advance and the error is returned.
func (iter *IntegrationAccountAgreementListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IntegrationAccountAgreementListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil {
sc = iter.Response().Response.Response.StatusCode
}
tracing.EndSpan(ctx, sc, err)
}()
}
iter.i++
if iter.i < len(iter.page.Values()) {
return nil
}
err = iter.page.NextWithContext(ctx)
if err != nil {
iter.i--
return err
}
iter.i = 0
return nil
}
// Next advances to the next value. If there was an error making
// the request the iterator does not advance and the error is returned.
// Deprecated: Use NextWithContext() instead.
func (iter *IntegrationAccountAgreementListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
}
// NotDone returns true if the enumeration should be started or is not yet complete.
func (iter IntegrationAccountAgreementListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
// Response returns the raw server response from the last page request.
func (iter IntegrationAccountAgreementListResultIterator) Response() IntegrationAccountAgreementListResult {
return iter.page.Response()
}
// Value returns the current value or a zero-initialized value if the
// iterator has advanced beyond the end of the collection.
func (iter IntegrationAccountAgreementListResultIterator) Value() IntegrationAccountAgreement {
if !iter.page.NotDone() {
return IntegrationAccountAgreement{}
}
return iter.page.Values()[iter.i]
}
// Creates a new instance of the IntegrationAccountAgreementListResultIterator type.
func NewIntegrationAccountAgreementListResultIterator(page IntegrationAccountAgreementListResultPage) IntegrationAccountAgreementListResultIterator {
return IntegrationAccountAgreementListResultIterator{page: page}
}
// IsEmpty returns true if the ListResult contains no values.
func (iaalr IntegrationAccountAgreementListResult) IsEmpty() bool {
return iaalr.Value == nil || len(*iaalr.Value) == 0
}
// hasNextLink returns true if the NextLink is not empty.
func (iaalr IntegrationAccountAgreementListResult) hasNextLink() bool {