< Summary

Class:Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult
Assembly:Microsoft.Azure.CognitiveServices.Vision.FormRecognizer
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\FormRecognizer\src\Generated\Models\AnalyzeResult.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:76
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_Pages()-0%100%
get_Errors()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\FormRecognizer\src\Generated\Models\AnalyzeResult.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    /// Analyze API call result.
 20    /// </summary>
 21    public partial class AnalyzeResult
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the AnalyzeResult class.
 25        /// </summary>
 026        public AnalyzeResult()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the AnalyzeResult class.
 33        /// </summary>
 34        /// <param name="status">Status of the analyze operation. Possible
 35        /// values include: 'success', 'partialSuccess', 'failure'</param>
 36        /// <param name="pages">Page level information extracted in the
 37        /// analyzed
 38        /// document.</param>
 39        /// <param name="errors">List of errors reported during the analyze
 40        /// operation.</param>
 041        public AnalyzeResult(string status = default(string), IList<ExtractedPage> pages = default(IList<ExtractedPage>)
 42        {
 043            Status = status;
 044            Pages = pages;
 045            Errors = errors;
 46            CustomInit();
 047        }
 48
 49        /// <summary>
 50        /// An initialization method that performs custom operations like setting defaults
 51        /// </summary>
 52        partial void CustomInit();
 53
 54        /// <summary>
 55        /// Gets or sets status of the analyze operation. Possible values
 56        /// include: 'success', 'partialSuccess', 'failure'
 57        /// </summary>
 58        [JsonProperty(PropertyName = "status")]
 059        public string Status { get; set; }
 60
 61        /// <summary>
 62        /// Gets or sets page level information extracted in the analyzed
 63        /// document.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "pages")]
 066        public IList<ExtractedPage> Pages { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets list of errors reported during the analyze
 70        /// operation.
 71        /// </summary>
 72        [JsonProperty(PropertyName = "errors")]
 073        public IList<FormOperationError> Errors { get; set; }
 74
 75    }
 76}