This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR cognitiveservices/data-plane/ComputerVision] Update Cognitive…
…Service ComputerVision API to V2 (#1378) (#1383) * Generated from c2567da015994dac3301f495b6c5011d28ceaffe Add post-processing directive to swap argument order for RecognizeText to position the url argument ahead of the mode argument. autorest does not generate the intended order, so we add a post-processing directive, for each target language, * Generated from 973322cfd6ec2ced60a732f53b5318ceded5de7b Fix validation errors * Generated from 70efe042d607cbd973734e432da395ed35191a03 Add Spanish support for ServiceLanguage This is for parity with V1.
- Loading branch information
1 parent
69ddd8a
commit c8eea9c
Showing
45 changed files
with
4,751 additions
and
0 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
...nitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# encoding: utf-8 | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
|
||
require 'uri' | ||
require 'cgi' | ||
require 'date' | ||
require 'json' | ||
require 'base64' | ||
require 'erb' | ||
require 'securerandom' | ||
require 'time' | ||
require 'timeliness' | ||
require 'faraday' | ||
require 'faraday-cookie_jar' | ||
require 'concurrent' | ||
require 'ms_rest' | ||
require '2.0/generated/azure_cognitiveservices_computervision/module_definition' | ||
require 'ms_rest_azure' | ||
|
||
module Azure::CognitiveServices::ComputerVision::V2_0 | ||
autoload :ComputerVisionClient, '2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb' | ||
|
||
module Models | ||
autoload :FaceDescription, '2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb' | ||
autoload :ImageMetadata, '2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb' | ||
autoload :Line, '2.0/generated/azure_cognitiveservices_computervision/models/line.rb' | ||
autoload :ImageAnalysis, '2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb' | ||
autoload :TextOperationResult, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb' | ||
autoload :OcrWord, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb' | ||
autoload :CelebritiesModel, '2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb' | ||
autoload :OcrLine, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb' | ||
autoload :CategoryDetail, '2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb' | ||
autoload :OcrRegion, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb' | ||
autoload :AdultInfo, '2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb' | ||
autoload :OcrResult, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb' | ||
autoload :ImageType, '2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb' | ||
autoload :ModelDescription, '2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb' | ||
autoload :ImageCaption, '2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb' | ||
autoload :ListModelsResult, '2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb' | ||
autoload :Word, '2.0/generated/azure_cognitiveservices_computervision/models/word.rb' | ||
autoload :DomainModelResults, '2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb' | ||
autoload :FaceRectangle, '2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb' | ||
autoload :CelebrityResults, '2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb' | ||
autoload :Category, '2.0/generated/azure_cognitiveservices_computervision/models/category.rb' | ||
autoload :LandmarkResults, '2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb' | ||
autoload :ImageTag, '2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb' | ||
autoload :ImageDescription, '2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb' | ||
autoload :RecognitionResult, '2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb' | ||
autoload :TagResult, '2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb' | ||
autoload :ColorInfo, '2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb' | ||
autoload :ComputerVisionError, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb' | ||
autoload :LandmarksModel, '2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb' | ||
autoload :ImageUrl, '2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb' | ||
autoload :ImageDescriptionDetails, '2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb' | ||
autoload :TextOperationStatusCodes, '2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb' | ||
autoload :Gender, '2.0/generated/azure_cognitiveservices_computervision/models/gender.rb' | ||
autoload :ComputerVisionErrorCodes, '2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb' | ||
autoload :VisualFeatureTypes, '2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb' | ||
autoload :OcrLanguages, '2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb' | ||
autoload :TextRecognitionMode, '2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb' | ||
autoload :AzureRegions, '2.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb' | ||
autoload :Details, '2.0/generated/azure_cognitiveservices_computervision/models/details.rb' | ||
end | ||
end |
Oops, something went wrong.