< Summary

Class:Microsoft.Azure.Search.Models.CognitiveServices
Assembly:Microsoft.Azure.Search.Service
File(s):C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Search.Service\src\Generated\Models\CognitiveServices.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:50
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_Description()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Search.Service\src\Generated\Models\CognitiveServices.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.Search.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Abstract base class for describing any cognitive service resource
 18    /// attached to the skillset.
 19    /// </summary>
 20    public partial class CognitiveServices
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the CognitiveServices class.
 24        /// </summary>
 425        public CognitiveServices()
 26        {
 27            CustomInit();
 428        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the CognitiveServices class.
 32        /// </summary>
 033        public CognitiveServices(string description = default(string))
 34        {
 035            Description = description;
 36            CustomInit();
 037        }
 38
 39        /// <summary>
 40        /// An initialization method that performs custom operations like setting defaults
 41        /// </summary>
 42        partial void CustomInit();
 43
 44        /// <summary>
 45        /// </summary>
 46        [JsonProperty(PropertyName = "description")]
 847        public string Description { get; set; }
 48
 49    }
 50}

Methods/Properties

.ctor()
.ctor(...)
get_Description()