Skip to content

Commit

Permalink
[AutoPR cognitiveservices/data-plane/InkRecognizer] [Hub Generated] R…
Browse files Browse the repository at this point in the history
…eview request for InkRecognizer to add version preview/v1.0 (#5372)

* Generated from 34c67e4beeb3721701921ded0f374c834723b2f7

re-naming inputDevice to inputDeviceKind

* Generated from ae13f3bcaab268fc0365a1e0452535827d2bda64

Update specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json

Co-Authored-By: Nick Schonning <[email protected]>
  • Loading branch information
2 people authored and ArcturusZhang committed Aug 5, 2019
1 parent 42b057f commit da11580
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 58 deletions.
35 changes: 22 additions & 13 deletions profiles/preview/preview/cognitiveservices/inkrecognizer/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const (
InkDrawing Category = original.InkDrawing
InkWord Category = original.InkWord
Line Category = original.Line
ListItem Category = original.ListItem
Paragraph Category = original.Paragraph
Root Category = original.Root
Unknown Category = original.Unknown
WritingRegion Category = original.WritingRegion
)
Expand All @@ -53,11 +53,26 @@ type Container = original.Container

const (
ContainerLine Container = original.ContainerLine
ContainerListItem Container = original.ContainerListItem
ContainerParagraph Container = original.ContainerParagraph
ContainerRoot Container = original.ContainerRoot
ContainerWritingRegion Container = original.ContainerWritingRegion
)

type InputDevice = original.InputDevice

const (
Armature InputDevice = original.Armature
ArticulatedArm InputDevice = original.ArticulatedArm
Digitizer InputDevice = original.Digitizer
LightPen InputDevice = original.LightPen
Pen InputDevice = original.Pen
StereoPlotter InputDevice = original.StereoPlotter
ThreedDigitizer InputDevice = original.ThreedDigitizer
TouchPad InputDevice = original.TouchPad
TouchScreen InputDevice = original.TouchScreen
WhiteBoard InputDevice = original.WhiteBoard
)

type Kind = original.Kind

const (
Expand Down Expand Up @@ -125,14 +140,6 @@ const (
Mm Unit = original.Mm
)

type Unit1 = original.Unit1

const (
Unit1Cm Unit1 = original.Unit1Cm
Unit1In Unit1 = original.Unit1In
Unit1Mm Unit1 = original.Unit1Mm
)

type AlternatePatternItem = original.AlternatePatternItem
type AnalysisRequest = original.AnalysisRequest
type AnalysisResponse = original.AnalysisResponse
Expand All @@ -142,6 +149,8 @@ type DrawingAttributesPattern = original.DrawingAttributesPattern
type DrawingAttributesPatternColor = original.DrawingAttributesPatternColor
type ErrorModel = original.ErrorModel
type ErrorModelDetailsItem = original.ErrorModelDetailsItem
type InkPoint = original.InkPoint
type InkPointValueAttribute = original.InkPointValueAttribute
type PointDetailsPattern = original.PointDetailsPattern
type RecognitionUnitItem = original.RecognitionUnitItem
type RecognitionUnitItemBoundingRectangle = original.RecognitionUnitItemBoundingRectangle
Expand All @@ -168,6 +177,9 @@ func PossibleClassValues() []Class {
func PossibleContainerValues() []Container {
return original.PossibleContainerValues()
}
func PossibleInputDeviceValues() []InputDevice {
return original.PossibleInputDeviceValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
Expand All @@ -183,9 +195,6 @@ func PossibleShapeValues() []Shape {
func PossibleTipValues() []Tip {
return original.PossibleTipValues()
}
func PossibleUnit1Values() []Unit1 {
return original.PossibleUnit1Values()
}
func PossibleUnitValues() []Unit {
return original.PossibleUnitValues()
}
Expand Down
Loading

0 comments on commit da11580

Please sign in to comment.