Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 6 additions & 21 deletions profiles/preview/cognitiveservices/computervision/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,6 @@ const (
Landmarks Details = original.Landmarks
)

type ErrorCodes = original.ErrorCodes

const (
BadArgument ErrorCodes = original.BadArgument
FailedToProcess ErrorCodes = original.FailedToProcess
InternalServerError ErrorCodes = original.InternalServerError
InvalidDetails ErrorCodes = original.InvalidDetails
InvalidImageFormat ErrorCodes = original.InvalidImageFormat
InvalidImageSize ErrorCodes = original.InvalidImageSize
InvalidImageURL ErrorCodes = original.InvalidImageURL
NotSupportedImage ErrorCodes = original.NotSupportedImage
NotSupportedLanguage ErrorCodes = original.NotSupportedLanguage
NotSupportedVisualFeature ErrorCodes = original.NotSupportedVisualFeature
StorageException ErrorCodes = original.StorageException
Timeout ErrorCodes = original.Timeout
Unspecified ErrorCodes = original.Unspecified
)

type Gender = original.Gender

const (
Expand Down Expand Up @@ -110,16 +92,21 @@ const (
VisualFeatureTypesDescription VisualFeatureTypes = original.VisualFeatureTypesDescription
VisualFeatureTypesFaces VisualFeatureTypes = original.VisualFeatureTypesFaces
VisualFeatureTypesImageType VisualFeatureTypes = original.VisualFeatureTypesImageType
VisualFeatureTypesObjects VisualFeatureTypes = original.VisualFeatureTypesObjects
VisualFeatureTypesTags VisualFeatureTypes = original.VisualFeatureTypesTags
)

type AdultInfo = original.AdultInfo
type AreaOfInterestResult = original.AreaOfInterestResult
type BaseClient = original.BaseClient
type BoundingRect = original.BoundingRect
type Category = original.Category
type CategoryDetail = original.CategoryDetail
type CelebritiesModel = original.CelebritiesModel
type CelebrityResults = original.CelebrityResults
type ColorInfo = original.ColorInfo
type DetectResult = original.DetectResult
type DetectedObject = original.DetectedObject
type DomainModelResults = original.DomainModelResults
type Error = original.Error
type FaceDescription = original.FaceDescription
Expand All @@ -137,6 +124,7 @@ type LandmarksModel = original.LandmarksModel
type Line = original.Line
type ListModelsResult = original.ListModelsResult
type ModelDescription = original.ModelDescription
type ObjectHierarchy = original.ObjectHierarchy
type OcrLine = original.OcrLine
type OcrRegion = original.OcrRegion
type OcrResult = original.OcrResult
Expand All @@ -156,9 +144,6 @@ func NewWithoutDefaults(endpoint string) BaseClient {
func PossibleDetailsValues() []Details {
return original.PossibleDetailsValues()
}
func PossibleErrorCodesValues() []ErrorCodes {
return original.PossibleErrorCodesValues()
}
func PossibleGenderValues() []Gender {
return original.PossibleGenderValues()
}
Expand Down
Loading