< Summary

Class:Microsoft.Azure.CognitiveServices.FormRecognizer.Models.ReadReceiptResult
Assembly:Microsoft.Azure.CognitiveServices.Vision.FormRecognizer
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\FormRecognizer\src\Generated\Models\ReadReceiptResult.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:75
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Status()-0%100%
get_RecognitionResults()-0%100%
get_UnderstandingResults()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\FormRecognizer\src\Generated\Models\ReadReceiptResult.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.CognitiveServices.FormRecognizer.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Analysis result of the 'Batch Read Receipt' operation.
 20    /// </summary>
 21    public partial class ReadReceiptResult
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the ReadReceiptResult class.
 25        /// </summary>
 026        public ReadReceiptResult()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the ReadReceiptResult class.
 33        /// </summary>
 34        /// <param name="status">Status of the read operation. Possible values
 35        /// include: 'Not Started', 'Running', 'Failed', 'Succeeded'</param>
 36        /// <param name="recognitionResults">Text recognition result of the
 37        /// 'Batch Read Receipt' operation.</param>
 38        /// <param name="understandingResults">Semantic understanding result of
 39        /// the 'Batch Read Receipt' operation.</param>
 040        public ReadReceiptResult(TextOperationStatusCodes status = default(TextOperationStatusCodes), IList<TextRecognit
 41        {
 042            Status = status;
 043            RecognitionResults = recognitionResults;
 044            UnderstandingResults = understandingResults;
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53        /// <summary>
 54        /// Gets or sets status of the read operation. Possible values include:
 55        /// 'Not Started', 'Running', 'Failed', 'Succeeded'
 56        /// </summary>
 57        [JsonProperty(PropertyName = "status")]
 058        public TextOperationStatusCodes Status { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets text recognition result of the 'Batch Read Receipt'
 62        /// operation.
 63        /// </summary>
 64        [JsonProperty(PropertyName = "recognitionResults")]
 065        public IList<TextRecognitionResult> RecognitionResults { get; set; }
 66
 67        /// <summary>
 68        /// Gets or sets semantic understanding result of the 'Batch Read
 69        /// Receipt' operation.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "understandingResults")]
 072        public IList<UnderstandingResult> UnderstandingResults { get; set; }
 73
 74    }
 75}