< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ApplicationSettingUpdateObject
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ApplicationSettingUpdateObject.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:56
Line coverage:50% (3 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ApplicationSettingUpdateObject.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.Linq;
 15
 16    /// <summary>
 17    /// Object model for updating an application's settings.
 18    /// </summary>
 19    public partial class ApplicationSettingUpdateObject
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the ApplicationSettingUpdateObject
 23        /// class.
 24        /// </summary>
 125        public ApplicationSettingUpdateObject()
 26        {
 27            CustomInit();
 128        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the ApplicationSettingUpdateObject
 32        /// class.
 33        /// </summary>
 34        /// <param name="isPublic">Setting your application as public allows
 35        /// other people to use your application's endpoint using their own
 36        /// keys.</param>
 037        public ApplicationSettingUpdateObject(bool isPublic = default(bool))
 38        {
 039            IsPublic = isPublic;
 40            CustomInit();
 041        }
 42
 43        /// <summary>
 44        /// An initialization method that performs custom operations like setting defaults
 45        /// </summary>
 46        partial void CustomInit();
 47
 48        /// <summary>
 49        /// Gets or sets setting your application as public allows other people
 50        /// to use your application's endpoint using their own keys.
 51        /// </summary>
 52        [JsonProperty(PropertyName = "public")]
 253        public bool IsPublic { get; set; }
 54
 55    }
 56}

Methods/Properties

.ctor()
.ctor(...)
get_IsPublic()