< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PrebuiltDomain
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\PrebuiltDomain.cs
Covered lines:5
Uncovered lines:11
Coverable lines:16
Total lines:81
Line coverage:31.2% (5 of 16)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Name()-0%100%
get_Culture()-0%100%
get_Description()-100%100%
get_Examples()-0%100%
get_Intents()-100%100%
get_Entities()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\PrebuiltDomain.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    /// Prebuilt Domain.
 20    /// </summary>
 21    public partial class PrebuiltDomain
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the PrebuiltDomain class.
 25        /// </summary>
 14326        public PrebuiltDomain()
 27        {
 28            CustomInit();
 14329        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the PrebuiltDomain class.
 33        /// </summary>
 034        public PrebuiltDomain(string name = default(string), string culture = default(string), string description = defa
 35        {
 036            Name = name;
 037            Culture = culture;
 038            Description = description;
 039            Examples = examples;
 040            Intents = intents;
 041            Entities = entities;
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50        /// <summary>
 51        /// </summary>
 52        [JsonProperty(PropertyName = "name")]
 053        public string Name { get; set; }
 54
 55        /// <summary>
 56        /// </summary>
 57        [JsonProperty(PropertyName = "culture")]
 058        public string Culture { get; set; }
 59
 60        /// <summary>
 61        /// </summary>
 62        [JsonProperty(PropertyName = "description")]
 74863        public string Description { get; set; }
 64
 65        /// <summary>
 66        /// </summary>
 67        [JsonProperty(PropertyName = "examples")]
 068        public string Examples { get; set; }
 69
 70        /// <summary>
 71        /// </summary>
 72        [JsonProperty(PropertyName = "intents")]
 40773        public IList<PrebuiltDomainItem> Intents { get; set; }
 74
 75        /// <summary>
 76        /// </summary>
 77        [JsonProperty(PropertyName = "entities")]
 40778        public IList<PrebuiltDomainItem> Entities { get; set; }
 79
 80    }
 81}