Skip to content

Commit

Permalink
AutoPr-ComputerVision-toothache-REST Spec PrNumber 5721 (Azure#5880)
Browse files Browse the repository at this point in the history
* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'Azure/azure-rest-api-specs#5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit

* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'Azure/azure-rest-api-specs#5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit

* .NET SDK Resource Provider:'ComputerVision'
REST Spec PR 'Azure/azure-rest-api-specs#5721'
REST Spec PR Author 'toothache'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and mentat9 committed Jun 10, 2019
1 parent 36236fb commit ba882bd
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.​
/// </summary>
/// <param name='mode'>
/// Type of text to recognize. Possible values include: 'Handwritten',
Expand Down Expand Up @@ -2394,11 +2394,11 @@ private void Initialize()

/// <summary>
/// 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.
/// </summary>
/// <param name='operationId'>
/// 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.
/// </param>
/// <param name='customHeaders'>
Expand Down Expand Up @@ -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.​
/// </summary>
/// <param name='image'>
/// An image stream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.​
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -431,14 +431,14 @@ public static partial class ComputerVisionClientExtensions

/// <summary>
/// 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.
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='operationId'>
/// 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.
/// </param>
/// <param name='cancellationToken'>
Expand Down Expand Up @@ -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.​
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.​
/// </summary>
/// <param name='mode'>
/// Type of text to recognize. Possible values include: 'Handwritten',
Expand All @@ -406,11 +406,11 @@ public partial interface IComputerVisionClient : System.IDisposable
/// <summary>
/// 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.
/// </summary>
/// <param name='operationId'>
/// 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.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -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.​
/// </summary>
/// <param name='image'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;

/// <summary>
/// Json object representing a recognized text line.
/// An object representing a recognized text line.
/// </summary>
public partial class Line
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public ReadOperationResult()
/// </summary>
/// <param name="status">Status of the read operation. Possible values
/// include: 'Not Started', 'Running', 'Failed', 'Succeeded'</param>
/// <param name="recognitionResults">A array of text recognition result
/// of the read operation.</param>
/// <param name="recognitionResults">An array of text recognition
/// result of the read operation.</param>
public ReadOperationResult(TextOperationStatusCodes status = default(TextOperationStatusCodes), IList<TextRecognitionResult> recognitionResults = default(IList<TextRecognitionResult>))
{
Status = status;
Expand All @@ -55,7 +55,7 @@ public ReadOperationResult()
public TextOperationStatusCodes Status { get; set; }

/// <summary>
/// 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.
/// </summary>
[JsonProperty(PropertyName = "recognitionResults")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;

/// <summary>
/// Json object representing a recognized text region
/// An object representing a recognized text region
/// </summary>
public partial class TextRecognitionResult
{
Expand All @@ -42,8 +42,8 @@ public TextRecognitionResult()
/// <param name="height">The height of the image in pixels or the PDF
/// in inches.</param>
/// <param name="unit">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'</param>
/// BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is
/// 'inch'. Possible values include: 'pixel', 'inch'</param>
public TextRecognitionResult(IList<Line> lines, int? page = default(int?), double? clockwiseOrientation = default(double?), double? width = default(double?), double? height = default(double?), TextRecognitionResultDimensionUnit? unit = default(TextRecognitionResultDimensionUnit?))
{
Page = page;
Expand Down Expand Up @@ -88,7 +88,7 @@ public TextRecognitionResult()

/// <summary>
/// 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'
/// </summary>
[JsonProperty(PropertyName = "unit")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
using System.Linq;

/// <summary>
/// Json object representing a recognized word.
/// An object representing a recognized word.
/// </summary>
public partial class Word
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,5 @@ public static IEnumerable<Tuple<string, string, string>> 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
}
}

0 comments on commit ba882bd

Please sign in to comment.