Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[AutoPR] cognitiveservices/data-plane/ComputerVision #1349

Merged
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
2 changes: 1 addition & 1 deletion azure_sdk/lib/azure_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

require 'latest/latest_profile_client'
require 'v2017_03_09/v2017_03_09_profile_client'
require 'latest/latest_profile_client'
120 changes: 64 additions & 56 deletions azure_sdk/lib/latest/modules/computervision_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,44 @@ module Azure::Profiles::Latest
module ComputerVision

module Models
ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
OcrWord = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
OcrLine = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
OcrRegion = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
OcrResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
ModelDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
ListModelsResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
DomainModelResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
CelebrityResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults
FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
LandmarkResultsLandmarksItem = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem
AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
LandmarkResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults
ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
ImageDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender
ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes
OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages
AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions
Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
Language1 = Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
DomainModels = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
end

class ComputerVisionDataClass
Expand Down Expand Up @@ -75,93 +77,105 @@ def method_missing(method, *args)
end

class ModelClasses
def image_description_details
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
end
def word
Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
end
def face_description
Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
end
def recognition_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
end
def image_analysis
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
end
def face_rectangle
Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
def line
Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
end
def ocr_word
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
end
def category_detail
Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
def text_operation_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
end
def ocr_line
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
end
def adult_info
Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
def celebrities_model
Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
end
def ocr_region
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
end
def image_type
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
def category
Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
end
def ocr_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
end
def image_caption
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
def color_info
Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
end
def model_description
Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
end
def line
Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
def image_tag
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
end
def list_models_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
end
def celebrities_model
Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
def image_metadata
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
end
def domain_model_results
Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
end
def color_info
Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
def word
Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
end
def celebrity_results
Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebrityResults
end
def face_rectangle
Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
end
def landmark_results_landmarks_item
Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResultsLandmarksItem
end
def adult_info
Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
end
def landmark_results
Azure::CognitiveServices::ComputerVision::V1_0::Models::LandmarkResults
end
def image_caption
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
end
def image_description
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
end
def image_metadata
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
def recognition_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
end
def tag_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
end
def category
Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
def image_type
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
end
def computer_vision_error
Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
end
def text_operation_result
Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
def category_detail
Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
end
def image_url
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
end
def image_tag
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
def image_description_details
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
end
def text_operation_status_codes
Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
end
def gender
Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender
end
def computer_vision_error_codes
Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
end
Expand All @@ -177,12 +191,6 @@ def azure_regions
def details
Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
end
def language1
Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
end
def domain_models
Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
end
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,41 +23,43 @@ module Azure::CognitiveServices::ComputerVision::V1_0
autoload :ComputerVisionClient, '1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb'

module Models
autoload :ImageDescriptionDetails, '1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb'
autoload :Word, '1.0/generated/azure_cognitiveservices_computervision/models/word.rb'
autoload :FaceDescription, '1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb'
autoload :RecognitionResult, '1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb'
autoload :ImageAnalysis, '1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb'
autoload :FaceRectangle, '1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb'
autoload :Line, '1.0/generated/azure_cognitiveservices_computervision/models/line.rb'
autoload :OcrWord, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb'
autoload :CategoryDetail, '1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb'
autoload :TextOperationResult, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb'
autoload :OcrLine, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb'
autoload :AdultInfo, '1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb'
autoload :CelebritiesModel, '1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb'
autoload :OcrRegion, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb'
autoload :ImageType, '1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb'
autoload :Category, '1.0/generated/azure_cognitiveservices_computervision/models/category.rb'
autoload :OcrResult, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb'
autoload :ImageCaption, '1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb'
autoload :ColorInfo, '1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb'
autoload :ModelDescription, '1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb'
autoload :Line, '1.0/generated/azure_cognitiveservices_computervision/models/line.rb'
autoload :ImageTag, '1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb'
autoload :ListModelsResult, '1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb'
autoload :CelebritiesModel, '1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb'
autoload :ImageMetadata, '1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb'
autoload :DomainModelResults, '1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb'
autoload :ColorInfo, '1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb'
autoload :Word, '1.0/generated/azure_cognitiveservices_computervision/models/word.rb'
autoload :CelebrityResults, '1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb'
autoload :FaceRectangle, '1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb'
autoload :LandmarkResultsLandmarksItem, '1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb'
autoload :AdultInfo, '1.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb'
autoload :LandmarkResults, '1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb'
autoload :ImageCaption, '1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb'
autoload :ImageDescription, '1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb'
autoload :ImageMetadata, '1.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb'
autoload :RecognitionResult, '1.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb'
autoload :TagResult, '1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb'
autoload :Category, '1.0/generated/azure_cognitiveservices_computervision/models/category.rb'
autoload :ImageType, '1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb'
autoload :ComputerVisionError, '1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb'
autoload :TextOperationResult, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb'
autoload :CategoryDetail, '1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb'
autoload :ImageUrl, '1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb'
autoload :ImageTag, '1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb'
autoload :ImageDescriptionDetails, '1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb'
autoload :TextOperationStatusCodes, '1.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb'
autoload :Gender, '1.0/generated/azure_cognitiveservices_computervision/models/gender.rb'
autoload :ComputerVisionErrorCodes, '1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb'
autoload :VisualFeatureTypes, '1.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb'
autoload :OcrLanguages, '1.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb'
autoload :AzureRegions, '1.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb'
autoload :Details, '1.0/generated/azure_cognitiveservices_computervision/models/details.rb'
autoload :Language1, '1.0/generated/azure_cognitiveservices_computervision/models/language1.rb'
autoload :DomainModels, '1.0/generated/azure_cognitiveservices_computervision/models/domain_models.rb'
end
end
Loading