< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsAiInfo
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsAiInfo.cs
Covered lines:6
Uncovered lines:6
Coverable lines:12
Total lines:75
Line coverage:50% (6 of 12)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_IKey()-100%100%
get_AppName()-100%100%
get_AppId()-100%100%
get_SdkVersion()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsAiInfo.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.ApplicationInsights.Query.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// AI related application info for an event result
 18    /// </summary>
 19    public partial class EventsAiInfo
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the EventsAiInfo class.
 23        /// </summary>
 12724        public EventsAiInfo()
 25        {
 26            CustomInit();
 12727        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the EventsAiInfo class.
 31        /// </summary>
 32        /// <param name="iKey">iKey of the app</param>
 33        /// <param name="appName">Name of the application</param>
 34        /// <param name="appId">ID of the application</param>
 35        /// <param name="sdkVersion">SDK version of the application</param>
 036        public EventsAiInfo(string iKey = default(string), string appName = default(string), string appId = default(stri
 37        {
 038            IKey = iKey;
 039            AppName = appName;
 040            AppId = appId;
 041            SdkVersion = sdkVersion;
 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        /// Gets or sets iKey of the app
 52        /// </summary>
 53        [JsonProperty(PropertyName = "iKey")]
 27454        public string IKey { get; set; }
 55
 56        /// <summary>
 57        /// Gets or sets name of the application
 58        /// </summary>
 59        [JsonProperty(PropertyName = "appName")]
 27460        public string AppName { get; set; }
 61
 62        /// <summary>
 63        /// Gets or sets ID of the application
 64        /// </summary>
 65        [JsonProperty(PropertyName = "appId")]
 27466        public string AppId { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets SDK version of the application
 70        /// </summary>
 71        [JsonProperty(PropertyName = "sdkVersion")]
 16772        public string SdkVersion { get; set; }
 73
 74    }
 75}