forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
205 lines (180 loc) · 6.97 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
package computervision
// 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.
// DescriptionExclude enumerates the values for description exclude.
type DescriptionExclude string
const (
// Celebrities ...
Celebrities DescriptionExclude = "Celebrities"
// Landmarks ...
Landmarks DescriptionExclude = "Landmarks"
)
// PossibleDescriptionExcludeValues returns an array of possible values for the DescriptionExclude const type.
func PossibleDescriptionExcludeValues() []DescriptionExclude {
return []DescriptionExclude{Celebrities, Landmarks}
}
// Details enumerates the values for details.
type Details string
const (
// DetailsCelebrities ...
DetailsCelebrities Details = "Celebrities"
// DetailsLandmarks ...
DetailsLandmarks Details = "Landmarks"
)
// PossibleDetailsValues returns an array of possible values for the Details const type.
func PossibleDetailsValues() []Details {
return []Details{DetailsCelebrities, DetailsLandmarks}
}
// Gender enumerates the values for gender.
type Gender string
const (
// Female ...
Female Gender = "Female"
// Male ...
Male Gender = "Male"
)
// PossibleGenderValues returns an array of possible values for the Gender const type.
func PossibleGenderValues() []Gender {
return []Gender{Female, Male}
}
// OcrDetectionLanguage enumerates the values for ocr detection language.
type OcrDetectionLanguage string
const (
// De ...
De OcrDetectionLanguage = "de"
// En ...
En OcrDetectionLanguage = "en"
// Es ...
Es OcrDetectionLanguage = "es"
// Fr ...
Fr OcrDetectionLanguage = "fr"
// It ...
It OcrDetectionLanguage = "it"
// Nl ...
Nl OcrDetectionLanguage = "nl"
// Pt ...
Pt OcrDetectionLanguage = "pt"
)
// PossibleOcrDetectionLanguageValues returns an array of possible values for the OcrDetectionLanguage const type.
func PossibleOcrDetectionLanguageValues() []OcrDetectionLanguage {
return []OcrDetectionLanguage{De, En, Es, Fr, It, Nl, Pt}
}
// OcrLanguages enumerates the values for ocr languages.
type OcrLanguages string
const (
// OcrLanguagesAr ...
OcrLanguagesAr OcrLanguages = "ar"
// OcrLanguagesCs ...
OcrLanguagesCs OcrLanguages = "cs"
// OcrLanguagesDa ...
OcrLanguagesDa OcrLanguages = "da"
// OcrLanguagesDe ...
OcrLanguagesDe OcrLanguages = "de"
// OcrLanguagesEl ...
OcrLanguagesEl OcrLanguages = "el"
// OcrLanguagesEn ...
OcrLanguagesEn OcrLanguages = "en"
// OcrLanguagesEs ...
OcrLanguagesEs OcrLanguages = "es"
// OcrLanguagesFi ...
OcrLanguagesFi OcrLanguages = "fi"
// OcrLanguagesFr ...
OcrLanguagesFr OcrLanguages = "fr"
// OcrLanguagesHu ...
OcrLanguagesHu OcrLanguages = "hu"
// OcrLanguagesIt ...
OcrLanguagesIt OcrLanguages = "it"
// OcrLanguagesJa ...
OcrLanguagesJa OcrLanguages = "ja"
// OcrLanguagesKo ...
OcrLanguagesKo OcrLanguages = "ko"
// OcrLanguagesNb ...
OcrLanguagesNb OcrLanguages = "nb"
// OcrLanguagesNl ...
OcrLanguagesNl OcrLanguages = "nl"
// OcrLanguagesPl ...
OcrLanguagesPl OcrLanguages = "pl"
// OcrLanguagesPt ...
OcrLanguagesPt OcrLanguages = "pt"
// OcrLanguagesRo ...
OcrLanguagesRo OcrLanguages = "ro"
// OcrLanguagesRu ...
OcrLanguagesRu OcrLanguages = "ru"
// OcrLanguagesSk ...
OcrLanguagesSk OcrLanguages = "sk"
// OcrLanguagesSrCyrl ...
OcrLanguagesSrCyrl OcrLanguages = "sr-Cyrl"
// OcrLanguagesSrLatn ...
OcrLanguagesSrLatn OcrLanguages = "sr-Latn"
// OcrLanguagesSv ...
OcrLanguagesSv OcrLanguages = "sv"
// OcrLanguagesTr ...
OcrLanguagesTr OcrLanguages = "tr"
// OcrLanguagesUnk ...
OcrLanguagesUnk OcrLanguages = "unk"
// OcrLanguagesZhHans ...
OcrLanguagesZhHans OcrLanguages = "zh-Hans"
// OcrLanguagesZhHant ...
OcrLanguagesZhHant OcrLanguages = "zh-Hant"
)
// PossibleOcrLanguagesValues returns an array of possible values for the OcrLanguages const type.
func PossibleOcrLanguagesValues() []OcrLanguages {
return []OcrLanguages{OcrLanguagesAr, OcrLanguagesCs, OcrLanguagesDa, OcrLanguagesDe, OcrLanguagesEl, OcrLanguagesEn, OcrLanguagesEs, OcrLanguagesFi, OcrLanguagesFr, OcrLanguagesHu, OcrLanguagesIt, OcrLanguagesJa, OcrLanguagesKo, OcrLanguagesNb, OcrLanguagesNl, OcrLanguagesPl, OcrLanguagesPt, OcrLanguagesRo, OcrLanguagesRu, OcrLanguagesSk, OcrLanguagesSrCyrl, OcrLanguagesSrLatn, OcrLanguagesSv, OcrLanguagesTr, OcrLanguagesUnk, OcrLanguagesZhHans, OcrLanguagesZhHant}
}
// OperationStatusCodes enumerates the values for operation status codes.
type OperationStatusCodes string
const (
// Failed ...
Failed OperationStatusCodes = "failed"
// NotStarted ...
NotStarted OperationStatusCodes = "notStarted"
// Running ...
Running OperationStatusCodes = "running"
// Succeeded ...
Succeeded OperationStatusCodes = "succeeded"
)
// PossibleOperationStatusCodesValues returns an array of possible values for the OperationStatusCodes const type.
func PossibleOperationStatusCodesValues() []OperationStatusCodes {
return []OperationStatusCodes{Failed, NotStarted, Running, Succeeded}
}
// TextRecognitionResultDimensionUnit enumerates the values for text recognition result dimension unit.
type TextRecognitionResultDimensionUnit string
const (
// Inch ...
Inch TextRecognitionResultDimensionUnit = "inch"
// Pixel ...
Pixel TextRecognitionResultDimensionUnit = "pixel"
)
// PossibleTextRecognitionResultDimensionUnitValues returns an array of possible values for the TextRecognitionResultDimensionUnit const type.
func PossibleTextRecognitionResultDimensionUnitValues() []TextRecognitionResultDimensionUnit {
return []TextRecognitionResultDimensionUnit{Inch, Pixel}
}
// VisualFeatureTypes enumerates the values for visual feature types.
type VisualFeatureTypes string
const (
// VisualFeatureTypesAdult ...
VisualFeatureTypesAdult VisualFeatureTypes = "Adult"
// VisualFeatureTypesBrands ...
VisualFeatureTypesBrands VisualFeatureTypes = "Brands"
// VisualFeatureTypesCategories ...
VisualFeatureTypesCategories VisualFeatureTypes = "Categories"
// VisualFeatureTypesColor ...
VisualFeatureTypesColor VisualFeatureTypes = "Color"
// VisualFeatureTypesDescription ...
VisualFeatureTypesDescription VisualFeatureTypes = "Description"
// VisualFeatureTypesFaces ...
VisualFeatureTypesFaces VisualFeatureTypes = "Faces"
// VisualFeatureTypesImageType ...
VisualFeatureTypesImageType VisualFeatureTypes = "ImageType"
// VisualFeatureTypesObjects ...
VisualFeatureTypesObjects VisualFeatureTypes = "Objects"
// VisualFeatureTypesTags ...
VisualFeatureTypesTags VisualFeatureTypes = "Tags"
)
// PossibleVisualFeatureTypesValues returns an array of possible values for the VisualFeatureTypes const type.
func PossibleVisualFeatureTypesValues() []VisualFeatureTypes {
return []VisualFeatureTypes{VisualFeatureTypesAdult, VisualFeatureTypesBrands, VisualFeatureTypesCategories, VisualFeatureTypesColor, VisualFeatureTypesDescription, VisualFeatureTypesFaces, VisualFeatureTypesImageType, VisualFeatureTypesObjects, VisualFeatureTypesTags}
}