From ba882bd0712bd7de166ac416a825eef4e86b09b9 Mon Sep 17 00:00:00 2001
From: adxsdknet <39844661+adxsdknet@users.noreply.github.com>
Date: Wed, 24 Apr 2019 15:41:27 -0700
Subject: [PATCH] AutoPr-ComputerVision-toothache-REST Spec PrNumber 5721
(#5880)
* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit
* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit
* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit
---
.../Generated/ComputerVisionClient.cs | 14 +++++++-------
.../Generated/ComputerVisionClientExtensions.cs | 14 +++++++-------
.../Generated/IComputerVisionClient.cs | 16 ++++++++--------
.../ComputerVision/Generated/Models/Line.cs | 2 +-
.../Generated/Models/ReadOperationResult.cs | 6 +++---
.../Generated/Models/TextRecognitionResult.cs | 8 ++++----
.../ComputerVision/Generated/Models/Word.cs | 2 +-
.../Generated/SdkInfo_ComputerVisionClient.cs | 11 -----------
8 files changed, 31 insertions(+), 42 deletions(-)
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClient.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClient.cs
index b06cf7ffc3c8a..ae37ae0d5b429 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClient.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClient.cs
@@ -2225,9 +2225,9 @@ private void Initialize()
/// Use this interface to get the result of a Read operation, employing the
/// state-of-the-art Optical Character Recognition (OCR) algorithms optimized
/// for text-heavy documents. When you use the Read File interface, the
- /// response contains a field called "Operation-Location". The
- /// "Operation-Location" field contains the URL that you must use for your
- /// "Read Operation Result" operation to access OCR results.
+ /// response contains a field called 'Operation-Location'. The
+ /// 'Operation-Location' field contains the URL that you must use for your
+ /// 'GetReadOperationResult' operation to access OCR results.
///
///
/// Type of text to recognize. Possible values include: 'Handwritten',
@@ -2394,11 +2394,11 @@ private void Initialize()
///
/// This interface is used for getting OCR results of Read operation. The URL
- /// to this interface should be retrieved from "Operation-Location" field
+ /// to this interface should be retrieved from 'Operation-Location' field
/// returned from Batch Read File interface.
///
///
- /// Id of read operation returned in the response of the "Batch Read File"
+ /// Id of read operation returned in the response of the 'Batch Read File'
/// interface.
///
///
@@ -4236,8 +4236,8 @@ private void Initialize()
/// employing the state-of-the-art Optical Character Recognition (OCR)
/// algorithms optimized for text-heavy documents. When you use the Read
/// Document interface, the response contains a field called
- /// "Operation-Location". The "Operation-Location" field contains the URL that
- /// you must use for your "Get Read Result operation" to access OCR results.
+ /// 'Operation-Location'. The 'Operation-Location' field contains the URL that
+ /// you must use for your 'Get Read Result operation' to access OCR results.
///
///
/// An image stream.
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClientExtensions.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClientExtensions.cs
index 947b26c59b929..cc8a15b167e01 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClientExtensions.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/ComputerVisionClientExtensions.cs
@@ -404,9 +404,9 @@ public static partial class ComputerVisionClientExtensions
/// Use this interface to get the result of a Read operation, employing the
/// state-of-the-art Optical Character Recognition (OCR) algorithms optimized
/// for text-heavy documents. When you use the Read File interface, the
- /// response contains a field called "Operation-Location". The
- /// "Operation-Location" field contains the URL that you must use for your
- /// "Read Operation Result" operation to access OCR results.
+ /// response contains a field called 'Operation-Location'. The
+ /// 'Operation-Location' field contains the URL that you must use for your
+ /// 'GetReadOperationResult' operation to access OCR results.
///
///
/// The operations group for this extension method.
@@ -431,14 +431,14 @@ public static partial class ComputerVisionClientExtensions
///
/// This interface is used for getting OCR results of Read operation. The URL
- /// to this interface should be retrieved from "Operation-Location" field
+ /// to this interface should be retrieved from 'Operation-Location' field
/// returned from Batch Read File interface.
///
///
/// The operations group for this extension method.
///
///
- /// Id of read operation returned in the response of the "Batch Read File"
+ /// Id of read operation returned in the response of the 'Batch Read File'
/// interface.
///
///
@@ -791,8 +791,8 @@ public static partial class ComputerVisionClientExtensions
/// employing the state-of-the-art Optical Character Recognition (OCR)
/// algorithms optimized for text-heavy documents. When you use the Read
/// Document interface, the response contains a field called
- /// "Operation-Location". The "Operation-Location" field contains the URL that
- /// you must use for your "Get Read Result operation" to access OCR results.
+ /// 'Operation-Location'. The 'Operation-Location' field contains the URL that
+ /// you must use for your 'Get Read Result operation' to access OCR results.
///
///
/// The operations group for this extension method.
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/IComputerVisionClient.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/IComputerVisionClient.cs
index ce398e48c1263..e4a8257c38855 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/IComputerVisionClient.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/IComputerVisionClient.cs
@@ -384,9 +384,9 @@ public partial interface IComputerVisionClient : System.IDisposable
/// the state-of-the-art Optical Character Recognition (OCR) algorithms
/// optimized for text-heavy documents. When you use the Read File
/// interface, the response contains a field called
- /// "Operation-Location". The "Operation-Location" field contains the
- /// URL that you must use for your "Read Operation Result" operation to
- /// access OCR results.
+ /// 'Operation-Location'. The 'Operation-Location' field contains the
+ /// URL that you must use for your 'GetReadOperationResult' operation
+ /// to access OCR results.
///
///
/// Type of text to recognize. Possible values include: 'Handwritten',
@@ -406,11 +406,11 @@ public partial interface IComputerVisionClient : System.IDisposable
///
/// This interface is used for getting OCR results of Read operation.
/// The URL to this interface should be retrieved from
- /// "Operation-Location" field returned from Batch Read File interface.
+ /// 'Operation-Location' field returned from Batch Read File interface.
///
///
- /// Id of read operation returned in the response of the "Batch Read
- /// File" interface.
+ /// Id of read operation returned in the response of the 'Batch Read
+ /// File' interface.
///
///
/// The headers that will be added to request.
@@ -713,8 +713,8 @@ public partial interface IComputerVisionClient : System.IDisposable
/// employing the state-of-the-art Optical Character Recognition (OCR)
/// algorithms optimized for text-heavy documents. When you use the
/// Read Document interface, the response contains a field called
- /// "Operation-Location". The "Operation-Location" field contains the
- /// URL that you must use for your "Get Read Result operation" to
+ /// 'Operation-Location'. The 'Operation-Location' field contains the
+ /// URL that you must use for your 'Get Read Result operation' to
/// access OCR results.
///
///
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Line.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Line.cs
index 4dd3a055f7ac4..e947bef1afdb4 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Line.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Line.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;
///
- /// Json object representing a recognized text line.
+ /// An object representing a recognized text line.
///
public partial class Line
{
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/ReadOperationResult.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/ReadOperationResult.cs
index c95c1b1183562..70664a143c7d0 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/ReadOperationResult.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/ReadOperationResult.cs
@@ -33,8 +33,8 @@ public ReadOperationResult()
///
/// Status of the read operation. Possible values
/// include: 'Not Started', 'Running', 'Failed', 'Succeeded'
- /// A array of text recognition result
- /// of the read operation.
+ /// An array of text recognition
+ /// result of the read operation.
public ReadOperationResult(TextOperationStatusCodes status = default(TextOperationStatusCodes), IList recognitionResults = default(IList))
{
Status = status;
@@ -55,7 +55,7 @@ public ReadOperationResult()
public TextOperationStatusCodes Status { get; set; }
///
- /// Gets or sets a array of text recognition result of the read
+ /// Gets or sets an array of text recognition result of the read
/// operation.
///
[JsonProperty(PropertyName = "recognitionResults")]
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/TextRecognitionResult.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/TextRecognitionResult.cs
index a936aecd51e93..9a7a8e1156683 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/TextRecognitionResult.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/TextRecognitionResult.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;
///
- /// Json object representing a recognized text region
+ /// An object representing a recognized text region
///
public partial class TextRecognitionResult
{
@@ -42,8 +42,8 @@ public TextRecognitionResult()
/// The height of the image in pixels or the PDF
/// in inches.
/// The unit used in the Width, Height and
- /// BoundingBox. For images, the unit is "pixel". For PDF, the unit is
- /// "inch". Possible values include: 'pixel', 'inch'
+ /// BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is
+ /// 'inch'. Possible values include: 'pixel', 'inch'
public TextRecognitionResult(IList lines, int? page = default(int?), double? clockwiseOrientation = default(double?), double? width = default(double?), double? height = default(double?), TextRecognitionResultDimensionUnit? unit = default(TextRecognitionResultDimensionUnit?))
{
Page = page;
@@ -88,7 +88,7 @@ public TextRecognitionResult()
///
/// Gets or sets the unit used in the Width, Height and BoundingBox.
- /// For images, the unit is "pixel". For PDF, the unit is "inch".
+ /// For images, the unit is 'pixel'. For PDF, the unit is 'inch'.
/// Possible values include: 'pixel', 'inch'
///
[JsonProperty(PropertyName = "unit")]
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Word.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Word.cs
index 5b5dcd996d5a9..cf4b6fe71e5ac 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Word.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/Models/Word.cs
@@ -17,7 +17,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;
///
- /// Json object representing a recognized word.
+ /// An object representing a recognized word.
///
public partial class Word
{
diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/SdkInfo_ComputerVisionClient.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/SdkInfo_ComputerVisionClient.cs
index 1f4988e264601..130771c3acb76 100644
--- a/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/SdkInfo_ComputerVisionClient.cs
+++ b/src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Generated/SdkInfo_ComputerVisionClient.cs
@@ -45,16 +45,5 @@ public static IEnumerable> ApiInfo_ComputerVisionC
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/ComputerVision/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\\Source\\cognition\\azure-sdk-for-net\\src\\SDKs";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "46dd1d23b20e3a85eb1422f2c8c5fc1223b296f5";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-