forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
531 lines (509 loc) · 13.5 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
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
package visualsearch
// 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.
// Currency enumerates the values for currency.
type Currency string
const (
// AED ...
AED Currency = "AED"
// AFN ...
AFN Currency = "AFN"
// ALL ...
ALL Currency = "ALL"
// AMD ...
AMD Currency = "AMD"
// ANG ...
ANG Currency = "ANG"
// AOA ...
AOA Currency = "AOA"
// ARS ...
ARS Currency = "ARS"
// AUD ...
AUD Currency = "AUD"
// AWG ...
AWG Currency = "AWG"
// AZN ...
AZN Currency = "AZN"
// BAM ...
BAM Currency = "BAM"
// BBD ...
BBD Currency = "BBD"
// BDT ...
BDT Currency = "BDT"
// BGN ...
BGN Currency = "BGN"
// BHD ...
BHD Currency = "BHD"
// BIF ...
BIF Currency = "BIF"
// BMD ...
BMD Currency = "BMD"
// BND ...
BND Currency = "BND"
// BOB ...
BOB Currency = "BOB"
// BOV ...
BOV Currency = "BOV"
// BRL ...
BRL Currency = "BRL"
// BSD ...
BSD Currency = "BSD"
// BTN ...
BTN Currency = "BTN"
// BWP ...
BWP Currency = "BWP"
// BYR ...
BYR Currency = "BYR"
// BZD ...
BZD Currency = "BZD"
// CAD ...
CAD Currency = "CAD"
// CDF ...
CDF Currency = "CDF"
// CHE ...
CHE Currency = "CHE"
// CHF ...
CHF Currency = "CHF"
// CHW ...
CHW Currency = "CHW"
// CLF ...
CLF Currency = "CLF"
// CLP ...
CLP Currency = "CLP"
// CNY ...
CNY Currency = "CNY"
// COP ...
COP Currency = "COP"
// COU ...
COU Currency = "COU"
// CRC ...
CRC Currency = "CRC"
// CUC ...
CUC Currency = "CUC"
// CUP ...
CUP Currency = "CUP"
// CVE ...
CVE Currency = "CVE"
// CZK ...
CZK Currency = "CZK"
// DJF ...
DJF Currency = "DJF"
// DKK ...
DKK Currency = "DKK"
// DOP ...
DOP Currency = "DOP"
// DZD ...
DZD Currency = "DZD"
// EGP ...
EGP Currency = "EGP"
// ERN ...
ERN Currency = "ERN"
// ETB ...
ETB Currency = "ETB"
// EUR ...
EUR Currency = "EUR"
// FJD ...
FJD Currency = "FJD"
// FKP ...
FKP Currency = "FKP"
// GBP ...
GBP Currency = "GBP"
// GEL ...
GEL Currency = "GEL"
// GHS ...
GHS Currency = "GHS"
// GIP ...
GIP Currency = "GIP"
// GMD ...
GMD Currency = "GMD"
// GNF ...
GNF Currency = "GNF"
// GTQ ...
GTQ Currency = "GTQ"
// GYD ...
GYD Currency = "GYD"
// HKD ...
HKD Currency = "HKD"
// HNL ...
HNL Currency = "HNL"
// HRK ...
HRK Currency = "HRK"
// HTG ...
HTG Currency = "HTG"
// HUF ...
HUF Currency = "HUF"
// IDR ...
IDR Currency = "IDR"
// ILS ...
ILS Currency = "ILS"
// INR ...
INR Currency = "INR"
// IQD ...
IQD Currency = "IQD"
// IRR ...
IRR Currency = "IRR"
// ISK ...
ISK Currency = "ISK"
// JMD ...
JMD Currency = "JMD"
// JOD ...
JOD Currency = "JOD"
// JPY ...
JPY Currency = "JPY"
// KES ...
KES Currency = "KES"
// KGS ...
KGS Currency = "KGS"
// KHR ...
KHR Currency = "KHR"
// KMF ...
KMF Currency = "KMF"
// KPW ...
KPW Currency = "KPW"
// KRW ...
KRW Currency = "KRW"
// KWD ...
KWD Currency = "KWD"
// KYD ...
KYD Currency = "KYD"
// KZT ...
KZT Currency = "KZT"
// LAK ...
LAK Currency = "LAK"
// LBP ...
LBP Currency = "LBP"
// LKR ...
LKR Currency = "LKR"
// LRD ...
LRD Currency = "LRD"
// LSL ...
LSL Currency = "LSL"
// LYD ...
LYD Currency = "LYD"
// MAD ...
MAD Currency = "MAD"
// MDL ...
MDL Currency = "MDL"
// MGA ...
MGA Currency = "MGA"
// MKD ...
MKD Currency = "MKD"
// MMK ...
MMK Currency = "MMK"
// MNT ...
MNT Currency = "MNT"
// MOP ...
MOP Currency = "MOP"
// MRO ...
MRO Currency = "MRO"
// MUR ...
MUR Currency = "MUR"
// MVR ...
MVR Currency = "MVR"
// MWK ...
MWK Currency = "MWK"
// MXN ...
MXN Currency = "MXN"
// MXV ...
MXV Currency = "MXV"
// MYR ...
MYR Currency = "MYR"
// MZN ...
MZN Currency = "MZN"
// NAD ...
NAD Currency = "NAD"
// NGN ...
NGN Currency = "NGN"
// NIO ...
NIO Currency = "NIO"
// NOK ...
NOK Currency = "NOK"
// NPR ...
NPR Currency = "NPR"
// NZD ...
NZD Currency = "NZD"
// OMR ...
OMR Currency = "OMR"
// PAB ...
PAB Currency = "PAB"
// PEN ...
PEN Currency = "PEN"
// PGK ...
PGK Currency = "PGK"
// PHP ...
PHP Currency = "PHP"
// PKR ...
PKR Currency = "PKR"
// PLN ...
PLN Currency = "PLN"
// PYG ...
PYG Currency = "PYG"
// QAR ...
QAR Currency = "QAR"
// RON ...
RON Currency = "RON"
// RSD ...
RSD Currency = "RSD"
// RUB ...
RUB Currency = "RUB"
// RWF ...
RWF Currency = "RWF"
// SAR ...
SAR Currency = "SAR"
// SBD ...
SBD Currency = "SBD"
// SCR ...
SCR Currency = "SCR"
// SDG ...
SDG Currency = "SDG"
// SEK ...
SEK Currency = "SEK"
// SGD ...
SGD Currency = "SGD"
// SHP ...
SHP Currency = "SHP"
// SLL ...
SLL Currency = "SLL"
// SOS ...
SOS Currency = "SOS"
// SRD ...
SRD Currency = "SRD"
// SSP ...
SSP Currency = "SSP"
// STD ...
STD Currency = "STD"
// SYP ...
SYP Currency = "SYP"
// SZL ...
SZL Currency = "SZL"
// THB ...
THB Currency = "THB"
// TJS ...
TJS Currency = "TJS"
// TMT ...
TMT Currency = "TMT"
// TND ...
TND Currency = "TND"
// TOP ...
TOP Currency = "TOP"
// TRY ...
TRY Currency = "TRY"
// TTD ...
TTD Currency = "TTD"
// TWD ...
TWD Currency = "TWD"
// TZS ...
TZS Currency = "TZS"
// UAH ...
UAH Currency = "UAH"
// UGX ...
UGX Currency = "UGX"
// USD ...
USD Currency = "USD"
// UYU ...
UYU Currency = "UYU"
// UZS ...
UZS Currency = "UZS"
// VEF ...
VEF Currency = "VEF"
// VND ...
VND Currency = "VND"
// VUV ...
VUV Currency = "VUV"
// WST ...
WST Currency = "WST"
// XAF ...
XAF Currency = "XAF"
// XCD ...
XCD Currency = "XCD"
// XOF ...
XOF Currency = "XOF"
// XPF ...
XPF Currency = "XPF"
// YER ...
YER Currency = "YER"
// ZAR ...
ZAR Currency = "ZAR"
// ZMW ...
ZMW Currency = "ZMW"
)
// PossibleCurrencyValues returns an array of possible values for the Currency const type.
func PossibleCurrencyValues() []Currency {
return []Currency{AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW}
}
// ErrorCode enumerates the values for error code.
type ErrorCode string
const (
// InsufficientAuthorization ...
InsufficientAuthorization ErrorCode = "InsufficientAuthorization"
// InvalidAuthorization ...
InvalidAuthorization ErrorCode = "InvalidAuthorization"
// InvalidRequest ...
InvalidRequest ErrorCode = "InvalidRequest"
// None ...
None ErrorCode = "None"
// RateLimitExceeded ...
RateLimitExceeded ErrorCode = "RateLimitExceeded"
// ServerError ...
ServerError ErrorCode = "ServerError"
)
// PossibleErrorCodeValues returns an array of possible values for the ErrorCode const type.
func PossibleErrorCodeValues() []ErrorCode {
return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError}
}
// ErrorSubCode enumerates the values for error sub code.
type ErrorSubCode string
const (
// AuthorizationDisabled ...
AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled"
// AuthorizationExpired ...
AuthorizationExpired ErrorSubCode = "AuthorizationExpired"
// AuthorizationMissing ...
AuthorizationMissing ErrorSubCode = "AuthorizationMissing"
// AuthorizationRedundancy ...
AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy"
// Blocked ...
Blocked ErrorSubCode = "Blocked"
// HTTPNotAllowed ...
HTTPNotAllowed ErrorSubCode = "HttpNotAllowed"
// NotImplemented ...
NotImplemented ErrorSubCode = "NotImplemented"
// ParameterInvalidValue ...
ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue"
// ParameterMissing ...
ParameterMissing ErrorSubCode = "ParameterMissing"
// ResourceError ...
ResourceError ErrorSubCode = "ResourceError"
// UnexpectedError ...
UnexpectedError ErrorSubCode = "UnexpectedError"
)
// PossibleErrorSubCodeValues returns an array of possible values for the ErrorSubCode const type.
func PossibleErrorSubCodeValues() []ErrorSubCode {
return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError}
}
// ItemAvailability enumerates the values for item availability.
type ItemAvailability string
const (
// Discontinued ...
Discontinued ItemAvailability = "Discontinued"
// InStock ...
InStock ItemAvailability = "InStock"
// InStoreOnly ...
InStoreOnly ItemAvailability = "InStoreOnly"
// LimitedAvailability ...
LimitedAvailability ItemAvailability = "LimitedAvailability"
// OnlineOnly ...
OnlineOnly ItemAvailability = "OnlineOnly"
// OutOfStock ...
OutOfStock ItemAvailability = "OutOfStock"
// PreOrder ...
PreOrder ItemAvailability = "PreOrder"
// SoldOut ...
SoldOut ItemAvailability = "SoldOut"
)
// PossibleItemAvailabilityValues returns an array of possible values for the ItemAvailability const type.
func PossibleItemAvailabilityValues() []ItemAvailability {
return []ItemAvailability{Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut}
}
// SafeSearch enumerates the values for safe search.
type SafeSearch string
const (
// Moderate ...
Moderate SafeSearch = "Moderate"
// Off ...
Off SafeSearch = "Off"
// Strict ...
Strict SafeSearch = "Strict"
)
// PossibleSafeSearchValues returns an array of possible values for the SafeSearch const type.
func PossibleSafeSearchValues() []SafeSearch {
return []SafeSearch{Moderate, Off, Strict}
}
// Type enumerates the values for type.
type Type string
const (
// TypeAction ...
TypeAction Type = "Action"
// TypeAggregateOffer ...
TypeAggregateOffer Type = "AggregateOffer"
// TypeCreativeWork ...
TypeCreativeWork Type = "CreativeWork"
// TypeErrorResponse ...
TypeErrorResponse Type = "ErrorResponse"
// TypeIdentifiable ...
TypeIdentifiable Type = "Identifiable"
// TypeImageAction ...
TypeImageAction Type = "ImageAction"
// TypeImageEntityAction ...
TypeImageEntityAction Type = "ImageEntityAction"
// TypeImageKnowledge ...
TypeImageKnowledge Type = "ImageKnowledge"
// TypeImageModuleAction ...
TypeImageModuleAction Type = "ImageModuleAction"
// TypeImageObject ...
TypeImageObject Type = "ImageObject"
// TypeImageRecipesAction ...
TypeImageRecipesAction Type = "ImageRecipesAction"
// TypeImageRelatedSearchesAction ...
TypeImageRelatedSearchesAction Type = "ImageRelatedSearchesAction"
// TypeImageShoppingSourcesAction ...
TypeImageShoppingSourcesAction Type = "ImageShoppingSourcesAction"
// TypeImageTag ...
TypeImageTag Type = "ImageTag"
// TypeIntangible ...
TypeIntangible Type = "Intangible"
// TypeMediaObject ...
TypeMediaObject Type = "MediaObject"
// TypeNormalizedQuadrilateral ...
TypeNormalizedQuadrilateral Type = "NormalizedQuadrilateral"
// TypeOffer ...
TypeOffer Type = "Offer"
// TypeOrganization ...
TypeOrganization Type = "Organization"
// TypePerson ...
TypePerson Type = "Person"
// TypePoint2D ...
TypePoint2D Type = "Point2D"
// TypeRecipe ...
TypeRecipe Type = "Recipe"
// TypeResponse ...
TypeResponse Type = "Response"
// TypeResponseBase ...
TypeResponseBase Type = "ResponseBase"
// TypeStructuredValue ...
TypeStructuredValue Type = "StructuredValue"
// TypeThing ...
TypeThing Type = "Thing"
)
// PossibleTypeValues returns an array of possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{TypeAction, TypeAggregateOffer, TypeCreativeWork, TypeErrorResponse, TypeIdentifiable, TypeImageAction, TypeImageEntityAction, TypeImageKnowledge, TypeImageModuleAction, TypeImageObject, TypeImageRecipesAction, TypeImageRelatedSearchesAction, TypeImageShoppingSourcesAction, TypeImageTag, TypeIntangible, TypeMediaObject, TypeNormalizedQuadrilateral, TypeOffer, TypeOrganization, TypePerson, TypePoint2D, TypeRecipe, TypeResponse, TypeResponseBase, TypeStructuredValue, TypeThing}
}
// TypeBasicPropertiesItem enumerates the values for type basic properties item.
type TypeBasicPropertiesItem string
const (
// TypeAggregateRating ...
TypeAggregateRating TypeBasicPropertiesItem = "AggregateRating"
// TypePropertiesItem ...
TypePropertiesItem TypeBasicPropertiesItem = "Properties/Item"
// TypeRating ...
TypeRating TypeBasicPropertiesItem = "Rating"
)
// PossibleTypeBasicPropertiesItemValues returns an array of possible values for the TypeBasicPropertiesItem const type.
func PossibleTypeBasicPropertiesItemValues() []TypeBasicPropertiesItem {
return []TypeBasicPropertiesItem{TypeAggregateRating, TypePropertiesItem, TypeRating}
}