< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.EntitiesSuggestionExample
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\EntitiesSuggestionExample.cs
Covered lines:0
Uncovered lines:12
Coverable lines:12
Total lines:81
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_Text()-0%100%
get_TokenizedText()-0%100%
get_IntentPredictions()-0%100%
get_EntityPredictions()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\EntitiesSuggestionExample.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.LUIS.Authoring.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Predicted/suggested entity.
 20    /// </summary>
 21    public partial class EntitiesSuggestionExample
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the EntitiesSuggestionExample class.
 25        /// </summary>
 026        public EntitiesSuggestionExample()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the EntitiesSuggestionExample class.
 33        /// </summary>
 34        /// <param name="text">The utterance. For example, "What's the weather
 35        /// like in seattle?"</param>
 36        /// <param name="tokenizedText">The utterance tokenized.</param>
 37        /// <param name="intentPredictions">Predicted/suggested
 38        /// intents.</param>
 39        /// <param name="entityPredictions">Predicted/suggested
 40        /// entities.</param>
 041        public EntitiesSuggestionExample(string text = default(string), IList<string> tokenizedText = default(IList<stri
 42        {
 043            Text = text;
 044            TokenizedText = tokenizedText;
 045            IntentPredictions = intentPredictions;
 046            EntityPredictions = entityPredictions;
 47            CustomInit();
 048        }
 49
 50        /// <summary>
 51        /// An initialization method that performs custom operations like setting defaults
 52        /// </summary>
 53        partial void CustomInit();
 54
 55        /// <summary>
 56        /// Gets or sets the utterance. For example, "What's the weather like
 57        /// in seattle?"
 58        /// </summary>
 59        [JsonProperty(PropertyName = "text")]
 060        public string Text { get; set; }
 61
 62        /// <summary>
 63        /// Gets or sets the utterance tokenized.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "tokenizedText")]
 066        public IList<string> TokenizedText { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets predicted/suggested intents.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "intentPredictions")]
 072        public IList<IntentPrediction> IntentPredictions { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets predicted/suggested entities.
 76        /// </summary>
 77        [JsonProperty(PropertyName = "entityPredictions")]
 078        public IList<EntityPrediction> EntityPredictions { get; set; }
 79
 80    }
 81}