< Summary

Class:Azure.AI.TextAnalytics.TextAnalyticsRequestOptions
Assembly:Azure.AI.TextAnalytics
File(s):C:\Git\azure-sdk-for-net\sdk\textanalytics\Azure.AI.TextAnalytics\src\TextAnalyticsRequestOptions.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:35
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
get_IncludeStatistics()-100%100%
get_ModelVersion()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\textanalytics\Azure.AI.TextAnalytics\src\TextAnalyticsRequestOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.AI.TextAnalytics
 5{
 6    /// <summary>
 7    /// Options that allow callers to specify details about how the operation
 8    /// is run and what information is returned from it by the service.
 9    /// </summary>
 10    public class TextAnalyticsRequestOptions
 11    {
 12        /// <summary>
 13        /// Initializes a new instance of the <see cref="TextAnalyticsRequestOptions"/>
 14        /// class.
 15        /// </summary>
 17616        public TextAnalyticsRequestOptions()
 17        {
 17618        }
 19
 20        /// <summary>
 21        /// Gets or sets a value that, if set to true, indicates that the service
 22        /// should return document and document batch statistics with the results
 23        /// of the operation.
 24        /// </summary>
 19625        public bool IncludeStatistics { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets a value that, if set, indicates the version of the text
 29        /// analytics model that will be used to generate the result.  For supported
 30        /// model versions, see operation-specific documentation, for example:
 31        /// <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how
 32        /// </summary>
 17233        public string ModelVersion { get; set; }
 34    }
 35}