forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
256 lines (222 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
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
package inkrecognizer
// 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.
// Application enumerates the values for application.
type Application string
const (
// Drawing ...
Drawing Application = "drawing"
// Mixed ...
Mixed Application = "mixed"
// Writing ...
Writing Application = "writing"
)
// PossibleApplicationValues returns an array of possible values for the Application const type.
func PossibleApplicationValues() []Application {
return []Application{Drawing, Mixed, Writing}
}
// Category enumerates the values for category.
type Category string
const (
// InkBullet ...
InkBullet Category = "inkBullet"
// InkDrawing ...
InkDrawing Category = "inkDrawing"
// InkWord ...
InkWord Category = "inkWord"
// Line ...
Line Category = "line"
// Paragraph ...
Paragraph Category = "paragraph"
// Root ...
Root Category = "root"
// Unknown ...
Unknown Category = "unknown"
// WritingRegion ...
WritingRegion Category = "writingRegion"
)
// PossibleCategoryValues returns an array of possible values for the Category const type.
func PossibleCategoryValues() []Category {
return []Category{InkBullet, InkDrawing, InkWord, Line, Paragraph, Root, Unknown, WritingRegion}
}
// Class enumerates the values for class.
type Class string
const (
// ClassContainer ...
ClassContainer Class = "container"
// ClassLeaf ...
ClassLeaf Class = "leaf"
)
// PossibleClassValues returns an array of possible values for the Class const type.
func PossibleClassValues() []Class {
return []Class{ClassContainer, ClassLeaf}
}
// Container enumerates the values for container.
type Container string
const (
// ContainerLine ...
ContainerLine Container = "line"
// ContainerParagraph ...
ContainerParagraph Container = "paragraph"
// ContainerRoot ...
ContainerRoot Container = "root"
// ContainerWritingRegion ...
ContainerWritingRegion Container = "writingRegion"
)
// PossibleContainerValues returns an array of possible values for the Container const type.
func PossibleContainerValues() []Container {
return []Container{ContainerLine, ContainerParagraph, ContainerRoot, ContainerWritingRegion}
}
// InputDevice enumerates the values for input device.
type InputDevice string
const (
// Armature ...
Armature InputDevice = "armature"
// ArticulatedArm ...
ArticulatedArm InputDevice = "articulatedArm"
// Digitizer ...
Digitizer InputDevice = "digitizer"
// LightPen ...
LightPen InputDevice = "lightPen"
// Pen ...
Pen InputDevice = "pen"
// StereoPlotter ...
StereoPlotter InputDevice = "stereoPlotter"
// ThreedDigitizer ...
ThreedDigitizer InputDevice = "3dDigitizer"
// TouchPad ...
TouchPad InputDevice = "touchPad"
// TouchScreen ...
TouchScreen InputDevice = "touchScreen"
// WhiteBoard ...
WhiteBoard InputDevice = "whiteBoard"
)
// PossibleInputDeviceValues returns an array of possible values for the InputDevice const type.
func PossibleInputDeviceValues() []InputDevice {
return []InputDevice{Armature, ArticulatedArm, Digitizer, LightPen, Pen, StereoPlotter, ThreedDigitizer, TouchPad, TouchScreen, WhiteBoard}
}
// Kind enumerates the values for kind.
type Kind string
const (
// KindInkDrawing ...
KindInkDrawing Kind = "inkDrawing"
// KindInkWriting ...
KindInkWriting Kind = "inkWriting"
)
// PossibleKindValues returns an array of possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{KindInkDrawing, KindInkWriting}
}
// Leaf enumerates the values for leaf.
type Leaf string
const (
// LeafInkBullet ...
LeafInkBullet Leaf = "inkBullet"
// LeafInkDrawing ...
LeafInkDrawing Leaf = "inkDrawing"
// LeafInkWord ...
LeafInkWord Leaf = "inkWord"
// LeafUnknown ...
LeafUnknown Leaf = "unknown"
)
// PossibleLeafValues returns an array of possible values for the Leaf const type.
func PossibleLeafValues() []Leaf {
return []Leaf{LeafInkBullet, LeafInkDrawing, LeafInkWord, LeafUnknown}
}
// RasterOp enumerates the values for raster op.
type RasterOp string
const (
// CopyPen ...
CopyPen RasterOp = "copyPen"
// MaskPen ...
MaskPen RasterOp = "maskPen"
// NoOperation ...
NoOperation RasterOp = "noOperation"
)
// PossibleRasterOpValues returns an array of possible values for the RasterOp const type.
func PossibleRasterOpValues() []RasterOp {
return []RasterOp{CopyPen, MaskPen, NoOperation}
}
// Shape enumerates the values for shape.
type Shape string
const (
// ShapeBlockArrow ...
ShapeBlockArrow Shape = "blockArrow"
// ShapeCircle ...
ShapeCircle Shape = "circle"
// ShapeCloud ...
ShapeCloud Shape = "cloud"
// ShapeCurve ...
ShapeCurve Shape = "curve"
// ShapeDiamond ...
ShapeDiamond Shape = "diamond"
// ShapeDrawing ...
ShapeDrawing Shape = "drawing"
// ShapeEllipse ...
ShapeEllipse Shape = "ellipse"
// ShapeEquilateralTriangle ...
ShapeEquilateralTriangle Shape = "equilateralTriangle"
// ShapeHeart ...
ShapeHeart Shape = "heart"
// ShapeHexagon ...
ShapeHexagon Shape = "hexagon"
// ShapeIsoscelesTriangle ...
ShapeIsoscelesTriangle Shape = "isoscelesTriangle"
// ShapeLine ...
ShapeLine Shape = "line"
// ShapeParallelogram ...
ShapeParallelogram Shape = "parallelogram"
// ShapePentagon ...
ShapePentagon Shape = "pentagon"
// ShapePolyLine ...
ShapePolyLine Shape = "polyLine"
// ShapeQuadrilateral ...
ShapeQuadrilateral Shape = "quadrilateral"
// ShapeRectangle ...
ShapeRectangle Shape = "rectangle"
// ShapeRightTriangle ...
ShapeRightTriangle Shape = "rightTriangle"
// ShapeSquare ...
ShapeSquare Shape = "square"
// ShapeStarCrossed ...
ShapeStarCrossed Shape = "starCrossed"
// ShapeStarSimple ...
ShapeStarSimple Shape = "starSimple"
// ShapeTrapezoid ...
ShapeTrapezoid Shape = "trapezoid"
// ShapeTriangle ...
ShapeTriangle Shape = "triangle"
)
// PossibleShapeValues returns an array of possible values for the Shape const type.
func PossibleShapeValues() []Shape {
return []Shape{ShapeBlockArrow, ShapeCircle, ShapeCloud, ShapeCurve, ShapeDiamond, ShapeDrawing, ShapeEllipse, ShapeEquilateralTriangle, ShapeHeart, ShapeHexagon, ShapeIsoscelesTriangle, ShapeLine, ShapeParallelogram, ShapePentagon, ShapePolyLine, ShapeQuadrilateral, ShapeRectangle, ShapeRightTriangle, ShapeSquare, ShapeStarCrossed, ShapeStarSimple, ShapeTrapezoid, ShapeTriangle}
}
// Tip enumerates the values for tip.
type Tip string
const (
// Ellipse ...
Ellipse Tip = "ellipse"
// Rectangle ...
Rectangle Tip = "rectangle"
)
// PossibleTipValues returns an array of possible values for the Tip const type.
func PossibleTipValues() []Tip {
return []Tip{Ellipse, Rectangle}
}
// Unit enumerates the values for unit.
type Unit string
const (
// Cm ...
Cm Unit = "cm"
// In ...
In Unit = "in"
// Mm ...
Mm Unit = "mm"
)
// PossibleUnitValues returns an array of possible values for the Unit const type.
func PossibleUnitValues() []Unit {
return []Unit{Cm, In, Mm}
}