< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_DocumentName()-0%100%
get_Pages()-0%100%
get_Errors()-0%100%
get_Status()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\FormRecognizer\src\Generated\Models\FormDocumentReport.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    public partial class FormDocumentReport
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the FormDocumentReport class.
 22        /// </summary>
 023        public FormDocumentReport()
 24        {
 25            CustomInit();
 026        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the FormDocumentReport class.
 30        /// </summary>
 31        /// <param name="documentName">Reference to the data that the report is
 32        /// for.</param>
 33        /// <param name="pages">Total number of pages trained on.</param>
 34        /// <param name="errors">List of errors per page.</param>
 35        /// <param name="status">Status of the training operation. Possible
 36        /// values include: 'success', 'partialSuccess', 'failure'</param>
 037        public FormDocumentReport(string documentName = default(string), int? pages = default(int?), IList<string> error
 38        {
 039            DocumentName = documentName;
 040            Pages = pages;
 041            Errors = errors;
 042            Status = status;
 43            CustomInit();
 044        }
 45
 46        /// <summary>
 47        /// An initialization method that performs custom operations like setting defaults
 48        /// </summary>
 49        partial void CustomInit();
 50
 51        /// <summary>
 52        /// Gets or sets reference to the data that the report is for.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "documentName")]
 055        public string DocumentName { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets total number of pages trained on.
 59        /// </summary>
 60        [JsonProperty(PropertyName = "pages")]
 061        public int? Pages { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets list of errors per page.
 65        /// </summary>
 66        [JsonProperty(PropertyName = "errors")]
 067        public IList<string> Errors { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets status of the training operation. Possible values
 71        /// include: 'success', 'partialSuccess', 'failure'
 72        /// </summary>
 73        [JsonProperty(PropertyName = "status")]
 074        public string Status { get; set; }
 75
 76    }
 77}