< Summary

Class:Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.DocumentStatistics
Assembly:Microsoft.Azure.CognitiveServices.Language.TextAnalytics
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\DocumentStatistics.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:58
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_CharactersCount()-0%100%
get_TransactionsCount()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\DocumentStatistics.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.Language.TextAnalytics.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    public partial class DocumentStatistics
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the DocumentStatistics class.
 20        /// </summary>
 021        public DocumentStatistics()
 22        {
 23            CustomInit();
 024        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the DocumentStatistics class.
 28        /// </summary>
 29        /// <param name="charactersCount">Number of text elements recognized in
 30        /// the document.</param>
 31        /// <param name="transactionsCount">Number of transactions for the
 32        /// document.</param>
 033        public DocumentStatistics(int? charactersCount = default(int?), int? transactionsCount = default(int?))
 34        {
 035            CharactersCount = charactersCount;
 036            TransactionsCount = transactionsCount;
 37            CustomInit();
 038        }
 39
 40        /// <summary>
 41        /// An initialization method that performs custom operations like setting defaults
 42        /// </summary>
 43        partial void CustomInit();
 44
 45        /// <summary>
 46        /// Gets or sets number of text elements recognized in the document.
 47        /// </summary>
 48        [JsonProperty(PropertyName = "charactersCount")]
 049        public int? CharactersCount { get; set; }
 50
 51        /// <summary>
 52        /// Gets or sets number of transactions for the document.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "transactionsCount")]
 055        public int? TransactionsCount { get; set; }
 56
 57    }
 58}