< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\LanguageBatchInput.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.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    public partial class LanguageBatchInput
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the LanguageBatchInput class.
 22        /// </summary>
 023        public LanguageBatchInput()
 24        {
 25            CustomInit();
 026        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the LanguageBatchInput class.
 30        /// </summary>
 431        public LanguageBatchInput(IList<LanguageInput> documents = default(IList<LanguageInput>))
 32        {
 433            Documents = documents;
 34            CustomInit();
 435        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// </summary>
 44        [JsonProperty(PropertyName = "documents")]
 845        public IList<LanguageInput> Documents { get; set; }
 46
 47    }
 48}

Methods/Properties

.ctor()
.ctor(...)
get_Documents()