forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
331 lines (282 loc) · 12.8 KB
/
enums.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
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.
// AgreementType enumerates the values for agreement type.
type AgreementType string
const (
// AS2 ...
AS2 AgreementType = "AS2"
// Edifact ...
Edifact AgreementType = "Edifact"
// NotSpecified ...
NotSpecified AgreementType = "NotSpecified"
// X12 ...
X12 AgreementType = "X12"
)
// PossibleAgreementTypeValues returns an array of possible values for the AgreementType const type.
func PossibleAgreementTypeValues() []AgreementType {
return []AgreementType{AS2, Edifact, NotSpecified, X12}
}
// EdifactCharacterSet enumerates the values for edifact character set.
type EdifactCharacterSet string
const (
// EdifactCharacterSetKECA ...
EdifactCharacterSetKECA EdifactCharacterSet = "KECA"
// EdifactCharacterSetNotSpecified ...
EdifactCharacterSetNotSpecified EdifactCharacterSet = "NotSpecified"
// EdifactCharacterSetUNOA ...
EdifactCharacterSetUNOA EdifactCharacterSet = "UNOA"
// EdifactCharacterSetUNOB ...
EdifactCharacterSetUNOB EdifactCharacterSet = "UNOB"
// EdifactCharacterSetUNOC ...
EdifactCharacterSetUNOC EdifactCharacterSet = "UNOC"
// EdifactCharacterSetUNOD ...
EdifactCharacterSetUNOD EdifactCharacterSet = "UNOD"
// EdifactCharacterSetUNOE ...
EdifactCharacterSetUNOE EdifactCharacterSet = "UNOE"
// EdifactCharacterSetUNOF ...
EdifactCharacterSetUNOF EdifactCharacterSet = "UNOF"
// EdifactCharacterSetUNOG ...
EdifactCharacterSetUNOG EdifactCharacterSet = "UNOG"
// EdifactCharacterSetUNOH ...
EdifactCharacterSetUNOH EdifactCharacterSet = "UNOH"
// EdifactCharacterSetUNOI ...
EdifactCharacterSetUNOI EdifactCharacterSet = "UNOI"
// EdifactCharacterSetUNOJ ...
EdifactCharacterSetUNOJ EdifactCharacterSet = "UNOJ"
// EdifactCharacterSetUNOK ...
EdifactCharacterSetUNOK EdifactCharacterSet = "UNOK"
// EdifactCharacterSetUNOX ...
EdifactCharacterSetUNOX EdifactCharacterSet = "UNOX"
// EdifactCharacterSetUNOY ...
EdifactCharacterSetUNOY EdifactCharacterSet = "UNOY"
)
// PossibleEdifactCharacterSetValues returns an array of possible values for the EdifactCharacterSet const type.
func PossibleEdifactCharacterSetValues() []EdifactCharacterSet {
return []EdifactCharacterSet{EdifactCharacterSetKECA, EdifactCharacterSetNotSpecified, EdifactCharacterSetUNOA, EdifactCharacterSetUNOB, EdifactCharacterSetUNOC, EdifactCharacterSetUNOD, EdifactCharacterSetUNOE, EdifactCharacterSetUNOF, EdifactCharacterSetUNOG, EdifactCharacterSetUNOH, EdifactCharacterSetUNOI, EdifactCharacterSetUNOJ, EdifactCharacterSetUNOK, EdifactCharacterSetUNOX, EdifactCharacterSetUNOY}
}
// EdifactDecimalIndicator enumerates the values for edifact decimal indicator.
type EdifactDecimalIndicator string
const (
// EdifactDecimalIndicatorComma ...
EdifactDecimalIndicatorComma EdifactDecimalIndicator = "Comma"
// EdifactDecimalIndicatorDecimal ...
EdifactDecimalIndicatorDecimal EdifactDecimalIndicator = "Decimal"
// EdifactDecimalIndicatorNotSpecified ...
EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = "NotSpecified"
)
// PossibleEdifactDecimalIndicatorValues returns an array of possible values for the EdifactDecimalIndicator const type.
func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator {
return []EdifactDecimalIndicator{EdifactDecimalIndicatorComma, EdifactDecimalIndicatorDecimal, EdifactDecimalIndicatorNotSpecified}
}
// EncryptionAlgorithm enumerates the values for encryption algorithm.
type EncryptionAlgorithm string
const (
// EncryptionAlgorithmAES128 ...
EncryptionAlgorithmAES128 EncryptionAlgorithm = "AES128"
// EncryptionAlgorithmAES192 ...
EncryptionAlgorithmAES192 EncryptionAlgorithm = "AES192"
// EncryptionAlgorithmAES256 ...
EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
// EncryptionAlgorithmDES3 ...
EncryptionAlgorithmDES3 EncryptionAlgorithm = "DES3"
// EncryptionAlgorithmNone ...
EncryptionAlgorithmNone EncryptionAlgorithm = "None"
// EncryptionAlgorithmNotSpecified ...
EncryptionAlgorithmNotSpecified EncryptionAlgorithm = "NotSpecified"
// EncryptionAlgorithmRC2 ...
EncryptionAlgorithmRC2 EncryptionAlgorithm = "RC2"
)
// PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.
func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
return []EncryptionAlgorithm{EncryptionAlgorithmAES128, EncryptionAlgorithmAES192, EncryptionAlgorithmAES256, EncryptionAlgorithmDES3, EncryptionAlgorithmNone, EncryptionAlgorithmNotSpecified, EncryptionAlgorithmRC2}
}
// HashingAlgorithm enumerates the values for hashing algorithm.
type HashingAlgorithm string
const (
// HashingAlgorithmNone ...
HashingAlgorithmNone HashingAlgorithm = "None"
// HashingAlgorithmNotSpecified ...
HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified"
// HashingAlgorithmSHA2256 ...
HashingAlgorithmSHA2256 HashingAlgorithm = "SHA2256"
// HashingAlgorithmSHA2384 ...
HashingAlgorithmSHA2384 HashingAlgorithm = "SHA2384"
// HashingAlgorithmSHA2512 ...
HashingAlgorithmSHA2512 HashingAlgorithm = "SHA2512"
)
// PossibleHashingAlgorithmValues returns an array of possible values for the HashingAlgorithm const type.
func PossibleHashingAlgorithmValues() []HashingAlgorithm {
return []HashingAlgorithm{HashingAlgorithmNone, HashingAlgorithmNotSpecified, HashingAlgorithmSHA2256, HashingAlgorithmSHA2384, HashingAlgorithmSHA2512}
}
// MapType enumerates the values for map type.
type MapType string
const (
// MapTypeNotSpecified ...
MapTypeNotSpecified MapType = "NotSpecified"
// MapTypeXslt ...
MapTypeXslt MapType = "Xslt"
)
// PossibleMapTypeValues returns an array of possible values for the MapType const type.
func PossibleMapTypeValues() []MapType {
return []MapType{MapTypeNotSpecified, MapTypeXslt}
}
// MessageFilterType enumerates the values for message filter type.
type MessageFilterType string
const (
// MessageFilterTypeExclude ...
MessageFilterTypeExclude MessageFilterType = "Exclude"
// MessageFilterTypeInclude ...
MessageFilterTypeInclude MessageFilterType = "Include"
// MessageFilterTypeNotSpecified ...
MessageFilterTypeNotSpecified MessageFilterType = "NotSpecified"
)
// PossibleMessageFilterTypeValues returns an array of possible values for the MessageFilterType const type.
func PossibleMessageFilterTypeValues() []MessageFilterType {
return []MessageFilterType{MessageFilterTypeExclude, MessageFilterTypeInclude, MessageFilterTypeNotSpecified}
}
// PartnerType enumerates the values for partner type.
type PartnerType string
const (
// PartnerTypeB2B ...
PartnerTypeB2B PartnerType = "B2B"
// PartnerTypeNotSpecified ...
PartnerTypeNotSpecified PartnerType = "NotSpecified"
)
// PossiblePartnerTypeValues returns an array of possible values for the PartnerType const type.
func PossiblePartnerTypeValues() []PartnerType {
return []PartnerType{PartnerTypeB2B, PartnerTypeNotSpecified}
}
// SchemaType enumerates the values for schema type.
type SchemaType string
const (
// SchemaTypeNotSpecified ...
SchemaTypeNotSpecified SchemaType = "NotSpecified"
// SchemaTypeXML ...
SchemaTypeXML SchemaType = "Xml"
)
// PossibleSchemaTypeValues returns an array of possible values for the SchemaType const type.
func PossibleSchemaTypeValues() []SchemaType {
return []SchemaType{SchemaTypeNotSpecified, SchemaTypeXML}
}
// SegmentTerminatorSuffix enumerates the values for segment terminator suffix.
type SegmentTerminatorSuffix string
const (
// SegmentTerminatorSuffixCR ...
SegmentTerminatorSuffixCR SegmentTerminatorSuffix = "CR"
// SegmentTerminatorSuffixCRLF ...
SegmentTerminatorSuffixCRLF SegmentTerminatorSuffix = "CRLF"
// SegmentTerminatorSuffixLF ...
SegmentTerminatorSuffixLF SegmentTerminatorSuffix = "LF"
// SegmentTerminatorSuffixNone ...
SegmentTerminatorSuffixNone SegmentTerminatorSuffix = "None"
// SegmentTerminatorSuffixNotSpecified ...
SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = "NotSpecified"
)
// PossibleSegmentTerminatorSuffixValues returns an array of possible values for the SegmentTerminatorSuffix const type.
func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix {
return []SegmentTerminatorSuffix{SegmentTerminatorSuffixCR, SegmentTerminatorSuffixCRLF, SegmentTerminatorSuffixLF, SegmentTerminatorSuffixNone, SegmentTerminatorSuffixNotSpecified}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// SkuNameBasic ...
SkuNameBasic SkuName = "Basic"
// SkuNameFree ...
SkuNameFree SkuName = "Free"
// SkuNameNotSpecified ...
SkuNameNotSpecified SkuName = "NotSpecified"
// SkuNamePremium ...
SkuNamePremium SkuName = "Premium"
// SkuNameShared ...
SkuNameShared SkuName = "Shared"
// SkuNameStandard ...
SkuNameStandard SkuName = "Standard"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{SkuNameBasic, SkuNameFree, SkuNameNotSpecified, SkuNamePremium, SkuNameShared, SkuNameStandard}
}
// TrailingSeparatorPolicy enumerates the values for trailing separator policy.
type TrailingSeparatorPolicy string
const (
// TrailingSeparatorPolicyMandatory ...
TrailingSeparatorPolicyMandatory TrailingSeparatorPolicy = "Mandatory"
// TrailingSeparatorPolicyNotAllowed ...
TrailingSeparatorPolicyNotAllowed TrailingSeparatorPolicy = "NotAllowed"
// TrailingSeparatorPolicyNotSpecified ...
TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = "NotSpecified"
// TrailingSeparatorPolicyOptional ...
TrailingSeparatorPolicyOptional TrailingSeparatorPolicy = "Optional"
)
// PossibleTrailingSeparatorPolicyValues returns an array of possible values for the TrailingSeparatorPolicy const type.
func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy {
return []TrailingSeparatorPolicy{TrailingSeparatorPolicyMandatory, TrailingSeparatorPolicyNotAllowed, TrailingSeparatorPolicyNotSpecified, TrailingSeparatorPolicyOptional}
}
// UsageIndicator enumerates the values for usage indicator.
type UsageIndicator string
const (
// UsageIndicatorInformation ...
UsageIndicatorInformation UsageIndicator = "Information"
// UsageIndicatorNotSpecified ...
UsageIndicatorNotSpecified UsageIndicator = "NotSpecified"
// UsageIndicatorProduction ...
UsageIndicatorProduction UsageIndicator = "Production"
// UsageIndicatorTest ...
UsageIndicatorTest UsageIndicator = "Test"
)
// PossibleUsageIndicatorValues returns an array of possible values for the UsageIndicator const type.
func PossibleUsageIndicatorValues() []UsageIndicator {
return []UsageIndicator{UsageIndicatorInformation, UsageIndicatorNotSpecified, UsageIndicatorProduction, UsageIndicatorTest}
}
// X12CharacterSet enumerates the values for x12 character set.
type X12CharacterSet string
const (
// X12CharacterSetBasic ...
X12CharacterSetBasic X12CharacterSet = "Basic"
// X12CharacterSetExtended ...
X12CharacterSetExtended X12CharacterSet = "Extended"
// X12CharacterSetNotSpecified ...
X12CharacterSetNotSpecified X12CharacterSet = "NotSpecified"
// X12CharacterSetUTF8 ...
X12CharacterSetUTF8 X12CharacterSet = "UTF8"
)
// PossibleX12CharacterSetValues returns an array of possible values for the X12CharacterSet const type.
func PossibleX12CharacterSetValues() []X12CharacterSet {
return []X12CharacterSet{X12CharacterSetBasic, X12CharacterSetExtended, X12CharacterSetNotSpecified, X12CharacterSetUTF8}
}
// X12DateFormat enumerates the values for x12 date format.
type X12DateFormat string
const (
// X12DateFormatCCYYMMDD ...
X12DateFormatCCYYMMDD X12DateFormat = "CCYYMMDD"
// X12DateFormatNotSpecified ...
X12DateFormatNotSpecified X12DateFormat = "NotSpecified"
// X12DateFormatYYMMDD ...
X12DateFormatYYMMDD X12DateFormat = "YYMMDD"
)
// PossibleX12DateFormatValues returns an array of possible values for the X12DateFormat const type.
func PossibleX12DateFormatValues() []X12DateFormat {
return []X12DateFormat{X12DateFormatCCYYMMDD, X12DateFormatNotSpecified, X12DateFormatYYMMDD}
}
// X12TimeFormat enumerates the values for x12 time format.
type X12TimeFormat string
const (
// X12TimeFormatHHMM ...
X12TimeFormatHHMM X12TimeFormat = "HHMM"
// X12TimeFormatHHMMSS ...
X12TimeFormatHHMMSS X12TimeFormat = "HHMMSS"
// X12TimeFormatHHMMSSd ...
X12TimeFormatHHMMSSd X12TimeFormat = "HHMMSSd"
// X12TimeFormatHHMMSSdd ...
X12TimeFormatHHMMSSdd X12TimeFormat = "HHMMSSdd"
// X12TimeFormatNotSpecified ...
X12TimeFormatNotSpecified X12TimeFormat = "NotSpecified"
)
// PossibleX12TimeFormatValues returns an array of possible values for the X12TimeFormat const type.
func PossibleX12TimeFormatValues() []X12TimeFormat {
return []X12TimeFormat{X12TimeFormatHHMM, X12TimeFormatHHMMSS, X12TimeFormatHHMMSSd, X12TimeFormatHHMMSSdd, X12TimeFormatNotSpecified}
}