Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR cognitiveservices/data-plane/ComputerVision] ComputerVision - collection of fixes #1910

Closed
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
14 changes: 3 additions & 11 deletions profiles/latest/cognitiveservices/computervision/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ const (
Landmarks Details = original.Landmarks
)

type DomainModels = original.DomainModels

const (
DomainModelsCelebrities DomainModels = original.DomainModelsCelebrities
DomainModelsLandmarks DomainModels = original.DomainModelsLandmarks
)

type ErrorCodes = original.ErrorCodes

const (
Expand Down Expand Up @@ -135,8 +128,8 @@ type AdultInfo = original.AdultInfo
type Category = original.Category
type CategoryDetail = original.CategoryDetail
type CelebritiesModel = original.CelebritiesModel
type CelebrityResults = original.CelebrityResults
type ColorInfo = original.ColorInfo
type DomainModelResult = original.DomainModelResult
type DomainModelResults = original.DomainModelResults
type Error = original.Error
type FaceDescription = original.FaceDescription
Expand All @@ -149,6 +142,8 @@ type ImageMetadata = original.ImageMetadata
type ImageTag = original.ImageTag
type ImageType = original.ImageType
type ImageURL = original.ImageURL
type LandmarkResults = original.LandmarkResults
type LandmarkResultsLandmarksItem = original.LandmarkResultsLandmarksItem
type Line = original.Line
type ListModelsResult = original.ListModelsResult
type ModelDescription = original.ModelDescription
Expand All @@ -174,9 +169,6 @@ func PossibleAzureRegionsValues() []AzureRegions {
func PossibleDetailsValues() []Details {
return original.PossibleDetailsValues()
}
func PossibleDomainModelsValues() []DomainModels {
return original.PossibleDomainModelsValues()
}
func PossibleErrorCodesValues() []ErrorCodes {
return original.PossibleErrorCodesValues()
}
Expand Down
14 changes: 3 additions & 11 deletions profiles/preview/cognitiveservices/computervision/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ const (
Landmarks Details = original.Landmarks
)

type DomainModels = original.DomainModels

const (
DomainModelsCelebrities DomainModels = original.DomainModelsCelebrities
DomainModelsLandmarks DomainModels = original.DomainModelsLandmarks
)

type ErrorCodes = original.ErrorCodes

const (
Expand Down Expand Up @@ -135,8 +128,8 @@ type AdultInfo = original.AdultInfo
type Category = original.Category
type CategoryDetail = original.CategoryDetail
type CelebritiesModel = original.CelebritiesModel
type CelebrityResults = original.CelebrityResults
type ColorInfo = original.ColorInfo
type DomainModelResult = original.DomainModelResult
type DomainModelResults = original.DomainModelResults
type Error = original.Error
type FaceDescription = original.FaceDescription
Expand All @@ -149,6 +142,8 @@ type ImageMetadata = original.ImageMetadata
type ImageTag = original.ImageTag
type ImageType = original.ImageType
type ImageURL = original.ImageURL
type LandmarkResults = original.LandmarkResults
type LandmarkResultsLandmarksItem = original.LandmarkResultsLandmarksItem
type Line = original.Line
type ListModelsResult = original.ListModelsResult
type ModelDescription = original.ModelDescription
Expand All @@ -174,9 +169,6 @@ func PossibleAzureRegionsValues() []AzureRegions {
func PossibleDetailsValues() []Details {
return original.PossibleDetailsValues()
}
func PossibleDomainModelsValues() []DomainModels {
return original.PossibleDomainModelsValues()
}
func PossibleErrorCodesValues() []ErrorCodes {
return original.PossibleErrorCodesValues()
}
Expand Down
57 changes: 45 additions & 12 deletions services/cognitiveservices/v1.0/computervision/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

110 changes: 29 additions & 81 deletions services/cognitiveservices/v1.0/computervision/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.